PageSourceSearch

https://eddyter.com/_next/static/chunks/6e2b17bb.6b96516bb486cf90.js

js eddyter.com collected 2026-10-08 07:51:35 UTC 564,920 bytes, 24 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e083a81c-8e27-4f5b-8b63-6894c1f0c1cf",t._sentryDebugIdIdentifier="sentry-dbid-e083a81c-8e27-4f5b-8b63-6894c1f0c1cf")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25659],{3763:function(t,e,i){let s,r,n;i.r(e),i.d(e,{default:function(){return d7}});var o,a,l,h,c,u,O,d,f=i(27573),p=i(92187),m=i(7653),g=i(74859);let Q=[],b=[];function v(t){return t>=127462&&t<=127487}function w(t,e,i){if(e==t.length)return e;e&&y(t.charCodeAt(e))&&x(t.charCodeAt(e-1))&&e--;let s=S(t,e);for(e+=k(s);e<t.length;){let r=S(t,e);if(8205==s||8205==r||i&&function(t){if(t<768)return!1;for(let e=0,i=Q.length;;){let s=e+i>>1;if(t<Q[s])i=s;else{if(!(t>=b[s]))return!0;e=s+1}if(e==i)return!1}}(r))e+=k(r),s=r;else if(v(r)){let i=0,s=e-2;for(;s>=0&&v(S(t,s));)i++,s-=2;if(i%2==0)break;e+=2}else break}return e}function S(t,e){let i=t.charCodeAt(e);if(!x(i)||e+1==t.length)return i;let s=t.charCodeAt(e+1);return y(s)?(i-55296<<10)+(s-56320)+65536:i}function y(t){return t>=56320&&t<57344}function x(t){return t>=55296&&t<56320}function k(t){return t<65536?1:2}(()=>{let t="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,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,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let e=0,i=0;e<t.length;e++)(e%2?b:Q).push(i+=t[e])})();class ${lineAt(t){if(t<0||t>this.length)throw RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,e,i){[t,e]=R(this,t,e);let s=[];return this.decompose(0,t,s,2),i.length&&i.decompose(0,i.length,s,3),this.decompose(e,this.length,s,1),T.from(s,this.length-(e-t)+i.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){[t,e]=R(this,t,e);let i=[];return this.decompose(t,e,i,0),T.from(i,e-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let e=this.scanIdentical(t,1),i=this.length-this.scanIdentical(t,-1),s=new X(this),r=new X(t);for(let t=e,n=e;;){if(s.next(t),r.next(t),t=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(n+=s.value.length,s.done||n>=i)return!0}}iter(t=1){return new X(this,t)}iterRange(t,e=this.length){return new C(this,t,e)}iterLines(t,e){let i;if(null==t)i=this.iter();else{null==e&&(e=this.lines+1);let s=this.line(t).from;i=this.iterRange(s,Math.max(s,e==this.lines+1?this.length:e<=1?0:this.line(e-1).to))}return new A(i)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(0==t.length)throw RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new P(t):T.from(P.split(t,[])):$.empty}}class P extends ${constructor(t,e=function(t){let e=-1;for(let i of t)e+=i.length+1;return e}(t)){super(),this.text=t,this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(t,e,i,s){for(let r=0;;r++){let n=this.text[r],o=s+n.length;if((e?i:o)>=t)return new M(s,o,i,n);s=o+1,i++}}decompose(t,e,i,s){let r=t<=0&&e>=this.length?this:new P(Z(this.text,[""],t,e),Math.min(e,this.length)-Math.max(0,t));if(1&s){let t=i.pop(),e=Z(r.text,t.text.slice(),0,r.length);if(e.length<=32)i.push(new P(e,t.length+r.length));else{let t=e.length>>1;i.push(new P(e.slice(0,t)),new P(e.slice(t)))}}else i.push(r)}replace(t,e,i){if(!(i instanceof P))return super.replace(t,e,i);[t,e]=R(this,t,e);let s=Z(this.text,Z(i.text,Z(this.text,[""],0,t)),e),r=this.length+i.length-(e-t);return s.length<=32?new P(s,r):T.from(P.split(s,[]),r)}sliceString(t,e=this.length,i=`
2`){[t,e]=R(this,t,e);let s="";for(let r=0,n=0;r<=e&&n<this.text.length;n++){let o=this.text[n],a=r+o.length;r>t&&n&&(s+=i),t<a&&e>r&&(s+=o.slice(Math.max(0,t-r),e-r)),r=a+1}return s}flatten(t){for(let e of this.text)t.push(e)}scanIdentical(){return 0}static split(t,e){let i=[],s=-1;for(let r of t)i.push(r),s+=r.length+1,32==i.length&&(e.push(new P(i,s)),i=[],s=-1);return s>-1&&e.push(new P(i,s)),e}}class T extends ${constructor(t,e){for(let i of(super(),this.children=t,this.length=e,this.lines=0,t))this.lines+=i.lines}lineInner(t,e,i,s){for(let r=0;;r++){let n=this.children[r],o=s+n.length,a=i+n.lines-1;if((e?a:o)>=t)return n.lineInner(t,e,i,s);s=o+1,i=a+1}}decompose(t,e,i,s){for(let r=0,n=0;n<=e&&r<this.children.length;r++){let o=this.children[r],a=n+o.length;if(t<=a&&e>=n){let r=s&((n<=t?1:0)|(a>=e?2:0));n>=t&&a<=e&&!r?i.push(o):o.decompose(t-n,e-n,i,r)}n=a+1}}replace(t,e,i){if([t,e]=R(this,t,e),i.lines<this.lines)for(let s=0,r=0;
vendor: 2,249 bytes, lines 2-3
2s<this.children.length;s++){let n=this.children[s],o=r+n.length;if(t>=r&&e<=o){let a=n.replace(t-r,e-r,i),l=this.lines-n.lines+a.lines;if(a.lines<l>>4&&a.lines>l>>6){let r=this.children.slice();return r[s]=a,new T(r,this.length-(e-t)+i.length)}return super.replace(r,o,a)}r=o+1}return super.replace(t,e,i)}sliceString(t,e=this.length,i=`
3`){[t,e]=R(this,t,e);let s="";for(let r=0,n=0;r<this.children.length&&n<=e;r++){let o=this.children[r],a=n+o.length;n>t&&r&&(s+=i),t<a&&e>n&&(s+=o.sliceString(t-n,e-n,i)),n=a+1}return s}flatten(t){for(let e of this.children)e.flatten(t)}scanIdentical(t,e){if(!(t instanceof T))return 0;let i=0,[s,r,n,o]=e>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;s+=e,r+=e){if(s==n||r==o)return i;let a=this.children[s],l=t.children[r];if(a!=l)return i+a.scanIdentical(l,e);i+=a.length+1}}static from(t,e=t.reduce((t,e)=>t+e.length+1,-1)){let i=0;for(let e of t)i+=e.lines;if(i<32){let i=[];for(let e of t)e.flatten(i);return new P(i,e)}let s=Math.max(32,i>>5),r=s<<1,n=s>>1,o=[],a=0,l=-1,h=[];function c(){0!=a&&(o.push(1==h.length?h[0]:T.from(h,l)),l=-1,a=h.length=0)}for(let e of t)!function t(e){let i;if(e.lines>r&&e instanceof T)for(let i of e.children)t(i);else e.lines>n&&(a>n||!a)?(c(),o.push(e)):e instanceof P&&a&&(i=h[h.length-1])instanceof P&&e.lines+i.lines<=32?(a+=e.lines,l+=e.length+1,h[h.length-1]=new P(i.text.concat(e.text),i.length+1+e.length)):(a+e.lines>s&&c(),a+=e.lines,l+=e.length+1,h.push(e))}(e);return c(),1==o.length?o[0]:new T(o,e)}}function Z(t,e,i=0,s=1e9){for(let r=0,n=0,o=!0;n<t.length&&r<=s;n++){let a=t[n],l=r+a.length;l>=i&&(l>s&&(a=a.slice(0,s-r)),r<i&&(a=a.slice(i-r)),o?(e[e.length-1]+=a,o=!1):e.push(a)),r=l+1}return e}$.empty=new P([""],0);class X{constructor(t,e=1){this.dir=e,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[t],this.offsets=[e>0?1:(t instanceof P?t.text.length:t.children.length)<<1]}nextInner(t,e){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,s=this.nodes[i],r=this.offsets[i],n=r>>1,o=s instanceof P?s.text.length:s.children.length;if(n==(e>0?o:0)){if(0==i)return this.done=!0,this.value="",this;e>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(e>
30?0:1)){if(this.offsets[i]+=e,0==t)return this.lineBreak=!0,this.value=`
4`,this;t--}else if(s instanceof P){let r=s.text[n+(e<0?-1:0)];if(this.offsets[i]+=e,r.length>Math.max(0,t))return this.value=0==t?r:e>0?r.slice(t):r.slice(0,r.length-t),this;t-=r.length}else{let r=s.children[n+(e<0?-1:0)];t>r.length?(t-=r.length,this.offsets[i]+=e):(e<0&&this.offsets[i]--,this.nodes.push(r),this.offsets.push(e>0?1:(r instanceof P?r.text.length:r.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class C{constructor(t,e,i){this.value="",this.done=!1,this.cursor=new X(t,e>i?-1:1),this.pos=e>i?t.length:0,this.from=Math.min(e,i),this.to=Math.max(e,i)}nextInner(t,e){if(e<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,e<0?this.pos-this.to:this.from-this.pos);let i=e<0?this.pos-this.from:this.to-this.pos;t>i&&(t=i),i-=t;let{value:s}=this.cursor.next(t);return this.pos+=(s.length+t)*e,this.value=s.length<=i?s:e<0?s.slice(s.length-i):s.slice(0,i),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class A{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:e,lineBreak:i,value:s}=this.inner.next(t);return e&&this.afterBreak?(this.value="",this.afterBreak=!1):e?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=s,this.afterBreak=!1),this}get lineBreak(){return!1}}"u">typeof Symbol&&($.prototype[Symbol.iterator]=function(){return this.iter()},X.prototype[Symbol.iterator]=C.prototype[Symbol.iterator]=A.prototype[Symbol.iterator]=function(){return this});class M{constructor(t,e,i,s){this.from=t,this.to=e,this.number=i,this.text=s}get length(){return this.to-this.from}}function R(t,e,i){return[e=Math.max(0,Math.min(t.length,e)),Math.max(e,Math.min(t.length,i))]}function _(t,e,i=!0,s=!0){return function(t,e,i=!0,s=!0){return(i?w:function(t,e,i){for(;e>0;){let s=w(t,e-2,i);if(s<e)return s;e--}return 0})(t,e,s)}(t,e,i,s)}function z(t,e){let i=t.charCodeAt(e);if(!(i>=55296&&i<56320)||e+1==t.length)return i;let s=t.charCodeAt(e+1);return s>=56320&&s<57344?(i-55296<<10)+(s-56320)+65536:i}function Y(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10)+55296,(1023&t)+56320)}function q(t){return t<65536?1:2}let V=/\r\n?|\n/;var E=((o=E||(E={}))[o.Simple=0]="Simple",o[o.TrackDel=1]="TrackDel",o[o.TrackBefore=2]="TrackBefore",o[o.TrackAfter=3]="TrackAfter",o);class W{constructor(t){this.sections=t}get length(){let t=0;for(let e=0;e<this.sections.length;e+=2)t+=this.sections[e];return t}get newLength(){let t=0;for(let e=0;e<this.sections.length;e+=2){let i=this.sections[e+1];t+=i<0?this.sections[e]:i}return t}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(t){for(let e=0,i=0,s=0;e<this.sections.length;){let r=this.sections[e++],n=this.sections[e++];n<0?(t(i,s,r),s+=r):s+=n,i+=r}}iterChangedRanges(t,e=!1){B(this,t,e)}get invertedDesc(){let t=[];for(let e=0;e<this.sections.length;){let i=this.sections[e++],s=this.sections[e++];s<0?t.push(i,s):t.push(s,i)}return new W(t)}composeDesc(t){return this.empty?t:t.empty?this:G(this,t)}mapDesc(t,e=!1){return t.empty?this:I(this,t,e)}mapPos(t,e=-1,i=E.Simple){let s=0,r=0;for(let n=0;n<this.sections.length;){let o=this.sections[n++],a=this.sections[n++],l=s+o;if(a<0){if(l>t)return r+(t-s);r+=o}else{if(i!=E.Simple&&l>=t&&(i==E.TrackDel&&s<t&&l>t||i==E.TrackBefore&&s<t||i==E.TrackAfter&&l>t))return null;if(l>t||l==t&&e<0&&!o)return t==s||e<0?r:r+a;r+=a}s=l}if(t>s)throw RangeError(`Position ${t} is out of range for changeset of length ${s}`);return r}touchesRange(t,e=t){for(let i=0,s=0;i<this.sections.length&&s<=e;){let r=this.sections[i++],n=this.sections[i++],o=s+r;if(n>=0&&s<=e&&o>=t)return!(s<t)||!(o>e)||"cover";s=o}return!1}toString(){let t="";for(let e=0;e<this.sections.length;){let i=this.sections[e++],s=this.sections[e++];t+=(t?" ":"")+i+(s>=0?":"+s:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(t=>"number"!=typeof t))throw RangeError("Invalid JSON representation of ChangeDesc");return new W(t)}static create(t){return new W(t)}}class D extends W{constructor(t,e){super(t),this.inserted=e}apply(t){if(this.length!=t.length)throw RangeError("Applying change set to a document with the wrong length");return B(this,(e,i,s,r,n)=>t=t.replace(s,s+(i-e),n),!1),t}mapDesc(t,e=!1){return I(this,t,e,!0)}invert(t){let e=this.sections.slice(),i=[];for(let s=0,r=0;
vendor: 5,247 bytes, line 4
4s<e.length;s+=2){let n=e[s],o=e[s+1];if(o>=0){e[s]=o,e[s+1]=n;let a=s>>1;for(;i.length<a;)i.push($.empty);i.push(n?t.slice(r,r+n):$.empty)}r+=n}return new D(e,i)}compose(t){return this.empty?t:t.empty?this:G(this,t,!0)}map(t,e=!1){return t.empty?this:I(this,t,e,!0)}iterChanges(t,e=!1){B(this,t,e)}get desc(){return W.create(this.sections)}filter(t){let e=[],i=[],s=[],r=new N(this);t:for(let n=0,o=0;;){let a=n==t.length?1e9:t[n++];for(;o<a||o==a&&0==r.len;){if(r.done)break t;let t=Math.min(r.len,a-o);L(s,t,-1);let n=-1==r.ins?-1:0==r.off?r.ins:0;L(e,t,n),n>0&&j(i,e,r.text),r.forward(t),o+=t}let l=t[n++];for(;o<l;){if(r.done)break t;let t=Math.min(r.len,l-o);L(e,t,-1),L(s,t,-1==r.ins?-1:0==r.off?r.ins:0),r.forward(t),o+=t}}return{changes:new D(e,i),filtered:W.create(s)}}toJSON(){let t=[];for(let e=0;e<this.sections.length;e+=2){let i=this.sections[e],s=this.sections[e+1];s<0?t.push(i):0==s?t.push([i]):t.push([i].concat(this.inserted[e>>1].toJSON()))}return t}static of(t,e,i){let s=[],r=[],n=0,o=null;function a(t=!1){if(!t&&!s.length)return;n<e&&L(s,e-n,-1);let i=new D(s,r);o=o?o.compose(i.map(o)):i,s=[],r=[],n=0}return function t(l){if(Array.isArray(l))for(let e of l)t(e);else if(l instanceof D){if(l.length!=e)throw RangeError(`Mismatched change set length (got ${l.length}, expected ${e})`);a(),o=o?o.compose(l.map(o)):l}else{let{from:t,to:o=t,insert:h}=l;if(t>o||t<0||o>e)throw RangeError(`Invalid change range ${t} to ${o} (in doc of length ${e})`);let c=h?"string"==typeof h?$.of(h.split(i||V)):h:$.empty,u=c.length;if(t==o&&0==u)return;t<n&&a(),t>n&&L(s,t-n,-1),L(s,o-t,u),j(r,s,c),n=o}}(t),a(!o),o}static empty(t){return new D(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw RangeError("Invalid JSON representation of ChangeSet");let e=[],i=[];for(let s=0;s<t.length;s++){let r=t[s];if("number"==typeof r)e.push(r,-1);else{if(!Array.isArray(r)||"number"!=typeof r[0]||r.some((t,e)=>e&&"string"!=typeof t))throw RangeError("Invalid JSON representation of ChangeSet");if(1==r.length)e.push(r[0],0);else{for(;i.length<s;)i.push($.empty);i[s]=$.of(r.slice(1)),e.push(r[0],i[s].length)}}}return new D(e,i)}static createSet(t,e){return new D(t,e)}}function L(t,e,i,s=!1){if(0==e&&i<=0)return;let r=t.length-2;r>=0&&i<=0&&i==t[r+1]?t[r]+=e:r>=0&&0==e&&0==t[r]?t[r+1]+=i:s?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function j(t,e,i){if(0==i.length)return;let s=e.length-2>>1;if(s<t.length)t[t.length-1]=t[t.length-1].append(i);else{for(;t.length<s;)t.push($.empty);t.push(i)}}function B(t,e,i){let s=t.inserted;for(let r=0,n=0,o=0;o<t.sections.length;){let a=t.sections[o++],l=t.sections[o++];if(l<0)r+=a,n+=a;else{let h=r,c=n,u=$.empty;for(;h+=a,c+=l,l&&s&&(u=u.append(s[o-2>>1])),!(i||o==t.sections.length||t.sections[o+1]<0);)a=t.sections[o++],l=t.sections[o++];e(r,h,n,c,u),r=h,n=c}}}function I(t,e,i,s=!1){let r=[],n=s?[]:null,o=new N(t),a=new N(e);for(let t=-1;;){if(o.done&&a.len||a.done&&o.len)throw Error("Mismatched change set lengths");if(-1==o.ins&&-1==a.ins){let t=Math.min(o.len,a.len);L(r,t,-1),o.forward(t),a.forward(t)}else if(a.ins>=0&&(o.ins<0||t==o.i||0==o.off&&(a.len<o.len||a.len==o.len&&!i))){let e=a.len;for(L(r,a.ins,-1);e;){let i=Math.min(o.len,e);o.ins>=0&&t<o.i&&o.len<=i&&(L(r,0,o.ins),n&&j(n,r,o.text),t=o.i),o.forward(i),e-=i}a.next()}else if(o.ins>=0){let e=0,i=o.len;for(;i;)if(-1==a.ins){let t=Math.min(i,a.len);e+=t,i-=t,a.forward(t)}else if(0==a.ins&&a.len<i)i-=a.len,a.next();else break;L(r,e,t<o.i?o.ins:0),n&&t<o.i&&j(n,r,o.text),t=o.i,o.forward(o.len-i)}else{if(o.done&&a.done)return n?D.createSet(r,n):W.create(r);throw Error("Mismatched change set lengths")}}}function G(t,e,i=!1){let s=[],r=i?[]:null,n=new N(t),o=new N(e);for(let t=!1;;){if(n.done&&o.done)return r?D.createSet(s,r):W.create(s);if(0==n.ins)L(s,n.len,0,t),n.next();else if(0!=o.len||o.done){if(n.done||o.done)throw Error("Mismatched change set lengths");{let e=Math.min(n.len2,o.len),i=s.length;if(-1==n.ins){let i=-1==o.ins?-1:o.off?0:o.ins;L(s,e,i,t),r&&i&&j(r,s,o.text)}else -1==o.ins?(L(s,n.off?0:n.len,e,t),r&&j(r,s,n.textBit(e))):(L(s,n.off?0:n.len,o.off?0:o.ins,t),r&&!o.off&&j(r,s,o.text));t=(n.ins>e||o.ins>=0&&o.len>e)&&(t||s.length>i),n.forward2(e),o.forward(e)}}else L(s,0,o.ins,t),r&&j(r,s,o.text),o.next()}}class N{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i<t.length?(this.len=t[this.i++],this.ins=t[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return -2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:t}=this.set,e=this.i-2>>1;return e>=t.length?$.empty:t[e]}textBit(t){let{inserted:e}=this.set,i=this.i-2>>1;return i>=e.length&&!t?$.empty:e[i].slice(this.off,null==t?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){-1==this.ins?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class U{constructor(t,e,i){this.from=t,this.to=e,this.flags=i}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let t=7&this.flags;return 7==t?null:t}get goalColumn(){let t=this.flags>>6;return 16777215==t?void 0:t}
vendor: 6,042 bytes, line 4
4map(t,e=-1){let i,s;return this.empty?i=s=t.mapPos(this.from,e):(i=t.mapPos(this.from,1),s=t.mapPos(this.to,-1)),i==this.from&&s==this.to?this:new U(i,s,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return F.range(t,e);let i=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return F.range(this.anchor,i)}eq(t,e=!1){return this.anchor==t.anchor&&this.head==t.head&&this.goalColumn==t.goalColumn&&(!e||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||"number"!=typeof t.anchor||"number"!=typeof t.head)throw RangeError("Invalid JSON representation for SelectionRange");return F.range(t.anchor,t.head)}static create(t,e,i){return new U(t,e,i)}}class F{constructor(t,e){this.ranges=t,this.mainIndex=e}map(t,e=-1){return t.empty?this:F.create(this.ranges.map(i=>i.map(t,e)),this.mainIndex)}eq(t,e=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let i=0;i<this.ranges.length;i++)if(!this.ranges[i].eq(t.ranges[i],e))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new F([this.main],0)}addRange(t,e=!0){return F.create([t].concat(this.ranges),e?0:this.mainIndex+1)}replaceRange(t,e=this.mainIndex){let i=this.ranges.slice();return i[e]=t,F.create(i,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(t=>t.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t.main||t.main>=t.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new F(t.ranges.map(t=>U.fromJSON(t)),t.main)}static single(t,e=t){return new F([F.range(t,e)],0)}static create(t,e=0){if(0==t.length)throw RangeError("A selection needs at least one range");for(let i=0,s=0;s<t.length;s++){let r=t[s];if(r.empty?r.from<=i:r.from<i)return F.normalized(t.slice(),e);i=r.to}return new F(t,e)}static cursor(t,e=0,i,s){return U.create(t,t,(0==e?0:e<0?8:16)|(null==i?7:Math.min(6,i))|(s??16777215)<<6)}static range(t,e,i,s){let r=(i??16777215)<<6|(null==s?7:Math.min(6,s));return e<t?U.create(e,t,48|r):U.create(t,e,(e>t?8:0)|r)}static normalized(t,e=0){let i=t[e];t.sort((t,e)=>t.from-e.from),e=t.indexOf(i);for(let i=1;i<t.length;i++){let s=t[i],r=t[i-1];if(s.empty?s.from<=r.to:s.from<r.to){let n=r.from,o=Math.max(s.to,r.to);i<=e&&e--,t.splice(--i,2,s.anchor>s.head?F.range(o,n):F.range(n,o))}}return new F(t,e)}}function H(t,e){for(let i of t.ranges)if(i.to>e)throw RangeError("Selection points outside of document")}let K=0;class J{constructor(t,e,i,s,r){this.combine=t,this.compareInput=e,this.compare=i,this.isStatic=s,this.id=K++,this.default=t([]),this.extensions="function"==typeof r?r(this):r}get reader(){return this}static define(t={}){return new J(t.combine||(t=>t),t.compareInput||((t,e)=>t===e),t.compare||(t.combine?(t,e)=>t===e:tt),!!t.static,t.enables)}of(t){return new te([],this,0,t)}compute(t,e){if(this.isStatic)throw Error("Can't compute a static facet");return new te(t,this,1,e)}computeN(t,e){if(this.isStatic)throw Error("Can't compute a static facet");return new te(t,this,2,e)}from(t,e){return e||(e=t=>t),this.compute([t],i=>e(i.field(t)))}}function tt(t,e){return t==e||t.length==e.length&&t.every((t,i)=>t===e[i])}class te{constructor(t,e,i,s){this.dependencies=t,this.facet=e,this.type=i,this.value=s,this.id=K++}dynamicSlot(t){var e;let i=this.value,s=this.facet.compareInput,r=this.id,n=t[r]>>1,o=2==this.type,a=!1,l=!1,h=[];for(let i of this.dependencies)"doc"==i?a=!0:"selection"==i?l=!0:((null!==(e=t[i.id])&&void 0!==e?e:1)&1)==0&&h.push(t[i.id]);return{create:t=>(t.values[n]=i(t),1),update(t,e){if(a&&e.docChanged||l&&(e.docChanged||e.selection)||ts(t,h)){let e=i(t);if(o?!ti(e,t.values[n],s):!s(e,t.values[n]))return t.values[n]=e,1}return 0},reconfigure:(t,e)=>{let a,l=e.config.address[r];if(null!=l){let r=tf(e,l);if(this.dependencies.every(i=>i instanceof J?e.facet(i)===t.facet(i):!(i instanceof tn)||e.field(i,!1)==t.field(i,!1))||(o?ti(a=i(t),r,s):s(a=i(t),r)))return t.values[n]=r,0}else a=i(t);return t.values[n]=a,1}}}}function ti(t,e,i){if(t.length!=e.length)return!1;for(let s=0;s<t.length;s++)if(!i(t[s],e[s]))return!1;return!0}function ts(t,e){let i=!1;for(let s of e)1&td(t,s)&&(i=!0);return i}let tr=J.define({static:!0});class tn{constructor(t,e,i,s,r){this.id=t,this.createF=e,this.updateF=i,this.compareF=s,this.spec=r,this.provides=void 0}static define(t){let e=new tn(K++,t.create,t.update,t.compare||((t,e)=>t===e),t);return t.provide&&(e.provides=t.provide(e)),e}create(t){let e=t.facet(tr).find(t=>t.field==this);return(e?.create||this.createF)(t)}slot(t){let e=t[this.id]>>1;return{create:t=>(t.values[e]=this.create(t),1),update:(t,i)=>{let s=t.values[e],r=this.updateF(s,i);return this.compareF(s,r)?0:(t.values[e]=r,1)},reconfigure:(t,i)=>{let s=t.facet(tr),r=i.facet(tr),n;return(n=s.find(t=>t.field==this))&&n!=r.find(t=>t.field==this)?(t.values[e]=n.create(t),1):null!=i.config.address[this.id]?(t.values[e]=i.field(this),0):(t.values[e]=this.create(t),1)}}}init(t){return[this,tr.of({field:this,create:t})]}get extension(){return this}}let to={lowest:4,low:3,default:2,high:1,highest:0};function ta(t){return e=>new th(e,t)}let tl={highest:ta(to.highest),high:ta(to.high),default:ta(to.default),low:ta(to.low),lowest:ta(to.lowest)};class th{constructor(t,e){this.inner=t,this.prec=e}}class tc{of(t){return new tu(this,t)}reconfigure(t){return tc.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class tu{constructor(t,e){this.compartment=t,this.inner=e}}class tO{constructor(t,e,i,s,r,n){for(this.base=t,this.compartments=e,this.dynamicSlots=i,this.address=s,this.staticValues=r,this.facets=n,this.statusTemplate=[];this.statusTemplate.length<i.length;)this.statusTemplate.push(0)}staticFacet(t){let e=this.address[t.id];return null==e?t.default:this.staticValues[e>>1]}static resolve(t,e,i){let s,r,n=[],o=Object.create(null),a=new Map;for(let i of(s=[[],[],[],[],[]],r=new Map,function t(i,n){let o=r.get(i);
4if(null!=o){if(o<=n)return;let t=s[o].indexOf(i);t>-1&&s[o].splice(t,1),i instanceof tu&&a.delete(i.compartment)}if(r.set(i,n),Array.isArray(i))for(let e of i)t(e,n);else if(i instanceof tu){if(a.has(i.compartment))throw RangeError("Duplicate use of compartment in extensions");let s=e.get(i.compartment)||i.inner;a.set(i.compartment,s),t(s,n)}else if(i instanceof th)t(i.inner,i.prec);else if(i instanceof tn)s[n].push(i),i.provides&&t(i.provides,n);else if(i instanceof te)s[n].push(i),i.facet.extensions&&t(i.facet.extensions,to.default);else{let e=i.extension;if(!e)throw Error(`Unrecognized extension value in extension set (${i}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);t(e,n)}}(t,to.default),s.reduce((t,e)=>t.concat(e))))i instanceof tn?n.push(i):(o[i.facet.id]||(o[i.facet.id]=[])).push(i);let l=Object.create(null),h=[],c=[];for(let t of n)l[t.id]=c.length<<1,c.push(e=>t.slot(e));let u=i?.config.facets;for(let t in o){let e=o[t],s=e[0].facet,r=u&&u[t]||[];if(e.every(t=>0==t.type)){if(l[s.id]=h.length<<1|1,tt(r,e))h.push(i.facet(s));else{let t=s.combine(e.map(t=>t.value));h.push(i&&s.compare(t,i.facet(s))?i.facet(s):t)}}else{for(let t of e)0==t.type?(l[t.id]=h.length<<1|1,h.push(t.value)):(l[t.id]=c.length<<1,c.push(e=>t.dynamicSlot(e)));l[s.id]=c.length<<1,c.push(t=>(function(t,e,i){let s=i.map(e=>t[e.id]),r=i.map(t=>t.type),n=s.filter(t=>!(1&t)),o=t[e.id]>>1;function a(t){let i=[];for(let e=0;e<s.length;e++){let n=tf(t,s[e]);if(2==r[e])for(let t of n)i.push(t);else i.push(n)}return e.combine(i)}return{create(t){for(let e of s)td(t,e);return t.values[o]=a(t),1},update(t,i){if(!ts(t,n))return 0;let s=a(t);return e.compare(s,t.values[o])?0:(t.values[o]=s,1)},reconfigure(t,r){let n=ts(t,s),l=r.config.facets[e.id],h=r.facet(e);if(l&&!n&&tt(i,l))return t.values[o]=h,0;let c=a(t);return e.compare(c,h)?(t.values[o]=h,0):(t.values[o]=c,1)}}})(t,s,e))}}return new tO(t,a,c.map(t=>t(l)),l,h,o)}}function td(t,e){if(1&e)return 2;let i=e>>1,s=t.status[i];if(4==s)throw Error("Cyclic dependency between fields and/or facets");if(2&s)return s;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function tf(t,e){return 1&e?t.config.staticValues[e>>1]:t.values[e>>1]}let tp=J.define(),tm=J.define({combine:t=>t.some(t=>t),static:!0}),tg=J.define({combine:t=>t.length?t[0]:void 0,static:!0}),tQ=J.define(),tb=J.define(),tv=J.define(),tw=J.define({combine:t=>!!t.length&&t[0]});class tS{constructor(t,e){this.type=t,this.value=e}static define(){return new ty}}class ty{of(t){return new tS(this,t)}}class tx{constructor(t){this.map=t}of(t){return new tk(this,t)}}class tk{constructor(t,e){this.type=t,this.value=e}map(t){let e=this.type.map(this.value,t);return void 0===e?void 0:e==this.value?this:new tk(this.type,e)}is(t){return this.type==t}static define(t={}){return new tx(t.map||(t=>t))}static mapEffects(t,e){if(!t.length)return t;let i=[];for(let s of t){let t=s.map(e);t&&i.push(t)}return i}}tk.reconfigure=tk.define(),tk.appendConfig=tk.define();class t${constructor(t,e,i,s,r,n){this.startState=t,this.changes=e,this.selection=i,this.effects=s,this.annotations=r,this.scrollIntoView=n,this._doc=null,this._state=null,i&&H(i,e.newLength),r.some(t=>t.type==t$.time)||(this.annotations=r.concat(t$.time.of(Date.now())))}static create(t,e,i,s,r,n){return new t$(t,e,i,s,r,n)}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(t){for(let e of this.annotations)if(e.type==t)return e.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let e=this.annotation(t$.userEvent);return!!(e&&(e==t||e.length>t.length&&e.slice(0,t.length)==t&&"."==e[t.length]))}}function tP(t,e,i){var s;let r,n,o;return i?(r=e.changes,n=D.empty(e.changes.length),o=t.changes.compose(e.changes)):(r=e.changes.map(t.changes),n=t.changes.mapDesc(e.changes,!0),o=t.changes.compose(r)),{changes:o,selection:e.selection?e.selection.map(n):null===(s=t.selection)||void 0===s?void 0:s.map(r),effects:tk.mapEffects(t.effects,r).concat(tk.mapEffects(e.effects,n)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function tT(t,e,i){let s=e.selection,r=tX(e.annotations);return e.userEvent&&(r=r.concat(t$.userEvent.of(e.userEvent))),{changes:e.changes instanceof D?e.changes:D.of(e.changes||[],i,t.facet(tg)),selection:s&&(s instanceof F?s:F.single(s.anchor,s.head)),effects:tX(e.effects),annotations:r,scrollIntoView:!!e.scrollIntoView}}t$.time=tS.define(),t$.userEvent=tS.define(),t$.addToHistory=tS.define(),t$.remote=tS.define();let tZ=[];function tX(t){return null==t?tZ:Array.isArray(t)?t:[t]}var tC=((a=tC||(tC={}
vendor: 16,638 bytes, lines 4-5
4))[a.Word=0]="Word",a[a.Space=1]="Space",a[a.Other=2]="Other",a);let tA=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{s=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}class tM{constructor(t,e,i,s,r,n){this.config=t,this.doc=e,this.selection=i,this.values=s,this.status=t.statusTemplate.slice(),this.computeSlot=r,n&&(n._state=this);for(let t=0;t<this.config.dynamicSlots.length;t++)td(this,t<<1);this.computeSlot=null}field(t,e=!0){let i=this.config.address[t.id];if(null==i){if(e)throw RangeError("Field is not present in this state");return}return td(this,i),tf(this,i)}update(...t){return function t(e,i,s){let r=tT(e,i.length?i[0]:{},e.doc.length);i.length&&!1===i[0].filter&&(s=!1);for(let t=1;t<i.length;t++){!1===i[t].filter&&(s=!1);let n=!!i[t].sequential;r=tP(r,tT(e,i[t],n?r.changes.newLength:e.doc.length),n)}let n=t$.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(t){let e=t.startState,i=e.facet(tv),s=t;for(let r=i.length-1;r>=0;r--){let n=i[r](t);n&&Object.keys(n).length&&(s=tP(s,tT(e,n,t.changes.newLength),!0))}return s==t?t:t$.create(e,t.changes,t.selection,s.effects,s.annotations,s.scrollIntoView)}(s?function(e){let i=e.startState,s=!0;for(let t of i.facet(tQ)){let i=t(e);if(!1===i){s=!1;break}Array.isArray(i)&&(s=!0===s?i:function(t,e){let i=[];for(let s=0,r=0;;){let n,o;if(s<t.length&&(r==e.length||e[r]>=t[s]))n=t[s++],o=t[s++];else{if(!(r<e.length))return i;n=e[r++],o=e[r++]}!i.length||i[i.length-1]<n?i.push(n,o):i[i.length-1]<o&&(i[i.length-1]=o)}}(s,i))}if(!0!==s){let t,r;if(!1===s)r=e.changes.invertedDesc,t=D.empty(i.doc.length);else{let i=e.changes.filter(s);t=i.changes,r=i.filtered.mapDesc(i.changes).invertedDesc}e=t$.create(i,t,e.selection&&e.selection.map(r),tk.mapEffects(e.effects,r),e.annotations,e.scrollIntoView)}let r=i.facet(tb);for(let s=r.length-1;s>=0;s--){let n=r[s](e);e=n instanceof t$?n:Array.isArray(n)&&1==n.length&&n[0]instanceof t$?n[0]:t(i,tX(n),!1)}return e}(n):n)}(this,t,!0)}applyTransaction(t){let e,i=this.config,{base:s,compartments:r}=i;for(let e of t.effects)e.is(tc.reconfigure)?(i&&(r=new Map,i.compartments.forEach((t,e)=>r.set(e,t)),i=null),r.set(e.value.compartment,e.value.extension)):e.is(tk.reconfigure)?(i=null,s=e.value):e.is(tk.appendConfig)&&(i=null,s=tX(s).concat(e.value));e=i?t.startState.values.slice():new tM(i=tO.resolve(s,r,this),this.doc,this.selection,i.dynamicSlots.map(()=>null),(t,e)=>e.reconfigure(t,this),null).values;let n=t.startState.facet(tm)?t.newSelection:t.newSelection.asSingle();new tM(i,t.newDoc,n,e,(e,i)=>i.update(e,t),t)}replaceSelection(t){return"string"==typeof t&&(t=this.toText(t)),this.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:t},range:F.cursor(e.from+t.length)}))}changeByRange(t){let e=this.selection,i=t(e.ranges[0]),s=this.changes(i.changes),r=[i.range],n=tX(i.effects);for(let i=1;i<e.ranges.length;i++){let o=t(e.ranges[i]),a=this.changes(o.changes),l=a.map(s);for(let t=0;t<i;t++)r[t]=r[t].map(l);let h=s.mapDesc(a,!0);r.push(o.range.map(h)),s=s.compose(l),n=tk.mapEffects(n,l).concat(tk.mapEffects(tX(o.effects),h))}return{changes:s,selection:F.create(r,e.mainIndex),effects:n}}changes(t=[]){return t instanceof D?t:D.of(t,this.doc.length,this.facet(tM.lineSeparator))}toText(t){return $.of(t.split(this.facet(tM.lineSeparator)||V))}sliceDoc(t=0,e=this.doc.length){return this.doc.sliceString(t,e,this.lineBreak)}facet(t){let e=this.config.address[t.id];return null==e?t.default:(td(this,e),tf(this,e))}toJSON(t){let e={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(t)for(let i in t){let s=t[i];s instanceof tn&&null!=this.config.address[s.id]&&(e[i]=s.spec.toJSON(this.field(t[i]),this))}return e}static fromJSON(t,e={},i){if(!t||"string"!=typeof t.doc)throw RangeError("Invalid JSON representation for EditorState");let s=[];if(i){for(let e in i)if(Object.prototype.hasOwnProperty.call(t,e)){let r=i[e],n=t[e];s.push(r.init(t=>r.spec.fromJSON(n,t)))}}return tM.create({doc:t.doc,selection:F.fromJSON(t.selection),extensions:e.extensions?s.concat([e.extensions]):s})}static create(t={}){let e=tO.resolve(t.extensions||[],new Map),i=t.doc instanceof $?t.doc:$.of((t.doc||"").split(e.staticFacet(tM.lineSeparator)||V)),s=t.selection?t.selection instanceof F?t.selection:F.single(t.selection.anchor,t.selection.head):F.single(0);return H(s,i.length),e.staticFacet(tm)||(s=s.asSingle()),new tM(e,i,s,e.dynamicSlots.map(()=>null),(t,e)=>e.create(t),null)}get tabSize(){return this.facet(tM.tabSize)}get lineBreak(){return this.facet(tM.lineSeparator)||`
5`}get readOnly(){return this.facet(tw)}phrase(t,...e){for(let e of this.facet(tM.phrases))if(Object.prototype.hasOwnProperty.call(e,t)){t=e[t];break}return e.length&&(t=t.replace(/\$(\$|\d*)/g,(t,i)=>{if("$"==i)return"$";let s=+(i||1);return!s||s>e.length?t:e[s-1]})),t}languageDataAt(t,e,i=-1){let s=[];for(let r of this.facet(tp))for(let n of r(this,e,i))Object.prototype.hasOwnProperty.call(n,t)&&s.push(n[t]);return s}charCategorizer(t){var e;let i=this.languageDataAt("wordChars",t);return e=i.length?i[0]:"",t=>{if(!/\S/.test(t))return tC.Space;if(function(t){if(s)return s.test(t);for(let e=0;e<t.length;e++){let i=t[e];if(/\w/.test(i)||i>"\x80"&&(i.toUpperCase()!=i.toLowerCase()||tA.test(i)))return!0}return!1}(t))return tC.Word;for(let i=0;i<e.length;i++)if(t.indexOf(e[i])>-1)return tC.Word;return tC.Other}}wordAt(t){let{text:e,from:i,length:s}=this.doc.lineAt(t),r=this.charCategorizer(t),n=t-i,o=t-i;for(;n>0;){let t=_(e,n,!1);if(r(e.slice(t,n))!=tC.Word)break;n=t}for(;o<s;){let t=_(e,o);if(r(e.slice(o,t))!=tC.Word)break;o=t}return n==o?null:F.range(n+i,o+i)}}function tR(t,e,i={}){let s={};for(let e of t)for(let t of Object.keys(e)){let r=e[t],n=s[t];if(void 0===n)s[t]=r;else if(!(n===r||void 0===r)){if(Object.hasOwnProperty.call(i,t))s[t]=i[t](n,r);else throw Error("Config merge conflict for field "+t)}}for(let t in e)void 0===s[t]&&(s[t]=e[t]);return s}tM.allowMultipleSelections=tm,tM.tabSize=J.define({combine:t=>t.length?t[0]:4}),tM.lineSeparator=tg,tM.readOnly=tw,tM.phrases=J.define({compare(t,e){let i=Object.keys(t),s=Object.keys(e);return i.length==s.length&&i.every(i=>t[i]==e[i])}}),tM.languageData=tp,tM.changeFilter=tQ,tM.transactionFilter=tb,tM.transactionExtender=tv,tc.reconfigure=tk.define();class t_{eq(t){return this==t}range(t,e=t){return tY.create(t,e,this)}}function tz(t,e){return t==e||t.constructor==e.constructor&&t.eq(e)}t_.prototype.startSide=t_.prototype.endSide=0,t_.prototype.point=!1,t_.prototype.mapMode=E.TrackDel;let tY=class t{constructor(t,e,i){this.from=t,this.to=e,this.value=i}static create(e,i,s){return new t(e,i,s)}};function tq(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class tV{constructor(t,e,i,s){this.from=t,this.to=e,this.value=i,this.maxPoint=s}get length(){return this.to[this.to.length-1]}findIndex(t,e,i,s=0){let r=i?this.to:this.from;for(let n=s,o=r.length;;){if(n==o)return n;let s=n+o>>1,a=r[s]-t||(i?this.value[s].endSide:this.value[s].startSide)-e;if(s==n)return a>=0?n:o;a>=0?o=s:n=s+1}}between(t,e,i,s){for(let r=this.findIndex(e,-1e9,!0),n=this.findIndex(i,1e9,!1,r);r<n;r++)if(!1===s(this.from[r]+t,this.to[r]+t,this.value[r]))return!1}map(t,e){let i=[],s=[],r=[],n=-1,o=-1;for(let a=0;a<this.value.length;a++){let l=this.value[a],h=this.from[a]+t,c=this.to[a]+t,u,O;if(h==c){let t=e.mapPos(h,l.startSide,l.mapMode);if(null==t||(u=O=t,l.startSide!=l.endSide&&(O=e.mapPos(h,l.endSide))<u))continue}else if((u=e.mapPos(h,l.startSide))>(O=e.mapPos(c,l.endSide))||u==O&&l.startSide>0&&l.endSide<=0)continue;0>(O-u||l.endSide-l.startSide)||(n<0&&(n=u),l.point&&(o=Math.max(o,O-u)),i.push(l),s.push(u-n),r.push(O-n))}return{mapped:i.length?new tV(s,r,i,o):null,pos:n}}}class tE{constructor(t,e,i,s){this.chunkPos=t,this.chunk=e,this.nextLayer=i,this.maxPoint=s}static create(t,e,i,s){return new tE(t,e,i,s)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let e of this.chunk)t+=e.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:e=[],sort:i=!1,filterFrom:s=0,filterTo:r=this.length}=t,n=t.filter;if(0==e.length&&!n)return this;if(i&&(e=e.slice().sort(tq)),this.isEmpty)return e.length?tE.of(e):this;let o=new tL(this,null,-1).goto(0),a=0,l=[],h=new tW;for(;o.value||a<e.length;)if(a<e.length&&(o.from-e[a].from||o.startSide-e[a].value.startSide)>=0){let t=e[a++];h.addInner(t.from,t.to,t.value)||l.push(t)}else 1==o.rangeIndex&&o.chunkIndex<this.chunk.length&&(a==e.length||this.chunkEnd(o.chunkIndex)<e[a].from)&&(!n||s>this.chunkEnd(o.chunkIndex)||r<this.chunkPos[o.chunkIndex])&&h.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!n||s>o.to||r<o.from||n(o.from,o.to,o.value))&&(h.addInner(o.from,o.to,o.value)||l.push(tY.create(o.from,o.to,o.value))),o.next());return h.finishInner(this.nextLayer.isEmpty&&!l.length?tE.empty:this.nextLayer.update({add:l,filter:n,filterFrom:s,filterTo:r}))}map(t){if(t.empty||this.isEmpty)return this;let e=[],i=[],s=-1;for(let r=0;r<this.chunk.length;r++){let n=this.chunkPos[r],o=this.chunk[r],a=t.touchesRange(n,n+o.length);if(!1===a)s=Math.max(s,o.maxPoint),e.push(o),i.push(t.mapPos(n));else if(!0===a){let{mapped:r,pos:a}=o.map(n,t);r&&(s=Math.max(s,r.maxPoint),e.push(r),i.push(a))}}let r=this.nextLayer.map(t);return 0==e.length?r:new tE(i,e,r||tE.empty,s)}between(t,e,i){if(!this.isEmpty){for(let s=0;s<this.chunk.length;s++){let r=this.chunkPos[s],n=this.chunk[s];if(e>=r&&t<=r+n.length&&!1===n.between(r,t-r,e-r,i))return}this.nextLayer.between(t,e,i)}}iter(t=0){return tj.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,e=0){return tj.from(t).goto(e)}static compare(t,e,i,s,r=-1){let n=t.filter(t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=r),o=e.filter(t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=r),a=tD(n,o,i),l=new tI(n,a,r),h=new tI(o,a,r);i.iterGaps((t,e,i)=>tG(l,t,h,e,i,s)),i.empty&&0==i.length&&tG(l,0,h,0,0,s)}static eq(t,e,i=0,s){null==s&&(s=999999999);let r=t.filter(t=>!t.isEmpty&&0>e.indexOf(t)),n=e.filter(e=>!e.isEmpty&&0>t.indexOf(e));if(r.length!=n.length)return!1;if(!r.length)return!0;let o=tD(r,n),a=new tI(r,o,0).goto(i),l=new tI(n,o,0).goto(i);for(;;){if(a.to!=l.to||!tN(a.active,l.active)||a.point&&(!l.point||!tz(a.point,l.point)))return!1;if(a.to>s)return!0;a.next(),l.next()}}static spans(t,e,i,s,r=-1){let n=new tI(t,null,r).goto(e),o=e,a=n.openStart;for(;;){let t=Math.min(n.to,i);if(n.point){let i=n.activeForPoint(n.to),r=n.pointFrom<e?i.length+1:n.point.startSide<0?i.length:Math.min(i.length,a);s.point(o,t,n.point,i,r,n.pointRank),a=Math.min(n.openEnd(t),i.length)}else t>o&&(s.span(o,t,n.active,a),a=n.openEnd(t));if(n.to>i)return a+(n.point&&n.to>i?1:0);o=n.to,n.next()}}static of(t,e=!1){let i=new tW;for(let s of t instanceof tY?[t]:e?function(t){if(t.length>1)for(let e=t[0],i=1;i<t.length;i++){let s=t[i];if(tq(e,s)>0)return t.slice().sort(tq);e=s}return t}(t):t)i.add(s.from,s.to,s.value);return i.finish()}static join(t){if(!t.length)return tE.empty;let e=t[t.length-1];for(let i=t.length-2;i>=0;i--)for(let s=t[i];s!=tE.empty;s=s.nextLayer)e=new tE(s.chunkPos,s.chunk,e,Math.max(s.maxPoint,e.maxPoint));return e}}tE.empty=new tE([],[],null,-1),tE.empty.nextLayer=tE.empty;class tW{finishChunk(t){this.chunks.push(new tV(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,t&&(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(t,e,i){this.addInner(t,e,i)||(this.nextLayer||(this.nextLayer=new tW)).add(t,e,i)}addInner(t,e,i){let s=t-this.lastTo||i.startSide-this.last.endSide;if(s<=0&&0>(t-this.lastFrom||i.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(s<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(e-this.chunkStart),this.last=i,this.lastFrom=t,this.lastTo=e,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,e-t)),!0)}addChunk(t,e){if(0>(t-this.lastTo||e.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,e.maxPoint),this.chunks.push(e),this.chunkPos.push(t);let i=e.value.length-1;return this.last=e.value[i],this.lastFrom=e.from[i]+t,this.lastTo=e.to[i]+t,!0}finish(){return this.finishInner(tE.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return t;let e=tE.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,e}}function tD(t,e,i){let s=new Map;for(let e of t)for(let t=0;t<e.chunk.length;t++)e.chunk[t].maxPoint<=0&&s.set(e.chunk[t],e.chunkPos[t]);let r=new Set;for(let t of e)for(let e=0;e<t.chunk.length;e++){let n=s.get(t.chunk[e]);null==n||(i?i.mapPos(n):n)!=t.chunkPos[e]||i?.touchesRange(n,n+t.chunk[e].length)||r.add(t.chunk[e])}return r}class tL{constructor(t,e,i,s=0){this.layer=t,this.skip=e,this.minPoint=i,this.rank=s}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(t,e=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(t,e,!1),this}gotoInner(t,e,i){for(;this.chunkIndex<this.layer.chunk.length;){let e=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(e)||this.layer.chunkEnd(this.chunkIndex)<t||e.maxPoint<this.minPoint))break;this.chunkIndex++,i=!1}if(this.chunkIndex<this.layer.chunk.length){let s=this.layer.chunk[this.chunkIndex].findIndex(t-this.layer.chunkPos[this.chunkIndex],e,!0);(!i||this.rangeIndex<s)&&this.setRangeIndex(s)}this.next()}forward(t,e){0>(this.to-t||this.endSide-e)&&this.gotoInner(t,e,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let t=this.layer.chunkPos[this.chunkIndex],e=this.layer.chunk[this.chunkIndex],i=t+e.from[this.rangeIndex];if(this.from=i,this.to=t+e.to[this.rangeIndex],this.value=e.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(t){if(t==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=t}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(t){return this.from-t.from||this.startSide-t.startSide||this.rank-t.rank||this.to-t.to||this.endSide-t.endSide}}class tj{constructor(t){this.heap=t}static from(t,e=null,i=-1){let s=[];for(let r=0;r<t.length;r++)for(let n=t[r];!n.isEmpty;n=n.nextLayer)n.maxPoint>=i&&s.push(new tL(n,e,i,r));return 1==s.length?s[0]:new tj(s)}get startSide(){return this.value?this.value.startSide:0}goto(t,e=-1e9){for(let i of this.heap)i.goto(t,e);for(let t=this.heap.length>>1;t>=0;t--)tB(this.heap,t);return this.next(),this}forward(t,e){for(let i of this.heap)i.forward(t,e);for(let t=this.heap.length>>1;t>=0;t--)tB(this.heap,t);0>(this.to-t||this.value.endSide-e)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),tB(this.heap,0)}}}function tB(t,e){for(let i=t[e];;){let s=(e<<1)+1;if(s>=t.length)break;let r=t[s];if(s+1<t.length&&r.compare(t[s+1])>=0&&(r=t[s+1],s++),0>i.compare(r))break;t[s]=i,t[e]=r,e=s}}class tI{constructor(t,e,i){this.minPoint=i,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=tj.from(t,e,i)}goto(t,e=-1e9){return this.cursor.goto(t,e),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=e,this.openStart=-1,this.next(),this}forward(t,e){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-e);)this.removeActive(this.minActive);this.cursor.forward(t,e)}removeActive(t){tU(this.active,t),tU(this.activeTo,t),tU(this.activeRank,t),this.minActive=tH(this.active,this.activeTo)}
5addActive(t){let e=0,{value:i,to:s,rank:r}=this.cursor;for(;e<this.activeRank.length&&(r-this.activeRank[e]||s-this.activeTo[e])>0;)e++;tF(this.active,e,i),tF(this.activeTo,e,s),tF(this.activeRank,e,r),t&&tF(t,e,this.cursor.from),this.minActive=tH(this.active,this.activeTo)}next(){let t=this.to,e=this.point;this.point=null;let i=this.openStart<0?[]:null;for(;;){let s=this.minActive;if(s>-1&&0>(this.activeTo[s]-this.cursor.from||this.active[s].endSide-this.cursor.startSide)){if(this.activeTo[s]>t){this.to=this.activeTo[s],this.endSide=this.active[s].endSide;break}this.removeActive(s),i&&tU(i,s)}else if(this.cursor.value){if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let t=this.cursor.value;if(t.point){if(e&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=t,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=t.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else this.addActive(i),this.cursor.next()}}else{this.to=this.endSide=1e9;break}}if(i){this.openStart=0;for(let e=i.length-1;e>=0&&i[e]<t;e--)this.openStart++}}activeForPoint(t){if(!this.active.length)return this.active;let e=[];for(let i=this.active.length-1;i>=0&&!(this.activeRank[i]<this.pointRank);i--)(this.activeTo[i]>t||this.activeTo[i]==t&&this.active[i].endSide>=this.point.endSide)&&e.push(this.active[i]);return e.reverse()}openEnd(t){let e=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>t;i--)e++;return e}}function tG(t,e,i,s,r,n){t.goto(e),i.goto(s);let o=s+r,a=s,l=s-e,h=!!n.boundChange;for(let e=!1;;){let s=t.to+l-i.to,r=s||t.endSide-i.endSide,c=r<0?t.to+l:i.to,u=Math.min(c,o);if(t.point||i.point?(t.point&&i.point&&tz(t.point,i.point)&&tN(t.activeForPoint(t.to),i.activeForPoint(i.to))||n.comparePoint(a,u,t.point,i.point),e=!1):(e&&n.boundChange(a),u>a&&!tN(t.active,i.active)&&n.compareRange(a,u,t.active,i.active),h&&u<o&&(s||t.openEnd(c)!=i.openEnd(c))&&(e=!0)),c>o)break;a=c,r<=0&&t.next(),r>=0&&i.next()}}function tN(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!=e[i]&&!tz(t[i],e[i]))return!1;return!0}function tU(t,e){for(let i=e,s=t.length-1;i<s;i++)t[i]=t[i+1];t.pop()}function tF(t,e,i){for(let i=t.length-1;i>=e;i--)t[i+1]=t[i];t[e]=i}function tH(t,e){let i=-1,s=1e9;for(let r=0;r<e.length;r++)0>(e[r]-s||t[r].endSide-t[i].endSide)&&(i=r,s=e[r]);return i}function tK(t,e,i=t.length){let s=0;for(let r=0;r<i&&r<t.length;)9==t.charCodeAt(r)?(s+=e-s%e,r++):(s++,r=_(t,r));return s}function tJ(t,e,i,s){for(let s=0,r=0;;){if(r>=e)return s;if(s==t.length)break;r+=9==t.charCodeAt(s)?i-r%i:1,s=_(t,s)}return!0===s?-1:t.length}let t0=typeof Symbol>"u"?"__ͼ":Symbol.for("ͼ"),t1=typeof Symbol>"u"?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),t2="u">typeof globalThis?globalThis:"u">typeof window?window:{};class t5{constructor(t,e){this.rules=[];let{finish:i}=e||{};function s(t){return/^@/.test(t)?[t]:t.split(/,\s*/)}for(let e in t)!function t(e,r,n,o){let a=[],l=/^@(\w+)\b/.exec(e[0]),h=l&&"keyframes"==l[1];if(l&&null==r)return n.push(e[0]+";");for(let i in r){let o=r[i];if(/&/.test(i))t(i.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((t,e)=>t.concat(e)),o,n);else if(o&&"object"==typeof o){if(!l)throw RangeError("The value of a property ("+i+") should be a primitive value.");t(s(i),o,a,h)}else null!=o&&a.push(i.replace(/_.*/,"").replace(/[A-Z]/g,t=>"-"+t.toLowerCase())+": "+o+";")}(a.length||h)&&n.push((!i||l||o?e:e.map(i)).join(", ")+" {"+a.join(" ")+"}")}(s(e),t[e],this.rules)}getRules(){return this.rules.join(`
6`)}static newName(){let t=t2[t0]||1;return t2[t0]=t+1,"ͼ"+t.toString(36)}static mount(t,e,i){let s=t[t1],r=i&&i.nonce;s?r&&s.setNonce(r):s=new t7(t,r),s.mount(Array.isArray(e)?e:[e],t)}}let t3=new Map;class t7{constructor(t,e){let i=t.ownerDocument||t,s=i.defaultView;if(!t.head&&t.adoptedStyleSheets&&s.CSSStyleSheet){let e=t3.get(i);if(e)return t[t1]=e;this.sheet=new s.CSSStyleSheet,t3.set(i,this)}else this.styleTag=i.createElement("style"),e&&this.styleTag.setAttribute("nonce",e);this.modules=[],t[t1]=this}mount(t,e){let i=this.sheet,s=0,r=0;for(let e=0;e<t.length;e++){let n=t[e],o=this.modules.indexOf(n);if(o<r&&o>-1&&(this.modules.splice(o,1),r--,o=-1),-1==o){if(this.modules.splice(r++,0,n),i)for(let t=0;t<n.rules.length;t++)i.insertRule(n.rules[t],s++)}else{for(;r<o;)s+=this.modules[r++].rules.length;s+=n.rules.length,r++}}if(i)0>e.adoptedStyleSheets.indexOf(this.sheet)&&(e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets]);else{let t="";for(let e=0;e<this.modules.length;e++)t+=this.modules[e].getRules()+`
7`;this.styleTag.textContent=t;let i=e.head||e;this.styleTag.parentNode!=i&&i.insertBefore(this.styleTag,i.firstChild)}}setNonce(t){this.styleTag&&this.styleTag.getAttribute("nonce")!=t&&this.styleTag.setAttribute("nonce",t)}}for(var t4={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:"'"},t9={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},t8="u">typeof navigator&&/Mac/.test(navigator.platform),t6="u">typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),et=0;et<10;et++)t4[48+et]=t4[96+et]=String(et);for(var et=1;et<=24;et++)t4[et+111]="F"+et;for(var et=65;et<=90;et++)t4[et]=String.fromCharCode(et+32),t9[et]=String.fromCharCode(et);for(var ee in t4)t9.hasOwnProperty(ee)||(t9[ee]=t4[ee]);function ei(){var t=arguments[0];"string"==typeof t&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&"object"==typeof i&&null==i.nodeType&&!Array.isArray(i)){for(var s in i)if(Object.prototype.hasOwnProperty.call(i,s)){var r=i[s];"string"==typeof r?t.setAttribute(s,r):null!=r&&(t[s]=r)}e++}for(;e<arguments.length;e++)!function t(e,i){if("string"==typeof i)e.appendChild(document.createTextNode(i));else if(null!=i){if(null!=i.nodeType)e.appendChild(i);else if(Array.isArray(i))for(var s=0;s<i.length;s++)t(e,i[s]);else throw RangeError("Unsupported child node: "+i)}}(t,arguments[e]);return t}let es="u">typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},er="u">typeof document?document:{documentElement:{style:{}}},en=/Edge\/(\d+)/.exec(es.userAgent),eo=/MSIE \d/.test(es.userAgent),ea=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(es.userAgent),el=!!(eo||ea||en),eh=!el&&/gecko\/(\d+)/i.test(es.userAgent),ec=!el&&/Chrome\/(\d+)/.exec(es.userAgent),eu="webkitFontSmoothing"in er.documentElement.style,eO=!el&&/Apple Computer/.test(es.vendor),ed=eO&&(/Mobile\/\w+/.test(es.userAgent)||es.maxTouchPoints>2);var ef={mac:ed||/Mac/.test(es.platform),windows:/Win/.test(es.platform),linux:/Linux|X11/.test(es.platform),ie:el,ie_version:eo?er.documentMode||6:ea?+ea[1]:en?+en[1]:0,gecko:eh,gecko_version:eh?+(/Firefox\/(\d+)/.exec(es.userAgent)||[0,0])[1]:0,chrome:!!ec,chrome_version:ec?+ec[1]:0,ios:ed,android:/Android\b/.test(es.userAgent),webkit_version:eu?+(/\bAppleWebKit\/(\d+)/.exec(es.userAgent)||[0,0])[1]:0,safari:eO,safari_version:eO?+(/\bVersion\/(\d+(\.\d+)?)/.exec(es.userAgent)||[0,0])[1]:0,tabSize:null!=er.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};function ep(t,e){for(let i in t)"class"==i&&e.class?e.class+=" "+t.class:"style"==i&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}let em=Object.create(null);function eg(t,e,i){if(t==e)return!0;t||(t=em),e||(e=em);let s=Object.keys(t),r=Object.keys(e);if(s.length-0!=r.length-0)return!1;for(let n of s)if(n!=i&&(-1==r.indexOf(n)||t[n]!==e[n]))return!1;return!0}function eQ(t,e,i){let s=!1;if(e)for(let r in e)i&&r in i||(s=!0,"style"==r?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(s=!0,"style"==r?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return s}class eb{eq(t){return!1}updateDOM(t,e){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return -1}get lineBreaks(){return 0}ignoreEvent(t){return!0}coordsAt(t,e,i){return null}get isHidden(){return!1}get editable(){return!1}destroy(t){}}var ev=((l=ev||(ev={}))[l.Text=0]="Text",l[l.WidgetBefore=1]="WidgetBefore",l[l.WidgetAfter=2]="WidgetAfter",l[l.WidgetRange=3]="WidgetRange",l);class ew extends t_{constructor(t,e,i,s){super(),this.startSide=t,this.endSide=e,this.widget=i,this.spec=s}get heightRelevant(){return!1}static mark(t){return new eS(t)}static widget(t){let e=Math.max(-1e4,Math.min(1e4,t.side||0)),i=!!t.block;return e+=i&&!t.inlineOrder?e>0?3e8:-4e8:e>0?1e8:-1e8,new ex(t,e,e,i,t.widget||null,!1)}static replace(t){let e=!!t.block,i,s;if(t.isBlockGap)i=-5e8,s=4e8;else{let{start:r,end:n}=ek(t,e);i=(r?e?-3e8:-1:5e8)-1,s=(n?e?2e8:1:-6e8)+1}return new ex(t,i,s,e,t.widget||null,!0)}static line(t){return new ey(t)}static set(t,e=!1){return tE.of(t,e)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}ew.none=tE.empty;class eS extends ew{constructor(t){let{start:e,end:i}=ek(t);super(e?-1:5e8,i?1:-6e8,null,t),this.tagName=t.tagName||"span",this.attrs=t.class&&t.attributes?ep(t.attributes,{class:t.class}):t.class?{class:t.class}:t.attributes||em}eq(t){return this==t||t instanceof eS&&this.tagName==t.tagName&&eg(this.attrs,t.attrs)}range(t,e=t){if(t>=e)throw RangeError("Mark decorations may not be empty");return super.range(t,e)}}eS.prototype.point=!1;class ey extends ew{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof ey&&this.spec.class==t.spec.class&&eg(this.spec.attributes,t.spec.attributes)}range(t,e=t){if(e!=t)throw RangeError("Line decoration ranges must be zero-length");return super.range(t,e)}}
7ey.prototype.mapMode=E.TrackBefore,ey.prototype.point=!0;class ex extends ew{constructor(t,e,i,s,r,n){super(e,i,r,t),this.block=s,this.isReplace=n,this.mapMode=s?e<=0?E.TrackBefore:E.TrackAfter:E.TrackDel}get type(){return this.startSide!=this.endSide?ev.WidgetRange:this.startSide<=0?ev.WidgetBefore:ev.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){var e,i;return t instanceof ex&&((e=this.widget)==(i=t.widget)||!!(e&&i&&e.compare(i)))&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,e=t){if(this.isReplace&&(t>e||t==e&&this.startSide>0&&this.endSide<=0))throw RangeError("Invalid range for replacement decoration");if(!this.isReplace&&e!=t)throw RangeError("Widget decorations can only have zero-length ranges");return super.range(t,e)}}function ek(t,e=!1){let{inclusiveStart:i,inclusiveEnd:s}=t;return null==i&&(i=t.inclusive),null==s&&(s=t.inclusive),{start:i??e,end:s??e}}function e$(t,e,i,s=0){let r=i.length-1;r>=0&&i[r]+s>=t?i[r]=Math.max(i[r],e):i.push(t,e)}ex.prototype.point=!0;class eP extends t_{constructor(t,e){super(),this.tagName=t,this.attributes=e}eq(t){return t==this||t instanceof eP&&this.tagName==t.tagName&&eg(this.attributes,t.attributes)}static create(t){return new eP(t.tagName,t.attributes||em)}static set(t,e=!1){return tE.of(t,e)}}function eT(t){return(11==t.nodeType?t.getSelection?t:t.ownerDocument:t).getSelection()}function eZ(t,e){return!!e&&(t==e||t.contains(1!=e.nodeType?e.parentNode:e))}function eX(t,e){if(!e.anchorNode)return!1;try{return eZ(t,e.anchorNode)}catch{return!1}}function eC(t){return 3==t.nodeType?eL(t,0,t.nodeValue.length).getClientRects():1==t.nodeType?t.getClientRects():[]}function eA(t,e,i,s){return!!i&&(e_(t,e,i,s,-1)||e_(t,e,i,s,1))}function eM(t){for(var e=0;;e++)if(!(t=t.previousSibling))return e}function eR(t){return 1==t.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function e_(t,e,i,s,r){for(;;){if(t==i&&e==s)return!0;if(e==(r<0?0:ez(t))){if("DIV"==t.nodeName)return!1;let i=t.parentNode;if(!i||1!=i.nodeType)return!1;e=eM(t)+(r<0?0:1),t=i}else{if(1!=t.nodeType||1==(t=t.childNodes[e+(r<0?-1:0)]).nodeType&&"false"==t.contentEditable)return!1;e=r<0?ez(t):0}}}function ez(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}function eY(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function eq(t,e){let i=e.width/t.offsetWidth,s=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||1>Math.abs(e.width-t.offsetWidth))&&(i=1),(s>.995&&s<1.005||!isFinite(s)||1>Math.abs(e.height-t.offsetHeight))&&(s=1),{scaleX:i,scaleY:s}}function eV(t,e=!0){let i=t.ownerDocument,s=null,r=null;for(let n=t.parentNode;n&&!(n==i.body||(!e||s)&&r);)if(1==n.nodeType)!r&&n.scrollHeight>n.clientHeight&&(r=n),e&&!s&&n.scrollWidth>n.clientWidth&&(s=n),n=n.assignedSlot||n.parentNode;else if(11==n.nodeType)n=n.host;else break;return{x:s,y:r}}eP.prototype.startSide=eP.prototype.endSide=-1;class eE{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:e,focusNode:i}=t;this.set(e,Math.min(t.anchorOffset,e?ez(e):0),i,Math.min(t.focusOffset,i?ez(i):0))}set(t,e,i,s){this.anchorNode=t,this.anchorOffset=e,this.focusNode=i,this.focusOffset=s}}let eW=null;function eD(t){if(t.setActive)return t.setActive();if(eW)return t.focus(eW);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(null==eW?{get preventScroll(){return eW={preventScroll:!0},!0}}:void 0),!eW){eW=!1;for(let t=0;t<e.length;){let i=e[t++],s=e[t++],r=e[t++];i.scrollTop!=s&&(i.scrollTop=s),i.scrollLeft!=r&&(i.scrollLeft=r)}}}function eL(t,e,i=e){let s=r||(r=document.createRange());return s.setEnd(t,i),s.setStart(t,e),s}function ej(t,e,i,s){let r={key:e,code:e,keyCode:i,which:i,cancelable:!0};s&&({altKey:r.altKey,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey}=s);let n=new KeyboardEvent("keydown",r);n.synthetic=!0,t.dispatchEvent(n);let o=new KeyboardEvent("keyup",r);return o.synthetic=!0,t.dispatchEvent(o),n.defaultPrevented||o.defaultPrevented}function eB(t){return t instanceof Window?t.pageYOffset>
7Math.max(0,t.document.documentElement.scrollHeight-t.innerHeight-4):t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function eI(t,e){for(let i=t,s=e;;){if(3==i.nodeType&&s>0)return{node:i,offset:s};if(1==i.nodeType&&s>0){if("false"==i.contentEditable)return null;s=ez(i=i.childNodes[s-1])}else{if(!i.parentNode||eR(i))return null;s=eM(i),i=i.parentNode}}}function eG(t,e){for(let i=t,s=e;;){if(3==i.nodeType&&s<i.nodeValue.length)return{node:i,offset:s};if(1==i.nodeType&&s<i.childNodes.length){if("false"==i.contentEditable)return null;i=i.childNodes[s],s=0}else{if(!i.parentNode||eR(i))return null;s=eM(i)+1,i=i.parentNode}}}ef.safari&&ef.safari_version>=26&&(eW=!1);class eN{constructor(t,e,i=!0){this.node=t,this.offset=e,this.precise=i}static before(t,e){return new eN(t.parentNode,eM(t),e)}static after(t,e){return new eN(t.parentNode,eM(t)+1,e)}}var eU=((h=eU||(eU={}))[h.LTR=0]="LTR",h[h.RTL=1]="RTL",h);let eF=eU.LTR,eH=eU.RTL;function eK(t){let e=[];for(let i=0;i<t.length;i++)e.push(1<<+t[i]);return e}let eJ=eK("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),e0=eK("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),e1=Object.create(null),e2=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),i=t.charCodeAt(1);e1[e]=i,e1[i]=-e}function e5(t){return t<=247?eJ[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?e0[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}let e3=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class e7{get dir(){return this.level%2?eH:eF}constructor(t,e,i){this.from=t,this.to=e,this.level=i}side(t,e){return this.dir==e==t?this.to:this.from}forward(t,e){return t==(this.dir==e)}static find(t,e,i,s){let r=-1;for(let n=0;n<t.length;n++){let o=t[n];if(o.from<=e&&o.to>=e){if(o.level==i)return n;(r<0||(0!=s?s<0?o.from<e:o.to>e:t[r].level>o.level))&&(r=n)}}if(r<0)throw RangeError("Index out of range");return r}}let e4=[];function e9(t){return[new e7(0,t,0)]}let e8="",e6=J.define(),it=J.define(),ie=J.define(),ii=J.define(),is=J.define(),ir=J.define(),io=J.define(),ia=J.define(),il=J.define(),ih=J.define({combine:t=>t.some(t=>t)}),ic=J.define({combine:t=>t.some(t=>t)}),iu=J.define();class iO{constructor(t,e="nearest",i="nearest",s=5,r=5,n=!1){this.range=t,this.y=e,this.x=i,this.yMargin=s,this.xMargin=r,this.isSnapshot=n}map(t){return t.empty?this:new iO(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new iO(F.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}let id=tk.define({map:(t,e)=>t.map(e)}),ip=tk.define();function im(t,e,i){let s=t.facet(ii);s.length?s[0](e):window.onerror&&window.onerror(String(e),i,void 0,void 0,e)||(i?console.error(i+":",e):console.error(e))}let ig=J.define({combine:t=>!t.length||t[0]}),iQ=0,ib=J.define({combine:t=>t.filter((e,i)=>{for(let s=0;s<i;s++)if(t[s].plugin==e.plugin)return!1;return!0})});class iv{constructor(t,e,i,s,r){this.id=t,this.create=e,this.domEventHandlers=i,this.domEventObservers=s,this.baseExtensions=r(this),this.extension=this.baseExtensions.concat(ib.of({plugin:this,arg:void 0}))}of(t){return this.baseExtensions.concat(ib.of({plugin:this,arg:t}))}static define(t,e){let{eventHandlers:i,eventObservers:s,provide:r,decorations:n}=e||{};return new iv(iQ++,t,i,s,t=>{let e=[];return n&&e.push(ix.of(e=>{let i=e.plugin(t);return i?n(i):ew.none})),r&&e.push(r(t)),e})}static fromClass(t,e){return iv.define((e,i)=>new t(e,i),e)}}class iw{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(t){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(e){if(im(t.state,e,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(t,this.spec.arg)}
7catch(e){im(t.state,e,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var e;if(!(null===(e=this.value)||void 0===e)&&e.destroy)try{this.value.destroy()}catch(e){im(t.state,e,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}let iS=J.define(),iy=J.define(),ix=J.define(),ik=J.define(),i$=J.define(),iP=J.define(),iT=J.define();function iZ(t,e){let i=t.state.facet(iT);if(!i.length)return i;let s=i.map(e=>e instanceof Function?e(t):e),r=[];return tE.spans(s,e.from,e.to,{point(){},span(t,i,s,n){let o=t-e.from,a=i-e.from,l=r;for(let t=s.length-1;t>=0;t--,n--){let i=s[t].spec.bidiIsolate,r;if(null==i&&(i=function(t,e,i){for(let s=e;s<i;s++){let e=e5(t.charCodeAt(s));if(1==e)break;if(2==e||4==e)return eH}return eF}(e.text,o,a)),n>0&&l.length&&(r=l[l.length-1]).to==o&&r.direction==i)r.to=a,l=r.inner;else{let t={from:o,to:a,direction:i,inner:[]};l.push(t),l=t.inner}}}}),r}let iX=J.define();function iC(t){let e=0,i=0,s=0,r=0;for(let n of t.state.facet(iX)){let o=n(t);o&&(null!=o.left&&(e=Math.max(e,o.left)),null!=o.right&&(i=Math.max(i,o.right)),null!=o.top&&(s=Math.max(s,o.top)),null!=o.bottom&&(r=Math.max(r,o.bottom)))}return{left:e,right:i,top:s,bottom:r}}let iA=J.define();class iM{constructor(t,e,i,s){this.fromA=t,this.toA=e,this.fromB=i,this.toB=s}join(t){return new iM(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let e=t.length,i=this;for(;e>0;e--){let s=t[e-1];if(!(s.fromA>i.toA)){if(s.toA<i.fromA)break;i=i.join(s),t.splice(e-1,1)}}return t.splice(e,0,i),t}static extendWithRanges(t,e){if(0==e.length)return t;let i=[];for(let s=0,r=0,n=0;;){let o=Math.min(s<t.length?t[s].fromB:1e9,r<e.length?e[r]:1e9);if(1e9==o)break;let a=o+n,l=o,h=a;for(;;)if(r<e.length&&e[r]<=l){let i=e[r+1];r+=2,l=Math.max(l,i);for(let e=s;e<t.length&&t[e].fromB<=l;e++)n=t[e].toA-t[e].toB;h=Math.max(h,i+n)}else if(s<t.length&&t[s].fromB<=l){let e=t[s++];l=Math.max(l,e.toB),h=Math.max(h,e.toA),n=e.toA-e.toB}else break;i.push(new iM(a,h,o,l))}return i}}class iR{constructor(t,e,i){for(let s of(this.view=t,this.state=e,this.transactions=i,this.flags=0,this.startState=t.state,this.changes=D.empty(this.startState.doc.length),i))this.changes=this.changes.compose(s.changes);let s=[];this.changes.iterChangedRanges((t,e,i,r)=>s.push(new iM(t,e,i,r))),this.changedRanges=s}static create(t,e,i){return new iR(t,e,i)}get viewportChanged(){return(4&this.flags)>0}get viewportMoved(){return(8&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(18&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}let i_=[];class iz{constructor(t,e,i=0){this.dom=t,this.length=e,this.flags=i,this.parent=null,t.cmTile=this}get breakAfter(){return 1&this.flags}get children(){return i_}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(t){if(this.flags|=2,4&this.flags){this.flags&=-5;let t=this.domAttrs;t&&function(t,e){for(let i=t.attributes.length-1;i>=0;i--){let s=t.attributes[i].name;null==e[s]&&t.removeAttribute(s)}for(let i in e){let s=e[i];"style"==i?t.style.cssText=s:t.getAttribute(i)!=s&&t.setAttribute(i,s)}}(this.dom,t)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(t){this.dom=t,t.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(t,e=this.posAtStart){let i=e;for(let e of this.children){if(e==t)return i;i+=e.length+e.breakAfter}throw RangeError("Invalid child in posBefore")}posAfter(t){return this.posBefore(t)+t.length}covers(t){return!0}coordsIn(t,e){return null}domPosFor(t,e){let i=eM(this.dom),s=this.length?t>0:e>0;return new eN(this.parent.dom,i+(s?1:0),0==t||t==this.length)}markDirty(t){this.flags&=-3,t&&(this.flags|=4),this.parent&&2&this.parent.flags&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let t=this;t;t=t.parent)if(t instanceof iV)return t;return null}static get(t){return t.cmTile}}class iY extends iz{constructor(t){super(t,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(t){this.children.push(t),t.parent=this}sync(t){if(2&this.flags)return;super.sync(t);
vendor: 4,779 bytes, line 7
7let e=this.dom,i=null,s,r=t?.node==e?t:null,n=0;for(let o of this.children){if(o.sync(t),n+=o.length+o.breakAfter,s=i?i.nextSibling:e.firstChild,r&&s!=o.dom&&(r.written=!0),o.dom.parentNode==e)for(;s&&s!=o.dom;)s=iq(s);else e.insertBefore(o.dom,s);i=o.dom}for(s=i?i.nextSibling:e.firstChild,r&&s&&(r.written=!0);s;)s=iq(s);this.length=n}}function iq(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class iV extends iY{constructor(t,e){super(e),this.view=t}owns(t){for(;t;t=t.parent)if(t==this)return!0;return!1}isBlock(){return!0}nearest(t){for(;;){if(!t)return null;let e=iz.get(t);if(e&&this.owns(e))return e;t=t.parentNode}}blockTiles(t){for(let e=[],i=this,s=0,r=0;;)if(s==i.children.length){if(!e.length)return;(i=i.parent).breakAfter&&r++,s=e.pop()}else{let n=i.children[s++];if(n instanceof iE)e.push(s),i=n,s=0;else{let e=r+n.length,i=t(n,r);if(void 0!==i)return i;r=e+n.breakAfter}}}resolveBlock(t,e){let i,s=-1,r,n=-1;if(this.blockTiles((o,a)=>{let l=a+o.length;if(t>=a&&t<=l){if(o.isWidget()&&e>=-1&&e<=1){if(32&o.flags)return!0;16&o.flags&&(i=void 0)}(a<t||t==l&&(e<-1?o.length:o.covers(1)))&&(!i||!o.isWidget()&&i.isWidget())&&(i=o,s=t-a),(l>t||t==a&&(e>1?o.length:o.covers(-1)))&&(!r||!o.isWidget()&&r.isWidget())&&(r=o,n=t-a)}}),!i&&!r)throw Error("No tile at position "+t);return i&&e<0||!r?{tile:i,offset:s}:{tile:r,offset:n}}}class iE extends iY{constructor(t,e){super(t),this.wrapper=e}isBlock(){return!0}covers(t){return!!this.children.length&&(t<0?this.children[0].covers(-1):this.lastChild.covers(1))}get domAttrs(){return this.wrapper.attributes}static of(t,e){let i=new iE(e||document.createElement(t.tagName),t);return e||(i.flags|=4),i}}class iW extends iY{constructor(t,e){super(t),this.attrs=e}isLine(){return!0}static start(t,e,i){let s=new iW(e||document.createElement("div"),t);return e&&i||(s.flags|=4),s}get domAttrs(){return this.attrs}resolveInline(t,e,i){let s=null,r=-1,n=null,o=-1;!function t(a,l){for(let h=0,c=0;h<a.children.length&&c<=l;h++){let u=a.children[h],O=c+u.length;O>=l&&(u.isComposite()?t(u,l-c):(!n||n.isHidden&&(e>0||i&&function(t,e){let i=t.coordsIn(0,1),s=e.coordsIn(0,1);return i&&s&&s.top<i.bottom}(n,u)))&&(O>l||32&u.flags)?(n=u,o=l-c):(c<l||16&u.flags&&!u.isHidden)&&(s=u,r=l-c)),c=O}}(this,t);let a=(e<0?s:n)||s||n;return a?{tile:a,offset:a==s?r:o}:null}coordsIn(t,e){let i=this.resolveInline(t,e,!0);return i?i.tile.coordsIn(Math.max(0,i.offset),e):function(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let i=eC(e);return i[i.length-1]||null}(this)}domIn(t,e){let i=this.resolveInline(t,e);if(i){let{tile:t,offset:s}=i;if(this.dom.contains(t.dom))return t.isText()?new eN(t.dom,Math.min(t.dom.nodeValue.length,s)):t.domPosFor(s,16&t.flags?1:32&t.flags?-1:e);let r=i.tile.parent,n=!1;for(let t of r.children){if(n)return new eN(t.dom,0);t==i.tile&&(n=!0)}}return new eN(this.dom,0)}}class iD extends iY{constructor(t,e){super(t),this.mark=e}get domAttrs(){return this.mark.attrs}static of(t,e){let i=new iD(e||document.createElement(t.tagName),t);return e||(i.flags|=4),i}}class iL extends iz{constructor(t,e){super(t,e.length),this.text=e}sync(t){2&this.flags||(super.sync(t),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(t,e){let i=this.dom.nodeValue.length;t>i&&(t=i);let s=t,r=t,n=0;0==t&&e<0||t==i&&e>=0?ef.chrome||ef.gecko||(t?(s--,n=1):r<i&&(r++,n=-1)):e<0?s--:r<i&&r++;let o=eL(this.dom,s,r).getClientRects();if(!o.length)return null;let a=o[(n?n<0:e>=0)?0:o.length-1];return ef.safari&&!n&&0==a.width&&(a=Array.prototype.find.call(o,t=>t.width)||a),n?eY(a,n<0):a||null}static of(t,e){let i=new iL(e||document.createTextNode(t),t);return e||(i.flags|=2),i}}class ij extends iz{constructor(t,e,i,s){super(t,e,s),this.widget=i}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(t){return!(48&this.flags)&&(this.flags&(t<0?64:128))>0}coordsIn(t,e){return this.coordsInWidget(t,e,!1)}coordsInWidget(t,e,i){let s=this.widget.coordsAt(this.dom,t,e);if(s)return s;if(i)return eY(this.dom.getBoundingClientRect(),this.length?0==t:e<=0);{let e=this.dom.getClientRects(),i=null;if(!e.length)return null;let s=!!(16&this.flags)||!(32&this.flags)&&t>0;for(let r=s?e.length-1:0;i=e[r],!(t>0?0==r:r==e.length-1||i.top<i.bottom);r+=s?-1:1);return eY(i,!s)}}get overrideDOMText(){if(!this.length)return $.empty;let{root:t}=this;if(!t)return $.empty;let e=this.posAtStart;return t.view.state.doc.slice(e,e+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(t,e,i,s,r){return r||(r=t.toDOM(e),t.editable||(r.contentEditable="false")),new ij(r,i,t,s)}}class iB extends iz{constructor(t){let e=document.createElement("img");
7e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),super(e,0,t)}get isHidden(){return!0}get overrideDOMText(){return $.empty}coordsIn(t){return this.dom.getBoundingClientRect()}}class iI{constructor(t){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=t}advance(t,e,i){let{tile:s,index:r,beforeBreak:n,parents:o}=this;for(;t||e>0;)if(s.isComposite()){if(n){if(!t)break;i&&i.break(),t--,n=!1}else if(r==s.children.length){if(!t&&!o.length)break;i&&i.leave(s),n=!!s.breakAfter,({tile:s,index:r}=o.pop()),r++}else{let a=s.children[r],l=a.breakAfter;(e>0?a.length<=t:a.length<t)&&(!i||!1!==i.skip(a,0,a.length)||!a.isComposite)?(n=!!l,r++,t-=a.length):(o.push({tile:s,index:r}),s=a,r=0,i&&a.isComposite()&&i.enter(a))}}else if(r==s.length)n=!!s.breakAfter,({tile:s,index:r}=o.pop()),r++;else if(t){let e=Math.min(t,s.length-r);i&&i.skip(s,r,r+e),t-=e,r+=e}else break;return this.tile=s,this.index=r,this.beforeBreak=n,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}}class iG{constructor(t,e,i,s){this.from=t,this.to=e,this.wrapper=i,this.rank=s}}class iN{constructor(t,e,i){this.cache=t,this.root=e,this.blockWrappers=i,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(t,e,i,s){var r;this.flushBuffer();let n=this.ensureMarks(e,i),o=n.lastChild;o&&o.isText()&&!(8&o.flags)&&o.length+t.length<512?(this.cache.reused.set(o,2),(n.children[n.children.length-1]=new iL(o.dom,o.text+t)).parent=n):n.append(s||iL.of(t,null===(r=this.cache.find(iL))||void 0===r?void 0:r.dom)),this.pos+=t.length,this.afterWidget=null}addComposition(t,e){let i=this.curLine;i.dom!=e.line.dom&&(i.setDOM(this.cache.reused.has(e.line)?i1(e.line.dom):e.line.dom),this.cache.reused.set(e.line,2));let s=i;for(let t=e.marks.length-1;t>=0;t--){let i=e.marks[t],r=s.lastChild;if(r instanceof iD&&r.mark.eq(i.mark))r.dom!=i.dom&&r.setDOM(i1(i.dom)),s=r;else{if(this.cache.reused.get(i)){let t=iz.get(i.dom);t&&t.setDOM(i1(i.dom))}let t=iD.of(i.mark,i.dom);s.append(t),s=t}this.cache.reused.set(i,2)}let r=iz.get(t.text);r&&this.cache.reused.set(r,2);let n=new iL(t.text,t.text.nodeValue);n.flags|=8,s.append(n)}addInlineWidget(t,e,i){let s=this.afterWidget&&48&t.flags&&(48&this.afterWidget.flags)==(48&t.flags);s||this.flushBuffer();let r=this.ensureMarks(e,i);s||16&t.flags||r.append(this.getBuffer(1)),r.append(t),this.pos+=t.length,this.afterWidget=t}addMark(t,e,i){this.flushBuffer(),this.ensureMarks(e,i).append(t),this.pos+=t.length,this.afterWidget=null}addBlockWidget(t){this.getBlockPos().append(t),this.pos+=t.length,this.lastBlock=t,this.endLine()}continueWidget(t){let e=this.afterWidget||this.lastBlock;e.length+=t,this.pos+=t}addLineStart(t,e){var i;t||(t=i0);let s=iW.start(t,e||(null===(i=this.cache.find(iW))||void 0===i?void 0:i.dom),!!e);this.getBlockPos().append(this.lastBlock=this.curLine=s)}addLine(t){this.getBlockPos().append(t),this.pos+=t.length,this.lastBlock=t,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(t){this.blockPosCovered()||this.addLineStart(t)}ensureLine(t){this.curLine||this.addLineStart(t)}ensureMarks(t,e){var i;let s=this.curLine;for(let r=t.length-1;r>=0;r--){let n=t[r],o;if(e>0&&(o=s.lastChild)&&o instanceof iD&&o.mark.eq(n))s=o,e--;else{let t=iD.of(n,null===(i=this.cache.find(iD,t=>t.mark.eq(n)))||void 0===i?void 0:i.dom);s.append(t),s=t,e=0}}return s}endLine(){if(this.curLine){this.flushBuffer();let t=this.curLine.lastChild;(!t||!iJ(this.curLine,!1)||"BR"!=t.dom.nodeName&&t.isWidget()&&!(ef.ios&&iJ(this.curLine,!0))
vendor: 4,275 bytes, line 7
7)&&this.curLine.append(this.cache.findWidget(i5,0,32)||new ij(i5.toDOM(),0,i5,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let t=this.wrappers.length-1;t>=0;t--)this.wrappers[t].to<this.pos&&this.wrappers.splice(t,1);for(let t=this.blockWrappers;t.value&&t.from<=this.pos;t.next())if(t.to>=this.pos){let e=new iG(t.from,t.to,t.value,t.rank),i=this.wrappers.length;for(;i>0&&0>(this.wrappers[i-1].rank-e.rank||this.wrappers[i-1].to-e.to);)i--;this.wrappers.splice(i,0,e)}this.wrapperPos=this.pos}getBlockPos(){var t;this.updateBlockWrappers();let e=this.root;for(let i of this.wrappers){let s=e.lastChild;if(i.from<this.pos&&s instanceof iE&&s.wrapper.eq(i.wrapper))e=s;else{let s=iE.of(i.wrapper,null===(t=this.cache.find(iE,t=>t.wrapper.eq(i.wrapper)))||void 0===t?void 0:t.dom);e.append(s),e=s}}return e}blockPosCovered(){let t=this.lastBlock;return null!=t&&!t.breakAfter&&(!t.isWidget()||(160&t.flags)>0)}getBuffer(t){let e=2|(t<0?16:32),i=this.cache.find(iB,void 0,1);return i&&(i.flags=e),i||new iB(e)}flushBuffer(){this.afterWidget&&!(32&this.afterWidget.flags)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class iU{constructor(t){this.skipCount=0,this.text="",this.textOff=0,this.cursor=t.iter()}skip(t){this.textOff+t<=this.text.length?this.textOff+=t:(this.skipCount+=t-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(t){if(this.textOff==this.text.length){let{value:e,lineBreak:i,done:s}=this.cursor.next(this.skipCount);if(this.skipCount=0,s)throw Error("Ran out of text content when drawing inline views");this.text=e;let r=this.textOff=Math.min(t,e.length);return i?null:e.slice(0,r)}let e=Math.min(this.text.length,this.textOff+t),i=this.text.slice(this.textOff,e);return this.textOff=e,i}}let iF=[ij,iW,iL,iD,iB,iE,iV];for(let t=0;t<iF.length;t++)iF[t].bucket=t;class iH{constructor(t){this.view=t,this.buckets=iF.map(()=>[]),this.index=iF.map(()=>0),this.reused=new Map}add(t){let e=t.constructor.bucket,i=this.buckets[e];i.length<6?i.push(t):i[this.index[e]=(this.index[e]+1)%6]=t}find(t,e,i=2){let s=t.bucket,r=this.buckets[s],n=this.index[s];for(let t=r.length-1;t>=0;t--){let o=(t+n)%r.length,a=r[o];if((!e||e(a))&&!this.reused.has(a))return r.splice(o,1),o<n&&this.index[s]--,this.reused.set(a,i),a}return null}findWidget(t,e,i){let s=this.buckets[0];if(s.length)for(let r=0,n=0;;r++){if(r==s.length){if(n)return null;n=1,r=0}let o=s[r];if(!this.reused.has(o)&&(0==n?o.widget.compare(t):o.widget.constructor==t.constructor&&t.updateDOM(o.dom,this.view)))return s.splice(r,1),r<this.index[0]&&this.index[0]--,o.widget==t&&o.length==e&&(497&o.flags)==i?(this.reused.set(o,1),o):(this.reused.set(o,2),new ij(o.dom,e,t,-498&o.flags|i))}}reuse(t){return this.reused.set(t,1),t}maybeReuse(t,e=2){if(!this.reused.has(t))return this.reused.set(t,e),t.dom}clear(){for(let t=0;t<this.buckets.length;t++)this.buckets[t].length=this.index[t]=0}}class iK{constructor(t,e,i,s,r){this.view=t,this.decorations=s,this.disallowBlockEffectsFor=r,this.openWidget=!1,this.openMarks=0,this.cache=new iH(t),this.text=new iU(t.state.doc),this.builder=new iN(this.cache,new iV(t,t.contentDOM),tE.iter(i)),this.cache.reused.set(e,2),this.old=new iI(e),this.reuseWalker={skip:(t,e,i)=>{if(this.cache.add(t),t.isComposite())return!1},enter:t=>this.cache.add(t),leave:()=>{},break:()=>{}}}run(t,e){let i=e&&this.getCompositionContext(e.text);for(let s=0,r=0,n=0;;){let o=n<t.length?t[n++]:null,a=o?o.fromA:this.old.root.length;if(a>s){let t=a-s;this.preserve(t,!n,!o),s=a,r+=t}if(!o)break;e&&o.fromA<=e.range.fromA&&o.toA>=e.range.toA?(this.forward(o.fromA,e.range.fromA,e.range.fromA<e.range.toA?1:-1),this.emit(r,e.range.fromB),this.cache.clear(),this.builder.addComposition(e,i),this.text.skip(e.range.toB-e.range.fromB),this.forward(e.range.fromA,o.toA),this.emit(e.range.toB,o.toB)):(this.forward(o.fromA,o.toA),this.emit(r,o.toB)),r=o.toB,s=o.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(t,e,i){let s=function(t){let e=[];for(let i=t.parents.length;i>1;i--){let s=i==t.parents.length?t.tile:t.parents[i].tile;s instanceof iD&&e.push(s.mark)}return e}(this.old),r=this.openMarks;
7this.old.advance(t,i?1:-1,{skip:(t,e,i)=>{if(t.isWidget()){if(this.openWidget)this.builder.continueWidget(i-e);else{let n=i>0||e<t.length?ij.of(t.widget,this.view,i-e,496&t.flags,this.cache.maybeReuse(t)):this.cache.reuse(t);256&n.flags?(n.flags&=-2,this.builder.addBlockWidget(n)):(this.builder.ensureLine(null),this.builder.addInlineWidget(n,s,r),r=s.length)}}else if(t.isText())this.builder.ensureLine(null),e||i!=t.length||this.cache.reused.has(t)?(this.cache.add(t),this.builder.addText(t.text.slice(e,i),s,r)):this.builder.addText(t.text,s,r,this.cache.reuse(t)),r=s.length;else if(t.isLine())t.flags&=-2,this.cache.reused.set(t,1),this.builder.addLine(t);else if(t instanceof iB)this.cache.add(t);else{if(!(t instanceof iD))return!1;this.builder.ensureLine(null),this.builder.addMark(t,s,r),this.cache.reused.set(t,1),r=s.length}this.openWidget=!1},enter:t=>{t.isLine()?this.builder.addLineStart(t.attrs,this.cache.maybeReuse(t)):(this.cache.add(t),t instanceof iD&&s.unshift(t.mark)),this.openWidget=!1},leave:t=>{t.isLine()?s.length&&(s.length=r=0):t instanceof iD&&(s.shift(),r=Math.min(r,s.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(t)}emit(t,e){let i=null,s=this.builder,r=0,n=tE.spans(this.decorations,t,e,{point:(t,e,n,o,a,l)=>{var h;if(n instanceof ex){if(this.disallowBlockEffectsFor[l]){if(n.block)throw RangeError("Block decorations may not be specified via plugins");if(e>this.view.state.doc.lineAt(t).to)throw RangeError("Decorations that replace line breaks may not be specified via plugins")}if(r=o.length,a>o.length)s.continueWidget(e-t);else{let r;let l=n.widget||(n.block?i2.block:i2.inline),h=(r=n.isReplace?(n.startSide<0?64:0)|(n.endSide>0?128:0):n.startSide>0?32:16,n.block&&(r|=256),r),c=this.cache.findWidget(l,e-t,h)||ij.of(l,this.view,e-t,h);n.block?(n.startSide>0&&s.addLineStartIfNotCovered(i),s.addBlockWidget(c)):(s.ensureLine(i),s.addInlineWidget(c,o,a))}i=null}else{let t,e;h=i,t=n.spec.attributes,e=n.spec.class,(t||e)&&(h||(h={class:"cm-line"}),t&&ep(t,h),e&&(h.class+=" "+e)),i=h}e>t&&this.text.skip(e-t)},span:(t,e,r,n)=>{for(let o=t;o<e;){let a=this.text.next(Math.min(512,e-o));null==a?(s.addLineStartIfNotCovered(i),s.addBreak(),o++):(s.ensureLine(i),s.addText(a,r,o==t?n:r.length),o+=a.length),i=null}}});s.addLineStartIfNotCovered(i),this.openWidget=n>r,this.openMarks=n}forward(t,e,i=1){e-t<=10?this.old.advance(e-t,i,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(e-t-10,-1),this.old.advance(5,i,this.reuseWalker))}getCompositionContext(t){let e=[],i=null;for(let s=t.parentNode;;s=s.parentNode){let t=iz.get(s);if(s==this.view.contentDOM)break;t instanceof iD?e.push(t):t?.isLine()?i=t:t instanceof iE||("DIV"!=s.nodeName||i||s==this.view.contentDOM?i||e.push(iD.of(new eS({tagName:s.nodeName.toLowerCase(),attributes:function(t){let e=Object.create(null);for(let i=0;i<t.attributes.length;i++){let s=t.attributes[i];e[s.name]=s.value}return e}(s)}),s)):i=new iW(s,i0))}return{line:i,marks:e}}}function iJ(t,e){let i=t=>{for(let s of t.children)if((e?s.isText():s.length)||i(s))return!0;return!1};return i(t)}let i0={class:"cm-line"};function i1(t){let e=iz.get(t);return e&&e.setDOM(t.cloneNode()),t}class i2 extends eb{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}i2.inline=new i2("span"),i2.block=new i2("div");let i5=new class extends eb{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class i3{constructor(t){this.view=t,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=ew.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.updateDeco(),this.tile=new iV(t,t.contentDOM),this.updateInner([new iM(0,0,0,t.state.doc.length)],null)}update(t){var e,i,s,r,n,o,a;let l,h,c;let u=t.changedRanges;this.minWidth>0&&u.length&&(u.every(({fromA:t,toA:e})=>e<this.minWidthFrom||t>this.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(t);let O=-1;!(this.view.inputState.composing>=0)||this.view.observer.editContext||(!(null===(e=this.domChanged)||void 0===e)&&e.newSel?O=this.domChanged.newSel.head:(i=t.changes,s=this.hasComposition,l=!1,s&&i.iterChangedRanges((t,e)=>{t<s.to&&e>s.from&&(l=!0)}),l||t.selectionSet||(O=t.state.selection.main.head)));let d=O>
7-1?function(t,e,i){let s=i4(t,i);if(!s)return null;let{node:r,from:n,to:o}=s,a=r.nodeValue;if(/[\n\r]/.test(a)||t.state.doc.sliceString(s.from,s.to)!=a)return null;let l=e.invertedDesc;return{range:new iM(l.mapPos(n),l.mapPos(o),n,o),text:r}}(this.view,t.changes,O):null;if(this.domChanged=null,this.hasComposition){let{from:e,to:i}=this.hasComposition;u=new iM(e,i,t.changes.mapPos(e,-1),t.changes.mapPos(i,1)).addToSet(u.slice())}this.hasComposition=d?{from:d.range.fromB,to:d.range.toB}:null,(ef.ie||ef.chrome)&&!d&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let f=this.decorations,p=this.blockWrappers;this.updateDeco();let m=(r=this.decorations,n=t.changes,h=new i9,tE.compare(f,r,n,h),h.changes);m.length&&(u=iM.extendWithRanges(u,m));let g=(o=this.blockWrappers,a=t.changes,c=new i8,tE.compare(p,o,a,c),c.changes);return g.length&&(u=iM.extendWithRanges(u,g)),d&&!u.some(t=>t.fromA<=d.range.fromA&&t.toA>=d.range.toA)&&(u=d.range.addToSet(u.slice())),(!(2&this.tile.flags)||0!=u.length)&&(this.updateInner(u,d),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,e){this.view.viewState.mustMeasureContent=!0;let{observer:i}=this.view;i.ignore(()=>{if(e||t.length){let i=this.tile,s=new iK(this.view,i,this.blockWrappers,this.decorations,this.dynamicDecorationMap);e&&iz.get(e.text)&&s.cache.reused.set(iz.get(e.text),2),this.tile=s.run(t,e),i7(i,s.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=ef.chrome||ef.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(s),s&&(s.written||i.selectionRange.focusNode!=s.node||!this.tile.dom.contains(s.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let s=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let t of this.tile.children)t.isWidget()&&t.widget instanceof i6&&s.push(t.dom);i.updateGaps(s)}updateEditContextFormatting(t){for(let e of(this.editContextFormatting=this.editContextFormatting.map(t.changes),t.transactions))for(let t of e.effects)t.is(ip)&&(this.editContextFormatting=t.value)}updateSelection(t=!1,e=!1){var i;(t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let{dom:s}=this.tile,r=this.view.root.activeElement,n=r==s,o=!n&&!(this.view.state.facet(ig)||s.tabIndex>-1)&&eX(s,this.view.observer.selectionRange)&&!(r&&s.contains(r));if(!(n||e||o))return;let a=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,h,c;if(l.empty?c=h=this.inlineDOMNearPos(l.anchor,l.assoc||1):(c=this.inlineDOMNearPos(l.head,l.head==l.from?1:-1),h=this.inlineDOMNearPos(l.anchor,l.anchor==l.from?1:-1)),ef.gecko&&l.empty&&!this.hasComposition&&1==(i=h).node.nodeType&&i.node.firstChild&&(0==i.offset||"false"==i.node.childNodes[i.offset-1].contentEditable)&&(i.offset==i.node.childNodes.length||"false"==i.node.childNodes[i.offset].contentEditable)){let t=document.createTextNode("");this.view.observer.ignore(()=>h.node.insertBefore(t,h.node.childNodes[h.offset]||null)),h=c=new eN(t,0),a=!0}let u=this.view.observer.selectionRange;!a&&u.focusNode&&(eA(h.node,h.offset,u.anchorNode,u.anchorOffset)&&eA(c.node,c.offset,u.focusNode,u.focusOffset)||this.suppressWidgetCursorChange(u,l))||(this.view.observer.ignore(()=>{ef.android&&ef.chrome&&s.contains(u.focusNode)&&function(t,e){for(let i=t;i&&i!=e;i=i.assignedSlot||i.parentNode)if(1==i.nodeType&&"false"==i.contentEditable)return!0;return!1}(u.focusNode,s)&&(s.blur(),s.focus({preventScroll:!0}));let t=eT(this.view.root);if(t){if(l.empty){if(ef.gecko){var e,i;let t=(e=h.node,i=h.offset,1!=e.nodeType?0:(i&&"false"==e.childNodes[i-1].contentEditable?1:0)|(i<e.childNodes.length&&"false"==e.childNodes[i].contentEditable?2:0));if(t&&3!=t){let e=(1==t?eI:eG)(h.node,h.offset);e&&(h=new eN(e.node,e.offset))}}t.collapse(h.node,h.offset),null!=l.bidiLevel&&void 0!==t.caretBidiLevel&&(t.caretBidiLevel=l.bidiLevel)}else if(t.extend){t.collapse(h.node,h.offset);try{t.extend(c.node,c.offset)}catch{}}else{let e=document.createRange();l.anchor>l.head&&([h,c]=[c,h]),e.setEnd(c.node,c.offset),e.setStart(h.node,h.offset),t.removeAllRanges(),t.addRange(e)}}o&&this.view.root.activeElement==s&&(s.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(h,c)),this.impreciseAnchor=h.precise?null:new eN(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new eN(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(t,e){return this.hasComposition&&e.empty&&eA(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==e.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}
vendor: 4,243 bytes, line 7
7=this,e=t.state.selection.main,i=eT(t.root),{anchorNode:s,anchorOffset:r}=t.observer.selectionRange;if(!i||!e.empty||!e.assoc||!i.modify)return;let n=this.lineAt(e.head,e.assoc);if(!n)return;let o=n.posAtStart;if(e.head==o||e.head==o+n.length)return;let a=this.coordsAt(e.head,-1),l=this.coordsAt(e.head,1);if(!a||!l||a.bottom>l.top)return;let h=this.domAtPos(e.head+e.assoc,e.assoc);i.collapse(h.node,h.offset),i.modify("move",e.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let c=t.observer.selectionRange;t.docView.posFromDOM(c.anchorNode,c.anchorOffset)!=e.from&&i.collapse(s,r)}posFromDOM(t,e){let i=this.tile.nearest(t);if(!i)return 2&this.tile.dom.compareDocumentPosition(t)?0:this.view.state.doc.length;let s=i.posAtStart;if(!i.isComposite())return i.isText()?t==i.dom?s+e:s+(e?i.length:0):s;{let r;if(t==i.dom)r=i.dom.childNodes[e];else{let s=0==ez(t)?0:0==e?-1:1;for(;;){let e=t.parentNode;if(e==i.dom)break;0==s&&e.firstChild!=e.lastChild&&(s=t==e.firstChild?-1:1),t=e}r=s<0?t:t.nextSibling}if(r==i.dom.firstChild)return s;for(;r&&!iz.get(r);)r=r.nextSibling;if(!r)return s+i.length;for(let t=0,e=s;;t++){let s=i.children[t];if(s.dom==r)return e;e+=s.length+s.breakAfter}}}domAtPos(t,e){let{tile:i,offset:s}=this.tile.resolveBlock(t,e);return i.isWidget()?i.domPosFor(t,e):i.domIn(s,e)}inlineDOMNearPos(t,e){let i,s=-1,r=!1,n,o=-1,a=!1;return this.tile.blockTiles((e,l)=>{if(e.isWidget()){if(32&e.flags&&l>=t)return!0;16&e.flags&&(r=!0)}else{let h=l+e.length;if(l<=t&&(i=e,s=t-l,r=h<t),h>=t&&!n&&(n=e,o=t-l,a=l>t),l>t&&n)return!0}}),i||n?(r&&n?i=null:a&&i&&(n=null),i&&e<0||!n?i.domIn(s,e):n.domIn(o,e)):this.domAtPos(t,e)}coordsAt(t,e){let{tile:i,offset:s}=this.tile.resolveBlock(t,e);return i.isWidget()?i.widget instanceof i6?null:i.coordsInWidget(s,e,!0):i.coordsIn(s,e)}lineAt(t,e){let{tile:i}=this.tile.resolveBlock(t,e);return i.isLine()?i:null}coordsForChar(t){let{tile:e,offset:i}=this.tile.resolveBlock(t,1);return e.isLine()?function t(e,i){if(e.isComposite())for(let s of e.children){if(s.length>=i){let e=t(s,i);if(e)return e}if((i-=s.length)<0)break}else if(e.isText()&&i<e.length){let t=_(e.text,i);if(t==i)return null;let s=eL(e.dom,i,t).getClientRects();for(let t=0;t<s.length;t++){let e=s[t];if(t==s.length-1||e.top<e.bottom&&e.left<e.right)return e}}return null}(e,i):null}measureVisibleLineHeights(t){let e=[],{from:i,to:s}=t,r=this.view.contentDOM.clientWidth,n=r>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,a=this.view.textDirection==eU.LTR,l=0,h=(t,c,u)=>{for(let O=0;O<t.children.length&&!(c>s);O++){let s=t.children[O],d=c+s.length,f=s.dom.getBoundingClientRect(),{height:p}=f;if(u&&!O&&(l+=f.top-u.top),s instanceof iE)d>i&&h(s,c,f);else if(c>=i&&(l>0&&e.push(-l),e.push(p+l),l=0,n)){let t=s.dom.lastChild,e=t?eC(t):[];if(e.length){let t=e[e.length-1],i=a?t.right-f.left:f.right-t.left;i>o&&(o=i,this.minWidth=r,this.minWidthFrom=c,this.minWidthTo=d)}}u&&O==t.children.length-1&&(l+=u.bottom-f.bottom),c=d+s.breakAfter}};return h(this.tile,0,null),e}textDirectionAt(t){let{tile:e}=this.tile.resolveBlock(t,1);return"rtl"==getComputedStyle(e.dom).direction?eU.RTL:eU.LTR}measureTextSize(){let t=this.tile.blockTiles(t=>{if(t.isLine()&&t.children.length&&t.length<=20){let e=0,i;for(let s of t.children){if(!s.isText()||/[^ -~]/.test(s.text))return;let t=eC(s.dom);if(1!=t.length)return;e+=t[0].width,i=t[0].height}if(e)return{lineHeight:t.dom.getBoundingClientRect().height,charWidth:e/t.length,textHeight:i}}});if(t)return t;let e=document.createElement("div"),i,s,r;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.tile.dom.appendChild(e);let t=eC(e.firstChild)[0];i=e.getBoundingClientRect().height,s=t&&t.width?t.width/27:7,r=t&&t.height?t.height:i,e.remove()}),{lineHeight:i,charWidth:s,textHeight:r}}computeBlockGapDeco(){let t=[],e=this.view.viewState;for(let i=0,s=0;;s++){let r=s==e.viewports.length?null:e.viewports[s],n=r?r.from-1:this.view.state.doc.length;if(n>i){let s=(e.lineBlockAt(n).bottom-e.lineBlockAt(i).top)/this.view.scaleY;t.push(ew.replace({widget:new i6(s),block:!0,inclusive:!0,isBlockGap:!0}).range(i,n))}if(!r)break;
7i=r.to+1}return ew.set(t)}updateDeco(){let t=1,e=this.view.state.facet(ix).map(e=>(this.dynamicDecorationMap[t++]="function"==typeof e)?e(this.view):e),i=!1,s=this.view.state.facet(i$).map((t,e)=>{let s="function"==typeof t;return s&&(i=!0),s?t(this.view):t});for(s.length&&(this.dynamicDecorationMap[t++]=i,e.push(tE.join(s))),this.decorations=[this.editContextFormatting,...e,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];t<this.decorations.length;)this.dynamicDecorationMap[t++]=!1;this.blockWrappers=this.view.state.facet(ik).map(t=>"function"==typeof t?t(this.view):t)}scrollIntoView(t){if(t.isSnapshot){let e=this.view.viewState.lineBlockAt(t.range.head);this.view.scrollDOM.scrollTop=e.top-t.yMargin,this.view.scrollDOM.scrollLeft=t.xMargin;return}for(let e of this.view.state.facet(iu))try{if(e(this.view,t.range,t))return!0}catch(t){im(this.view.state,t,"scroll handler")}let{range:e}=t,i=this.coordsAt(e.head,e.empty?e.assoc:e.head>e.anchor?-1:1),s;if(!i)return;!e.empty&&(s=this.coordsAt(e.anchor,e.anchor>e.head?-1:1))&&(i={left:Math.min(i.left,s.left),top:Math.min(i.top,s.top),right:Math.max(i.right,s.right),bottom:Math.max(i.bottom,s.bottom)});let r=iC(this.view),n={left:i.left-r.left,top:i.top-r.top,right:i.right+r.right,bottom:i.bottom+r.bottom},{offsetWidth:o,offsetHeight:a}=this.view.scrollDOM;if(function(t,e,i,s,r,n,o,a){let l=t.ownerDocument,h=l.defaultView||window;for(let c=t,u=!1;c&&!u;)if(1==c.nodeType){let t,O=c==l.body,d=1,f=1;if(O)t=function(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}}(h);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(u=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let e=c.getBoundingClientRect();({scaleX:d,scaleY:f}=eq(c,e)),t={left:e.left,right:e.left+c.clientWidth*d,top:e.top,bottom:e.top+c.clientHeight*f}}let p=0,m=0;if("nearest"==r)e.top<t.top?(m=e.top-(t.top+o),i>0&&e.bottom>t.bottom+m&&(m=e.bottom-t.bottom+o)):e.bottom>t.bottom&&(m=e.bottom-t.bottom+o,i<0&&e.top-m<t.top&&(m=e.top-(t.top+o)));else{let s=e.bottom-e.top,n=t.bottom-t.top;m=("center"==r&&s<=n?e.top+s/2-n/2:"start"==r||"center"==r&&i<0?e.top-o:e.bottom-n+o)-t.top}if("nearest"==s?e.left<t.left?(p=e.left-(t.left+n),i>0&&e.right>t.right+p&&(p=e.right-t.right+n)):e.right>t.right&&(p=e.right-t.right+n,i<0&&e.left<t.left+p&&(p=e.left-(t.left+n))):p=("center"==s?e.left+(e.right-e.left)/2-(t.right-t.left)/2:"start"==s==a?e.left-n:e.right-(t.right-t.left)+n)-t.left,p||m){if(O)h.scrollBy(p,m);else{let t=0,i=0;if(m){let t=c.scrollTop;c.scrollTop+=m/f,i=(c.scrollTop-t)*f}if(p){let e=c.scrollLeft;c.scrollLeft+=p/d,t=(c.scrollLeft-e)*d}e={left:e.left-t,top:e.top-i,right:e.right-t,bottom:e.bottom-i},t&&1>Math.abs(t-p)&&(s="nearest"),i&&1>Math.abs(i-m)&&(r="nearest")}}if(O)break;(e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)&&(e={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)}),c=c.assignedSlot||c.parentNode}else if(11==c.nodeType)c=c.host;else break}(this.view.scrollDOM,n,e.head<e.anchor?-1:1,t.x,t.y,Math.max(Math.min(t.xMargin,o),-o),Math.max(Math.min(t.yMargin,a),-a),this.view.textDirection==eU.LTR),window.visualViewport&&window.innerHeight-window.visualViewport.height>1&&(i.top>window.pageYOffset+window.visualViewport.offsetTop+window.visualViewport.height||i.bottom<window.pageYOffset+window.visualViewport.offsetTop)){let t=this.view.docView.lineAt(e.head,1);t&&t.dom.scrollIntoView({block:"nearest"})}}lineHasWidget(t){let e=t=>t.isWidget()||t.children.some(e);return e(this.tile.resolveBlock(t,1).tile)}destroy(){i7(this.tile)}}function i7(t,e){let i=e?.get(t);if(1!=i)for(let s of(null==i&&t.destroy(),t.children))i7(s,e)}function i4(t,e){let i=t.observer.selectionRange;if(!i.focusNode)return null;let s=eI(i.focusNode,i.focusOffset),r=eG(i.focusNode,i.focusOffset),n=s||r;if(r&&s&&r.node!=s.node){let e=iz.get(r.node);if(!e||e.isText()&&e.text!=r.node.nodeValue)n=r;else if(t.docView.lastCompositionAfterCursor){let t=iz.get(s.node);!t||t.isText()&&t.text!=s.node.nodeValue||(n=r)}}if(t.docView.lastCompositionAfterCursor=n!=s,!n)return null;let o=e-n.offset;return{from:o,to:o+n.node.nodeValue.length,node:n.node}}let i9=class{constructor(){this.changes=[]}compareRange(t,e){e$(t,e,this.changes)}comparePoint(t,e){e$(t,e,this.changes)}boundChange(t){e$(t,t,this.changes)}};class i8{constructor(){this.changes=[]}compareRange(t,e){e$(t,e,this.changes)}comparePoint(){}boundChange(t){e$(t,t,this.changes)}}class i6 extends eb{constructor(t){super(),this.height=t}toDOM(){let t=document.createElement("div");
7return t.className="cm-gap",this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function st(t,e,i){let s=t.lineBlockAt(e);if(Array.isArray(s.type)){let t;for(let r of s.type){if(r.from>e)break;if(!(r.to<e)){if(r.from<e&&r.to>e)return r;(!t||r.type==ev.Text&&(t.type!=r.type||(i<0?r.from<e:r.to>e)))&&(t=r)}}return t||s}return s}function se(t,e,i,s){let r=t.state.doc.lineAt(e.head),n=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let a=e,l=null;;){let e=function(t,e,i,s,r){var n;let o=s.head-t.from,a=e7.find(e,o,null!==(n=s.bidiLevel)&&void 0!==n?n:-1,s.assoc),l=e[a],h=l.side(r,i);if(o==h){let t=a+=r?1:-1;if(t<0||t>=e.length)return null;o=(l=e[a=t]).side(!r,i),h=l.side(r,i)}let c=_(t.text,o,l.forward(r,i));(c<l.from||c>l.to)&&(c=h),e8=t.text.slice(Math.min(o,c),Math.max(o,c));let u=a==(r?e.length-1:0)?null:e[a+(r?1:-1)];return u&&c==h&&u.level+(r?0:1)<l.level?F.cursor(u.side(!r,i)+t.from,u.forward(r,i)?1:-1,u.level):F.cursor(c+t.from,l.forward(r,i)?-1:1,l.level)}(r,n,o,a,i),h=e8;if(!e){if(r.number==(i?t.state.doc.lines:1))return a;h=`
8`,r=t.state.doc.line(r.number+(i?1:-1)),n=t.bidiSpans(r),e=t.visualLineSide(r,!i)}if(l){if(!l(h))return a}else{if(!s)return e;l=s(h)}a=e}}function si(t,e,i){for(;;){let s=0;for(let r of t)r.between(e-1,e+1,(t,r,n)=>{if(e>t&&e<r){let n=s||i||(e-t<r-e?-1:1);e=n<0?t:r,s=n}});if(!s)return e}}function ss(t,e){let i=null;for(let s=0;s<e.ranges.length;s++){let r=e.ranges[s],n=null;if(r.empty){let e=si(t,r.from,0);e!=r.from&&(n=F.cursor(e,-1))}else{let e=si(t,r.from,-1),i=si(t,r.to,1);(e!=r.from||i!=r.to)&&(n=F.range(r.from==r.anchor?e:i,r.from==r.head?e:i))}n&&(i||(i=e.ranges.slice()),i[s]=n)}return i?F.create(i,e.mainIndex):e}function sr(t,e,i){let s=si(t.state.facet(iP).map(e=>e(t)),i.from,e.head>i.from?-1:1);return s==i.from?i:F.cursor(s,s<i.from?1:-1)}class sn{constructor(t,e){this.pos=t,this.assoc=e}}function so(t,e,i,s){let r=t.contentDOM.getBoundingClientRect(),n=r.top+t.viewState.paddingTop,{x:o,y:a}=e,l=a-n,h;for(;;){if(l<0)return new sn(0,1);if(l>t.viewState.docHeight)return new sn(t.state.doc.length,-1);if(h=t.elementAtHeight(l),null==s)break;if(h.type==ev.Text){if(s<0?h.to<t.viewport.from:h.from>t.viewport.to)break;let e=t.docView.coordsAt(s<0?h.from:h.to,s>0?-1:1);if(e&&(s<0?e.top<=l+n:e.bottom>=l+n))break}let e=t.viewState.heightOracle.textHeight/2;l=s>0?h.bottom+e:h.top-e}if(t.viewport.from>=h.to||t.viewport.to<=h.from){if(i)return null;if(h.type==ev.Text){let e=function(t,e,i,s,r){let n=Math.round((s-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&i.height>1.5*t.defaultLineHeight){let e=t.viewState.heightOracle.textHeight;n+=Math.floor((r-i.top-(t.defaultLineHeight-e)*.5)/e)*t.viewState.heightOracle.lineLength}let o=t.state.sliceDoc(i.from,i.to);return i.from+tJ(o,n,t.state.tabSize)}(t,r,h,o,a);return new sn(e,e==h.from?1:-1)}}if(h.type!=ev.Text)return l<(h.top+h.bottom)/2?new sn(h.from,1):new sn(h.to,-1);let c=t.docView.lineAt(h.from,2);return c&&c.length==h.length||(c=t.docView.lineAt(h.from,-2)),new sa(t,o,a,t.textDirectionAt(h.from)).scanTile(c,h.from)}class sa{constructor(t,e,i,s){this.view=t,this.x=e,this.y=i,this.baseDir=s,this.line=null,this.spans=null}bidiSpansAt(t){return(!this.line||this.line.from>t||this.line.to<t)&&(this.line=this.view.state.doc.lineAt(t),this.spans=this.view.bidiSpans(this.line)),this}baseDirAt(t,e){let{line:i,spans:s}=this.bidiSpansAt(t);return s[e7.find(s,t-i.from,-1,e)].level==this.baseDir}dirAt(t,e){let{line:i,spans:s}=this.bidiSpansAt(t);return s[e7.find(s,t-i.from,-1,e)].dir}bidiIn(t,e){let{spans:i,line:s}=this.bidiSpansAt(t);return i.length>1||i.length&&(i[0].level!=this.baseDir||i[0].to+s.from<e)}scan(t,e){let i=0,s=t.length-1,r=new Set,n=this.bidiIn(t[0],t[s]),o,a,l=-1,h=1e9,c;for(;i<s;){let u=s-i,O=i+s>>1;e:if(r.has(O)){let t=i+Math.floor(Math.random()*u);for(let e=0;e<u;e++){if(!r.has(t)){O=t;break e}++t==s&&(t=i)}break}r.add(O);let d=e(O);if(d)for(let e=0;e<d.length;e++){let r=d[e],u=0;if(r.bottom<this.y)(!o||o.bottom<r.bottom)&&(o=r),u=1;
8else if(r.top>this.y)(!a||a.top>r.top)&&(a=r),u=-1;else{let t=r.left>this.x?this.x-r.left:r.right<this.x?this.x-r.right:0,e=Math.abs(t);e<h&&(l=O,h=e,c=r),t&&(u=t<0==(this.baseDir==eU.LTR)?-1:1)}-1==u&&(!n||this.baseDirAt(t[O],1))?s=O:1==u&&(!n||this.baseDirAt(t[O+1],-1))&&(i=O+1)}}if(!c){let i=o&&(!a||this.y-o.bottom<a.top-this.y)?o:a;return this.y=(i.top+i.bottom)/2,this.scan(t,e)}let u=(n?this.dirAt(t[l],1):this.baseDir)==eU.LTR;return{i:l,after:this.x>(c.left+c.right)/2==u}}scanText(t,e){let i=[];for(let s=0;s<t.length;s=_(t.text,s))i.push(e+s);i.push(e+t.length);let s=this.scan(i,s=>{let r=i[s]-e,n=i[s+1]-e;return eL(t.dom,r,n).getClientRects()});return s.after?new sn(i[s.i+1],-1):new sn(i[s.i],1)}scanTile(t,e){if(!t.length)return new sn(e,1);if(1==t.children.length){let i=t.children[0];if(i.isText())return this.scanText(i,e);if(i.isComposite())return this.scanTile(i,e)}let i=[e];for(let s=0,r=e;s<t.children.length;s++)i.push(r+=t.children[s].length);let s=this.scan(i,e=>{let i=t.children[e];return 48&i.flags?null:(1==i.dom.nodeType?i.dom:eL(i.dom,0,i.length)).getClientRects()}),r=t.children[s.i],n=i[s.i];return r.isText()?this.scanText(r,n):r.isComposite()?this.scanTile(r,n):s.after?new sn(i[s.i+1],-1):new sn(n,1)}}class sl{constructor(t,e){this.points=t,this.view=e,this.text="",this.lineSeparator=e.state.facet(tM.lineSeparator)}append(t){this.text+=t}lineBreak(){this.text+="ï¿¿"}readRange(t,e){if(!t)return this;let i=t.parentNode;for(let s=t;;){this.findPointBefore(i,s);let t=this.text.length;this.readNode(s);let r=iz.get(s),n=s.nextSibling;if(n==e){r?.breakAfter&&!n&&i!=this.view.contentDOM&&this.lineBreak();break}let o=iz.get(n);(r&&o?r.breakAfter:(r?r.breakAfter:eR(s))||eR(n)&&("BR"!=s.nodeName||r?.isWidget())&&this.text.length>t)&&!function(t,e){let i;for(;!(t==e||!t);t=t.nextSibling){let e=iz.get(t);if(!e?.isWidget())return!1;e&&(i||(i=[])).push(e)}if(i)for(let t of i){let e=t.overrideDOMText;if(e?.length)return!1}return!0}(n,e)&&this.lineBreak(),s=n}return this.findPointBefore(i,e),this}readTextNode(t){let e=t.nodeValue;for(let i of this.points)i.node==t&&(i.pos=this.text.length+Math.min(i.offset,e.length));for(let i=0,s=this.lineSeparator?null:/\r\n?|\n/g;;){let r=-1,n=1,o;if(this.lineSeparator?(r=e.indexOf(this.lineSeparator,i),n=this.lineSeparator.length):(o=s.exec(e))&&(r=o.index,n=o[0].length),this.append(e.slice(i,r<0?e.length:r)),r<0)break;if(this.lineBreak(),n>1)for(let e of this.points)e.node==t&&e.pos>this.text.length&&(e.pos-=n-1);i=r+n}}readNode(t){let e=iz.get(t),i=e&&e.overrideDOMText;if(null!=i){this.findPointInside(t,i.length);for(let t=i.iter();!t.next().done;)t.lineBreak?this.lineBreak():this.append(t.value)}else 3==t.nodeType?this.readTextNode(t):"BR"==t.nodeName?t.nextSibling&&this.lineBreak():1==t.nodeType&&this.readRange(t.firstChild,null)}findPointBefore(t,e){for(let i of this.points)i.node==t&&t.childNodes[i.offset]==e&&(i.pos=this.text.length)}findPointInside(t,e){for(let i of this.points)(3==t.nodeType?i.node==t:t.contains(i.node))&&(i.pos=this.text.length+(!function(t,e,i){for(;;){if(!e||i<ez(e))return!1;if(e==t)return!0;i=eM(e)+1,e=e.parentNode}}(t,i.node,i.offset)?0:e))}}class sh{constructor(t,e){this.node=t,this.offset=e,this.pos=-1}}class sc{constructor(t,e,i,s){this.typeOver=s,this.bounds=null,this.text="",this.domChanged=e>-1;let{impreciseHead:r,impreciseAnchor:n}=t.docView;if(t.state.readOnly&&e>-1)this.newSel=null;else if(e>-1&&(this.bounds=function t(e,i,s,r){if(!e.isComposite())return e.isText()?{from:r,to:r+e.length,startDOM:e.dom,endDOM:e.dom.nextSibling}:null;{let n=-1,o=-1,a=-1,l=-1;for(let h=0,c=r,u=r;h<e.children.length;h++){let r=e.children[h],O=c+r.length;if(c<i&&O>s)return t(r,i,s,c);if(O>=i&&-1==n&&(n=h,o=c),c>s&&r.dom.parentNode==e.dom){a=h,l=u;break}u=O,c=O+r.breakAfter}return{from:o,to:l<0?r+e.length:l,startDOM:(n?e.children[n-1].dom.nextSibling:null)||e.dom.firstChild,endDOM:a<e.children.length&&a>=0?e.children[a].dom:null}}}(t.docView.tile,e,i,0))){let e=r||n?[]:function(t){let e=[];
8if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:s,focusNode:r,focusOffset:n}=t.observer.selectionRange;return i&&(e.push(new sh(i,s)),(r!=i||n!=s)&&e.push(new sh(r,n))),e}(t),i=new sl(e,t);i.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=i.text,this.newSel=function(t,e){if(0==t.length)return null;let i=t[0].pos,s=2==t.length?t[1].pos:i;return i>-1&&s>-1?F.single(i+e,s+e):null}(e,this.bounds.from)}else{let e=t.observer.selectionRange,i=r&&r.node==e.focusNode&&r.offset==e.focusOffset||!eZ(t.contentDOM,e.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(e.focusNode,e.focusOffset),s=n&&n.node==e.anchorNode&&n.offset==e.anchorOffset||!eZ(t.contentDOM,e.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(e.anchorNode,e.anchorOffset),o=t.viewport;if((ef.ios||ef.chrome)&&t.state.selection.main.empty&&i!=s&&(o.from>0||o.to<t.state.doc.length)){let e=Math.min(i,s),r=Math.max(i,s),n=o.from-e,a=o.to-r;(0==n||1==n||0==e)&&(0==a||-1==a||r==t.state.doc.length)&&(i=0,s=t.state.doc.length)}t.inputState.composing>-1&&t.state.selection.ranges.length>1?this.newSel=t.state.selection.replaceRange(F.range(s,i)):this.newSel=F.single(s,i)}}}function su(t,e){let i,{newSel:s}=e,{state:r}=t,n=r.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:t,to:s}=e.bounds,a=n.from,l=null;(8===o||ef.android&&e.text.length<s-t)&&(a=n.to,l="end");let h=r.doc.sliceString(t,s,"ï¿¿"),c,u;!n.empty&&n.from>=t&&n.to<=s&&(e.typeOver||h!=e.text)&&h.slice(0,n.from-t)==e.text.slice(0,n.from-t)&&h.slice(n.to-t)==e.text.slice(c=e.text.length-(h.length-(n.to-t)))?i={from:n.from,to:n.to,insert:$.of(e.text.slice(n.from-t,c).split("ï¿¿"))}:(u=sd(h,e.text,a-t,l))&&(ef.chrome&&13==o&&u.toB==u.from+2&&"ï¿¿ï¿¿"==e.text.slice(u.from,u.toB)&&u.toB--,i={from:t+u.from,to:t+u.toA,insert:$.of(e.text.slice(u.from,u.toB).split("ï¿¿"))})}else s&&(!t.hasFocus&&r.facet(ig)||sf(s,n))&&(s=null);if(!i&&!s)return!1;if((ef.mac||ef.android)&&i&&i.from==i.to&&i.from==n.head-1&&/^\. ?$/.test(i.insert.toString())&&"off"==t.contentDOM.getAttribute("autocorrect")?(s&&2==i.insert.length&&(s=F.single(s.main.anchor-1,s.main.head-1)),i={from:i.from,to:i.to,insert:$.of([i.insert.toString().replace("."," ")])}):r.doc.lineAt(n.from).to<n.to&&t.docView.lineHasWidget(n.to)&&t.inputState.insertingTextAt>Date.now()-50?i={from:n.from,to:n.to,insert:r.toText(t.inputState.insertingText)}:ef.chrome&&i&&i.from==i.to&&i.from==n.head&&i.insert.toString()==`
9 `&&t.lineWrapping&&(s&&(s=F.single(s.main.anchor-1,s.main.head-1)),i={from:n.from,to:n.to,insert:$.of([" "])}),i)return sO(t,i,s,o);if(!s||sf(s,n))return!1;{let e=!1,i="select";return t.inputState.lastSelectionTime>Date.now()-50&&("select"==t.inputState.lastSelectionOrigin&&(e=!0),"select.pointer"==(i=t.inputState.lastSelectionOrigin)&&(s=ss(r.facet(iP).map(e=>
9e(t)),s))),t.dispatch({selection:s,scrollIntoView:e,userEvent:i}),!0}}function sO(t,e,i,s=-1){if(ef.ios&&t.inputState.flushIOSKey(e))return!0;let r=t.state.selection.main;if(ef.android&&(e.to==r.to&&(e.from==r.from||e.from==r.from-1&&" "==t.state.sliceDoc(e.from,r.from))&&1==e.insert.length&&2==e.insert.lines&&ej(t.contentDOM,"Enter",13)||(e.from==r.from-1&&e.to==r.to&&0==e.insert.length||8==s&&e.insert.length<e.to-e.from&&e.to>r.head)&&ej(t.contentDOM,"Backspace",8)||e.from==r.from&&e.to==r.to+1&&0==e.insert.length&&ej(t.contentDOM,"Delete",46)))return!0;let n=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let o,a=()=>o||(o=function(t,e,i){let s,r=t.state,n=r.selection.main,o=-1;if(e.from==e.to&&e.from<n.from||e.from>n.to){let i=e.from<n.from?-1:1,s=i<0?n.from:n.to,a=si(r.facet(iP).map(e=>e(t)),s,i);e.from==a&&(o=a)}if(o>-1)s={changes:e,selection:F.cursor(e.from+e.insert.length,-1)};else if(e.from>=n.from&&e.to<=n.to&&e.to-e.from>=(n.to-n.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let i=n.from<e.from?r.sliceDoc(n.from,e.from):"",o=n.to>e.to?r.sliceDoc(e.to,n.to):"";s=r.replaceSelection(t.state.toText(i+e.insert.sliceString(0,void 0,t.state.lineBreak)+o))}else{let o=r.changes(e),a=i&&i.main.to<=o.newLength?i.main:void 0;if(r.selection.ranges.length>1&&(t.inputState.composing>=0||t.inputState.compositionPendingChange)&&e.to<=n.to+10&&e.to>=n.to-10){let l=t.state.sliceDoc(e.from,e.to),h,c=i&&i4(t,i.main.head);if(c){let t=e.insert.length-(e.to-e.from);h={from:c.from,to:c.to-t}}else h=t.state.doc.lineAt(n.head);let u=n.to-e.to;s=r.changeByRange(i=>{if(i.from==n.from&&i.to==n.to)return{changes:o,range:a||i.map(o)};let s=i.to-u,c=s-l.length;if(t.state.sliceDoc(c,s)!=l||s>=h.from&&c<=h.to)return{range:i};let O=r.changes({from:c,to:s,insert:e.insert}),d=i.to-n.to;return{changes:O,range:a?F.range(Math.max(0,a.anchor+d),Math.max(0,a.head+d)):i.map(O)}})}else s={changes:o,selection:a&&r.selection.replaceRange(a)}}let a="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,a+=".compose",t.inputState.compositionFirstChange&&(a+=".start",t.inputState.compositionFirstChange=!1)),r.update(s,{userEvent:a,scrollIntoView:!0})}(t,e,i));return t.state.facet(ir).some(i=>i(t,e.from,e.to,n,a))||t.dispatch(a()),!0}function sd(t,e,i,s){let r=Math.min(t.length,e.length),n=0;for(;n<r&&t.charCodeAt(n)==e.charCodeAt(n);)n++;if(n==r&&t.length==e.length)return null;let o=t.length,a=e.length;for(;o>0&&a>0&&t.charCodeAt(o-1)==e.charCodeAt(a-1);)o--,a--;if("end"==s){let t=Math.max(0,n-Math.min(o,a));i-=o+t-n}if(o<n&&t.length<e.length){let t=i<=n&&i>=o?n-i:0;n-=t,a=n+(a-o),o=n}else if(a<n){let t=i<=n&&i>=a?n-i:0;n-=t,o=n+(o-a),a=n}return{from:n,toA:o,toB:a}}function sf(t,e){return e.head==t.main.head&&e.anchor==t.main.anchor}class sp{setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}constructor(t){var e;this.view=t,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=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.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=t.hasFocus,ef.safari&&t.contentDOM.addEventListener("input",()=>null),ef.gecko&&(e=t.contentDOM.ownerDocument,sq.has(e)||(sq.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{})))}handleEvent(t){!function(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,s;i!=t.contentDOM;i=i.parentNode)if(!i||11==i.nodeType||(s=iz.get(i))&&s.isWidget()&&!s.isHidden&&s.widget.ignoreEvent(e))return!1;return!0}(this.view,t)||this.ignoreDuringComposition(t)||"keydown"==t.type&&this.keydown(t)||(0!=this.view.updateState?Promise.resolve().then(()=>this.runHandlers(t.type,t)):this.runHandlers(t.type,t))}runHandlers(t,e){let i=this.handlers[t];if(i){for(let t of i.observers)t(this.view,e);for(let t of i.handlers){if(e.defaultPrevented)break;if(t(this.view,e)){e.preventDefault();break}}}}ensureHandlers(t){let e=function(t){let e=Object.create(null);function i(t){return e[t]||(e[t]={observers:[],handlers:[]})}for(let e of t){let t=e.spec,s=t&&t.plugin.domEventHandlers,r=t&&t.plugin.domEventObservers;if(s)for(let t in s){let r=s[t];r&&i(t).handlers.push(sm(e.value,r))}if(r)for(let t in r){let s=r[t];s&&i(t).observers.push(sm(e.value,s))}}for(let t in sS)i(t).handlers.push(sS[t]);for(let t in sy)i(t).observers.push(sy[t]);return e}(t),i=this.handlers,s=this.view.contentDOM;for(let t in e)if("scroll"!=t){let r=!e[t].handlers.length,n=i[t];n&&!n.handlers.length!=r&&(s.removeEventListener(t,this.handleEvent),n=null),n||s.addEventListener(t,this.handleEvent,{passive:r})}for(let t in i)"scroll"==t||e[t]||s.removeEventListener(t,this.handleEvent);this.handlers=e}keydown(t){let e;return this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),!!(9==t.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))||((this.tabFocusMode>0&&27!=t.keyCode&&0>sb.indexOf(t.keyCode)&&(this.tabFocusMode=-1),ef.android&&ef.chrome&&!t.synthetic&&(13==t.keyCode||8==t.keyCode))?(this.view.observer.delayAndroidKey(t.key,t.keyCode),!0):ef.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&((e=sg.find(e=>e.keyCode==t.keyCode))&&!t.ctrlKey||sQ.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=e||t,setTimeout(()=>this.flushIOSKey(),250),!0):(229!=t.keyCode&&this.view.observer.forceFlush(),!1))}flushIOSKey(t){let e=this.pendingIOSKey;return!(!e||"Enter"==e.key&&t&&t.from<t.to&&/^\S+$/.test(t.insert.toString()))&&(this.pendingIOSKey=void 0,ej(this.view.contentDOM,e.key,e.keyCode,e instanceof KeyboardEvent?e:void 0))}ignoreDuringComposition(t){return!!/^key/.test(t.type)&&!t.synthetic&&(this.composing>0||!!(ef.safari&&!ef.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.view.observer.update(t),this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function sm(t,e){return(i,s)=>{try{return e.call(t,s,i)}catch(t){im(i.state,t)}}}let sg=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"}
9,{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],sQ="dthko",sb=[16,17,18,20,91,92,224,225];function sv(t){return .7*Math.max(0,t)+8}class sw{constructor(t,e,i,s){let r;this.view=t,this.startEvent=e,this.style=i,this.mustSelect=s,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=e,this.scrollParents=eV(t.contentDOM),this.atoms=t.state.facet(iP).map(e=>e(t));let n=t.contentDOM.ownerDocument;n.addEventListener("mousemove",this.move=this.move.bind(this)),n.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=e.shiftKey,this.multiple=t.state.facet(tM.allowMultipleSelections)&&((r=t.state.facet(e6)).length?r[0](e):ef.mac?e.metaKey:e.ctrlKey),this.dragging=!!function(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let s=eT(t.root);if(!s||0==s.rangeCount)return!0;let r=s.getRangeAt(0).getClientRects();for(let t=0;t<r.length;t++){let i=r[t];if(i.left<=e.clientX&&i.right>=e.clientX&&i.top<=e.clientY&&i.bottom>=e.clientY)return!0}return!1}(t,e)&&1==sA(e)&&null}start(t){!1===this.dragging&&this.select(t)}move(t){var e;if(0==t.buttons)return this.destroy();if(this.dragging||null==this.dragging&&10>Math.max(Math.abs((e=this.startEvent).clientX-t.clientX),Math.abs(e.clientY-t.clientY)))return;this.select(this.lastEvent=t);let i=0,s=0,r=0,n=0,o=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:o}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:n,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=iC(this.view);t.clientX-l.left<=r+6?i=-sv(r-t.clientX):t.clientX+l.right>=o-6&&(i=sv(t.clientX-o)),t.clientY-l.top<=n+6?s=-sv(n-t.clientY):t.clientY+l.bottom>=a-6&&(s=sv(t.clientY-a)),this.setScrollSpeed(i,s)}up(t){null==this.dragging&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,e){this.scrollSpeed={x:t,y:e},t||e?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:t,y:e}=this.scrollSpeed;t&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=t,t=0),e&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=e,e=0),(t||e)&&this.view.win.scrollBy(t,e),!1===this.dragging&&this.select(this.lastEvent)}select(t){let{view:e}=this,i=ss(this.atoms,this.style.get(t,this.extend,this.multiple));(this.mustSelect||!i.eq(e.state.selection,!1===this.dragging))&&this.view.dispatch({selection:i,userEvent:"select.pointer"}),this.mustSelect=!1}update(t){t.transactions.some(t=>t.isUserEvent("input.type"))?this.destroy():this.style.update(t)&&setTimeout(()=>this.select(this.lastEvent),20)}}let sS=Object.create(null),sy=Object.create(null),sx=ef.ie&&ef.ie_version<15||ef.ios&&ef.webkit_version<604;function sk(t,e,i){for(let s of t.facet(e))i=s(i,t);return i}function s$(t,e){e=sk(t.state,ia,e);let{state:i}=t,s,r=1,n=i.toText(e),o=n.lines==i.selection.ranges.length;if(null!=sR&&i.selection.ranges.every(t=>t.empty)&&sR==n.toString()){let t=-1;s=i.changeByRange(s=>{let a=i.doc.lineAt(s.from);if(a.from==t)return{range:s};t=a.from;let l=i.toText((o?n.line(r++).text:e)+i.lineBreak);return{changes:{from:a.from,insert:l},range:F.cursor(s.from+l.length)}})}else s=o?i.changeByRange(t=>{let e=n.line(r++);return{changes:{from:t.from,to:t.to,insert:e.text},range:F.cursor(t.from+e.length)}}):i.replaceSelection(n);t.dispatch(s,{userEvent:"input.paste",scrollIntoView:!0})}function sP(t,e,i,s){if(1==s)return F.cursor(e,i);if(2==s)return function(t,e,i=1){let s=t.charCategorizer(e),r=t.doc.lineAt(e),n=e-r.from;if(0==r.length)return F.cursor(e);0==n?i=1:n==r.length&&(i=-1);let o=n,a=n;i<0?o=_(r.text,n,!1):a=_(r.text,n);let l=s(r.text.slice(o,a));for(;o>0;){let t=_(r.text,o,!1);if(s(r.text.slice(t,o))!=l)break;o=t}for(;a<r.length;){let t=_(r.text,a);if(s(r.text.slice(a,t))!=l)break;a=t}return F.range(o+r.from,a+r.from)}(t.state,e,i);{let s=t.docView.lineAt(e,i),r=t.state.doc.lineAt(s?s.posAtEnd:e),n=s?s.posAtStart:r.from,o=s?s.posAtEnd:r.to;return o<t.state.doc.length&&o==r.to&&o++,F.range(n,o)}}sy.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft},sy.wheel=sy.mousewheel=t=>{t.inputState.lastWheelEvent=Date.now()},sS.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),27==e.keyCode&&0!=t.inputState.tabFocusMode&&(t.inputState.tabFocusMode=Date.now()+2e3),!1),sy.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},sy.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},sS.mousedown=(t,e)=>{let i,s,r;if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let i of t.state.facet(ie))if(n=i(t,e))break;if(n||0!=e.button||(i=t.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),s=sA(e),r=t.state.selection,n={update(t){t.docChanged&&(i.pos=t.changes.mapPos(i.pos),r=r.map(t.changes))},get(e,n,o){let a=t.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),l,h=sP(t,a.pos,a.assoc,s);if(i.pos!=a.pos&&!n){let e=sP(t,i.pos,i.assoc,s),r=Math.min(e.from,h.from),n=Math.max(e.to,h.to);h=r<h.from?F.range(r,n):F.range(n,r)}return n?r.replaceRange(r.main.extend(h.from,h.to)):o&&1==s&&r.ranges.length>1&&(l=function(t,e){for(let i=0;i<t.ranges.length;i++){let{from:s,to:r}=t.ranges[i];if(s<=e&&r>=e)return F.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}(r,a.pos))?l:o?r.addRange(h):F.create([h])}}),n){let i=!t.hasFocus;t.inputState.startMouseSelection(new sw(t,e,n,i)),i&&t.observer.ignore(()=>{eD(t.contentDOM);let e=t.root.activeElement;e&&!e.contains(t.contentDOM)&&e.blur()});let s=t.inputState.mouseSelection;if(s)return s.start(e),!1===s.dragging}else t.inputState.setSelectionOrigin("select.pointer");return!1};let sT=ef.ie&&ef.ie_version<=11,sZ=null,sX=0,sC=0;function sA(t){if(!sT)return t.detail;let e=sZ,i=sC;return sZ=t,sC=Date.now(),sX=!e||i>Date.now()-400&&2>Math.abs(e.clientX-t.clientX)&&2>Math.abs(e.clientY-t.clientY)?(sX+1)%3:1}function sM(t,e,i,s){let r;if(!(i=sk(t.state,ia,i)))return;let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,a=s&&o&&((r=t.state.facet(it)).length?r[0](e):ef.mac?!e.altKey:!e.ctrlKey)?{from:o.from,to:o.to}:null,l={from:n,insert:i},h=t.state.changes(a?[a,l]:l);t.focus(),t.dispatch({changes:h,selection:{anchor:h.mapPos(n,-1),head:h.mapPos(n,1)},userEvent:a?"move.drop":"input.drop"}),t.inputState.draggedContent=null}sS.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let s=t.docView.tile.nearest(e.target);if(s&&s.isWidget()){let t=s.posAtStart,e=t+s.length;(t>=i.to||e<=i.from)&&(i=F.range(t,e))}}let{inputState:s}=t;return s.mouseSelection&&(s.mouseSelection.dragging=!0),s.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",sk(t.state,il,t.state.sliceDoc(i.from,i.to))
vendor: 4,075 bytes, line 9
9),e.dataTransfer.effectAllowed="copyMove"),!1},sS.dragend=t=>(t.inputState.draggedContent=null,!1),sS.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let s=Array(i.length),r=0,n=()=>{++r==i.length&&sM(t,e,s.filter(t=>null!=t).join(t.state.lineBreak),!1)};for(let t=0;t<i.length;t++){let e=new FileReader;e.onerror=n,e.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(e.result)||(s[t]=e.result),n()},e.readAsText(i[t])}return!0}{let i=e.dataTransfer.getData("Text");if(i)return sM(t,e,i,!0),!0}return!1},sS.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=sx?null:e.clipboardData;return i?(s$(t,i.getData("text/plain")||i.getData("text/uri-list")),!0):(function(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(),s$(t,i.value)},50)}(t),!1)};let sR=null;sS.copy=sS.cut=(t,e)=>{if(!eX(t.contentDOM,t.observer.selectionRange))return!1;let{text:i,ranges:s,linewise:r}=function(t){let e=[],i=[],s=!1;for(let s of t.selection.ranges)s.empty||(e.push(t.sliceDoc(s.from,s.to)),i.push(s));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let n=t.doc.lineAt(s);n.number>r&&(e.push(n.text),i.push({from:n.from,to:Math.min(t.doc.length,n.to+1)})),r=n.number}s=!0}return{text:sk(t,il,e.join(t.lineBreak)),ranges:i,linewise:s}}(t.state);if(!i&&!r)return!1;sR=r?i:null,"cut"!=e.type||t.state.readOnly||t.dispatch({changes:s,scrollIntoView:!0,userEvent:"delete.cut"});let n=sx?null:e.clipboardData;return n?(n.clearData(),n.setData("text/plain",i),!0):(function(t,e){let i=t.dom.parentNode;if(!i)return;let s=i.appendChild(document.createElement("textarea"));s.style.cssText="position: fixed; left: -10000px; top: 10px",s.value=e,s.focus(),s.selectionEnd=e.length,s.selectionStart=0,setTimeout(()=>{s.remove(),t.focus()},50)}(t,i),!1)};let s_=tS.define();function sz(t,e){let i=[];for(let s of t.facet(io)){let r=s(t,e);r&&i.push(r)}return i.length?t.update({effects:i,annotations:s_.of(!0)}):null}function sY(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=sz(t.state,e);i?t.dispatch(i):t.update([])}},10)}sy.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),sY(t)},sy.blur=t=>{t.observer.clearSelectionRange(),sY(t)},sy.compositionstart=sy.compositionupdate=t=>{t.observer.editContext||(null==t.inputState.compositionFirstChange&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))},sy.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,ef.chrome&&ef.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))},sy.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},sS.beforeinput=(t,e)=>{var i,s;let r;if(("insertText"==e.inputType||"insertCompositionText"==e.inputType)&&(t.inputState.insertingText=e.data,t.inputState.insertingTextAt=Date.now()),"insertReplacementText"==e.inputType&&t.observer.editContext){let s=null===(i=e.dataTransfer)||void 0===i?void 0:i.getData("text/plain"),r=e.getTargetRanges();if(s&&r.length){let e=r[0],i=t.posAtDOM(e.startContainer,e.startOffset),n=t.posAtDOM(e.endContainer,e.endOffset);return sO(t,{from:i,to:n,insert:t.state.toText(s)},null),!0}}if(ef.chrome&&ef.android&&(r=sg.find(t=>t.inputType==e.inputType))&&(t.observer.delayAndroidKey(r.key,r.keyCode),"Backspace"==r.key||"Delete"==r.key)){let e=(null===(s=window.visualViewport)||void 0===s?void 0:s.height)||0;setTimeout(()=>{var i;
vendor: 6,178 bytes, line 9
9((null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0)>e+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return ef.ios&&"deleteContentForward"==e.inputType&&t.observer.flushSoon(),ef.safari&&"insertText"==e.inputType&&t.inputState.composing>=0&&setTimeout(()=>sy.compositionend(t,e),20),!1};let sq=new Set,sV=["pre-wrap","normal","pre-line","break-spaces"],sE=!1;class sW{constructor(t){this.lineWrapping=t,this.doc=$.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(t,e){let i=this.doc.lineAt(e).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((e-t-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return sV.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let e=!1;for(let i=0;i<t.length;i++){let s=t[i];s<0?i++:this.heightSamples[Math.floor(10*s)]||(e=!0,this.heightSamples[Math.floor(10*s)]=!0)}return e}refresh(t,e,i,s,r,n){let o=sV.indexOf(t)>-1,a=Math.abs(e-this.lineHeight)>.3||this.lineWrapping!=o||Math.abs(i-this.charWidth)>.1;if(this.lineWrapping=o,this.lineHeight=e,this.charWidth=i,this.textHeight=s,this.lineLength=r,a){this.heightSamples={};for(let t=0;t<n.length;t++){let e=n[t];e<0?t++:this.heightSamples[Math.floor(10*e)]=!0}}return a}}class sD{constructor(t,e){this.from=t,this.heights=e,this.index=0}get more(){return this.index<this.heights.length}}class sL{constructor(t,e,i,s,r){this.from=t,this.length=e,this.top=i,this.height=s,this._content=r}get type(){return"number"==typeof this._content?ev.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 ex?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(t){let e=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new sL(this.from,this.length+t.length,this.top,this.height+t.height,e)}}var sj=((c=sj||(sj={}))[c.ByPos=0]="ByPos",c[c.ByHeight=1]="ByHeight",c[c.ByPosNoHeight=2]="ByPosNoHeight",c);class sB{constructor(t,e,i=2){this.length=t,this.height=e,this.flags=i}get outdated(){return(2&this.flags)>0}set outdated(t){this.flags=(t?2:0)|-3&this.flags}setHeight(t){this.height!=t&&(Math.abs(this.height-t)>.001&&(sE=!0),this.height=t)}replace(t,e,i){return sB.of(i)}decomposeLeft(t,e){e.push(this)}decomposeRight(t,e){e.push(this)}applyChanges(t,e,i,s){let r=this,n=i.doc;for(let o=s.length-1;o>=0;o--){let{fromA:a,toA:l,fromB:h,toB:c}=s[o],u=r.lineAt(a,sj.ByPosNoHeight,i.setDoc(e),0,0),O=u.to>=l?u:r.lineAt(l,sj.ByPosNoHeight,i,0,0);for(c+=O.to-l,l=O.to;o>0&&u.from<=s[o-1].toA;)a=s[o-1].fromA,h=s[o-1].fromB,o--,a<u.from&&(u=r.lineAt(a,sj.ByPosNoHeight,i,0,0));h+=u.from-a,a=u.from;let d=sJ.build(i.setDoc(n),t,h,c);r=sI(r,r.replace(a,l,d))}return r.updateHeight(i,0)}static empty(){return new sU(0,0,0)}static of(t){if(1==t.length)return t[0];let e=0,i=t.length,s=0,r=0;for(;;)if(e==i){if(s>2*r){let r=t[e-1];r.break?t.splice(--e,1,r.left,null,r.right):t.splice(--e,1,r.left,r.right),i+=1+r.break,s-=r.size}else if(r>2*s){let e=t[i];e.break?t.splice(i,1,e.left,null,e.right):t.splice(i,1,e.left,e.right),i+=2+e.break,r-=e.size}else break}else if(s<r){let i=t[e++];i&&(s+=i.size)}else{let e=t[--i];e&&(r+=e.size)}let n=0;return null==t[e-1]?(n=1,e--):null==t[e]&&(n=1,i++),new sH(sB.of(t.slice(0,e)),n,sB.of(t.slice(i)))}}function sI(t,e){return t==e?t:(t.constructor!=e.constructor&&(sE=!0),e)}sB.prototype.size=1;let sG=ew.replace({});class sN extends sB{constructor(t,e,i){super(t,e),this.deco=i,this.spaceAbove=0}mainBlock(t,e){return new sL(e,this.length,t+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(t,e,i,s){return this.spaceAbove&&t<i+this.spaceAbove?new sL(s,0,i,this.spaceAbove,sG):this.mainBlock(i,s)}lineAt(t,e,i,s,r){let n=this.mainBlock(s,r);return this.spaceAbove?this.blockAt(0,i,s,r).join(n):n}forEachLine(t,e,i,s,r,n){t<=r+this.length&&e>=r&&n(this.lineAt(0,sj.ByPos,i,s,r))}setMeasuredHeight(t){let e=t.heights[t.index++];e<0?(this.spaceAbove=-e,e=t.heights[t.index++]):this.spaceAbove=0,this.setHeight(e)}updateHeight(t,e=0,i=!1,s){return s&&s.from<=e&&s.more&&this.setMeasuredHeight(s),this.outdated=!1,this}toString(){return`block(${this.length})`}}class sU extends sN{constructor(t,e,i){super(t,e,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=i}mainBlock(t,e){return new sL(e,this.length,t+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(t,e,i){let s=i[0];return 1==i.length&&(s instanceof sU||s instanceof sF&&4&s.flags)&&10>Math.abs(this.length-s.length)?(s instanceof sF?s=new sU(s.length,this.height,this.spaceAbove):s.height=this.height,this.outdated||(s.outdated=!1),s):sB.of(i)}updateHeight(t,e=0,i=!1,s){return s&&s.from<=e&&s.more?this.setMeasuredHeight(s):(i||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class sF extends sB{constructor(t){super(t,0)}heightMetrics(t,e){let i=t.doc.lineAt(e).number,s=t.doc.lineAt(e+this.length).number,r=s-i+1,n,o=0;if(t.lineWrapping){let e=Math.min(this.height,t.lineHeight*r);n=e/r,this.length>r+1&&(o=(this.height-e)/(this.length-r-1))}else n=this.height/r;return{firstLine:i,lastLine:s,perLine:n,perChar:o}}blockAt(t,e,i,s){let{firstLine:r,lastLine:n,perLine:o,perChar:a}=this.heightMetrics(e,s);if(e.lineWrapping){let r=s+(t<e.lineHeight?0:Math.round(Math.max(0,Math.min(1,(t-i)/this.height))*this.length)),n=e.doc.lineAt(r),l=o+n.length*a;return new sL(n.from,n.length,Math.max(i,t-l/2),l,0)}{let s=Math.max(0,Math.min(n-r,Math.floor((t-i)/o))),{from:a,length:l}=e.doc.line(r+s);return new sL(a,l,i+o*s,o,0)}}
vendor: 11,234 bytes, line 9
9lineAt(t,e,i,s,r){if(e==sj.ByHeight)return this.blockAt(t,i,s,r);if(e==sj.ByPosNoHeight){let{from:e,to:s}=i.doc.lineAt(t);return new sL(e,s-e,0,0,0)}let{firstLine:n,perLine:o,perChar:a}=this.heightMetrics(i,r),l=i.doc.lineAt(t),h=o+l.length*a,c=l.number-n,u=s+o*c+a*(l.from-r-c);return new sL(l.from,l.length,Math.max(s,Math.min(u,s+this.height-h)),h,0)}forEachLine(t,e,i,s,r,n){t=Math.max(t,r),e=Math.min(e,r+this.length);let{firstLine:o,perLine:a,perChar:l}=this.heightMetrics(i,r);for(let h=t,c=s;h<=e;){let e=i.doc.lineAt(h);if(h==t){let i=e.number-o;c+=a*i+l*(t-r-i)}let s=a+l*e.length;n(new sL(e.from,e.length,c,s,0)),c+=s,h=e.to+1}}replace(t,e,i){let s=this.length-e;if(s>0){let t=i[i.length-1];t instanceof sF?i[i.length-1]=new sF(t.length+s):i.push(null,new sF(s-1))}if(t>0){let e=i[0];e instanceof sF?i[0]=new sF(t+e.length):i.unshift(new sF(t-1),null)}return sB.of(i)}decomposeLeft(t,e){e.push(new sF(t-1),null)}decomposeRight(t,e){e.push(null,new sF(this.length-t-1))}updateHeight(t,e=0,i=!1,s){let r=e+this.length;if(s&&s.from<=e+this.length&&s.more){let i=[],n=Math.max(e,s.from),o=-1;for(s.from>e&&i.push(new sF(s.from-e-1).updateHeight(t,e));n<=r&&s.more;){let e=t.doc.lineAt(n).length;i.length&&i.push(null);let r=s.heights[s.index++],a=0;r<0&&(a=-r,r=s.heights[s.index++]),-1==o?o=r:Math.abs(r-o)>=.001&&(o=-2);let l=new sU(e,r,a);l.outdated=!1,i.push(l),n+=e+1}n<=r&&i.push(null,new sF(r-n).updateHeight(t,n));let a=sB.of(i);return(o<0||Math.abs(a.height-this.height)>=.001||Math.abs(o-this.heightMetrics(t,e).perLine)>=.001)&&(sE=!0),sI(this,a)}return(i||this.outdated)&&(this.setHeight(t.heightForGap(e,e+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class sH extends sB{constructor(t,e,i){super(t.length+e+i.length,t.height+i.height,e|(t.outdated||i.outdated?2:0)),this.left=t,this.right=i,this.size=t.size+i.size}get break(){return 1&this.flags}blockAt(t,e,i,s){let r=i+this.left.height;return t<r?this.left.blockAt(t,e,i,s):this.right.blockAt(t,e,r,s+this.left.length+this.break)}lineAt(t,e,i,s,r){let n=s+this.left.height,o=r+this.left.length+this.break,a=e==sj.ByHeight?t<n:t<o,l=a?this.left.lineAt(t,e,i,s,r):this.right.lineAt(t,e,i,n,o);if(this.break||(a?l.to<o:l.from>o))return l;let h=e==sj.ByPosNoHeight?sj.ByPosNoHeight:sj.ByPos;return a?l.join(this.right.lineAt(o,h,i,n,o)):this.left.lineAt(o,h,i,s,r).join(l)}forEachLine(t,e,i,s,r,n){let o=s+this.left.height,a=r+this.left.length+this.break;if(this.break)t<a&&this.left.forEachLine(t,e,i,s,r,n),e>=a&&this.right.forEachLine(t,e,i,o,a,n);else{let l=this.lineAt(a,sj.ByPos,i,s,r);t<l.from&&this.left.forEachLine(t,l.from-1,i,s,r,n),l.to>=t&&l.from<=e&&n(l),e>l.to&&this.right.forEachLine(l.to+1,e,i,o,a,n)}}replace(t,e,i){let s=this.left.length+this.break;if(e<s)return this.balanced(this.left.replace(t,e,i),this.right);if(t>this.left.length)return this.balanced(this.left,this.right.replace(t-s,e-s,i));let r=[];t>0&&this.decomposeLeft(t,r);let n=r.length;for(let t of i)r.push(t);if(t>0&&sK(r,n-1),e<this.length){let t=r.length;this.decomposeRight(e,r),sK(r,t)}return sB.of(r)}decomposeLeft(t,e){let i=this.left.length;if(t<=i)return this.left.decomposeLeft(t,e);e.push(this.left),this.break&&t>=++i&&e.push(null),t>i&&this.right.decomposeLeft(t-i,e)}decomposeRight(t,e){let i=this.left.length,s=i+this.break;if(t>=s)return this.right.decomposeRight(t-s,e);t<i&&this.left.decomposeRight(t,e),this.break&&t<s&&e.push(null),e.push(this.right)}balanced(t,e){return t.size>2*e.size||e.size>2*t.size?sB.of(this.break?[t,null,e]:[t,e]):(this.left=sI(this.left,t),this.right=sI(this.right,e),this.setHeight(t.height+e.height),this.outdated=t.outdated||e.outdated,this.size=t.size+e.size,this.length=t.length+this.break+e.length,this)}updateHeight(t,e=0,i=!1,s){let{left:r,right:n}=this,o=e+r.length+this.break,a=null;return s&&s.from<=e+r.length&&s.more?a=r=r.updateHeight(t,e,i,s):r.updateHeight(t,e,i),s&&s.from<=o+n.length&&s.more?a=n=n.updateHeight(t,o,i,s):n.updateHeight(t,o,i),a?this.balanced(r,n):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function sK(t,e){let i,s;null==t[e]&&(i=t[e-1])instanceof sF&&(s=t[e+1])instanceof sF&&t.splice(e-1,3,new sF(i.length+1+s.length))}class sJ{constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,e){if(this.lineStart>-1){let t=Math.min(e,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof sU?i.length+=t-this.pos:(t>this.pos||!this.isCovered)&&this.nodes.push(new sU(t-this.pos,-1,0)),this.writtenTo=t,e>t&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=e}point(t,e,i){if(t<e||i.heightRelevant){let s=i.widget?i.widget.estimatedHeight:0,r=i.widget?i.widget.lineBreaks:0;s<0&&(s=this.oracle.lineHeight);let n=e-t;i.block?this.addBlock(new sN(n,s,i)):(n||r||s>=5)&&this.addLineDeco(s,r,n)}else e>t&&this.span(t,e);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:t,to:e}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=e,this.writtenTo<t&&((this.writtenTo<t-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,t-1)),this.nodes.push(null)),this.pos>t&&this.nodes.push(new sU(this.pos-t,-1,0)),this.writtenTo=this.pos}blankContent(t,e){let i=new sF(e-t);return this.oracle.doc.lineAt(t).to==e&&(i.flags|=4),i}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof sU)return t;let e=new sU(0,-1,0);return this.nodes.push(e),e}addBlock(t){this.enterLine();let e=t.deco;e&&e.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,e&&e.endSide>0&&(this.covering=t)}addLineDeco(t,e,i){let s=this.ensureLine();s.length+=i,s.collapsed+=i,s.widgetHeight=Math.max(s.widgetHeight,t),s.breaks+=e,this.writtenTo=this.pos=this.pos+i}finish(t){let e=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||e instanceof sU||this.isCovered?(this.writtenTo<this.pos||null==e)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new sU(0,-1,0));let i=t;for(let t of this.nodes)t instanceof sU&&t.updateHeight(this.oracle,i),i+=t?t.length:1;return this.nodes}static build(t,e,i,s){let r=new sJ(i,t);return tE.spans(e,i,s,r,0),r.finish(i)}}class s0{constructor(){this.changes=[]}compareRange(){}comparePoint(t,e,i,s){(t<e||i&&i.heightRelevant||s&&s.heightRelevant)&&e$(t,e,this.changes,5)}}class s1{constructor(t,e,i,s){this.from=t,this.to=e,this.size=i,this.displaySize=s}static same(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++){let s=t[i],r=e[i];if(s.from!=r.from||s.to!=r.to||s.size!=r.size)return!1}return!0}draw(t,e){return ew.replace({widget:new s2(this.displaySize*(e?t.scaleY:t.scaleX),e)}).range(this.from,this.to)}}class s2 extends eb{constructor(t,e){super(),this.size=t,this.vertical=e}eq(t){return t.size==this.size&&t.vertical==this.vertical}toDOM(){let t=document.createElement("div");return this.vertical?t.style.height=this.size+"px":(t.style.width=this.size+"px",t.style.height="2px",t.style.display="inline-block"),t}get estimatedHeight(){return this.vertical?this.size:-1}}class s5{constructor(t,e){this.view=t,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.scaleX=1,this.scaleY=1,this.scrollOffset=0,this.scrolledToBottom=!1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=s9,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=eU.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let i=e.facet(iy).some(t=>"function"!=typeof t&&"cm-lineWrapping"==t.class);this.heightOracle=new sW(i),this.stateDeco=s8(e),this.heightMap=sB.empty().applyChanges(this.stateDeco,$.empty,this.heightOracle.setDoc(e.doc),[new iM(0,0,0,e.doc.length)]);for(let t=0;t<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());t++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ew.set(this.lineGaps.map(t=>t.draw(this,!1))),this.scrollParent=t.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:e}=this.state.selection;for(let i=0;i<=1;i++){let s=i?e.head:e.anchor;if(!t.some(({from:t,to:e})=>s>=t&&s<=e)){let{from:e,to:i}=this.lineBlockAt(s);t.push(new s3(e,i))}}return this.viewports=t.sort((t,e)=>t.from-e.from),this.updateScaler()}updateScaler(){let t=this.scaler;return this.scaler=this.heightMap.height<=7e6?s9:new s6(this.heightOracle,this.heightMap,this.viewports),t.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,t=>{this.viewportLines.push(rt(t,this.scaler))})}update(t,e=null){var i,s;let r;this.state=t.state;let n=this.stateDeco;this.stateDeco=s8(this.state);let o=t.changedRanges,a=iM.extendWithRanges(o,(i=this.stateDeco,s=t?t.changes:D.empty(this.state.doc.length),r=new s0,tE.compare(n,i,s,r,0),r.changes)),l=this.heightMap.height,h=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);sE=!1,this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),a),(this.heightMap.height!=l||sE)&&(t.flags|=2),h?(this.scrollAnchorPos=t.changes.mapPos(h.from,-1),this.scrollAnchorHeight=h.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=l);let c=a.length?this.mapViewport(this.viewport,t.changes):this.viewport;(e&&(e.range.head<c.from||e.range.head>c.to)||!this.viewportIsAppropriate(c))&&(c=this.getViewport(0,e));let u=c.from!=this.viewport.from||c.to!=this.viewport.to;this.viewport=c,t.flags|=this.updateForViewport(),(u||!t.changes.empty||2&t.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(t.changes),e&&(this.scrollTarget=e),!this.mustEnforceCursorAssoc&&(t.selectionSet||t.focusChanged)&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(ic)&&(this.mustEnforceCursorAssoc=!0)}measure(){var t;let e,i,{view:s}=this,r=s.contentDOM,n=window.getComputedStyle(r),o=this.heightOracle,a=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?eU.RTL:eU.LTR;let l=this.heightOracle.mustRefreshForWrapping(a)||"refresh"===this.mustMeasureContent,h=r.getBoundingClientRect(),c=l||this.mustMeasureContent||this.contentDOMHeight!=h.height;this.contentDOMHeight=h.height,this.mustMeasureContent=!1;let u=0,O=0;if(h.width&&h.height){let{scaleX:t,scaleY:e}=eq(r,h);(t>.005&&Math.abs(this.scaleX-t)>.005||e>.005&&Math.abs(this.scaleY-e)>.005)&&(this.scaleX=t,this.scaleY=e,u|=16,l=c=!0)}let d=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||
90)*this.scaleY;(this.paddingTop!=d||this.paddingBottom!=f)&&(this.paddingTop=d,this.paddingBottom=f,u|=18),this.editorWidth!=s.scrollDOM.clientWidth&&(o.lineWrapping&&(c=!0),this.editorWidth=s.scrollDOM.clientWidth,u|=16);let p=eV(this.view.contentDOM,!1).y;p!=this.scrollParent&&(this.scrollParent=p,this.scrollAnchorHeight=-1,this.scrollOffset=0);let m=this.getScrollOffset();this.scrollOffset!=m&&(this.scrollAnchorHeight=-1,this.scrollOffset=m),this.scrolledToBottom=eB(this.scrollParent||s.win);let g=(this.printing?function(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}:function(t,e){let i=t.getBoundingClientRect(),s=t.ownerDocument,r=s.defaultView||window,n=Math.max(0,i.left),o=Math.min(r.innerWidth,i.right),a=Math.max(0,i.top),l=Math.min(r.innerHeight,i.bottom);for(let e=t.parentNode;e&&e!=s.body;)if(1==e.nodeType){let i=e,s=window.getComputedStyle(i);if((i.scrollHeight>i.clientHeight||i.scrollWidth>i.clientWidth)&&"visible"!=s.overflow){let s=i.getBoundingClientRect();n=Math.max(n,s.left),o=Math.min(o,s.right),a=Math.max(a,s.top),l=Math.min(e==t.parentNode?r.innerHeight:l,s.bottom)}e="absolute"==s.position||"fixed"==s.position?i.offsetParent:i.parentNode}else if(11==e.nodeType)e=e.host;else break;return{left:n-i.left,right:Math.max(n,o)-i.left,top:a-(i.top+e),bottom:Math.max(a,l)-(i.top+e)}})(r,this.paddingTop),Q=g.top-this.pixelViewport.top,b=g.bottom-this.pixelViewport.bottom;this.pixelViewport=g;let v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;
9if(v!=this.inView&&(this.inView=v,v&&(c=!0)),!this.inView&&!this.scrollTarget&&(e=(t=s.dom).getBoundingClientRect(),i=t.ownerDocument.defaultView||window,!(e.left<i.innerWidth)||!(e.right>0)||!(e.top<i.innerHeight)||!(e.bottom>0)))return 0;let w=h.width;if((this.contentDOMWidth!=w||this.editorHeight!=s.scrollDOM.clientHeight)&&(this.contentDOMWidth=h.width,this.editorHeight=s.scrollDOM.clientHeight,u|=16),c){let t=s.docView.measureVisibleLineHeights(this.viewport);if(o.mustRefreshForHeights(t)&&(l=!0),l||o.lineWrapping&&Math.abs(w-this.contentDOMWidth)>o.charWidth){let{lineHeight:e,charWidth:i,textHeight:r}=s.docView.measureTextSize();(l=e>0&&o.refresh(a,e,i,r,Math.max(5,w/i),t))&&(s.docView.minWidth=0,u|=16)}for(let e of(Q>0&&b>0?O=Math.max(Q,b):Q<0&&b<0&&(O=Math.min(Q,b)),sE=!1,this.viewports)){let i=e.from==this.viewport.from?t:s.docView.measureVisibleLineHeights(e);this.heightMap=(l?sB.empty().applyChanges(this.stateDeco,$.empty,this.heightOracle,[new iM(0,0,0,s.state.doc.length)]):this.heightMap).updateHeight(o,0,l,new sD(e.from,i))}sE&&(u|=2)}let S=!this.viewportIsAppropriate(this.viewport,O)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return S&&(2&u&&(u|=this.updateScaler()),this.viewport=this.getViewport(O,this.scrollTarget),u|=this.updateForViewport()),(2&u||S)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(l?[]:this.lineGaps,s)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,s.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,e){let i=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),s=this.heightMap,r=this.heightOracle,{visibleTop:n,visibleBottom:o}=this,a=new s3(s.lineAt(n-1e3*i,sj.ByHeight,r,0,0).from,s.lineAt(o+(1-i)*1e3,sj.ByHeight,r,0,0).to);if(e){let{head:t}=e.range;if(t<a.from||t>a.to){let i=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),n=s.lineAt(t,sj.ByPos,r,0,0),o;o="center"==e.y?(n.top+n.bottom)/2-i/2:"start"==e.y||"nearest"==e.y&&t<a.from?n.top:n.bottom-i,a=new s3(s.lineAt(o-500,sj.ByHeight,r,0,0).from,s.lineAt(o+i+500,sj.ByHeight,r,0,0).to)}}return a}mapViewport(t,e){let i=e.mapPos(t.from,-1),s=e.mapPos(t.to,1);return new s3(this.heightMap.lineAt(i,sj.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(s,sj.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:t,to:e},i=0){if(!this.inView)return!0;let{top:s}=this.heightMap.lineAt(t,sj.ByPos,this.heightOracle,0,0),{bottom:r}=this.heightMap.lineAt(e,sj.ByPos,this.heightOracle,0,0),{visibleTop:n,visibleBottom:o}=this;return(0==t||s<=n-Math.max(10,Math.min(-i,250)))&&(e==this.state.doc.length||r>=o+Math.max(10,Math.min(i,250)))&&s>n-2e3&&r<o+2e3}mapLineGaps(t,e){if(!t.length||e.empty)return t;let i=[];for(let s of t)e.touchesRange(s.from,s.to)||i.push(new s1(e.mapPos(s.from),e.mapPos(s.to),s.size,s.displaySize));return i}ensureLineGaps(t,e){let i=this.heightOracle.lineWrapping,s=i?1e4:2e3,r=s>>1,n=s<<1;if(this.defaultTextDirection!=eU.LTR&&!i)return[];let o=[],a=(s,n,l,h)=>{if(n-s<r)return;let c=this.state.selection.main,u=[c.from];for(let t of(c.empty||u.push(c.to),u))if(t>s&&t<n){a(s,t-10,l,h),a(t+10,n,l,h);return}let O=function(t,e){for(let i of t)if(e(i))return i}(t,t=>t.from>=l.from&&t.to<=l.to&&Math.abs(t.from-s)<r&&Math.abs(t.to-n)<r&&!u.some(e=>t.from<e&&t.to>e));if(!O){if(n<l.to&&e&&i&&e.visibleRanges.some(t=>t.from<=n&&t.to>=n)){let t=e.moveToLineBoundary(F.cursor(n),!1,!0).head;t>s&&(n=t)}let t=this.gapSize(l,s,n,h),r=i||t<2e6?t:2e6;O=new s1(s,n,t,r)}o.push(O)},l=e=>{var r,o,l;let h,c,u;if(e.length<n||e.type!=ev.Text)return;let O=(r=e.from,o=e.to,l=this.stateDeco,h=[],c=r,u=0,tE.spans(l,r,o,{span(){},point(t,e){t>c&&(h.push({from:c,to:t}),u+=t-c),c=e}},20),c<o&&(h.push({from:c,to:o}),u+=o-c),{total:u,ranges:h});if(O.total<n)return;let d=this.scrollTarget?this.scrollTarget.range.head:null,f,p;if(i){let t=s/this.heightOracle.lineLength*this.heightOracle.lineHeight,i,r;if(null!=d){let s=s4(O,d),n=((this.visibleBottom-this.visibleTop)/2+t)/e.height;i=s-n,r=s+n}else i=(this.visibleTop-e.top-t)/e.height,r=(this.visibleBottom-e.top+t)/e.height;f=s7(O,i),p=s7(O,r)}else{let i=O.total*this.heightOracle.charWidth,r=s*this.heightOracle.charWidth,n=0;if(i>2e6)for(let i of t)i.from>=e.from&&i.from<e.to&&i.size!=i.displaySize&&i.from*this.heightOracle.charWidth+n<this.pixelViewport.left&&(n=i.size-i.displaySize);let o=this.pixelViewport.left+n,a=this.pixelViewport.right+n,l,h;if(null!=d){let t=s4(O,d),e=((a-o)/2+r)/i;l=t-e,h=t+e}else l=(o-r)/i,h=(a+r)/i;f=s7(O,l),p=s7(O,h)}f>e.from&&a(e.from,f,e,O),p<e.to&&a(p,e.to,e,O)};for(let t of this.viewportLines)Array.isArray(t.type)?t.type.forEach(l):l(t);return o}gapSize(t,e,i,s){let r=s4(s,i)-s4(s,e);return this.heightOracle.lineWrapping?t.height*r:s.total*this.heightOracle.charWidth*r}updateLineGaps(t){s1.same(t,this.lineGaps)||(this.lineGaps=t,this.lineGapDeco=ew.set(t.map(t=>t.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(t){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];tE.spans(e,this.viewport.from,this.viewport.to,{span(t,e){i.push({from:t,to:e})}
vendor: 4,351 bytes, line 9
9,point(){}},20);let s=0;if(i.length!=this.visibleRanges.length)s=12;else for(let e=0;e<i.length&&!(8&s);e++){let r=this.visibleRanges[e],n=i[e];(r.from!=n.from||r.to!=n.to)&&(s|=4,t&&t.mapPos(r.from,-1)==n.from&&t.mapPos(r.to,1)==n.to||(s|=8))}return this.visibleRanges=i,s}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(e=>e.from<=t&&e.to>=t)||rt(this.heightMap.lineAt(t,sj.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return t>=this.viewportLines[0].top&&t<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(e=>e.top<=t&&e.bottom>=t)||rt(this.heightMap.lineAt(this.scaler.fromDOM(t),sj.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return(this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top)*this.scaleY}scrollAnchorAt(t){let e=this.lineBlockAtHeight(t+8);return e.from>=this.viewport.from||this.viewportLines[0].top-t>200?e:this.viewportLines[0]}elementAtHeight(t){return rt(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class s3{constructor(t,e){this.from=t,this.to=e}}function s7({total:t,ranges:e},i){if(i<=0)return e[0].from;if(i>=1)return e[e.length-1].to;let s=Math.floor(t*i);for(let t=0;;t++){let{from:i,to:r}=e[t],n=r-i;if(s<=n)return i+s;s-=n}}function s4(t,e){let i=0;for(let{from:s,to:r}of t.ranges){if(e<=r){i+=e-s;break}i+=r-s}return i/t.total}let s9={toDOM:t=>t,fromDOM:t=>t,scale:1,eq(t){return t==this}};function s8(t){let e=t.facet(ix).filter(t=>"function"!=typeof t),i=t.facet(i$).filter(t=>"function"!=typeof t);return i.length&&e.push(tE.join(i)),e}class s6{constructor(t,e,i){let s=0,r=0,n=0;for(let o of(this.viewports=i.map(({from:i,to:r})=>{let n=e.lineAt(i,sj.ByPos,t,0,0).top,o=e.lineAt(r,sj.ByPos,t,0,0).bottom;return s+=o-n,{from:i,to:r,top:n,bottom:o,domTop:0,domBottom:0}}),this.scale=(7e6-s)/(e.height-s),this.viewports))o.domTop=n+(o.top-r)*this.scale,n=o.domBottom=o.domTop+(o.bottom-o.top),r=o.bottom}toDOM(t){for(let e=0,i=0,s=0;;e++){let r=e<this.viewports.length?this.viewports[e]:null;if(!r||t<r.top)return s+(t-i)*this.scale;if(t<=r.bottom)return r.domTop+(t-r.top);i=r.bottom,s=r.domBottom}}fromDOM(t){for(let e=0,i=0,s=0;;e++){let r=e<this.viewports.length?this.viewports[e]:null;if(!r||t<r.domTop)return i+(t-s)/this.scale;if(t<=r.domBottom)return r.top+(t-r.domTop);i=r.bottom,s=r.domBottom}}eq(t){return t instanceof s6&&this.scale==t.scale&&this.viewports.length==t.viewports.length&&this.viewports.every((e,i)=>e.from==t.viewports[i].from&&e.to==t.viewports[i].to)}}function rt(t,e){if(1==e.scale)return t;let i=e.toDOM(t.top),s=e.toDOM(t.bottom);return new sL(t.from,t.length,i,s-i,Array.isArray(t._content)?t._content.map(t=>rt(t,e)):t._content)}let re=J.define({combine:t=>t.join(" ")}),ri=J.define({combine:t=>t.indexOf(!0)>-1}),rs=t5.newName(),rr=t5.newName(),rn=t5.newName(),ro={"&light":"."+rr,"&dark":"."+rn};function ra(t,e,i){return new t5(e,{finish:e=>/&/.test(e)?e.replace(/&\w*/,e=>{if("&"==e)return t;if(!i||!i[e])throw RangeError(`Unsupported selector: ${e}`);return i[e]}):t+" "+e})}let rl=ra("."+rs,{"&":{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"}}
vendor: 5,438 bytes, line 9
9,"&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:"#ddd"},".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",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&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-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".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",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".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"}},ro),rh={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},rc=ef.ie&&ef.ie_version<=11;class ru{constructor(t){this.view=t,this.active=!1,this.editContext=null,this.selectionRange=new eE,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=t.contentDOM,this.observer=new MutationObserver(e=>{for(let t of e)this.queue.push(t);(ef.ie&&ef.ie_version<=11||ef.ios&&t.composing)&&e.some(t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&ef.android&&!1!==t.constructor.EDIT_CONTEXT&&!(ef.chrome&&ef.chrome_version<126)&&(this.editContext=new rf(t),t.state.facet(ig)&&(t.contentDOM.editContext=this.editContext.editContext)),rc&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.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")),"function"==typeof ResizeObserver&&(this.resizeScroll=ne
9w ResizeObserver(()=>{var t;(null===(t=this.view.docView)||void 0===t?void 0:t.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(t.scrollDOM)),this.addWindowListeners(this.win=t.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.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(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(t){("change"!=t.type&&t.type||t.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((e,i)=>e!=t[i]))){for(let e of(this.gapIntersection.disconnect(),t))this.gapIntersection.observe(e);this.gaps=t}}onSelectionChange(t){let e=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,s=this.selectionRange;if(i.state.facet(ig)?i.root.activeElement!=this.dom:!eX(this.dom,s))return;let r=s.anchorNode&&i.docView.tile.nearest(s.anchorNode);if(r&&r.isWidget()&&r.widget.ignoreEvent(t)){e||(this.selectionChanged=!1);return}(ef.ie&&ef.ie_version<=11||ef.android&&ef.chrome)&&!i.state.selection.main.empty&&s.focusNode&&eA(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,e=eT(t.root);if(!e)return!1;let i=ef.safari&&11==t.root.nodeType&&t.root.activeElement==this.dom&&function(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return rd(t,i)}let i=null;function s(t){t.preventDefault(),t.stopImmediatePropagation(),i=t.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",s,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",s,!0),i?rd(t,i):null}(this.view,e)||e;if(!i||this.selectionRange.eq(i))return!1;let s=eX(this.dom,i);return s&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime<Date.now()-300&&function(t,e){let i=e.focusNode,s=e.focusOffset;if(!i||e.anchorNode!=i||e.anchorOffset!=s)return!1;for(s=Math.min(s,ez(i));;)if(s){if(1!=i.nodeType)return!1;let t=i.childNodes[s-1];"false"==t.contentEditable?s--:s=ez(i=t)}else{if(i==t)return!0;s=eM(i),i=i.parentNode}}(this.dom,i)?(this.view.inputState.lastFocusTime=0,t.docView.updateSelection(),!1):(this.selectionRange.setRange(i),s&&(this.selectionChanged=!0),!0)}setSelectionRange(t,e){this.selectionRange.set(t.node,t.offset,e.node,e.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let t=0,e=null;for(let i=this.dom;i;)if(1==i.nodeType)!e&&t<this.scrollTargets.length&&this.scrollTargets[t]==i?t++:e||(e=this.scrollTargets.slice(0,t)),e&&e.push(i),i=i.assignedSlot||i.parentNode;else if(11==i.nodeType)i=i.host;else break;if(t<this.scrollTargets.length&&!e&&(e=this.scrollTargets.slice(0,t)),e){for(let t of this.scrollTargets)t.removeEventListener("scroll",this.onScroll);for(let t of this.scrollTargets=e)t.addEventListener("scroll",this.onScroll)}}ignore(t){if(!this.active)return t();try{return this.stop(),t()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,rh),rc&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),rc&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(t,e){var i;this.delayedAndroidKey||(this.flushingAndroidKey=this.view.win.requestAnimationFrame(()=>{let t=this.delayedAndroidKey;t&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=t.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&t.force&&ej(this.dom,t.ke
9y,t.keyCode))})),this.delayedAndroidKey&&"Enter"!=t||(this.delayedAndroidKey={key:t,keyCode:e,force:this.lastChange<Date.now()-50||!!(!(null===(i=this.delayedAndroidKey)||void 0===i)&&i.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let e=-1,i=-1,s=!1;for(let r of t){let t=this.readMutation(r);t&&(t.typeOver&&(s=!0),-1==e?{from:e,to:i}=t:(e=Math.min(t.from,e),i=Math.max(t.to,i)))}return{from:e,to:i,typeOver:s}}readChange(){let{from:t,to:e,typeOver:i}=this.processRecords(),s=this.selectionChanged&&eX(this.dom,this.selectionRange);if(t<0&&!s)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let r=new sc(this.view,t,e,i);return this.view.docView.domChanged={newSel:r.newSel?r.newSel.main:null},r}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let e=this.readChange();if(!e)return this.view.requestMeasure(),!1;let i=this.view.state,s=su(this.view,e);return this.view.state==i&&(e.domChanged||e.newSel&&!sf(this.view.state.selection,e.newSel.main))&&this.view.update([]),s}readMutation(t){let e=this.view.docView.tile.nearest(t.target);if(!e||e.isWidget())return null;if(e.markDirty("attributes"==t.type),"childList"!=t.type)return"characterData"==t.type?{from:e.posAtStart,to:e.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null;{let i=rO(e,t.previousSibling||t.target.previousSibling,-1),s=rO(e,t.nextSibling||t.target.nextSibling,1);return{from:i?e.posAfter(i):e.posAtStart,to:s?e.posBefore(s):e.posAtEnd,typeOver:!1}}}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}update(t){this.editContext&&(this.editContext.update(t),t.startState.facet(ig)!=t.state.facet(ig)&&(t.view.contentDOM.editContext=t.state.facet(ig)?this.editContext.editContext:null))}destroy(){var t,e,i;for(let s of(this.stop(),null===(t=this.intersection)||void 0===t||t.disconnect(),null===(e=this.gapIntersection)||void 0===e||e.disconnect(),null===(i=this.resizeScroll)||void 0===i||i.disconnect(),this.scrollTargets))s.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 rO(t,e,i){for(;e;){let s=iz.get(e);if(s&&s.parent==t)return s;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function rd(t,e){let i=e.startContainer,s=e.startOffset,r=e.endContainer,n=e.endOffset,o=t.docView.domAtPos(t.state.selection.main.anchor,1);return eA(o.node,o.offset,r,n)&&([i,s,r,n]=[r,n,i,s]),{anchorNode:i,anchorOffset:s,focusNode:r,focusOffset:n}}class rf{constructor(t){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(t.state);let e=this.editContext=new window.EditContext({text:t.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,t.state.selection.main.anchor))),selectionEnd:this.toContextPos(t.state.selection.main.head)});for(let i in this.handlers.textupdate=i=>{let s=t.state.selection.main,{anchor:r,head:n}=s,o=this.toEditorPos(i.updateRangeStart),a=this.toEditorPos(i.updateRangeEnd);t.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:i.updateRangeStart,editorBase:o,drifted:!1});let l=a-o>i.text.length;o==this.from&&r<this.from?o=r:a==this.to&&r>this.to&&(a=r);let h=sd(t.state.sliceDoc(o,a),i.text,(l?s.from:s.to)-o,l?"end":null);
vendor: 5,365 bytes, lines 9-10
9if(!h){let e=F.single(this.toEditorPos(i.selectionStart),this.toEditorPos(i.selectionEnd));sf(e,s)||t.dispatch({selection:e,userEvent:"select"});return}let c={from:h.from+o,to:h.toA+o,insert:$.of(i.text.slice(h.from,h.toB).split(`
10`))};if((ef.mac||ef.android)&&c.from==n-1&&/^\. ?$/.test(i.text)&&"off"==t.contentDOM.getAttribute("autocorrect")&&(c={from:o,to:a,insert:$.of([i.text.replace("."," ")])}),this.pendingContextChange=c,!t.state.readOnly){let e=this.to-this.from+(c.to-c.from+c.insert.length);sO(t,c,F.single(this.toEditorPos(i.selectionStart,e),this.toEditorPos(i.selectionEnd,e)))}this.pendingContextChange&&(this.revertPending(t.state),this.setSelection(t.state)),c.from<c.to&&!c.insert.length&&t.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(e.text.slice(Math.max(0,i.updateRangeStart-1),Math.min(e.text.length,i.updateRangeStart+1)))&&this.handlers.compositionend(i)},this.handlers.characterboundsupdate=i=>{let s=[],r=null;for(let e=this.toEditorPos(i.rangeStart),n=this.toEditorPos(i.rangeEnd);e<n;e++){let i=t.coordsForChar(e);r=i&&new DOMRect(i.left,i.top,i.right-i.left,i.bottom-i.top)||r||new DOMRect,s.push(r)}e.updateCharacterBounds(i.rangeStart,s)},this.handlers.textformatupdate=e=>{let i=[];for(let t of e.getTextFormats()){let e=t.underlineStyle,s=t.underlineThickness;if(!/none/i.test(e)&&!/none/i.test(s)){let r=this.toEditorPos(t.rangeStart),n=this.toEditorPos(t.rangeEnd);if(r<n){let t=`text-decoration: underline ${/^[a-z]/.test(e)?e+" ":"Dashed"==e?"dashed ":"Squiggle"==e?"wavy ":""}${/thin/i.test(s)?1:2}px`;i.push(ew.mark({attributes:{style:t}}).range(r,n))}}}t.dispatch({effects:ip.of(ew.set(i))})},this.handlers.compositionstart=()=>{t.inputState.composing<0&&(t.inputState.composing=0,t.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(t.inputState.composing=-1,t.inputState.compositionFirstChange=null,this.composing){let{drifted:e}=this.composing;this.composing=null,e&&this.reset(t.state)}},this.handlers)e.addEventListener(i,this.handlers[i]);this.measureReq={read:t=>{this.editContext.updateControlBounds(t.contentDOM.getBoundingClientRect());let e=eT(t.root);e&&e.rangeCount&&this.editContext.updateSelectionBounds(e.getRangeAt(0).getBoundingClientRect())}}}applyEdits(t){let e=0,i=!1,s=this.pendingContextChange;return t.changes.iterChanges((r,n,o,a,l)=>{if(i)return;let h=l.length-(n-r);if(s&&n>=s.to){if(s.from==r&&s.to==n&&s.insert.eq(l)){s=this.pendingContextChange=null,e+=h,this.to+=h;return}s=null,this.revertPending(t.state)}if(r+=e,(n+=e)<=this.from)this.from+=h,this.to+=h;else if(r<this.to){if(r<this.from||n>this.to||this.to-this.from+l.length>3e4){i=!0;return}this.editContext.updateText(this.toContextPos(r),this.toContextPos(n),l.toString()),this.to+=h}e+=h}),s&&!i&&this.revertPending(t.state),!i}update(t){let e=this.pendingContextChange,i=t.startState.selection.main;this.composing&&(this.composing.drifted||!t.changes.touchesRange(i.from,i.to)&&t.transactions.some(t=>!t.isUserEvent("input.type")&&t.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=t.changes.mapPos(this.composing.editorBase)):this.applyEdits(t)&&this.rangeIsValid(t.state)?(t.docChanged||t.selectionSet||e)&&this.setSelection(t.state):(this.pendingContextChange=null,this.reset(t.state)),(t.geometryChanged||t.docChanged||t.selectionSet)&&t.view.requestMeasure(this.measureReq)}resetRange(t){let{head:e}=t.selection.main;this.from=Math.max(0,e-1e4),this.to=Math.min(t.doc.length,e+1e4)}reset(t){this.resetRange(t),this.editContext.updateText(0,this.editContext.text.length,t.doc.sliceString(this.from,this.to)),this.setSelection(t)}revertPending(t){let e=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(e.from),this.toContextPos(e.from+e.insert.length),t.doc.sliceString(e.from,e.to))}setSelection(t){let{main:e}=t.selection,i=this.toContextPos(Math.max(this.from,Math.min(this.to,e.anchor))),s=this.toContextPos(e.head);(this.editContext.selectionStart!=i||this.editContext.selectionEnd!=s)&&this.editContext.updateSelection(i,s)}rangeIsValid(t){let{head:e}=t.selection.main;return!(this.from>0&&e-this.from<500||this.to<t.doc.length&&this.to-e<500||this.to-this.from>3e4)}toEditorPos(t,e=this.to-this.from){t=Math.min(t,e);let i=this.composing;return i&&i.drifted?i.editorBase+(t-i.contextBase):t+this.from}toContextPos(t){let e=this.composing;return e&&e.drifted?e.contextBase+(t-e.editorBase):t-this.from}destroy(){for(let t in this.handlers)this.editContext.removeEventListener(t,this.handlers[t])}}class rp{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&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){var e;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="
10cm-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),t.parent&&t.parent.appendChild(this.dom);let{dispatch:i}=t;for(let e of(this.dispatchTransactions=t.dispatchTransactions||i&&(t=>t.forEach(t=>i(t,this)))||(t=>this.update(t)),this.dispatch=this.dispatch.bind(this),this._root=t.root||function(t){for(;t;){if(t&&(9==t.nodeType||11==t.nodeType&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}(t.parent)||document,this.viewState=new s5(this,t.state||tM.create(t)),t.scrollTo&&t.scrollTo.is(id)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(ib).map(t=>new iw(t)),this.plugins))e.update(this);this.observer=new ru(this),this.inputState=new sp(this),this.inputState.ensureHandlers(this.plugins),this.docView=new i3(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!(null===(e=document.fonts)||void 0===e)&&e.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...t){let e=1==t.length&&t[0]instanceof t$?t:1==t.length&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(e,this)}update(t){if(0!=this.updateState)throw Error("Calls to EditorView.update are not allowed while an update is in progress");let e=!1,i=!1,s,r=this.state;for(let e of t){if(e.startState!=r)throw RangeError("Trying to update state with a transaction that doesn't start from the previous state.");r=e.state}if(this.destroyed){this.viewState.state=r;return}let n=this.hasFocus,o=0,a=null;t.some(t=>t.annotation(s_))?(this.inputState.notifiedFocused=n,o=1):n!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=n,(a=sz(r,n))||(o=1));let l=this.observer.delayedAndroidKey,h=null;if(l?(this.observer.clearDelayedAndroidKey(),((h=this.observer.readChange())&&!this.state.doc.eq(r.doc)||!this.state.selection.eq(r.selection))&&(h=null)):this.observer.clear(),r.facet(tM.phrases)!=this.state.facet(tM.phrases))return this.setState(r);s=iR.create(this,r,t),s.flags|=o;let c=this.viewState.scrollTarget;try{for(let e of(this.updateState=2,t)){if(c&&(c=c.map(e.changes)),e.scrollIntoView){let{main:t}=e.state.selection;c=new iO(t.empty?t:F.cursor(t.head,t.head>t.anchor?-1:1))}for(let t of e.effects)t.is(id)&&(c=t.value.clip(this.state))}this.viewState.update(s,c),this.bidiCache=rQ.update(this.bidiCache,s.changes),s.empty||(this.updatePlugins(s),this.inputState.update(s)),e=this.docView.update(s),this.state.facet(iA)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(e,t.some(t=>t.isUserEvent("select.pointer")))}finally{this.updateState=0}if(s.startState.facet(re)!=s.state.facet(re)&&(this.viewState.mustMeasureContent=!0),(e||i||c||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),e&&this.docViewUpdate(),!s.empty)for(let t of this.state.facet(is))try{t(s)}catch(t){im(this.state,t,"update listener")}(a||h)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),h&&!su(this,h)&&l.force&&ej(this.contentDOM,l.key,l.keyCode)})}setState(t){if(0!=this.updateState)throw Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let e=this.hasFocus;try{for(let t of this.plugins)t.destroy(this);for(let e of(this.viewState=new s5(this,t),this.plugins=t.facet(ib).map(t=>new iw(t)),this.pluginMap.clear(),this.plugins))e.update(this);this.docView.destroy(),this.docView=new i3(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}e&&this.focus(),this.requestMeasure()}updatePlugins(t){let e=t.startState.facet(ib),i=t.state.facet(ib);if(e!=i){let s=[];for(let r of i){let i=e.indexOf(r);if(i<0)s.push(new iw(r));else{let e=this.plugins[i];e.mustUpdate=t,s.push(e)}}for(let e of this.plugins)e.mustUpdate!=t&&e.destroy(this);this.plugins=s,this.pluginMap.clear()}else for(let e of this.plugins)e.mustUpdate=t;for(let t=0;t<this.plugins.length;t++)this.plugins[t].update(this);e!=i&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let t of this.plugins){let e=t.value;if(e&&e.docViewUpdate)try{e.docViewUpdate(this)}catch(t){im(this.state,t,"doc view update listener")}}}measure(t=!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,t&&this.observer.forceFlush();let e=null,i=this.viewState.scrollParent,s=this.viewState.getScrollOffset(),{scrollAnchorPos:r,scrollAnchorHeight:n}=this.viewState;Math.abs(s-this.viewState.scrollOffset)>1&&(n=-1),this.viewState.scrollAnchorHeight=-1;try{for(let t=0;;
10t++){if(n<0){if(eB(i||this.win))r=-1,n=this.viewState.heightMap.height;else{let t=this.viewState.scrollAnchorAt(s);r=t.from,n=t.top}}this.updateState=1;let o=this.viewState.measure();if(!o&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(t>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let a=[];4&o||([this.measureRequests,a]=[a,this.measureRequests]);let l=a.map(t=>{try{return t.read(this)}catch(t){return im(this.state,t),rg}}),h=iR.create(this,this.state,[]),c=!1;h.flags|=o,e?e.flags|=o:e=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),(c=this.docView.update(h))&&this.docViewUpdate());for(let t=0;t<a.length;t++)if(l[t]!=rg)try{let e=a[t];e.write&&e.write(l[t],this)}catch(t){im(this.state,t)}if(c&&this.docView.updateSelection(!0),!h.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,n=-1;continue}{let t=((r<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(r).top)-n)/this.scaleY;if((t>1||t<-1)&&(i==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){s+=t,i?i.scrollTop+=t:this.win.scrollBy(0,t),n=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(e&&!e.empty)for(let t of this.state.facet(is))t(e)}get themeClasses(){return rs+" "+(this.state.facet(ri)?rn:rr)+" "+this.state.facet(re)}updateAttrs(){let t=rb(this,iS,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),e={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(ig)?"true":"false",class:"cm-content",style:`${ef.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(e["aria-readonly"]="true"),rb(this,iy,e);let i=this.observer.ignore(()=>{let i=eQ(this.contentDOM,this.contentAttrs,e),s=eQ(this.dom,this.editorAttrs,t);return i||s});return this.editorAttrs=t,this.contentAttrs=e,i}showAnnouncements(t){let e=!0;for(let i of t)for(let t of i.effects)t.is(rp.announce)&&(e&&(this.announceDOM.textContent=""),e=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=t.value)}mountStyles(){this.styleModules=this.state.facet(iA);let t=this.state.facet(rp.cspNonce);t5.mount(this.root,this.styleModules.concat(rl).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(2==this.updateState)throw Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t&&!(this.measureRequests.indexOf(t)>-1)){if(null!=t.key){for(let e=0;e<this.measureRequests.length;e++)if(this.measureRequests[e].key===t.key){this.measureRequests[e]=t;return}}this.measureRequests.push(t)}}plugin(t){let e=this.pluginMap.get(t);return(void 0===e||e&&e.plugin!=t)&&this.pluginMap.set(t,e=this.plugins.find(e=>e.plugin==t)||null),e&&e.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(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,e,i){return sr(this,t,se(this,t,e,i))}moveByGroup(t,e){return sr(this,t,se(this,t,e,e=>{var i;let s,r;return i=t.head,r=(s=this.state.charCategorizer(i))(e),t=>{let e=s(t);return r==tC.Space&&(r=e),r==e}}))}visualLineSide(t,e){let i=this.bidiSpans(t),s=this.textDirectionAt(t.from),r=i[e?i.length-1:0];return F.cursor(r.side(e,s)+t.from,r.forward(!e,s)?1:-1)}
10moveToLineBoundary(t,e,i=!0){return function(t,e,i,s){let r=st(t,e.head,e.assoc||-1),n=s&&r.type==ev.Text&&(t.lineWrapping||r.widgetLineBreaks)?t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head):null;if(n){let e=t.dom.getBoundingClientRect(),s=t.textDirectionAt(r.from),o=t.posAtCoords({x:i==(s==eU.LTR)?e.right-1:e.left+1,y:(n.top+n.bottom)/2});if(null!=o)return F.cursor(o,i?-1:1)}return F.cursor(i?r.to:r.from,i?-1:1)}(this,t,e,i)}moveVertically(t,e,i){return sr(this,t,function(t,e,i,s){let r=e.head,n=i?1:-1;if(r==(i?t.state.doc.length:0))return F.cursor(r,e.assoc);let o=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),h=t.coordsAtPos(r,(e.empty?e.assoc:0)||(i?1:-1)),c=t.documentTop;if(h)null==o&&(o=h.left-l.left),a=n<0?h.top:h.bottom;else{let e=t.viewState.lineBlockAt(r);null==o&&(o=Math.min(l.right-l.left,t.defaultCharacterWidth*(r-e.from))),a=(n<0?e.top:e.bottom)+c}let u=l.left+o,O=s??t.viewState.heightOracle.textHeight>>1,d=so(t,{x:u,y:a+O*n},!1,n);return F.cursor(d.pos,d.assoc,void 0,o)}(this,t,e,i))}domAtPos(t,e=1){return this.docView.domAtPos(t,e)}posAtDOM(t,e=0){return this.docView.posFromDOM(t,e)}posAtCoords(t,e=!0){this.readMeasured();let i=so(this,t,e);return i&&i.pos}posAndSideAtCoords(t,e=!0){return this.readMeasured(),so(this,t,e)}coordsAtPos(t,e=1){this.readMeasured();let i=this.docView.coordsAt(t,e);if(!i||i.left==i.right)return i;let s=this.state.doc.lineAt(t),r=this.bidiSpans(s);return eY(i,r[e7.find(r,t-s.from,-1,e)].dir==eU.LTR==e>0)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(ih)||t<this.viewport.from||t>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>rm)return e9(t.length);let e=this.textDirectionAt(t.from),i;for(let s of this.bidiCache)if(s.from==t.from&&s.dir==e&&(s.fresh||function t(e,i){if(e.length!=i.length)return!1;for(let s=0;s<e.length;s++){let r=e[s],n=i[s];if(r.from!=n.from||r.to!=n.to||r.direction!=n.direction||!t(r.inner,n.inner))return!1}return!0}(s.isolates,i=iZ(this,t))))return s.order;i||(i=iZ(this,t));let s=function(t,e,i){if(!t)return[new e7(0,0,e==eH?1:0)];if(e==eF&&!i.length&&!e3.test(t))return e9(t.length);if(i.length)for(;t.length>e4.length;)e4[e4.length]=256;let s=[],r=e==eF?0:1;return function t(e,i,s,r,n,o,a){let l=i%2?2:1;(function(t,e,i,s,r){for(let n=0;n<=s.length;n++){let o=n?s[n-1].to:e,a=n<s.length?s[n].from:i,l=n?256:r;for(let e=o,i=l,s=l;e<a;e++){let r=e5(t.charCodeAt(e));512==r?r=i:8==r&&4==s&&(r=16),e4[e]=4==r?2:r,7&r&&(s=r),i=r}for(let t=o,e=l,s=l;t<a;t++){let r=e4[t];if(128==r)t<a-1&&e==e4[t+1]&&24&e?r=e4[t]=e:e4[t]=256;else if(64==r){let r=t+1;for(;r<a&&64==e4[r];)r++;let n=t&&8==e||r<i&&8==e4[r]?1==s?1:8:256;for(let e=t;e<r;e++)e4[e]=n;t=r-1}else 8==r&&1==s&&(e4[t]=1);e=r,7&r&&(s=r)}}})(e,n,o,r,l),function(t,e,i,s,r){let n=1==r?2:1;for(let o=0,a=0,l=0;o<=s.length;o++){let h=o?s[o-1].to:e,c=o<s.length?s[o].from:i;for(let e=h,i,s,o;e<c;e++)if(s=e1[i=t.charCodeAt(e)]){if(s<0){for(let t=a-3;t>=0;t-=3)if(e2[t+1]==-s){let i=e2[t+2],s=2&i?r:4&i?1&i?n:r:0;s&&(e4[e]=e4[e2[t]]=s),a=t;break}}else{if(189==e2.length)break;e2[a++]=e,e2[a++]=i,e2[a++]=l}}else if(2==(o=e4[e])||1==o){let t=o==r;l=t?0:1;for(let e=a-3;e>=0;e-=3){let i=e2[e+2];if(2&i)break;if(t)e2[e+2]|=2;else{if(4&i)break;e2[e+2]|=4}}}}}(e,n,o,r,l),function(t,e,i,s){for(let r=0,n=s;r<=i.length;r++){let o=r?i[r-1].to:t,a=r<i.length?i[r].from:e;for(let l=o;l<a;){let o=e4[l];if(256==o){let o=l+1;for(;;)if(o==a){if(r==i.length)break;o=i[r++].to,a=r<i.length?i[r].from:e}else if(256==e4[o])o++;else break;let h=1==n,c=h==((o<e?e4[o]:s)==1)?h?1:2:s;for(let e=o,s=r,n=s?i[s-1].to:t;e>l;)e==n&&(e=i[--s].from,n=s?i[s-1].to:t),e4[--e]=c;l=o}else n=o,l++}}}(n,o,r,l),function e(i,s,r,n,o,a,l){let h=n%2?2:1;if(n%2==o%2)for(let c=s,u=0;c<r;){let s=!0,O=!1;if(u==a.length||c<a[u].from){let t=e4[c];t!=h&&(s=!1,O=16==t)}let d=s||1!=h?null:[],f=s?n:n+1,p=c;t:for(;;)if(u<a.length&&p==a[u].from){if(O)break;let e=a[u];if(!s)for(let t=e.to,i=u+1;;){if(t==r)break t;if(i<a.length&&a[i].from==t)t=a[i++].to;else{if(e4[t]==h)break t;break}}(u++,d)?d.push(e):(e.from>c&&l.push(new e7(c,e.from,f)),t(i,e.direction==eF!=!(f%2)?n+1:n,o,e.inner,e.from,e.to,l),c=e.to),p=e.to}else{if(p==r||(s?e4[p]!=h:e4[p]==h))break;p++}d?e(i,c,p,n+1,o,d,l):c<p&&l.push(new e7(c,p,f)),c=p}else for(let c=r,u=a.length;c>s;){let r=!0,O=!1;if(!u||c>a[u-1].to){let t=e4[c-1];t!=h&&(r=!1,O=16==t)}let d=r||1!=h?null:[],f=r?n:n+1,p=c;t:for(;;)if(u&&p==a[u-1].to){if(O)break;let e=a[--u];if(!r)for(let t=e.from,i=u;;){if(t==s)break t;if(i&&a[i-1].to==t)t=a[--i].from;else{if(e4[t-1]==h)break t;break}}d?d.push(e):(e.to<c&&l.push(new e7(e.to,c,f)),t(i,e.direction==eF!=!(f%2)?n+1:n,o,e.inner,e.from,e.to,l),c=e.from),p=e.from}else{if(p==s||(r?e4[p-1]!=h:e4[p-1]==h))break;p--}d?e(i,p,c,n+1,o,d,l):p<c&&l.push(new e7(p,c,f)),c=p}}(e,n,o,i,s,r,a)}(t,r,r,i,0,t.length,s),s}(t.text,e,i);return this.bidiCache.push(new rQ(t.from,t.to,e,i,!0,s)),s}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||ef.safari&&(null===(t=this.inputState)||void 0===t?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{eD(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((9==t.nodeType?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let t of(this.root.activeElement==this.contentDOM&&this.contentDOM.blur(),this.plugins))t.de
10stroy(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(t,e={}){return id.of(new iO("number"==typeof t?F.cursor(t):t,e.y,e.x,e.yMargin,e.xMargin))}scrollSnapshot(){let{scrollTop:t,scrollLeft:e}=this.scrollDOM,i=this.viewState.scrollAnchorAt(t);return id.of(new iO(F.cursor(i.from),"start","start",i.top-t,e,!0))}setTabFocusMode(t){null==t?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof t?this.inputState.tabFocusMode=t?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+t)}static domEventHandlers(t){return iv.define(()=>({}),{eventHandlers:t})}static domEventObservers(t){return iv.define(()=>({}),{eventObservers:t})}static theme(t,e){let i=t5.newName(),s=[re.of(i),iA.of(ra(`.${i}`,t))];return e&&e.dark&&s.push(ri.of(!0)),s}static baseTheme(t){return tl.lowest(iA.of(ra("."+rs,t,ro)))}static findFromDOM(t){var e;let i=t.querySelector(".cm-content"),s=i&&iz.get(i)||iz.get(t);return(null===(e=s?.root)||void 0===e?void 0:e.view)||null}}rp.styleModule=iA,rp.inputHandler=ir,rp.clipboardInputFilter=ia,rp.clipboardOutputFilter=il,rp.scrollHandler=iu,rp.focusChangeEffect=io,rp.perLineTextDirection=ih,rp.exceptionSink=ii,rp.updateListener=is,rp.editable=ig,rp.mouseSelectionStyle=ie,rp.dragMovesSelection=it,rp.clickAddsSelectionRange=e6,rp.decorations=ix,rp.blockWrappers=ik,rp.outerDecorations=i$,rp.atomicRanges=iP,rp.bidiIsolatedRanges=iT,rp.scrollMargins=iX,rp.darkTheme=ri,rp.cspNonce=J.define({combine:t=>t.length?t[0]:""}),rp.contentAttributes=iy,rp.editorAttributes=iS,rp.lineWrapping=rp.contentAttributes.of({class:"cm-lineWrapping"}),rp.announce=tk.define();let rm=4096,rg={};class rQ{constructor(t,e,i,s,r,n){this.from=t,this.to=e,this.dir=i,this.isolates=s,this.fresh=r,this.order=n}static update(t,e){if(e.empty&&!t.some(t=>t.fresh))return t;let i=[],s=t.length?t[t.length-1].dir:eU.LTR;for(let r=Math.max(0,t.length-10);r<t.length;r++){let n=t[r];n.dir!=s||e.touchesRange(n.from,n.to)||i.push(new rQ(e.mapPos(n.from,1),e.mapPos(n.to,-1),n.dir,n.isolates,!1,n.order))}return i}}function rb(t,e,i){for(let s=t.state.facet(e),r=s.length-1;r>=0;r--){let e=s[r],n="function"==typeof e?e(t):e;n&&ep(n,i)}return i}let rv=ef.mac?"mac":ef.windows?"win":ef.linux?"linux":"key";function rw(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),!1!==i&&e.shiftKey&&(t="Shift-"+t),t}let rS=tl.default(rp.domEventHandlers({keydown:(t,e)=>rT(rk(e.state),t,e,"editor")})),ry=J.define({enables:rS}),rx=new WeakMap;function rk(t){let e=t.facet(ry),i=rx.get(e);return i||rx.set(e,i=function(t,e=rv){let i=Object.create(null),s=Object.create(null),r=(t,e)=>{let i=s[t];if(null==i)s[t]=e;else if(i!=e)throw Error("Key binding "+t+" is used both as a regular binding and as a multi-stroke prefix")},n=(t,s,n,o,a)=>{var l,h;let c=i[t]||(i[t]=Object.create(null)),u=s.split(/ (?!$)/).map(t=>(function(t,e){let i,s,r,n;let o=t.split(/-(?!$)/),a=o[o.length-1];"Space"==a&&(a=" ");for(let t=0;t<o.length-1;++t){let a=o[t];if(/^(cmd|meta|m)$/i.test(a))n=!0;else if(/^a(lt)?$/i.test(a))i=!0;else if(/^(c|ctrl|control)$/i.test(a))s=!0;else if(/^s(hift)?$/i.test(a))r=!0;else if(/^mod$/i.test(a))"mac"==e?n=!0:s=!0;else throw Error("Unrecognized modifier name: "+a)}return i&&(a="Alt-"+a),s&&(a="Ctrl-"+a),n&&(a="Meta-"+a),r&&(a="Shift-"+a),a})(t,e));for(let e=1;e<u.length;e++){let i=u.slice(0,e).join(" ");r(i,!0),c[i]||(c[i]={preventDefault:!0,stopPropagation:!1,run:[e=>{let s=r$={view:e,prefix:i,scope:t};return setTimeout(()=>{r$==s&&(r$=null)},4e3),!0}]})}let O=u.join(" ");r(O,!1);let d=c[O]||(c[O]={preventDefault:!1,stopPropagation:!1,run:(null===(h=null===(l=c._any)||void 0===l?void 0:l.run)||void 0===h?void 0:h.slice())||[]});n&&d.run.push(n),o&&(d.preventDefault=!0),a&&(d.stopPropagation=!0)};for(let s of t){let t=s.scope?s.scope.split(" "):["editor"];if(s.any)for(let e of t){let t=i[e]||(i[e]=Object.create(null));t._any||(t._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:r}=s;for(let e in t)t[e].run.push(t=>r(t,rP))}let r=s[e]||s.key;if(r)for(let e of t)n(e,r,s.run,s.preventDefault,s.stopPropagation),s.shift&&n(e,"Shift-"+r,
10s.shift,s.preventDefault,s.stopPropagation)}return i}(e.reduce((t,e)=>t.concat(e),[]))),i}let r$=null,rP=null;function rT(t,e,i,s){var r;rP=e;let n=("Esc"==(r=!(t8&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||t6&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?t9:t4)[e.keyCode]||e.key||"Unidentified")&&(r="Escape"),"Del"==r&&(r="Delete"),"Left"==r&&(r="ArrowLeft"),"Up"==r&&(r="ArrowUp"),"Right"==r&&(r="ArrowRight"),"Down"==r&&(r="ArrowDown"),r),o=q(z(n,0))==n.length&&" "!=n,a="",l=!1,h=!1,c=!1;r$&&r$.view==i&&r$.scope==s&&(a=r$.prefix+" ",0>sb.indexOf(e.keyCode)&&(h=!0,r$=null));let u=new Set,O=t=>{if(t){for(let e of t.run)if(!u.has(e)&&(u.add(e),e(i)))return t.stopPropagation&&(c=!0),!0;t.preventDefault&&(t.stopPropagation&&(c=!0),h=!0)}return!1},d=t[s],f,p;return d&&(O(d[a+rw(n,e,!o)])?l=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(ef.windows&&e.ctrlKey&&e.altKey)&&!(ef.mac&&e.altKey&&!(e.ctrlKey||e.metaKey))&&(f=t4[e.keyCode])&&f!=n?(O(d[a+rw(f,e,!0)])||e.shiftKey&&(p=t9[e.keyCode])!=n&&p!=f&&O(d[a+rw(p,e,!1)]))&&(l=!0):o&&e.shiftKey&&O(d[a+rw(n,e,!0)])&&(l=!0),!l&&O(d._any)&&(l=!0)),h&&(l=!0),l&&c&&e.stopPropagation(),rP=null,l}class rZ{constructor(t,e,i,s,r){this.className=t,this.left=e,this.top=i,this.width=s,this.height=r}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}update(t,e){return e.className==this.className&&(this.adjust(t),!0)}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",null!=this.width&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}static forRange(t,e,i){if(!i.empty)return function(t,e,i){if(i.to<=t.viewport.from||i.from>=t.viewport.to)return[];let s=Math.max(i.from,t.viewport.from),r=Math.min(i.to,t.viewport.to),n=t.textDirection==eU.LTR,o=t.contentDOM,a=o.getBoundingClientRect(),l=rX(t),h=o.querySelector(".cm-line"),c=h&&window.getComputedStyle(h),u=a.left+(c?parseInt(c.paddingLeft)+Math.min(0,parseInt(c.textIndent)):0),O=a.right-(c?parseInt(c.paddingRight):0),d=st(t,s,1),f=st(t,r,-1),p=d.type==ev.Text?d:null,m=f.type==ev.Text?f:null;if(p&&(t.lineWrapping||d.widgetLineBreaks)&&(p=rC(t,s,1,p)),m&&(t.lineWrapping||f.widgetLineBreaks)&&(m=rC(t,r,-1,m)),p&&m&&p.from==m.from&&p.to==m.to)return Q(b(i.from,i.to,p));{let e=p?b(i.from,null,p):v(d,!1),s=m?b(null,i.to,m):v(f,!0),r=[];return(p||d).to<(m||f).from-(p&&m?1:0)||d.widgetLineBreaks>1&&e.bottom+t.defaultLineHeight/2<s.top?r.push(g(u,e.bottom,O,s.top)):e.bottom<s.top&&t.elementAtHeight((e.bottom+s.top)/2).type==ev.Text&&(e.bottom=s.top=(e.bottom+s.top)/2),Q(e).concat(r).concat(Q(s))}function g(t,i,s,r){return new rZ(e,t-l.left,i-l.top,Math.max(0,s-t),r-i)}function Q({top:t,bottom:e,horizontal:i}){let s=[];for(let r=0;r<i.length;r+=2)s.push(g(i[r],t,i[r+1],e));return s}function b(e,i,s){let r=1e9,o=-1e9,a=[];function l(e,i,l,h,c){let d=t.coordsAtPos(e,e==s.to?-2:2),f=t.coordsAtPos(l,l==s.from?2:-2);d&&f&&(r=Math.min(d.top,f.top,r),o=Math.max(d.bottom,f.bottom,o),c==eU.LTR?a.push(n&&i?u:d.left,n&&h?O:f.right):a.push(!n&&h?u:f.left,!n&&i?O:d.right))}let h=e??s.from,c=i??s.to;for(let s of t.visibleRanges)if(s.to>h&&s.from<c)for(let r=Math.max(s.from,h),n=Math.min(s.to,c);;){let s=t.state.doc.lineAt(r);for(let o of t.bidiSpans(s)){let t=o.from+s.from,a=o.to+s.from;if(t>=n)break;a>r&&l(Math.max(t,r),null==e&&t<=h,Math.min(a,n),null==i&&a>=c,o.dir)}if((r=s.to+1)>=n)break}return 0==a.length&&l(h,null==e,c,null==i,t.textDirection),{top:r,bottom:o,horizontal:a}}function v(t,e){let i=a.top+(e?t.top:t.bottom);return{top:i,bottom:i,horizontal:[]}}}(t,e,i);{let s=t.coordsAtPos(i.head,i.assoc||1);if(!s)return[];let r=rX(t);return[new rZ(e,s.left-r.left,s.top-r.top,null,s.bottom-s.top)]}}}function rX(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==eU.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function rC(t,e,i,s){let r=t.coordsAtPos(e,2*i);if(!r)return s;let n=t.dom.getBoundingClientRect(),o=(r.top+r.bottom)/2,a=t.posAtCoords({x:n.left+1,y:o}),l=t.posAtCoords({x:n.right-1,y:o});return null==a||null==l?s:{from:Math.max(s.from,Math.min(a,l)),to:Math.min(s.to,Math.max(a,l))}}class rA{constructor(t,e){this.view=t,this.layer=e,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=t.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),e.above&&this.dom.classList.add("cm-layer-above"),e.class&&this.dom.classList.add(e.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(t.state),t.requestMeasure(this.measureReq),e.mount&&e.mount(this.dom,t)}update(t){t.startState.facet(rM)!=t.state.facet(rM)&&this.setOrder(t.state),(this.layer.update(t,this.dom)||t.geometryChanged)&&(this.scale(),t.view.requestMeasure(this.measureReq))}docViewUpdate(t){!1!==this.layer.updateOnDocViewUpdate&&t.requestMeasure(this.measureReq)}setOrder(t){let e=0,i=t.facet(rM);for(;e<i.length&&i[e]!=this.layer;)e++;this.dom.style.zIndex=String((this.layer.above?150:-1)-e)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:t,scaleY:e}=this.view;(t!=this.scaleX||e!=this.scaleY)&&(this.scaleX=t,this.scaleY=e,this.dom.style.transform=`scale(${1/t}, ${1/e})`)}draw(t){if(t.length!=this.drawn.length||t.some((t,e)=>{var i;return i=this.drawn[e],!(t.constructor==i.constructor&&t.eq(i))})){let e=this.dom.firstChild,i=0;for(let s of t)s.update&&e&&s.constructor&&this.drawn[i].constructor&&s.update(e,this.drawn[i])?(e=e.nextSibling,i++):this.dom.insertBefore(s.draw(),e);for(;e;){let t=e.nextSibling;e.remove(),e=t}this.drawn=t,ef.safari&&ef.safari_version>=26&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}let rM=J.define();function rR(t){return[iv.define(e=>new rA(e,t)),rM.of(t)]}let r_=J.define({combine:t=>tR(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,e)=>Math.min(t,e),drawRangeCursor:(t,e)=>t||e})});function rz(t){return t.startState.facet(r_)!=t.state.facet(r_)}let rY=rR({above:!0,markers(t){let{state:e}=t,i=e.facet(r_),s=[];for(let r of e.selection.ranges){let n=r==e.selection.main;if(r.empty||i.drawRangeCursor){let e=n?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",i=r.empty?r:F.cursor(r.head,r.head>r.anchor?-1:1);for(let r of rZ.forRange(t,e,i))s.push(r)}}return s},update(t,e){t.transactions.some(t=>t.selection)&&(e.style.animationName="cm-blink"==e.style.animationName?"cm-blink2":"cm-blink");let i=rz(t);return i&&rq(t.state,e),t.docChanged||t.selectionSet||i},mount(t,e){rq(e.state,t)},class:"cm-cursorLayer"});function rq(t,e){e.style.animationDuration=t.facet(r_).cursorBlinkRate+"ms"}let rV=rR({above:!1,markers:t=>t.state.selection.ranges.map(e=>
vendor: 1,791 bytes, line 10
10e.empty?[]:rZ.forRange(t,"cm-selectionBackground",e)).reduce((t,e)=>t.concat(e)),update:(t,e)=>t.docChanged||t.selectionSet||t.viewportChanged||rz(t),class:"cm-selectionLayer"}),rE=tl.highest(rp.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}})),rW=tk.define({map:(t,e)=>null==t?null:e.mapPos(t)}),rD=tn.define({create:()=>null,update:(t,e)=>(null!=t&&(t=e.changes.mapPos(t)),e.effects.reduce((t,e)=>e.is(rW)?e.value:t,t))}),rL=iv.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(rD);null==i?null!=this.cursor&&(null===(e=this.cursor)||void 0===e||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(rD)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(rD),i=null!=e&&t.coordsAtPos(e);if(!i)return null;let s=t.scrollDOM.getBoundingClientRect();return{left:i.left-s.left+t.scrollDOM.scrollLeft*t.scaleX,top:i.top-s.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(rD)!=t&&this.view.dispatch({effects:rW.of(t)}
10)}},{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 rj(t,e,i,s,r){e.lastIndex=0;for(let n=t.iterRange(i,s),o=i,a;!n.next().done;o+=n.value.length)if(!n.lineBreak)for(;a=e.exec(n.value);)r(o+a.index,a)}class rB{constructor(t){let{regexp:e,decoration:i,decorate:s,boundary:r,maxLength:n=1e3}=t;if(!e.global)throw RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=e,s)this.addMatch=(t,e,i,r)=>s(r,i,i+t[0].length,t,e);else if("function"==typeof i)this.addMatch=(t,e,s,r)=>{let n=i(t,e,s);n&&r(s,s+t[0].length,n)};else if(i)this.addMatch=(t,e,s,r)=>r(s,s+t[0].length,i);else throw RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=r,this.maxLength=n}createDeco(t){let e=new tW,i=e.add.bind(e);for(let{from:e,to:s}of function(t,e){let i=t.visibleRanges;if(1==i.length&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let s=[];for(let{from:r,to:n}of i)r=Math.max(t.state.doc.lineAt(r).from,r-e),n=Math.min(t.state.doc.lineAt(n).to,n+e),s.length&&s[s.length-1].to>=r?s[s.length-1].to=n:s.push({from:r,to:n});return s}(t,this.maxLength))rj(t.state.doc,this.regexp,e,s,(e,s)=>this.addMatch(s,t,e,i));return e.finish()}updateDeco(t,e){let i=1e9,s=-1;return t.docChanged&&t.changes.iterChanges((e,r,n,o)=>{o>=t.view.viewport.from&&n<=t.view.viewport.to&&(i=Math.min(n,i),s=Math.max(o,s))}),t.viewportMoved||s-i>1e3?this.createDeco(t.view):s>-1?this.updateRange(t.view,e.map(t.changes),i,s):e}updateRange(t,e,i,s){for(let r of t.visibleRanges){let n=Math.max(r.from,i),o=Math.min(r.to,s);if(o>=n){let i=t.state.doc.lineAt(n),s=i.to<o?t.state.doc.lineAt(o):i,a=Math.max(r.from,i.from),l=Math.min(r.to,s.to);if(this.boundary){for(;n>i.from;n--)if(this.boundary.test(i.text[n-1-i.from])){a=n;break}for(;o<s.to;o++)if(this.boundary.test(s.text[o-s.from])){l=o;break}}let h=[],c,u=(t,e,i)=>h.push(i.range(t,e));if(i==s)for(this.regexp.lastIndex=a-i.from;(c=this.regexp.exec(i.text))&&c.index<l-i.from;)this.addMatch(c,t,c.index+i.from,u);else rj(t.state.doc,this.regexp,a,l,(e,i)=>this.addMatch(i,t,e,u));e=e.update({filterFrom:a,filterTo:l,filter:(t,e)=>t<a||e>l,add:h})}}return e}}let rI=null!=/x/.unicode?"gu":"g",rG=RegExp(`[\0-\b
11-�\x7f-\x9f\xad؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,rI),rN={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"},rU=null,rF=J.define({combine(t){let e=tR(t,{render:null,specialChars:rG,addSpecialChars:null});return(e.replaceTabs=!function(){var t;if(null==rU&&"u">typeof document&&document.body){let e=document.body.style;rU=(null!==(t=e.tabSize)&&void 0!==t?t:e.MozTabSize)!=null}return rU||!1}())&&(e.specialChars=RegExp("	|"+e.specialChars.source,rI)),e.addSpecialChars&&(e.specialChars=RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,rI)),e}}),rH=null;class rK extends eb{constructor(t,e){super(),this.options=t,this.co
vendor: 4,680 bytes, line 11
11de=e}eq(t){return t.code==this.code}toDOM(t){var e;let i=(e=this.code)>=32?"•":10==e?"␤":String.fromCharCode(9216+e),s=t.state.phrase("Control character")+" "+(rN[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,s,i);if(r)return r;let n=document.createElement("span");return n.textContent=i,n.title=s,n.setAttribute("aria-label",s),n.className="cm-specialChar",n}ignoreEvent(){return!1}}class rJ extends eb{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent="	",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}let r0=ew.line({class:"cm-activeLine"}),r1=iv.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 s of t.state.selection.ranges){let r=t.lineBlockAt(s.head);r.from>e&&(i.push(r0.range(r.from)),e=r.from)}return ew.set(i)}},{decorations:t=>t.decorations});class r2 extends eb{constructor(t){super(),this.content=t}toDOM(t){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(t):this.content.cloneNode(!0)),e.setAttribute("aria-hidden","true"),e}coordsAt(t){let e=t.firstChild?eC(t.firstChild):[];if(!e.length)return null;let i=window.getComputedStyle(t.parentNode),s=eY(e[0],"rtl"!=i.direction),r=parseInt(i.lineHeight);return s.bottom-s.top>1.5*r?{left:s.left,right:s.right,top:s.top,bottom:s.top+r}:s}ignoreEvent(){return!1}}function r5(t,e){var i;let s;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),n=t.state.doc.lineAt(r),o=r-n.from,a=o>2e3?-1:o==n.length?(i=e.clientX,(s=t.coordsAtPos(t.viewport.from))?Math.round(Math.abs((s.left-i)/t.defaultCharacterWidth)):-1):tK(n.text,t.state.tabSize,r-n.from);return{line:n.number,col:a,off:o}}let r3={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},r7={style:"cursor: crosshair"},r4="-10000px";class r9{constructor(t,e,i,s){this.facet=e,this.createTooltipView=i,this.removeTooltipView=s,this.input=t.state.facet(e),this.tooltips=this.input.filter(t=>t);let r=null;this.tooltipViews=this.tooltips.map(t=>r=i(t,r))}update(t,e){var i;let s=t.state.facet(this.facet),r=s.filter(t=>t);if(s===this.input){for(let e of this.tooltipViews)e.update&&e.update(t);return!1}let n=[],o=e?[]:null;for(let i=0;i<r.length;i++){let s=r[i],a=-1;if(s){for(let t=0;t<this.tooltips.length;t++){let e=this.tooltips[t];e&&e.create==s.create&&(a=t)}if(a<0)n[i]=this.createTooltipView(s,i?n[i-1]:null),o&&(o[i]=!!s.above);else{let s=n[i]=this.tooltipViews[a];o&&(o[i]=e[a]),s.update&&s.update(t)}}}for(let t of this.tooltipViews)0>n.indexOf(t)&&(this.removeTooltipView(t),null===(i=t.destroy)||void 0===i||i.call(t));return e&&(o.forEach((t,i)=>e[i]=t),e.length=o.length),this.input=s,this.tooltips=r,this.tooltipViews=n,!0}}function r8(t){let e=t.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:e.clientHeight,right:e.clientWidth}}let r6=J.define({combine:t=>{var e,i,s;return{position:ef.ios?"absolute":(null===(e=t.find(t=>t.position))||void 0===e?void 0:e.position)||"fixed",parent:(null===(i=t.find(t=>t.parent))||void 0===i?void 0:i.parent)||null,tooltipSpace:(null===(s=t.find(t=>t.tooltipSpace))||void 0===s?void 0:s.tooltipSpace)||r8}}}),nt=new WeakMap,ne=iv.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(r6);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="function"==typeof ResizeObserver?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new r9(t,nn,(t,e)=>this.createTooltip(t,e),t=>{this.resizeObserver&&this.resizeObserver.unobserve(t.dom),t.dom.remove()}),this.above=this.manager.tooltips.map(t=>!!t.above),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.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.theme
11Classes,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver)for(let t of(this.intersectionObserver.disconnect(),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,s=t.state.facet(r6);if(s.position!=this.position&&!this.madeAbsolute){for(let t of(this.position=s.position,this.manager.tooltipViews))t.dom.style.position=this.position;i=!0}if(s.parent!=this.parent){for(let t of(this.parent&&this.container.remove(),this.parent=s.parent,this.createContainer(),this.manager.tooltipViews))this.container.appendChild(t.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),s=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",i.dom.appendChild(t)}return i.dom.style.position=this.position,i.dom.style.top=r4,i.dom.style.left="0px",this.container.insertBefore(i.dom,s),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;for(let e of(this.view.win.removeEventListener("resize",this.measureSoon),this.manager.tooltipViews))e.dom.remove(),null===(t=e.destroy)||void 0===t||t.call(e);this.parent&&this.container.remove(),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(i=this.intersectionObserver)||void 0===i||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=1,e=1,i=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:t}=this.manager.tooltipViews[0];if(ef.safari){let e=t.getBoundingClientRect();i=Math.abs(e.top+1e4)>1||Math.abs(e.left)>1}else i=!!t.offsetParent&&t.offsetParent!=this.container.ownerDocument.body}if(i||"absolute"==this.position){if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(t=i.width/this.parent.offsetWidth,e=i.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:e}=this.view.viewState)}let s=this.view.scrollDOM.getBoundingClientRect(),r=iC(this.view);return{visible:{left:s.left+r.left,top:s.top+r.top,right:s.right-r.right,bottom:s.bottom-r.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((t,e)=>{let i=this.manager.tooltipViews[e];return i.getCoords?i.getCoords(t.pos):this.view.coordsAtPos(t.pos)}),size:this.manager.tooltipViews.map(({dom:t})=>t.getBoundingClientRect()),space:this.view.state.facet(r6).tooltipSpace(this.view),scaleX:t,scaleY:e,makeAbsolute:i}}writeMeasure(t){var e;if(t.makeAbsolute)for(let t of(this.madeAbsolute=!0,this.position="absolute",this.manager.tooltipViews))t.dom.style.position="absolute";let{visible:i,space:s,scaleX:r,scaleY:n}=t,o=[];for(let a=0;a<this.manager.tooltips.length;a++){let l=this.manager.tooltips[a],h=this.manager.tooltipViews[a],{dom:c}=h,u=t.pos[a],O=t.size[a];if(!u||!1!==l.clip&&(u.bottom<=Math.max(i.top,s.top)||u.top>=Math.min(i.bottom,s.bottom)||u.right<Math.max(i.left,s.left)-.1||u.left>Math.min(i.right,s.right)+.1)){c.style.top=r4;continue}let d=l.arrow?h.dom.querySelector(".cm-tooltip-arrow"):null,f=d?7:0,p=O.right-O.left,m=null!==(e=nt.get(h))&&void 0!==e?e:O.bottom-O.top,g=h.offset||nr,Q=this.view.textDirection==eU.LTR,b=O.width>s.right-s.left?Q?s.left:s.right-O.width:Q?Math.max(s.left,Math.min(u.left-(d?14:0)+g.x,s.right-p)):Math.min(Math.max(s.left,u.left-p+(d?14:0)-g.x),s.right-p),v=this.above[a];!l.strictSide&&(v?u.top-m-f-g.y<s.top:u.bottom+m+f+g.y>s.bottom)&&v==s.bottom-u.bottom>u.top-s.top&&(v=this.above[a]=!v);let w=(v?u.top-s.top:s.bottom-u.bottom)-f;if(w<m&&!1!==h.resize){if(w<this.view.defaultLineHeight){c.style.top=r4;continue}nt.set(h,m),c.style.height=(m=w)/n+"px"}else c.style.height&&(c.style.height="");let S=v?u.top-m-f-g.y:u.bottom+f+g.y,y=b+p;if(!0!==h.overlap)for(let t of o)t.left<y&&t.right>b&&t.top<S+m&&t.bottom>S&&(S=v?t.top-m-2-f:t.bottom+f+2);if("absolute"==this.position?(c.style.top=(S-t.parent.top)/n+"px",ni(c,(b-t.parent.left)/r)):(c.style.top=S/n+"px",ni(c,b/r)),d){let t=u.left+(Q?g.x:-g.x)-(b+14-7);d.style.left=t/r+"px"}!0!==h.overlap&&o.push({left:b,top:S,right:y,bottom:S+m}),c.classList.toggle("cm-tooltip-above",v),c.classList.toggle("cm-tooltip-below",!v),h.positioned&&h.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&
11(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=r4}},{eventObservers:{scroll(){this.maybeMeasure()}}});function ni(t,e){let i=parseInt(t.style.left,10);(isNaN(i)||Math.abs(e-i)>1)&&(t.style.left=e+"px")}let ns=rp.baseTheme({".cm-tooltip":{zIndex:500,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:"14px",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"}}}),nr={x:0,y:0},nn=J.define({enables:[ne,ns]}),no=J.define({combine:t=>t.reduce((t,e)=>t.concat(e),[])});class na{static create(t){return new na(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new r9(t,no,(t,e)=>this.createHostedView(t,e),t=>t.dom.remove())}createHostedView(t,e){let i=t.create(this.view);return i.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(i.dom,e?e.dom.nextSibling:this.dom.firstChild),this.mounted&&i.mount&&i.mount(this.view),i}mount(t){for(let e of this.manager.tooltipViews)e.mount&&e.mount(t);this.mounted=!0}positioned(t){for(let e of this.manager.tooltipViews)e.positioned&&e.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let e of this.manager.tooltipViews)null===(t=e.destroy)||void 0===t||t.call(e)}passProp(t){let e;for(let i of this.manager.tooltipViews){let s=i[t];if(void 0!==s){if(void 0===e)e=s;else if(e!==s)return}}return e}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}let nl=nn.compute([no],t=>{let e=t.facet(no);return 0===e.length?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.map(t=>{var e;return null!==(e=t.end)&&void 0!==e?e:t.pos})),create:na.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class nh{constructor(t,e,i,s,r){this.view=t,this.source=e,this.field=i,this.setHover=s,this.hoverTime=r,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.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 t=Date.now()-this.lastMove.time;t<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-t):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:t,lastMove:e}=this,i=t.docView.tile.nearest(e.target);if(!i)return;let s,r=1;if(i.isWidget())s=i.posAtStart;else{if(null==(s=t.posAtCoords(e)))return;let i=t.coordsAtPos(s);if(!i||e.y<i.top||e.y>i.bottom||e.x<i.left-t.defaultCharacterWidth||e.x>i.right+t.defaultCharacterWidth)return;let n=t.bidiSpans(t.state.doc.lineAt(s)).find(t=>t.from<=s&&t.to>=s),o=n&&n.dir==eU.RTL?-1:1;r=e.x<i.left?-o:o}let n=this.source(t,s,r);if(n?.then){let e=this.pending={pos:s};n.then(i=>{this.pending==e&&(this.pending=null,i&&!(Array.isArray(i)&&!i.length)&&t.dispatch({effects:this.setHover.of(Array.isArray(i)?i:[i])}))},e=>im(t.state,e,"hover tooltip"))}else n&&!(Array.isArray(n)&&!n.length)&&t.dispatch({effects:this.setHover.of(Array.isArray(n)?n:[n])})}get tooltip(){let t=this.view.plugin(ne),e=t?t.manager.tooltips.findIndex(t=>t.create==na.create):-1;return e>-1?t.manager.tooltipViews[e]:null}mousemove(t){var e,i;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:s,tooltip:r}=this;if(s.length&&r&&!function(t,e){let{left:i,right:s,top:r,bottom:n}=t.getBoundingClientRect(),o;
11if(o=t.querySelector(".cm-tooltip-arrow")){let t=o.getBoundingClientRect();r=Math.min(t.top,r),n=Math.max(t.bottom,n)}return e.clientX>=i-4&&e.clientX<=s+4&&e.clientY>=r-4&&e.clientY<=n+4}(r.dom,t)||this.pending){let{pos:r}=s[0]||this.pending,n=null!==(i=null===(e=s[0])||void 0===e?void 0:e.end)&&void 0!==i?i:r;(r==n?this.view.posAtCoords(this.lastMove)==r:function(t,e,i,s,r,n){let o=t.scrollDOM.getBoundingClientRect(),a=t.documentTop+t.documentPadding.top+t.contentHeight;if(o.left>s||o.right<s||o.top>r||Math.min(o.bottom,a)<r)return!1;let l=t.posAtCoords({x:s,y:r},!1);return l>=e&&l<=i}(this.view,r,n,t.clientX,t.clientY))||(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:e}=this;if(e.length){let{tooltip:e}=this;e&&e.dom.contains(t.relatedTarget)?this.watchTooltipLeave(e.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(t){let e=i=>{t.removeEventListener("mouseleave",e),this.active.length&&!this.view.dom.contains(i.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};t.addEventListener("mouseleave",e)}destroy(){clearTimeout(this.hoverTimeout),clearTimeout(this.restartTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function nc(t,e){let i=t.plugin(ne);if(!i)return null;let s=i.manager.tooltips.indexOf(e);return s<0?null:i.manager.tooltipViews[s]}let nu=tk.define(),nO=J.define({combine(t){let e,i;for(let s of t)e=e||s.topContainer,i=i||s.bottomContainer;return{topContainer:e,bottomContainer:i}}});function nd(t,e){let i=t.plugin(nf),s=i?i.specs.indexOf(e):-1;return s>-1?i.panels[s]:null}let nf=iv.fromClass(class{constructor(t){this.input=t.state.facet(ng),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(e=>e(t));let e=t.state.facet(nO);for(let i of(this.top=new np(t,!0,e.topContainer),this.bottom=new np(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top)),this.panels))i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(nO);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new np(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new np(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(ng);if(i!=this.input){let e=i.filter(t=>t),s=[],r=[],n=[],o=[];for(let i of e){let e=this.specs.indexOf(i),a;e<0?(a=i(t.view),o.push(a)):(a=this.panels[e]).update&&a.update(t),s.push(a),(a.top?r:n).push(a)}for(let t of(this.specs=e,this.panels=s,this.top.sync(r),this.bottom.sync(n),o))t.dom.classList.add("cm-panel"),t.mount&&t.mount()}else for(let e of this.panels)e.update&&e.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>rp.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class np{constructor(t,e,i){this.view=t,this.top=e,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let e of this.panels)e.destroy&&0>t.indexOf(e)&&e.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(0==this.panels.length){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 t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let t=this.dom.firstChild;for(let e of this.panels)if(e.dom.parentNode==this.dom){for(;t!=e.dom;)t=nm(t);t=t.nextSibling}else this.dom.insertBefore(e.dom,t);for(;t;)t=nm(t)}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.theme
11Classes)){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function nm(t){let e=t.nextSibling;return t.remove(),e}let ng=J.define({enables:nf}),nQ=tn.define({create:()=>[],update(t,e){for(let i of e.effects)i.is(nb)?t=[i.value].concat(t):i.is(nv)&&(t=t.filter(t=>t!=i.value));return t},provide:t=>ng.computeN([t],e=>e.field(t))}),nb=tk.define(),nv=tk.define();class nw extends t_{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}nw.prototype.elementClass="",nw.prototype.toDOM=void 0,nw.prototype.mapMode=E.TrackBefore,nw.prototype.startSide=nw.prototype.endSide=-1,nw.prototype.point=!0;let nS=J.define(),ny=J.define(),nx={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>tE.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},nk=J.define(),n$=J.define({combine:t=>t.some(t=>t)}),nP=iv.fromClass(class{constructor(t){for(let e of(this.view=t,this.domAfter=null,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(nk).map(e=>new nC(t,e)),this.fixed=!t.state.facet(n$),this.gutters))"after"==e.config.side?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,s=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(s<(i.to-i.from)*.8)}if(t.geometryChanged){let t=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=t,this.domAfter&&(this.domAfter.style.minHeight=t)}this.view.state.facet(n$)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let i=tE.iter(this.view.state.facet(nS),this.view.viewport.from),s=[],r=this.gutters.map(t=>new nX(t,this.view.viewport,-this.view.documentPadding.top));for(let t of this.view.viewportLineBlocks)if(s.length&&(s=[]),Array.isArray(t.type)){let e=!0;for(let n of t.type)if(n.type==ev.Text&&e){for(let t of(nZ(i,s,n.from),r))t.line(this.view,n,s);e=!1}else if(n.widget)for(let t of r)t.widget(this.view,n)}else if(t.type==ev.Text)for(let e of(nZ(i,s,t.from),r))e.line(this.view,t,s);else if(t.widget)for(let e of r)e.widget(this.view,t);for(let t of r)t.finish();t&&(this.view.scrollDOM.insertBefore(this.dom,e),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(t){let e=t.startState.facet(nk),i=t.state.facet(nk),s=t.docChanged||t.heightChanged||t.viewportChanged||!tE.eq(t.startState.facet(nS),t.state.facet(nS),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let e of this.gutters)e.update(t)&&(s=!0);else{s=!0;let r=[];for(let s of i){let i=e.indexOf(s);i<0?r.push(new nC(this.view,s)):(this.gutters[i].update(t),r.push(this.gutters[i]))}for(let t of this.gutters)t.dom.remove(),0>r.indexOf(t)&&t.destroy();for(let t of r)"after"==t.config.side?this.getDOMAfter().appendChild(t.dom):this.dom.appendChild(t.dom);this.gutters=r}return s}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:t=>rp.scrollMargins.of(e=>{let i=e.plugin(t);
vendor: 4,005 bytes, line 11
11if(!i||0==i.gutters.length||!i.fixed)return null;let s=i.dom.offsetWidth*e.scaleX,r=i.domAfter?i.domAfter.offsetWidth*e.scaleX:0;return e.textDirection==eU.LTR?{left:s,right:r}:{right:s,left:r}})});function nT(t){return Array.isArray(t)?t:[t]}function nZ(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}class nX{constructor(t,e,i){this.gutter=t,this.height=i,this.i=0,this.cursor=tE.iter(t.markers,e.from)}addElement(t,e,i){let{gutter:s}=this,r=(e.top-this.height)/t.scaleY,n=e.height/t.scaleY;if(this.i==s.elements.length){let e=new nA(t,n,r,i);s.elements.push(e),s.dom.appendChild(e.dom)}else s.elements[this.i].update(t,n,r,i);this.height=e.bottom,this.i++}line(t,e,i){let s=[];nZ(this.cursor,s,e.from),i.length&&(s=s.concat(i));let r=this.gutter.config.lineMarker(t,e,s);r&&s.unshift(r);let n=this.gutter;(0!=s.length||n.config.renderEmptyElements)&&this.addElement(t,e,s)}widget(t,e){let i=this.gutter.config.widgetMarker(t,e.widget,e),s=i?[i]:null;for(let i of t.state.facet(ny)){let r=i(t,e.widget,e);r&&(s||(s=[])).push(r)}s&&this.addElement(t,e,s)}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let e=t.elements.pop();t.dom.removeChild(e.dom),e.destroy()}}}class nC{constructor(t,e){for(let i in this.view=t,this.config=e,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:""),e.domEventHandlers)this.dom.addEventListener(i,s=>{let r=s.target,n;if(r!=this.dom&&this.dom.contains(r)){for(;r.parentNode!=this.dom;)r=r.parentNode;let t=r.getBoundingClientRect();n=(t.top+t.bottom)/2}else n=s.clientY;let o=t.lineBlockAtHeight(n-t.documentTop);e.domEventHandlers[i](t,o,s)&&s.preventDefault()});this.markers=nT(e.markers(t)),e.initialSpacer&&(this.spacer=new nA(t,0,0,[e.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let e=this.markers;if(this.markers=nT(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let e=this.config.updateSpacer(this.spacer.markers[0],t);e!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[e])}let i=t.view.viewport;return!tE.eq(this.markers,e,i.from,i.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(t)}destroy(){for(let t of this.elements)t.destroy()}}class nA{constructor(t,e,i,s){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,e,i,s)}update(t,e,i,s){this.height!=e&&(this.height=e,this.dom.style.height=e+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),function(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}(this.markers,s)||this.setMarkers(t,s)}setMarkers(t,e){let i="cm-gutterElement",s=this.dom.firstChild;for(let r=0,n=0;;){let o=n,a=r<e.length?e[r++]:null,l=!1;if(a){let t=a.elementClass;t&&(i+=" "+t);for(let t=n;t<this.markers.length;t++)if(this.markers[t].compare(a)){o=t,l=!0;break}}else o=this.markers.length;for(;n<o;){let t=this.markers[n++];if(t.toDOM){t.destroy(s);let e=s.nextSibling;s.remove(),s=e}}if(!a)break;a.toDOM&&(l?s=s.nextSibling:this.dom.insertBefore(a.toDOM(t),s)),l&&n++}this.dom.className=i,this.markers=e}destroy(){this.setMarkers(null,[])}}let nM=J.define(),nR=J.define(),n_=J.define({combine:t=>tR(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(t,e){let i=Object.assign({},t);for(let t in e){let s=i[t],r=e[t];i[t]=s?(t,e,i)=>s(t,e,i)||r(t,e,i):r}return i}})});class nz extends nw{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function nY(t,e){return t.state.facet(n_).formatNumber(e,t.state)}let nq=nk.compute([n_],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:t=>t.state.facet(nM),lineMarker:(t,e,i)=>i.some(t=>t.toDOM)?null:new nz(nY(t,t.state.doc.lineAt(e.from).number)),widgetMarker:(t,e,i)=>
11{for(let s of t.state.facet(nR)){let r=s(t,e,i);if(r)return r}return null},lineMarkerChange:t=>t.startState.facet(n_)!=t.state.facet(n_),initialSpacer:t=>new nz(nY(t,nV(t.state.doc.lines))),updateSpacer(t,e){let i=nY(e.view,nV(e.view.state.doc.lines));return i==t.number?t:new nz(i)},domEventHandlers:t.facet(n_).domEventHandlers,side:"before"}));function nV(t){let e=9;for(;e<t;)e=10*e+9;return e}let nE=new class extends nw{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},nW=nS.compute(["selection"],t=>{let e=[],i=-1;for(let s of t.selection.ranges){let r=t.doc.lineAt(s.head).from;r>i&&(i=r,e.push(nE.range(r)))}return tE.of(e)}),nD=0;class nL{constructor(t,e){this.from=t,this.to=e}}class nj{constructor(t={}){this.id=nD++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")}),this.combine=t.combine||null}add(t){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof t&&(t=nG.match(t)),e=>{let i=t(e);return void 0===i?null:[this,i]}}}nj.closedBy=new nj({deserialize:t=>t.split(" ")}),nj.openedBy=new nj({deserialize:t=>t.split(" ")}),nj.group=new nj({deserialize:t=>t.split(" ")}),nj.isolate=new nj({deserialize:t=>{if(t&&"rtl"!=t&&"ltr"!=t&&"auto"!=t)throw RangeError("Invalid value for isolate: "+t);return t||"auto"}}),nj.contextHash=new nj({perNode:!0}),nj.lookAhead=new nj({perNode:!0}),nj.mounted=new nj({perNode:!0});class nB{constructor(t,e,i,s=!1){this.tree=t,this.overlay=e,this.parser=i,this.bracketed=s}static get(t){return t&&t.props&&t.props[nj.mounted.id]}}let nI=Object.create(null);class nG{constructor(t,e,i,s=0){this.name=t,this.props=e,this.id=i,this.flags=s}static define(t){let e=t.props&&t.props.length?Object.create(null):nI,i=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(null==t.name?8:0),s=new nG(t.name||"",e,t.id,i);if(t.props){for(let i of t.props)if(Array.isArray(i)||(i=i(s)),i){if(i[0].perNode)throw RangeError("Can't store a per-node prop on a node type");e[i[0].id]=i[1]}}return s}prop(t){return this.props[t.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(t){if("string"==typeof t){if(this.name==t)return!0;let e=this.prop(nj.group);return!!e&&e.indexOf(t)>-1}return this.id==t}static match(t){let e=Object.create(null);for(let i in t)for(let s of i.split(" "))e[s]=t[i];return t=>{for(let i=t.prop(nj.group),s=-1;s<(i?i.length:0);s++){let r=e[s<0?t.name:i[s]];if(r)return r}}}}nG.none=new nG("",Object.create(null),0,8);class nN{constructor(t){this.types=t;for(let e=0;e<t.length;e++)if(t[e].id!=e)throw RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let e=[];for(let i of this.types){let s=null;for(let e of t){let t=e(i);if(t){s||(s=Object.assign({},i.props));let e=t[1],r=t[0];r.combine&&r.id in s&&(e=r.combine(s[r.id],e)),s[r.id]=e}}e.push(s?new nG(i.name,s,i.id,i.flags):i)}return new nN(e)}}let nU=new WeakMap,nF=new WeakMap;(u=O||(O={}))[u.ExcludeBuffers=1]="ExcludeBuffers",u[u.IncludeAnonymous=2]="IncludeAnonymous",u[u.IgnoreMounts=4]="IgnoreMounts",u[u.IgnoreOverlays=8]="IgnoreOverlays",u[u.EnterBracketed=16]="EnterBracketed";class nH{constructor(t,e,i,s,r){if(this.type=t,this.children=e,this.positions=i,this.length=s,this.props=null,r&&r.length)for(let[t,e]of(this.props=Object.create(null),r))this.props["number"==typeof t?t:t.id]=e}toString(){let t=nB.get(this);if(t&&!t.overlay)return t.tree.toString();let e="";for(let t of this.children){let i=t.toString();i&&(e&&(e+=","),e+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(e.length?"("+e+")":""):e}cursor(t=0){return new ot(this.topNode,t)}cursorAt(t,e=0,i=0){let s=new ot(nU.get(this)||this.topNode);return s.moveTo(t,e),nU.set(this,s._tree),s}get topNode(){return new n5(this,0,0,null)}resolve(t,e=0){let i=n1(nU.get(this)||this.topNode,t,e,!1);return nU.set(this,i),i}resolveInner(t,e=0){let i=n1(nF.get(this)||this.topNode,t,e,!0);return nF.set(this,i),i}
vendor: 4,479 bytes, line 11
11resolveStack(t,e=0){return function(t,e,i){let s=t.resolveInner(e,i),r=null;for(let t=s instanceof n5?s:s.context.parent;t;t=t.parent)if(t.index<0){let n=t.parent;(r||(r=[s])).push(n.resolve(e,i)),t=n}else{let n=nB.get(t.tree);if(n&&n.overlay&&n.overlay[0].from<=e&&n.overlay[n.overlay.length-1].to>=e){let o=new n5(n.tree,n.overlay[0].from+t.from,-1,t);(r||(r=[s])).push(n1(o,e,i,!1))}}return r?n8(r):s}(this,t,e)}iterate(t){let{enter:e,leave:i,from:s=0,to:r=this.length}=t,n=t.mode||0,o=(n&O.IncludeAnonymous)>0;for(let t=this.cursor(n|O.IncludeAnonymous);;){let n=!1;if(t.from<=r&&t.to>=s&&(!o&&t.type.isAnonymous||!1!==e(t))){if(t.firstChild())continue;n=!0}for(;n&&i&&(o||!t.type.isAnonymous)&&i(t),!t.nextSibling();){if(!t.parent())return;n=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let e in this.props)t.push([+e,this.props[e]]);return t}balance(t={}){return this.children.length<=8?this:or(nG.none,this.children,this.positions,0,this.children.length,0,this.length,(t,e,i)=>new nH(this.type,t,e,i,this.propValues),t.makeTree||((t,e,i)=>new nH(nG.none,t,e,i)))}static build(t){return function(t){var e;let{buffer:i,nodeSet:s,maxBufferLength:r=1024,reused:n=[],minRepeatType:o=s.types.length}=t,a=Array.isArray(i)?new nK(i,i.length):i,l=s.types,h=0,c=0;function u(t,e,i,r,n,o,a,l,h){let c=[],u=[];for(;t.length>r;)c.push(t.pop()),u.push(e.pop()+i-n);t.push(O(s.types[a],c,u,o-n,l-o,h)),e.push(n-i)}function O(t,e,i,s,r,n,o){if(n){let t=[nj.contextHash,n];o=o?[t].concat(o):[t]}if(r>25){let t=[nj.lookAhead,r];o=o?[t].concat(o):[t]}return new nH(t,e,i,s,o)}let d=[],f=[];for(;a.pos>0;)!function t(e,i,d,f,p,m){let{id:g,start:Q,end:b,size:v}=a,w=c,S=h;if(v<0){if(a.next(),-1==v){let t=n[g];d.push(t),f.push(Q-e);return}if(-3==v){h=g;return}if(-4==v){c=g;return}else throw RangeError(`Unrecognized record size: ${v}`)}let y=l[g],x,k,$=Q-e;if(b-Q<=r&&(k=function(t,e){let i=a.fork(),s=0,n=0,l=0,h=i.end-r,c={size:0,start:0,skip:0};t:for(let r=i.pos-t;i.pos>r;){let t=i.size;if(i.id==e&&t>=0){c.size=s,c.start=n,c.skip=l,l+=4,s+=4,i.next();continue}let a=i.pos-t;if(t<0||a<r||i.start<h)break;let u=i.id>=o?4:0,O=i.start;for(i.next();i.pos>a;){if(i.size<0){if(-3==i.size||-4==i.size)u+=4;else break t}else i.id>=o&&(u+=4);i.next()}n=O,s+=t,l+=u}return(e<0||s==t)&&(c.size=s,c.start=n,c.skip=l),c.size>4?c:void 0}(a.pos-i,p))){let t=new Uint16Array(k.size-k.skip),i=a.pos-k.size,r=t.length;for(;a.pos>i;)r=function t(e,i,s){let{id:r,start:n,end:l,size:u}=a;if(a.next(),u>=0&&r<o){let o=s;if(u>4){let r=a.pos-(u-4);for(;a.pos>r;)s=t(e,i,s)}i[--s]=o,i[--s]=l-e,i[--s]=n-e,i[--s]=r}else -3==u?h=r:-4==u&&(c=r);return s}(k.start,t,r);x=new nJ(t,b-k.start,s),$=k.start-e}else{let e=a.pos-v;a.next();let i=[],n=[],l=g>=o?g:-1,h=0,c=b;for(;a.pos>e;)l>=0&&a.id==l&&a.size>=0?(a.end<=c-r&&(u(i,n,Q,h,a.end,c,l,w,S),h=i.length,c=a.end),a.next()):m>2500?function(t,e,i,n){let o=[],l=0,h=-1;for(;a.pos>e;){let{id:t,start:e,end:i,size:s}=a;if(s>4)a.next();else{if(h>-1&&e<h)break;h<0&&(h=i-r),o.push(t,e,i),l++,a.next()}}if(l){let e=new Uint16Array(4*l),r=o[o.length-2];for(let t=o.length-3,i=0;t>=0;t-=3)e[i++]=o[t],e[i++]=o[t+1]-r,e[i++]=o[t+2]-r,e[i++]=i;i.push(new nJ(e,o[2]-r,s)),n.push(r-t)}}(Q,e,i,n):t(Q,e,i,n,l,m+1);if(l>=0&&h>0&&h<i.length&&u(i,n,Q,h,Q,c,l,w,S),i.reverse(),n.reverse(),l>-1&&h>0){let t=function(t,e){return(i,s,r)=>{let n=0,o=i.length-1,a,l;if(o>=0&&(a=i[o])instanceof nH){if(!o&&a.type==t&&a.length==r)return a;(l=a.prop(nj.lookAhead))&&(n=s[o]+a.length+l)}return O(t,i,s,r,n,e)}}(y,S);x=or(y,i,n,0,i.length,0,b-Q,t,t)}else x=O(y,i,n,b-Q,w-b,S)}d.push(x),f.push($)}(t.start||0,t.bufferStart||0,d,f,-1,0);let p=null!==(e=t.length)&&void 0!==e?e:d.length?f[0]+d[0].length:0;return new nH(l[t.topID],d.reverse(),f.reverse(),p)}(t)}}nH.empty=new nH(nG.none,[],[],0);class nK{constructor(t,e){this.buffer=t,this.index=e}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 nK(this.buffer,this.index)}}class nJ{constructor(t,e,i){this.buffer=t,this.length=e,this.set=i}get type(){return nG.none}toString(){let t=[];for(let e=0;e<this.buffer.length;)t.push(this.childString(e)),e=this.buffer[e+3];return t.join(",")}childString(t){let e=this.buffer[t],i=this.buffer[t+3],s=this.set.types[e],r=s.name;
vendor: 4,744 bytes, line 11
11if(/\W/.test(r)&&!s.isError&&(r=JSON.stringify(r)),i==(t+=4))return r;let n=[];for(;t<i;)n.push(this.childString(t)),t=this.buffer[t+3];return r+"("+n.join(",")+")"}findChild(t,e,i,s,r){let{buffer:n}=this,o=-1;for(let a=t;a!=e&&!(n0(r,s,n[a+1],n[a+2])&&(o=a,i>0));a=n[a+3]);return o}slice(t,e,i){let s=this.buffer,r=new Uint16Array(e-t),n=0;for(let o=t,a=0;o<e;){r[a++]=s[o++],r[a++]=s[o++]-i;let e=r[a++]=s[o++]-i;r[a++]=s[o++]-t,n=Math.max(n,e)}return new nJ(r,n,this.set)}}function n0(t,e,i,s){switch(t){case -2:return i<e;case -1:return s>=e&&i<e;case 0:return i<e&&s>e;case 1:return i<=e&&s>e;case 2:return s>e;case 4:return!0}}function n1(t,e,i,s){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to<e);){let e=!s&&t instanceof n5&&t.index<0?null:t.parent;if(!e)return t;t=e}let n=s?0:O.IgnoreOverlays;if(s)for(let s=t,o=s.parent;o;o=(s=o).parent)s instanceof n5&&s.index<0&&(null===(r=o.enter(e,i,n))||void 0===r?void 0:r.from)!=s.from&&(t=o);for(;;){let s=t.enter(e,i,n);if(!s)return t;t=s}}class n2{cursor(t=0){return new ot(this,t)}getChild(t,e=null,i=null){let s=n3(this,t,e,i);return s.length?s[0]:null}getChildren(t,e=null,i=null){return n3(this,t,e,i)}resolve(t,e=0){return n1(this,t,e,!1)}resolveInner(t,e=0){return n1(this,t,e,!0)}matchContext(t){return n7(this.parent,t)}enterUnfinishedNodesBefore(t){let e=this.childBefore(t),i=this;for(;e;){let t=e.lastChild;if(!t||t.to!=e.to)break;t.type.isError&&t.from==t.to?(i=e,e=t.prevSibling):e=t}return i}get node(){return this}get next(){return this.parent}}class n5 extends n2{constructor(t,e,i,s){super(),this._tree=t,this.from=e,this.index=i,this._parent=s}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,e,i,s,r=0){for(let n=this;;){for(let{children:o,positions:a}=n._tree,l=e>0?o.length:-1;t!=l;t+=e){let l=o[t],h=a[t]+n.from,c;if(!(!(r&O.EnterBracketed&&l instanceof nH&&(c=nB.get(l))&&!c.overlay&&c.bracketed&&i>=h&&i<=h+l.length)&&!n0(s,i,h,h+l.length))){if(l instanceof nJ){if(r&O.ExcludeBuffers)continue;let o=l.findChild(0,l.buffer.length,e,i-h,s);if(o>-1)return new n9(new n4(n,l,t,h),null,o)}else if(r&O.IncludeAnonymous||!l.type.isAnonymous||oe(l)){let o;if(!(r&O.IgnoreMounts)&&(o=nB.get(l))&&!o.overlay)return new n5(o.tree,h,t,n);let a=new n5(l,h,t,n);return r&O.IncludeAnonymous||!a.type.isAnonymous?a:a.nextChild(e<0?l.children.length-1:0,e,i,s,r)}}}if(r&O.IncludeAnonymous||!n.type.isAnonymous||(t=n.index>=0?n.index+e:e<0?-1:n._parent._tree.children.length,!(n=n._parent)))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(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}prop(t){return this._tree.prop(t)}enter(t,e,i=0){let s;if(!(i&O.IgnoreOverlays)&&(s=nB.get(this._tree))&&s.overlay){let r=t-this.from,n=i&O.EnterBracketed&&s.bracketed;for(let{from:t,to:i}of s.overlay)if((e>0||n?t<=r:t<r)&&(e<0||n?i>=r:i>r))return new n5(s.tree,s.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,e,i)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}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 n3(t,e,i,s){let r=t.cursor(),n=[];if(!r.firstChild())return n;if(null!=i){for(let t=!1;!t;)if(t=r.type.is(i),!r.nextSibling())return n}for(;;){if(null!=s&&r.type.is(s))return n;if(r.type.is(e)&&n.push(r.node),!r.nextSibling())return null==s?n:[]}}function n7(t,e,i=e.length-1){for(let s=t;i>=0;s=s.parent){if(!s)return!1;if(!s.type.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}class n4{constructor(t,e,i,s){this.parent=t,this.buffer=e,this.index=i,this.start=s}}class n9 extends n2{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(t,e,i){super(),this.context=t,this._parent=e,this.index=i,this.type=t.buffer.set.types[t.buffer.buffer[i]]}child(t,e,i){let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],t,e-this.context.start,i);return r<0?null:new n9(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}
vendor: 6,085 bytes, line 11
11prop(t){return this.type.prop(t)}enter(t,e,i=0){if(i&O.ExcludeBuffers)return null;let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],e>0?1:-1,t-this.context.start,e);return r<0?null:new n9(this.context,this,r)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,e=t.buffer[this.index+3];return e<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new n9(this.context,this._parent,e):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,e=this._parent?this._parent.index+4:0;return this.index==e?this.externalSibling(-1):new n9(this.context,this._parent,t.findChild(e,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],e=[],{buffer:i}=this.context,s=this.index+4,r=i.buffer[this.index+3];if(r>s){let n=i.buffer[this.index+1];t.push(i.slice(s,r,n)),e.push(0)}return new nH(this.type,t,e,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function n8(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;s<t.length;s++){let r=t[s];(r.from>i.from||r.to<i.to)&&(i=r,e=s)}let s=i instanceof n5&&i.index<0?null:i.parent,r=t.slice();return s?r[e]=s:r.splice(e,1),new n6(r,i)}class n6{constructor(t,e){this.heads=t,this.node=e}get next(){return n8(this.heads)}}class ot{get name(){return this.type.name}constructor(t,e=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=e&~O.EnterBracketed,t instanceof n5)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let e=t._parent;e;e=e._parent)this.stack.unshift(e.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return!!t&&(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0)}yieldBuf(t,e){this.index=t;let{start:i,buffer:s}=this.buffer;return this.type=e||s.set.types[s.buffer[t]],this.from=i+s.buffer[t+1],this.to=i+s.buffer[t+2],!0}yield(t){return!!t&&(t instanceof n5?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,e,i){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,e,i,this.mode));let{buffer:s}=this.buffer,r=s.findChild(this.index+4,s.buffer[this.index+3],t,e-this.buffer.start,i);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,e,i=this.mode){return this.buffer?!(i&O.ExcludeBuffers)&&this.enterChild(1,t,e):this.yield(this._tree.enter(t,e,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&O.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&O.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode));let{buffer:e}=this.buffer,i=this.stack.length-1;if(t<0){let t=i<0?0:this.stack[i]+4;if(this.index!=t)return this.yieldBuf(e.findChild(t,this.index,-1,0,4))}else{let t=e.buffer[this.index+3];if(t<(i<0?e.buffer.length:e.buffer[this.stack[i]+3]))return this.yieldBuf(t)}return i<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let e,i,{buffer:s}=this;if(s){if(t>0){if(this.index<s.buffer.buffer.length)return!1}else for(let t=0;t<this.index;t++)if(s.buffer.buffer[t+3]<this.index)return!1;({index:e,parent:i}=s)}else({index:e,_parent:i}=this._tree);for(;i;{index:e,_parent:i}=i)if(e>-1)for(let s=e+t,r=t<0?-1:i._tree.children.length;s!=r;s+=t){let t=i._tree.children[s];if(this.mode&O.IncludeAnonymous||t instanceof nJ||!t.type.isAnonymous||oe(t))return!1}return!0}move(t,e){if(e&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,e=0){for(;(this.from==this.to||(e<1?this.from>=t:this.from>t)||(e>-1?this.to<=t:this.to<t))&&this.parent(););for(;this.enterChild(1,t,e););return this}get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,e=null,i=0;if(t&&t.context==this.buffer)t:for(let s=this.index,r=this.stack.length;r>=0;){for(let n=t;n;n=n._parent)if(n.index==s){if(s==this.index)return n;e=n,i=r+1;break t}s=this.stack[--r]}for(let t=i;t<this.stack.length;t++)e=new n9(this.buffer,e,this.stack[t]);return this.bufferNode=new n9(this.buffer,e,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(t,e){for(let i=0;;){let s=!1;if(this.type.isAnonymous||!1!==t(this)){if(this.firstChild()){i++;continue}this.type.isAnonymous||(s=!0)}for(;;){if(s&&e&&e(this),s=this.type.isAnonymous,!i)return;if(this.nextSibling())break;this.parent(),i--,s=!0}}}matchContext(t){if(!this.buffer)return n7(this.node.parent,t);let{buffer:e}=this.buffer,{types:i}=e.set;for(let s=t.length-1,r=this.stack.length-1;s>=0;r--){if(r<0)return n7(this._tree,t,s);let n=i[e.buffer[this.stack[r]]];if(!n.isAnonymous){if(t[s]&&t[s]!=n.name)return!1;s--}}return!0}}function oe(t){return t.children.some(t=>t instanceof nJ||!t.type.isAnonymous||oe(t))}let oi=new WeakMap;function os(t,e){if(!t.isAnonymous||e instanceof nJ||e.type!=t)return 1;let i=oi.get(e);if(null==i){for(let s of(i=1,e.children)){if(s.type!=t||!(s instanceof nH)){i=1;break}i+=os(t,s)}oi.set(e,i)}return i}function or(t,e,i,s,r,n,o,a,l){let h=0;for(let i=s;i<r;i++)h+=os(t,e[i]);let c=Math.ceil(1.5*h/8),u=[],O=[];return function e(i,s,r,o,a){for(let h=r;h<o;){let r=h,d=s[h],f=os(t,i[h]);for(h++;h<o;h++){let e=os(t,i[h]);if(f+e>=c)break;f+=e}
vendor: 4,148 bytes, line 11
11if(h==r+1){if(f>c){let t=i[r];e(t.children,t.positions,0,t.children.length,s[r]+a);continue}u.push(i[r])}else{let e=s[h-1]+i[h-1].length-d;u.push(or(t,i,s,r,h,d,e,null,l))}O.push(d+a-n)}}(e,i,s,r,0),(a||l)(u,O,o)}class on{constructor(){this.map=new WeakMap}setBuffer(t,e,i){let s=this.map.get(t);s||this.map.set(t,s=new Map),s.set(e,i)}getBuffer(t,e){let i=this.map.get(t);return i&&i.get(e)}set(t,e){t instanceof n9?this.setBuffer(t.context.buffer,t.index,e):t instanceof n5&&this.map.set(t.tree,e)}get(t){return t instanceof n9?this.getBuffer(t.context.buffer,t.index):t instanceof n5?this.map.get(t.tree):void 0}cursorSet(t,e){t.buffer?this.setBuffer(t.buffer.buffer,t.index,e):this.map.set(t.tree,e)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class oo{constructor(t,e,i,s,r=!1,n=!1){this.from=t,this.to=e,this.tree=i,this.offset=s,this.open=(r?1:0)|(n?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(t,e=[],i=!1){let s=[new oo(0,t.length,t,0,!1,i)];for(let i of e)i.to>t.length&&s.push(i);return s}static applyChanges(t,e,i=128){if(!e.length)return t;let s=[],r=1,n=t.length?t[0]:null;for(let o=0,a=0,l=0;;o++){let h=o<e.length?e[o]:null,c=h?h.fromA:1e9;if(c-a>=i)for(;n&&n.from<c;){let e=n;if(a>=e.from||c<=e.to||l){let t=Math.max(e.from,a)-l,i=Math.min(e.to,c)-l;e=t>=i?null:new oo(t,i,e.tree,e.offset+l,o>0,!!h)}if(e&&s.push(e),n.to>c)break;n=r<t.length?t[r++]:null}if(!h)break;a=h.toA,l=h.toA-h.toB}return s}}class oa{startParse(t,e,i){return"string"==typeof t&&(t=new ol(t)),i=i?i.length?i.map(t=>new nL(t.from,t.to)):[new nL(0,0)]:[new nL(0,t.length)],this.createParse(t,e||[],i)}parse(t,e,i){let s=this.startParse(t,e,i);for(;;){let t=s.advance();if(t)return t}}}class ol{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,e){return this.string.slice(t,e)}}class oh{constructor(t,e,i,s,r,n){this.parser=t,this.parse=e,this.overlay=i,this.bracketed=s,this.target=r,this.from=n}}function oc(t){if(!t.length||t.some(t=>t.from>=t.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class ou{constructor(t,e,i,s,r,n,o,a){this.parser=t,this.predicate=e,this.mounts=i,this.index=s,this.start=r,this.bracketed=n,this.target=o,this.prev=a,this.depth=0,this.ranges=[]}}let oO=new nj({perNode:!0});class od{constructor(t,e,i,s,r){this.nest=e,this.input=i,this.fragments=s,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}advance(){if(this.baseParse){let t=this.baseParse.advance();if(!t)return null;if(this.baseParse=null,this.baseTree=t,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let t=this.baseTree;return null!=this.stoppedAt&&(t=new nH(t.type,t.children,t.positions,t.length,t.propValues.concat([[oO,this.stoppedAt]]))),t}let t=this.inner[this.innerDone],e=t.parse.advance();if(e){this.innerDone++;let i=Object.assign(Object.create(null),t.target.props);i[nj.mounted.id]=new nB(e,t.overlay,t.parser,t.bracketed),t.target.props=i}return null}get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for(let e=this.innerDone;e<this.inner.length;e++)this.inner[e].from<t&&(t=Math.min(t,this.inner[e].parse.parsedPos));return t}stopAt(t){if(this.stoppedAt=t,this.baseParse)this.baseParse.stopAt(t);else for(let e=this.innerDone;e<this.inner.length;e++)this.inner[e].parse.stopAt(t)}startInner(){let t=new om(this.fragments),e=null,i=null,s=new ot(new n5(this.baseTree,this.ranges[0].from,0,null),O.IncludeAnonymous|O.IgnoreMounts);t:for(let r,n;;){let o=!0,a;if(null!=this.stoppedAt&&s.from>=this.stoppedAt)o=!1;else if(t.hasNode(s)){if(e){let t=e.mounts.find(t=>t.frag.from<=s.from&&t.frag.to>=s.to&&t.mount.overlay);if(t)for(let i of t.mount.overlay){let r=i.from+t.pos,n=i.to+t.pos;r>=s.from&&n<=s.to&&!e.ranges.some(t=>t.from<n&&t.to>r)&&e.ranges.push({from:r,to:n})}}o=!1}else if(i&&(n=function(t,e,i){for(let s of t){if(s.from>=i)break;if(s.to>e)return s.from<=e&&s.to>=i?2:1}return 0}
11(i.ranges,s.from,s.to)))o=2!=n;else if(!s.type.isAnonymous&&(r=this.nest(s,this.input))&&(s.from<s.to||!r.overlay)){s.tree||(function(t){let{node:e}=t,i=[],s=e.context.buffer;do i.push(t.index),t.parent();while(!t.tree);let r=t.tree,n=r.children.indexOf(s),o=r.children[n],a=o.buffer,l=[n];for(let s of(r.children[n]=function t(s,r,n,h,c,u){let O=i[u],d=[],f=[];of(o,s,O,d,f,h);let p=a[O+1],m=a[O+2];l.push(d.length);let g=u?t(O+4,a[O+3],o.set.types[a[O]],p,m-p,u-1):e.toTree();return d.push(g),f.push(p-h),of(o,a[O+3],r,d,f,h),new nH(n,d,f,c)}(0,a.length,nG.none,0,o.length,i.length-1),l)){let e=t.tree.children[s],i=t.tree.positions[s];t.yield(new n5(e,i+t.from,s,t._tree))}}(s),e&&e.depth++,i&&i.depth++);let n=t.findMounts(s.from,r.parser);if("function"==typeof r.overlay)e=new ou(r.parser,r.overlay,n,this.inner.length,s.from,!!r.bracketed,s.tree,e);else{let t=og(this.ranges,r.overlay||(s.from<s.to?[new nL(s.from,s.to)]:[]));t.length&&oc(t),(t.length||!r.overlay)&&this.inner.push(new oh(r.parser,t.length?r.parser.startParse(this.input,oQ(n,t),t):r.parser.startParse(""),r.overlay?r.overlay.map(t=>new nL(t.from-s.from,t.to-s.from)):null,!!r.bracketed,s.tree,t.length?t[0].from:s.from)),r.overlay?t.length&&(i={ranges:t,depth:0,prev:i}):o=!1}}else if(e&&(a=e.predicate(s))&&(!0===a&&(a=new nL(s.from,s.to)),a.from<a.to)){let t=e.ranges.length-1;t>=0&&e.ranges[t].to==a.from?e.ranges[t]={from:e.ranges[t].from,to:a.to}:e.ranges.push(a)}if(o&&s.firstChild())e&&e.depth++,i&&i.depth++;else for(;!s.nextSibling();){if(!s.parent())break t;if(e&&!--e.depth){let t=og(this.ranges,e.ranges);t.length&&(oc(t),this.inner.splice(e.index,0,new oh(e.parser,e.parser.startParse(this.input,oQ(e.mounts,t),t),e.ranges.map(t=>new nL(t.from-e.start,t.to-e.start)),e.bracketed,e.target,t[0].from))),e=e.prev}!i||--i.depth||(i=i.prev)}}}}function of(t,e,i,s,r,n){if(e<i){let o=t.buffer[e+1];s.push(t.slice(e,i,o)),r.push(o-n)}}class op{constructor(t,e){this.offset=e,this.done=!1,this.cursor=t.cursor(O.IncludeAnonymous|O.IgnoreMounts)}moveTo(t){let{cursor:e}=this,i=t-this.offset;for(;!this.done&&e.from<i;)e.to>=t&&e.enter(i,1,O.IgnoreOverlays|O.ExcludeBuffers)||e.next(!1)||(this.done=!0)}hasNode(t){if(this.moveTo(t.from),!this.done&&this.cursor.from+this.offset==t.from&&this.cursor.tree)for(let e=this.cursor.tree;;){if(e==t.tree)return!0;if(e.children.length&&0==e.positions[0]&&e.children[0]instanceof nH)e=e.children[0];else break}return!1}}let om=class{constructor(t){var e;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let i=this.curFrag=t[0];this.curTo=null!==(e=i.tree.prop(oO))&&void 0!==e?e:i.to,this.inner=new op(i.tree,-i.offset)}else this.curFrag=this.inner=null}hasNode(t){for(;this.curFrag&&t.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let e=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(t=e.tree.prop(oO))&&void 0!==t?t:e.to,this.inner=new op(e.tree,-e.offset)}}findMounts(t,e){var i;let s=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let t=this.inner.cursor.node;t;t=t.parent){let r=null===(i=t.tree)||void 0===i?void 0:i.prop(nj.mounted);if(r&&r.parser==e)for(let e=this.fragI;e<this.fragments.length;e++){let i=this.fragments[e];if(i.from>=t.to)break;i.tree==this.curFrag.tree&&s.push({frag:i,pos:t.from-i.offset,mount:r})}}}return s}};function og(t,e){let i=null,s=e;for(let r=1,n=0;r<t.length;r++){let o=t[r-1].to,a=t[r].from;for(;n<s.length;n++){let t=s[n];if(t.from>=a)break;t.to<=o||(i||(s=i=e.slice()),t.from<o?(i[n]=new nL(t.from,o),t.to>a&&i.splice(n+1,0,new nL(a,t.to))):t.to>a?i[n--]=new nL(a,t.to):i.splice(n--,1))}}return s}function oQ(t,e){let i=[];for(let{pos:s,mount:r,frag:n}of t){let t=s+(r.overlay?r.overlay[0].from:0),o=t+r.tree.length,a=Math.max(n.from,t),l=Math.min(n.to,o);if(r.overlay){let o=function(t,e,i,s){let r=0,n=0,o=!1,a=!1,l=-1e9,h=[];for(;;){let c=r==t.length?1e9:o?t[r].to:t[r].from,u=n==e.length?1e9:a?e[n].to:e[n].from;if(o!=a){let t=Math.max(l,i),e=Math.min(c,u,s);t<e&&h.push(new nL(t,e))}if(1e9==(l=Math.min(c,u)))break;c==l&&(o?(o=!1,r++):o=!0),u==l&&(a?(a=!1,n++):a=!0)}return h}(e,r.overlay.map(t=>new nL(t.from+s,t.to+s)),a,l);for(let e=0,s=a;;e++){let a=e==o.length,h=a?l:o[e].from;if(h>s&&i.push(new oo(s,h,r.tree,-t,n.from>=s||n.openStart,n.to<=h||n.openEnd)),a)break;s=o[e].to}}else i.push(new oo(a,l,r.tree,-t,n.from>=t||n.openStart,n.to<=o||n.openEnd))}return i}let ob=0;class ov{constructor(t,e,i,s){this.name=t,this.set=e,this.base=i,this.modified=s,this.id=ob++}toString(){let{name:t}=this;for(let e of this.modified)e.name&&(t=`${e.name}(${t})`);return t}static define(t,e){if(t instanceof ov&&(e=t),e?.base)throw Error("Can not derive from a modified tag");let i=new ov("string"==typeof t?t:"?",[],null,[]);if(i.set.push(i),e)for(let t of e.set)i.set.push(t);return i}static defineModifier(t){let e=new oS(t);return t=>t.modified.indexOf(e)>-1?t:oS.get(t.base||t,t.modified.concat(e).sort((t,e)=>t.id-e.id))}}let ow=0;class oS{constructor(t){this.name=t,this.instances=[],this.id=ow++}static get(t,e){if(!e.length)return t;let i=e[0].instances.find(i=>{var s;return i.base==t&&(s=i.modified,e.length==s.length&&e.every((t,e)=>t==s[e]))});if(i)return i;let s=[],r=new ov(t.name,s,t,e);for(let t of e)t.instances.push(r);let n=function(t){let e=[[]];for(let i=0;i<t.length;i++)for(let s=0,r=e.length;s<r;s++)e.push(e[s].concat(t[i]));return e.sort((t,e)=>e.length-t.length)}(e);for(let e of t.set)if(!e.modified.length)for(let t of n)s.push(oS.get(e,t));return r}}function oy(t){let e=Object.create(null);for(let i in t){let s=t[i];for(let t of(Array.isArray(s)||(s=[s]),i.split(" ")))if(t){let i=[],r=2,n=t;
11for(let e=0;;){if("..."==n&&e>0&&e+3==t.length){r=1;break}let s=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(n);if(!s)throw RangeError("Invalid path: "+t);if(i.push("*"==s[0]?"":'"'==s[0][0]?JSON.parse(s[0]):s[0]),(e+=s[0].length)==t.length)break;let o=t[e++];if(e==t.length&&"!"==o){r=0;break}if("/"!=o)throw RangeError("Invalid path: "+t);n=t.slice(e)}let o=i.length-1,a=i[o];if(!a)throw RangeError("Invalid path: "+t);let l=new ok(s,r,o>0?i.slice(0,o):null);e[a]=l.sort(e[a])}}return ox.add(e)}let ox=new nj({combine(t,e){let i,s,r;for(;t||e;){if(!t||e&&t.depth>=e.depth?(r=e,e=e.next):(r=t,t=t.next),i&&i.mode==r.mode&&!r.context&&!i.context)continue;let n=new ok(r.tags,r.mode,r.context);i?i.next=n:s=n,i=n}return s}});class ok{constructor(t,e,i,s){this.tags=t,this.mode=e,this.context=i,this.next=s}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(t){return!t||t.depth<this.depth?(this.next=t,this):(t.next=this.sort(t.next),t)}get depth(){return this.context?this.context.length:0}}function o$(t,e){let i=Object.create(null);for(let e of t)if(Array.isArray(e.tag))for(let t of e.tag)i[t.id]=e.class;else i[e.tag.id]=e.class;let{scope:s,all:r=null}=e||{};return{style:t=>{let e=r;for(let s of t)for(let t of s.set){let s=i[t.id];if(s){e=e?e+" "+s:s;break}}return e},scope:s}}ok.empty=new ok([],2,null);class oP{constructor(t,e,i){this.at=t,this.highlighters=e,this.span=i,this.class=""}startSpan(t,e){e!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=e)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,e,i,s,r){let{type:n,from:o,to:a}=t;if(o>=i||a<=e)return;n.isTop&&(r=this.highlighters.filter(t=>!t.scope||t.scope(n)));let l=s,h=function(t){let e=t.type.prop(ox);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}(t)||ok.empty,c=function(t,e){let i=null;for(let s of t){let t=s.style(e);t&&(i=i?i+" "+t:t)}return i}(r,h.tags);if(c&&(l&&(l+=" "),l+=c,1==h.mode&&(s+=(s?" ":"")+c)),this.startSpan(Math.max(e,o),l),h.opaque)return;let u=t.tree&&t.tree.prop(nj.mounted);if(u&&u.overlay){let n=t.node.enter(u.overlay[0].from+o,1),h=this.highlighters.filter(t=>!t.scope||t.scope(u.tree.type)),c=t.firstChild();for(let O=0,d=o;;O++){let f=O<u.overlay.length?u.overlay[O]:null,p=f?f.from+o:a,m=Math.max(e,d),g=Math.min(i,p);if(m<g&&c)for(;t.from<g&&(this.highlightRange(t,m,g,s,r),this.startSpan(Math.min(g,t.to),l),!(t.to>=p||!t.nextSibling())););if(!f||p>i)break;(d=f.to+o)>e&&(this.highlightRange(n.cursor(),Math.max(e,f.from+o),Math.min(i,d),"",h),this.startSpan(Math.min(i,d),l))}c&&t.parent()}else if(t.firstChild()){u&&(s="");do if(!(t.to<=e)){if(t.from>=i)break;this.highlightRange(t,e,i,s,r),this.startSpan(Math.min(i,t.to),l)}while(t.nextSibling());t.parent()}}}let oT=ov.define,oZ=oT(),oX=oT(),oC=oT(oX),oA=oT(oX),oM=oT(),oR=oT(oM),o_=oT(oM),oz=oT(),oY=oT(oz),oq=oT(),oV=oT(),oE=oT(),oW=oT(oE),oD=oT(),oL={comment:oZ,lineComment:oT(oZ),blockComment:oT(oZ),docComment:oT(oZ),name:oX,variableName:oT(oX),typeName:oC,tagName:oT(oC),propertyName:oA,attributeName:oT(oA),className:oT(oX),labelName:oT(oX),namespace:oT(oX),macroName:oT(oX),literal:oM,string:oR,docString:oT(oR),character:oT(oR),attributeValue:oT(oR),number:o_,integer:oT(o_),float:oT(o_),bool:oT(oM),regexp:oT(oM),escape:oT(oM),color:oT(oM),url:oT(oM),keyword:oq,self:oT(oq),null:oT(oq),atom:oT(oq),unit:oT(oq),modifier:oT(oq),operatorKeyword:oT(oq),controlKeyword:oT(oq),definitionKeyword:oT(oq),moduleKeyword:oT(oq),operator:oV,derefOperator:oT(oV),arithmeticOperator:oT(oV),logicOperator:oT(oV),bitwiseOperator:oT(oV),compareOperator:oT(oV),updateOperator:oT(oV),definitionOperator:oT(oV),typeOperator:oT(oV),controlOperator:oT(oV),punctuation:oE,separator:oT(oE),bracket:oW,angleBracket:oT(oW),squareBracket:oT(oW),paren:oT(oW),brace:oT(oW),content:oz,heading:oY,heading1:oT(oY),heading2:oT(oY),heading3:oT(oY),heading4:oT(oY),heading5:oT(oY),heading6:oT(oY),contentSeparator:oT(oz),list:oT(oz),quote:oT(oz),emphasis:oT(oz),strong:oT(oz),link:oT(oz),monospace:oT(oz),strikethrough:oT(oz),inserted:oT(),deleted:oT(),changed:oT(),invalid:oT(),meta:oD,documentMeta:oT(oD),annotation:oT(oD),processingInstruction:oT(oD),definition:ov.defineModifier("definition"),constant:ov.defineModifier("constant"),function:ov.defineModifier("function"),standard:ov.defineModifier("standard"),local:ov.defineModifier("local"),special:ov.defineModifier("special")};for(let t in oL){let e=oL[t];e instanceof ov&&(e.name=t)}o$([{tag:oL.link,class:"tok-link"},{tag:oL.heading,class:"tok-heading"},{tag:oL.emphasis,class:"tok-emphasis"},{tag:oL.strong,class:"tok-strong"}
vendor: 8,329 bytes, line 11
11,{tag:oL.keyword,class:"tok-keyword"},{tag:oL.atom,class:"tok-atom"},{tag:oL.bool,class:"tok-bool"},{tag:oL.url,class:"tok-url"},{tag:oL.labelName,class:"tok-labelName"},{tag:oL.inserted,class:"tok-inserted"},{tag:oL.deleted,class:"tok-deleted"},{tag:oL.literal,class:"tok-literal"},{tag:oL.string,class:"tok-string"},{tag:oL.number,class:"tok-number"},{tag:[oL.regexp,oL.escape,oL.special(oL.string)],class:"tok-string2"},{tag:oL.variableName,class:"tok-variableName"},{tag:oL.local(oL.variableName),class:"tok-variableName tok-local"},{tag:oL.definition(oL.variableName),class:"tok-variableName tok-definition"},{tag:oL.special(oL.variableName),class:"tok-variableName2"},{tag:oL.definition(oL.propertyName),class:"tok-propertyName tok-definition"},{tag:oL.typeName,class:"tok-typeName"},{tag:oL.namespace,class:"tok-namespace"},{tag:oL.className,class:"tok-className"},{tag:oL.macroName,class:"tok-macroName"},{tag:oL.propertyName,class:"tok-propertyName"},{tag:oL.operator,class:"tok-operator"},{tag:oL.comment,class:"tok-comment"},{tag:oL.meta,class:"tok-meta"},{tag:oL.invalid,class:"tok-invalid"},{tag:oL.punctuation,class:"tok-punctuation"}]);let oj=new nj;function oB(t){return J.define({combine:t?e=>e.concat(t):void 0})}let oI=new nj;class oG{constructor(t,e,i=[],s=""){this.data=t,this.name=s,tM.prototype.hasOwnProperty("tree")||Object.defineProperty(tM.prototype,"tree",{get(){return oF(this)}}),this.parser=e,this.extension=[o7.of(this),tM.languageData.of((t,e,i)=>{let s=oN(t,e,i),r=s.type.prop(oj);if(!r)return[];let n=t.facet(r),o=s.type.prop(oI);if(o){let r=s.resolve(e-s.from,i);for(let e of o)if(e.test(r,t)){let i=t.facet(e.facet);return"replace"==e.type?i:i.concat(n)}}return n})].concat(i)}isActiveAt(t,e,i=-1){return oN(t,e,i).type.prop(oj)==this.data}findRegions(t){let e=t.facet(o7);if(e?.data==this.data)return[{from:0,to:t.doc.length}];if(!e||!e.allowsNesting)return[];let i=[],s=(t,e)=>{if(t.prop(oj)==this.data){i.push({from:e,to:e+t.length});return}let r=t.prop(nj.mounted);if(r){if(r.tree.prop(oj)==this.data){if(r.overlay)for(let t of r.overlay)i.push({from:t.from+e,to:t.to+e});else i.push({from:e,to:e+t.length});return}if(r.overlay){let t=i.length;if(s(r.tree,r.overlay[0].from+e),i.length>t)return}}for(let i=0;i<t.children.length;i++){let r=t.children[i];r instanceof nH&&s(r,t.positions[i]+e)}};return s(oF(t),0),i}get allowsNesting(){return!0}}function oN(t,e,i){let s=t.facet(o7),r=oF(t).topNode;if(!s||s.allowsNesting)for(let t=r;t;t=t.enter(e,i,O.ExcludeBuffers|O.EnterBracketed))t.type.isTop&&(r=t);return r}oG.setState=tk.define();class oU extends oG{constructor(t,e,i){super(t,e,[],i),this.parser=e}static define(t){let e=oB(t.languageData);return new oU(e,t.parser.configure({props:[oj.add(t=>t.isTop?e:void 0)]}),t.name)}configure(t,e){return new oU(this.data,this.parser.configure(t),e||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function oF(t){let e=t.field(oG.state,!1);return e?e.tree:nH.empty}class oH{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,e){let i=this.cursorPos-this.string.length;return t<i||e>=this.cursorPos?this.doc.sliceString(t,e):this.string.slice(t-i,e-i)}}let oK=null;class oJ{constructor(t,e,i=[],s,r,n,o,a){this.parser=t,this.state=e,this.fragments=i,this.tree=s,this.treeLen=r,this.viewport=n,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(t,e,i){return new oJ(t,e,[],nH.empty,0,i,[],null)}startParse(){return this.parser.startParse(new oH(this.state.doc),this.fragments)}work(t,e){return null!=e&&e>=this.state.doc.length&&(e=void 0),this.tree!=nH.empty&&this.isDone(e??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if("number"==typeof t){let e=Date.now()+t;t=()=>Date.now()>e}for(this.parse||(this.parse=this.startParse()),null!=e&&(null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&e<this.state.doc.length&&this.parse.stopAt(e);;){let s=this.parse.advance();if(s){if(this.fragments=this.withoutTempSkipped(oo.addTree(s,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(i=this.parse.stoppedAt)&&void 0!==i?i:this.state.doc.length,this.tree=s,this.parse=null,!(this.treeLen<(e??this.state.doc.length)))return!0;this.parse=this.startParse()}if(t())return!1}})}takeTree(){let t,e;this.parse&&(t=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(e=this.parse.advance()););}),this.treeLen=t,this.tree=e,this.fragments=this.withoutTempSkipped(oo.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let e=oK;oK=this;try{return t()}finally{oK=e}}withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=o0(t,e.from,e.to);return t}changes(t,e){let{fragments:i,tree:s,treeLen:r,viewport:n,skipped:o}=this;if(this.takeTree(),!t.empty){let e=[];if(t.iterChangedRanges((t,i,s,r)=>e.push({fromA:t,toA:i,fromB:s,toB:r})),i=oo.applyChanges(i,e),s=nH.empty,r=0,n={from:t.mapPos(n.from,-1),to:t.mapPos(n.to,1)},this.skipped.length)for(let e of(o=[],this.skipped)){let i=t.mapPos(e.from,1),s=t.mapPos(e.to,-1);i<s&&o.push({from:i,to:s})}}return new oJ(this.parser,e,i,s,r,n,o,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return!1;this.viewport=t;let e=this.skipped.length;for(let e=0;e<this.skipped.length;e++){let{from:i,to:s}=this.skipped[e];i<t.to&&s>t.from&&(this.fragments=o0(this.fragments,i,s),this.skipped.splice(e--,1))}return!(this.skipped.length>=e)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,e){this.skipped.push({from:t,to:e})}static getSkippingParser(t){return new class extends oa{createParse(e,i,s){let r=s[0].from,n=s[s.length-1].to;return{parsedPos:r,advance(){let e=oK;if(e){for(let t of s)e.tempSkipped.push(t);t&&(e.scheduleOn=e.scheduleOn?Promise.all([e.scheduleOn,t]):t)}return this.parsedPos=n,new nH(nG.none,[],[],n-r)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;return this.treeLen>=t&&e.length&&0==e[0].from&&e[0].to>=t}static get(){return oK}}function o0(t,e,i){return oo.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class o1{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let e=this.context.changes(t.changes,t.state),i=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),e.viewport.to);return e.work(20,i)||e.takeTree(),new o1(e)}static init(t){let e=Math.min(3e3,t.doc.length),i=oJ.create(t.facet(o7).parser,t,{from:0,to:e});return i.work(20,e)||i.takeTree(),new o1(i)}}oG.state=tn.define({create:o1.init,update(t,e){for(let t of e.effects)if(t.is(oG.setState))return t.value;return e.startState.facet(o7)!=e.state.facet(o7)?o1.init(e.state):t.apply(e)}});let o2=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};"u">typeof requestIdleCallback&&(o2=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});let o5="u">typeof navigator&&!(null===(d=navigator.scheduling)||void 0===d)&&d.isInputPending?()=>navigator.scheduling.isInputPending():null,o3=iv.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let e=this.view.state.field(oG.state).context;(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)&&this.scheduleWork(),(t.docChanged||t.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(oG.state);e.tree==e.context.tree&&e.context.isDone(t.doc.length)||(this.working=o2(this.work))}work(t){this.working=null;let e=Date.now();if(this.chunkEnd<e&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=e+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:i,viewport:{to:s}}=this.view,r=i.field(oG.state);
11if(r.tree==r.context.tree&&r.context.isDone(s+1e5))return;let n=Date.now()+Math.min(this.chunkBudget,100,t&&!o5?Math.max(25,t.timeRemaining()-5):1e9),o=r.context.treeLen<s&&i.doc.length>s+1e3,a=r.context.work(()=>o5&&o5()||Date.now()>n,s+(o?0:1e5));this.chunkBudget-=Date.now()-e,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:oG.setState.of(new o1(r.context))})),this.chunkBudget>0&&!(a&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then(()=>this.scheduleWork()).catch(t=>im(this.view.state,t)).then(()=>this.workScheduled--),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),o7=J.define({combine:t=>t.length?t[0]:null,enables:t=>[oG.state,o3,rp.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]});class o4{constructor(t,e=[]){this.language=t,this.support=e,this.extension=[t,e]}}let o9=J.define(),o8=J.define({combine:t=>{if(!t.length)return"  ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function o6(t){let e=t.facet(o8);return 9==e.charCodeAt(0)?t.tabSize*e.length:e.length}function at(t,e){let i="",s=t.tabSize,r=t.facet(o8)[0];if("	"==r){for(;e>=s;)i+="	",e-=s;r=" "}for(let t=0;t<e;t++)i+=r;return i}function ae(t,e){for(let i of(t instanceof tM&&(t=new ai(t)),t.state.facet(o9))){let s=i(t,e);if(void 0!==s)return s}let i=oF(t.state);return i.length>=e?function(t,e,i){let s=e.resolveStack(i),r=e.resolveInner(i,-1).resolve(i,0).enterUnfinishedNodesBefore(i);if(r!=s.node){let t=[];for(let e=r;e&&!(e.from<s.node.from||e.to>s.node.to||e.from==s.node.from&&e.type==s.node.type);e=e.parent)t.push(e);for(let e=t.length-1;e>=0;e--)s={node:t[e],next:s}}return ar(s,t,i)}(t,i,e):null}class ai{constructor(t,e={}){this.state=t,this.options=e,this.unit=o6(t)}lineAt(t,e=1){let i=this.state.doc.lineAt(t),{simulateBreak:s,simulateDoubleBreak:r}=this.options;return null!=s&&s>=i.from&&s<=i.to?r&&s==t?{text:"",from:t}:(e<0?s<t:s<=t)?{text:i.text.slice(s-i.from),from:s}:{text:i.text.slice(0,s-i.from),from:i.from}:i}textAfterPos(t,e=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:i,from:s}=this.lineAt(t,e);return i.slice(t-s,Math.min(i.length,t+100-s))}column(t,e=1){let{text:i,from:s}=this.lineAt(t,e),r=this.countColumn(i,t-s),n=this.options.overrideIndentation?this.options.overrideIndentation(s):-1;return n>-1&&(r+=n-this.countColumn(i,i.search(/\S|$/))),r}countColumn(t,e=t.length){return tK(t,this.state.tabSize,e)}lineIndent(t,e=1){let{text:i,from:s}=this.lineAt(t,e),r=this.options.overrideIndentation;if(r){let t=r(s);if(t>-1)return t}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let as=new nj;function ar(t,e,i){for(let s=t;s;s=s.next){let t=function(t){let e=t.type.prop(as);if(e)return e;let i=t.firstChild,s;if(i&&(s=i.type.prop(nj.closedBy))){let e=t.lastChild,i=e&&s.indexOf(e.name)>-1;return t=>aa(t,!0,1,void 0,i&&!(t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak)?e.from:void 0)}return null==t.parent?an:null}(s.node);if(t)return t(ao.create(e,i,s))}return 0}function an(){return 0}class ao extends ai{constructor(t,e,i){super(t.state,t.options),this.base=t,this.pos=e,this.context=i}get node(){return this.context.node}static create(t,e,i){return new ao(t,e,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let e=this.state.doc.lineAt(t.from);for(;;){let i=t.resolve(e.from);for(;i.parent&&i.parent.from==i.from;)i=i.parent;if(function(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}(i,t))break;e=this.state.doc.lineAt(i.from)}return this.lineIndent(e.from)}continue(){return ar(this.context.next,this.base,this.pos)}}function aa(t,e,i,s,r){let n=t.textAfter,o=n.match(/^\s*/)[0].length,a=s&&n.slice(o,o+s.length)==s||r==t.pos+o,l=e?function(t){let e=t.node,i=e.childAfter(e.from),s=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,n=t.state.doc.lineAt(i.from),o=null==r||r<=n.from?n.to:Math.min(n.to,r);for(let t=i.to;;){let r=e.childAfter(t);if(!r||r==s)return null;if(!r.type.isSkipped){if(r.from>=o)return null;let t=/^ */.exec(n.text.slice(i.to-n.from))[0].length;return{from:i.from,to:i.to+t}}t=r.to}}(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*i)}function al({except:t,units:e=1}={}){return i=>{let s=t&&t.test(i.textAfter);return i.baseIndent+(s?0:e*i.unit)}}let ah=J.define(),ac=new nj;function au(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}
11function aO(t,e,i){for(let s of t.facet(ah)){let r=s(t,e,i);if(r)return r}return function(t,e,i){let s=oF(t);if(s.length<i)return null;let r=s.resolveStack(i,1),n=null;for(let o=r;o;o=o.next){let r=o.node;if(r.to<=i||r.from>i)continue;if(n&&r.from<e)break;let a=r.type.prop(ac);if(a&&(r.to<s.length-50||s.length==t.doc.length||!function(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}(r))){let s=a(r,t);s&&s.from<=i&&s.from>=e&&s.to>i&&(n=s)}}return n}(t,e,i)}function ad(t,e){let i=e.mapPos(t.from,1),s=e.mapPos(t.to,-1);return i>=s?void 0:{from:i,to:s}}let af=tk.define({map:ad}),ap=tk.define({map:ad});function am(t){let e=[];for(let{head:i}of t.state.selection.ranges)e.some(t=>t.from<=i&&t.to>=i)||e.push(t.lineBlockAt(i));return e}let ag=tn.define({create:()=>ew.none,update(t,e){for(let i of(e.isUserEvent("delete")&&e.changes.iterChangedRanges((e,i)=>t=aQ(t,e,i)),t=t.map(e.changes),e.effects))if(i.is(af)&&!function(t,e,i){let s=!1;return t.between(e,e,(t,r)=>{t==e&&r==i&&(s=!0)}),s}(t,i.value.from,i.value.to)){let{preparePlaceholder:s}=e.state.facet(ax),r=s?ew.replace({widget:new aP(s(e.state,i.value))}):a$;t=t.update({add:[r.range(i.value.from,i.value.to)]})}else i.is(ap)&&(t=t.update({filter:(t,e)=>i.value.from!=t||i.value.to!=e,filterFrom:i.value.from,filterTo:i.value.to}));return e.selection&&(t=aQ(t,e.selection.main.head)),t},provide:t=>rp.decorations.from(t),toJSON(t,e){let i=[];return t.between(0,e.doc.length,(t,e)=>{i.push(t,e)}),i},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw RangeError("Invalid JSON for fold state");let e=[];for(let i=0;i<t.length;){let s=t[i++],r=t[i++];if("number"!=typeof s||"number"!=typeof r)throw RangeError("Invalid JSON for fold state");e.push(a$.range(s,r))}return ew.set(e,!0)}});function aQ(t,e,i=e){let s=!1;return t.between(e,i,(t,r)=>{t<i&&r>e&&(s=!0)}),s?t.update({filterFrom:e,filterTo:i,filter:(t,s)=>t>=i||s<=e}):t}function ab(t,e,i){var s;let r=null;return null===(s=t.field(ag,!1))||void 0===s||s.between(e,i,(t,e)=>{(!r||r.from>t)&&(r={from:t,to:e})}),r}function av(t,e){return t.field(ag,!1)?e:e.concat(tk.appendConfig.of([ag,aX]))}function aw(t,e,i=!0){let s=t.state.doc.lineAt(e.from).number,r=t.state.doc.lineAt(e.to).number;return rp.announce.of(`${t.state.phrase(i?"Folded lines":"Unfolded lines")} ${s} ${t.state.phrase("to")} ${r}.`)}let aS=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:t=>{for(let e of am(t)){let i=aO(t.state,e.from,e.to);if(i)return t.dispatch({effects:av(t.state,[af.of(i),aw(t,i)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:t=>{if(!t.state.field(ag,!1))return!1;let e=[];for(let i of am(t)){let s=ab(t.state,i.from,i.to);s&&e.push(ap.of(s),aw(t,s,!1))}return e.length&&t.dispatch({effects:e}),e.length>0}},{key:"Ctrl-Alt-[",run:t=>{let{state:e}=t,i=[];for(let s=0;s<e.doc.length;){let r=t.lineBlockAt(s),n=aO(e,r.from,r.to);n&&i.push(af.of(n)),s=(n?t.lineBlockAt(n.to):r).to+1}return i.length&&t.dispatch({effects:av(t.state,i)}),!!i.length}},{key:"Ctrl-Alt-]",run:t=>{let e=t.state.field(ag,!1);if(!e||!e.size)return!1;let i=[];return e.between(0,t.state.doc.length,(t,e)=>{i.push(ap.of({from:t,to:e}))}),t.dispatch({effects:i}),!0}}],ay={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},ax=J.define({combine:t=>tR(t,ay)});function ak(t,e){let{state:i}=t,s=i.facet(ax),r=e=>{let i=t.lineBlockAt(t.posAtDOM(e.target)),s=ab(t.state,i.from,i.to);s&&t.dispatch({effects:ap.of(s)}),e.preventDefault()};if(s.placeholderDOM)return s.placeholderDOM(t,r,e);let n=document.createElement("span");return n.textContent=s.placeholderText,n.setAttribute("aria-label",i.phrase("folded code")),n.title=i.phrase("unfold"),n.className="cm-foldPlaceholder",n.onclick=r,n}let a$=ew.replace({widget:new class extends eb{toDOM(t){return ak(t,null)}}});class aP extends eb{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return ak(t,this.value)}}let aT={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class aZ extends nw{constructor(t,e){super(),this.config=t,this.open=e}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let e=document.createElement("span");return e.textContent=this.open?this.config.openText:this.config.closedText,e.title=t.state.phrase(this.open?"Fold line":"Unfold line"),e}}let aX=rp.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"}});class aC{constructor(t,e){let i;function s(t){let e=t5.newName();return(i||(i=Object.create(null)))["."+e]=t,e}this.specs=t;let r="string"==typeof e.all?e.all:e.all?s(e.all):void 0,n=e.scope;this.scope=n instanceof oG?t=>t.prop(oj)==n.data:n?t=>t==n:void 0,this.style=o$(t.map(t=>({tag:t.tag,class:t.class||s(Object.assign({},t,{tag:null}))})),{all:r}).style,this.module=i?new t5(i):null,this.themeType=e.themeType}static define(t,e){return new aC(t,e||{})}}let aA=J.define(),aM=J.define({combine:t=>t.length?[t[0]]:null});function aR(t){let e=t.facet(aA);return e.length?e:t.facet(aM)}function a_(t,e){let i=[aY],s;return t instanceof aC&&(t.module&&i.push(rp.styleModule.of(t.module)),s=t.themeType),e?.fallback?i.push(aM.of(t)):s?i.push(aA.computeN([rp.darkTheme],e=>e.facet(rp.darkTheme)==("dark"==s)?[t]:[])):i.push(aA.of(t)),i}class az{constructor(t){this.markCache=Object.create(null),this.tree=oF(t.state),this.decorations=this.buildDeco(t,aR(t.state)),this.decoratedTo=t.viewport.to}update(t){let e=oF(t.state),i=aR(t.state),s=i!=aR(t.startState),{viewport:r}=t.view,n=t.changes.mapPos(this.decoratedTo,1);e.length<r.to&&!s&&e.type==this.tree.type&&n>=r.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=n):(e!=this.tree||t.viewportChanged||s)&&(this.tree=e,this.decorations=this.buildDeco(t.view,i),this.decoratedTo=r.to)}buildDeco(t,e){if(!e||!this.tree.length)return ew.none;let i=new tW;for(let{from:s,to:r}
11of t.visibleRanges)!function(t,e,i,s=0,r=t.length){let n=new oP(s,Array.isArray(e)?e:[e],i);n.highlightRange(t.cursor(),s,r,"",n.highlighters),n.flush(r)}(this.tree,e,(t,e,s)=>{i.add(t,e,this.markCache[s]||(this.markCache[s]=ew.mark({class:s})))},s,r);return i.finish()}}let aY=tl.high(iv.fromClass(az,{decorations:t=>t.decorations})),aq=aC.define([{tag:oL.meta,color:"#404740"},{tag:oL.link,textDecoration:"underline"},{tag:oL.heading,textDecoration:"underline",fontWeight:"bold"},{tag:oL.emphasis,fontStyle:"italic"},{tag:oL.strong,fontWeight:"bold"},{tag:oL.strikethrough,textDecoration:"line-through"},{tag:oL.keyword,color:"#708"},{tag:[oL.atom,oL.bool,oL.url,oL.contentSeparator,oL.labelName],color:"#219"},{tag:[oL.literal,oL.inserted],color:"#164"},{tag:[oL.string,oL.deleted],color:"#a11"},{tag:[oL.regexp,oL.escape,oL.special(oL.string)],color:"#e40"},{tag:oL.definition(oL.variableName),color:"#00f"},{tag:oL.local(oL.variableName),color:"#30a"},{tag:[oL.typeName,oL.namespace],color:"#085"},{tag:oL.className,color:"#167"},{tag:[oL.special(oL.variableName),oL.macroName],color:"#256"},{tag:oL.definition(oL.propertyName),color:"#00c"},{tag:oL.comment,color:"#940"},{tag:oL.invalid,color:"#f00"}]),aV=rp.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),aE="()[]{}",aW=J.define({combine:t=>tR(t,{afterCursor:!0,brackets:aE,maxScanDistance:1e4,renderMatch:aj})}),aD=ew.mark({class:"cm-matchingBracket"}),aL=ew.mark({class:"cm-nonmatchingBracket"});function aj(t){let e=[],i=t.matched?aD:aL;return e.push(i.range(t.start.from,t.start.to)),t.end&&e.push(i.range(t.end.from,t.end.to)),e}function aB(t){let e=[],i=t.facet(aW);for(let s of t.selection.ranges){if(!s.empty)continue;let r=aF(t,s.head,-1,i)||s.head>0&&aF(t,s.head-1,1,i)||i.afterCursor&&(aF(t,s.head,1,i)||s.head<t.doc.length&&aF(t,s.head+1,-1,i));r&&(e=e.concat(i.renderMatch(r,t)))}return ew.set(e,!0)}let aI=[iv.fromClass(class{constructor(t){this.paused=!1,this.decorations=aB(t.state)}update(t){(t.docChanged||t.selectionSet||this.paused)&&(t.view.composing?(this.decorations=this.decorations.map(t.changes),this.paused=!0):(this.decorations=aB(t.state),this.paused=!1))}},{decorations:t=>t.decorations}),aV],aG=new nj;function aN(t,e,i){let s=t.prop(e<0?nj.openedBy:nj.closedBy);if(s)return s;if(1==t.name.length){let s=i.indexOf(t.name);if(s>-1&&s%2==(e<0?1:0))return[i[s+e]]}return null}function aU(t){let e=t.type.prop(aG);return e?e(t.node):t}function aF(t,e,i,s={}){let r=s.maxScanDistance||1e4,n=s.brackets||aE,o=oF(t),a=o.resolveInner(e,i);for(let t=a;t;t=t.parent){let s=aN(t.type,i,n);if(s&&t.from<t.to){let r=aU(t);if(r&&(i>0?e>=r.from&&e<r.to:e>r.from&&e<=r.to))return function(t,e,i,s,r,n,o){let a=s.parent,l={from:r.from,to:r.to},h=0,c=a?.cursor();if(c&&(i<0?c.childBefore(s.from):c.childAfter(s.to)))do if(i<0?c.to<=s.from:c.from>=s.to){if(0==h&&n.indexOf(c.type.name)>-1&&c.from<c.to){let t=aU(c);return{start:l,end:t?{from:t.from,to:t.to}:void 0,matched:!0}}if(aN(c.type,i,o))h++;else if(aN(c.type,-i,o)){if(0==h){let t=aU(c);return{start:l,end:t&&t.from<t.to?{from:t.from,to:t.to}:void 0,matched:!1}}h--}}while(i<0?c.prevSibling():c.nextSibling());return{start:l,matched:!1}}(0,0,i,t,r,s,n)}}return function(t,e,i,s,r,n,o){let a=i<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=o.indexOf(a);if(l<0||l%2==0!=i>0)return null;let h={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),u=0;for(let t=0;!c.next().done&&t<=n;){let n=c.value;i<0&&(t+=n.length);let a=e+t*i;for(let t=i>0?0:n.length-1,e=i>0?n.length:-1;t!=e;t+=i){let e=o.indexOf(n[t]);if(!(e<0||s.resolveInner(a+t,1).type!=r)){if(e%2==0==i>0)u++;else{if(1==u)return{start:h,end:{from:a+t,to:a+t+1},matched:e>>1==l>>1};u--}}}i>0&&(t+=n.length)}return c.done?{start:h,matched:!1}:null}(t,e,i,o,a.type,r,n)}let aH=Object.create(null),aK=[nG.none],aJ=[],a0=Object.create(null),a1=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","invali
11d"],["header","heading"],["property","propertyName"]])a1[t]=function(t,e){let i=[];for(let s of e.split(" ")){let e=[];for(let i of s.split(".")){let s=t[i]||oL[i];s?"function"==typeof s?e.length?e=e.map(s):a2(i,`Modifier ${i} used at start of tag`):e.length?a2(i,`Tag ${i} used as modifier`):e=Array.isArray(s)?s:[s]:a2(i,`Unknown highlighting tag ${i}`)}for(let t of e)i.push(t)}if(!i.length)return 0;let s=e.replace(/ /g,"_"),r=s+" "+i.map(t=>t.id),n=a0[r];if(n)return n.id;let o=a0[r]=nG.define({id:aK.length,name:s,props:[oy({[s]:i})]});return aK.push(o),o.id}(aH,e);function a2(t,e){aJ.indexOf(t)>-1||(aJ.push(t),console.warn(e))}function a5(t,e){return({state:i,dispatch:s})=>{if(i.readOnly)return!1;let r=t(e,i);return!!r&&(s(i.update(r)),!0)}}eU.RTL,eU.LTR;let a3=a5(function(t,e,i=e.selection.ranges){let s=[],r=-1;t:for(let{from:t,to:n}of i){let i=s.length,o=1e9,a;for(let i=t;i<=n;){let l=e.doc.lineAt(i);if(null==a&&!(a=a9(e,l.from).line))continue t;if(l.from>r&&(t==n||n>l.from)){r=l.from;let t=/^\s*/.exec(l.text)[0].length,e=t==l.length,i=l.text.slice(t,t+a.length)==a?t:-1;t<l.text.length&&t<o&&(o=t),s.push({line:l,comment:i,token:a,indent:t,empty:e,single:!1})}i=l.to+1}if(o<1e9)for(let t=i;t<s.length;t++)s[t].indent<s[t].line.text.length&&(s[t].indent=o);s.length==i+1&&(s[i].single=!0)}if(2!=t&&s.some(t=>t.comment<0&&(!t.empty||t.single))){let t=[];for(let{line:e,token:i,indent:r,empty:n,single:o}of s)(o||!n)&&t.push({from:e.from+r,insert:i+" "});let i=e.changes(t);return{changes:i,selection:e.selection.map(i,1)}}if(1!=t&&s.some(t=>t.comment>=0)){let t=[];for(let{line:e,comment:i,token:r}of s)if(i>=0){let s=e.from+i,n=s+r.length;" "==e.text[n-e.from]&&n++,t.push({from:s,to:n})}return{changes:t}}return null},0),a7=a5(a8,0),a4=a5((t,e)=>a8(t,e,function(t){let e=[];for(let i of t.selection.ranges){let s=t.doc.lineAt(i.from),r=i.to<=s.to?s:t.doc.lineAt(i.to);r.from>s.from&&r.from==i.to&&(r=i.to==s.to+1?s:t.doc.lineAt(i.to-1));let n=e.length-1;n>=0&&e[n].to>s.from?e[n].to=r.to:e.push({from:s.from+/^\s*/.exec(s.text)[0].length,to:r.to})}return e}(e)),0);function a9(t,e){let i=t.languageDataAt("commentTokens",e,1);return i.length?i[0]:{}}function a8(t,e,i=e.selection.ranges){let s=i.map(t=>a9(e,t.from).block);if(!s.every(t=>t))return null;let r=i.map((t,i)=>(function(t,{open:e,close:i},s,r){let n,o,a=t.sliceDoc(s-50,s),l=t.sliceDoc(r,r+50),h=/\s*$/.exec(a)[0].length,c=/^\s*/.exec(l)[0].length,u=a.length-h;if(a.slice(u-e.length,u)==e&&l.slice(c,c+i.length)==i)return{open:{pos:s-h,margin:h&&1},close:{pos:r+c,margin:c&&1}};r-s<=100?n=o=t.sliceDoc(s,r):(n=t.sliceDoc(s,s+50),o=t.sliceDoc(r-50,r));let O=/^\s*/.exec(n)[0].length,d=/\s*$/.exec(o)[0].length,f=o.length-d-i.length;return n.slice(O,O+e.length)==e&&o.slice(f,f+i.length)==i?{open:{pos:s+O+e.length,margin:/\s/.test(n.charAt(O+e.length))?1:0},close:{pos:r-d-i.length,margin:/\s/.test(o.charAt(f-1))?1:0}}:null})(e,s[i],t.from,t.to));if(2!=t&&!r.every(t=>t))return{changes:e.changes(i.map((t,e)=>r[e]?[]:[{from:t.from,insert:s[e].open+" "},{from:t.to,insert:" "+s[e].close}]))};if(1!=t&&r.some(t=>t)){let t=[];for(let e=0,i;e<r.length;e++)if(i=r[e]){let r=s[e],{open:n,close:o}=i;t.push({from:n.pos-r.open.length,to:n.pos+n.margin},{from:o.pos-o.margin,to:o.pos+r.close.length})}return{changes:t}}return null}let a6=tS.define(),lt=tS.define(),le=J.define(),li=J.define({combine:t=>tR(t,{minDepth:100,newGroupDelay:500,joinToEvent:(t,e)=>e},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(t,e)=>(i,s)=>t(i,s)||e(i,s)})}),ls=tn.define({create:()=>lm.empty,update(t,e){let i=e.state.facet(li),s=e.annotation(a6);if(s){let r=lh.fromTransaction(e,s.selection),n=s.side,o=0==n?t.undone:t.done;return o=r?lc(o,o.length,i.minDepth,r):ld(o,e.startState.selection),new lm(0==n?s.rest:o,0==n?o:s.rest)}let r=e.annotation(lt);if(("full"==r||"before"==r)&&(t=t.isolate()),!1===e.annotation(t$.addToHistory))return e.changes.empty?t:t.addMapping(e.changes.desc);let n=lh.fromTransaction(e),o=e.annotation(t$.time),a=e.annotation(t$.userEvent);return n?t=t.addChanges(n,o,a,i,e):e.selection&&(t=t.addSelection(e.startState.selection,o,a,i.newGroupDelay)),("full"==r||"after"==r)&&(t=t.isolate()),t},toJSON:t=>({done:t.done.map(t=>t.toJSON()),undone:t.undone.map(t=>t.toJSON())}),fromJSON:t=>new lm(t.done.map(lh.fromJSON),t.undone.map(lh.fromJSON))});function lr(t,e){return function({state:i,dispatch:s}){if(!e&&i.readOnly)return!1;let r=i.field(ls,!1);if(!r)return!1;let n=r.pop(t,i,e);return!!n&&(s(n),!0)}}let ln=lr(0,!1),lo=lr(1,!1),la=lr(0,!0),ll=lr(1,!0);class lh{constructor(t,e,i,s,r){this.changes=t,this.effects=e,this.mapped=i,this.startSelection=s,this.selectionsAfter=r}setSelAfter(t){return new lh(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,e,i;return{changes:null===(t=this.changes)||void 0===t?void 0:t.toJSON(),mapped:null===(e=this.mapped)||void 0===e?void 0:e.toJSON(),startSelection:null===(i=this.startSelection)||void 0===i?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(t=>t.toJSON())}}static fromJSON(t){return new lh(t.changes&&D.fromJSON(t.changes),[],t.mapped&&W.fromJSON(t.mapped),t.startSelection&&F.fromJSON(t.startSelection),t.selectionsAfter.map(F.fromJSON))}static fromTransaction(t,e){let i=lO;for(let e of t.startState.facet(le)){let s=e(t);s.length&&(i=i.concat(s))}return!i.length&&t.changes.empty?null:new lh(t.changes.invert(t.startState.doc),i,void 0,e||t.startState.selection,lO)}static selection(t){return new lh(void 0,lO,void 0,void 0,t)}}function lc(t,e,i,s){let r=t.slice(e+1>i+20?e-i-1:0,e);return r.push(s),r}function lu(t,e){return t.length?e.length?t.concat(e):t:e}let lO=[];function ld(t,e){if(!t.length)return[lh.selection([e])];{let i=t[t.length-1],s=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-200));return s.length&&s[s.length-1].eq(e)?t:(s.push(e),lc(t,t.length-1,1e9,i.setSelAfter(s)))}}function lf(t,e){if(!t.length)return t;let i=t.length,s=lO;for(;i;
11){let r=function(t,e,i){let s=lu(t.selectionsAfter.length?t.selectionsAfter.map(t=>t.map(e)):lO,i);if(!t.changes)return lh.selection(s);let r=t.changes.map(e),n=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(n):n;return new lh(r,tk.mapEffects(t.effects,e),o,t.startSelection.map(n),s)}(t[i-1],e,s);if(r.changes&&!r.changes.empty||r.effects.length){let e=t.slice(0,i);return e[i-1]=r,e}e=r.mapped,i--,s=r.selectionsAfter}return s.length?[lh.selection(s)]:lO}let lp=/^(input\.type|delete)($|\.)/;class lm{constructor(t,e,i=0,s){this.done=t,this.undone=e,this.prevTime=i,this.prevUserEvent=s}isolate(){return this.prevTime?new lm(this.done,this.undone):this}addChanges(t,e,i,s,r){var n,o;let a,l,h=this.done,c=h[h.length-1];return new lm(h=c&&c.changes&&!c.changes.empty&&t.changes&&(!i||lp.test(i))&&(!c.selectionsAfter.length&&e-this.prevTime<s.newGroupDelay&&s.joinToEvent(r,(n=c.changes,o=t.changes,a=[],l=!1,n.iterChangedRanges((t,e)=>a.push(t,e)),o.iterChangedRanges((t,e,i,s)=>{for(let t=0;t<a.length;){let e=a[t++],r=a[t++];s>=e&&i<=r&&(l=!0)}}),l))||"input.type.compose"==i)?lc(h,h.length-1,s.minDepth,new lh(t.changes.compose(c.changes),lu(tk.mapEffects(t.effects,c.changes),c.effects),c.mapped,c.startSelection,lO)):lc(h,h.length,s.minDepth,t),lO,e,i)}addSelection(t,e,i,s){var r;let n=this.done.length?this.done[this.done.length-1].selectionsAfter:lO;return n.length>0&&e-this.prevTime<s&&i==this.prevUserEvent&&i&&/^select($|\.)/.test(i)&&(r=n[n.length-1]).ranges.length==t.ranges.length&&0===r.ranges.filter((e,i)=>e.empty!=t.ranges[i].empty).length?this:new lm(ld(this.done,t),this.undone,e,i)}addMapping(t){return new lm(lf(this.done,t),lf(this.undone,t),this.prevTime,this.prevUserEvent)}pop(t,e,i){let s=0==t?this.done:this.undone;if(0==s.length)return null;let r=s[s.length-1],n=r.selectionsAfter[0]||(r.startSelection?r.startSelection.map(r.changes.invertedDesc,1):e.selection);if(i&&r.selectionsAfter.length){let i,o;return e.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:a6.of({side:t,rest:(i=s[s.length-1],(o=s.slice())[s.length-1]=i.setSelAfter(i.selectionsAfter.slice(0,i.selectionsAfter.length-1)),o),selection:n}),userEvent:0==t?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let i=1==s.length?lO:s.slice(0,s.length-1);return r.mapped&&(i=lf(i,r.mapped)),e.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:a6.of({side:t,rest:i,selection:n}),filter:!1,userEvent:0==t?"undo":"redo",scrollIntoView:!0})}}}lm.empty=new lm(lO,lO);let lg=[{key:"Mod-z",run:ln,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:lo,preventDefault:!0},{linux:"Ctrl-Shift-z",run:lo,preventDefault:!0},{key:"Mod-u",run:la,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:ll,preventDefault:!0}];function lQ(t,e){return F.create(t.ranges.map(e),t.mainIndex)}function lb(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function lv({state:t,dispatch:e},i){let s=lQ(t.selection,i);return!s.eq(t.selection,!0)&&(e(lb(t,s)),!0)}function lw(t,e){return F.cursor(e?t.to:t.from)}function lS(t,e){return lv(t,i=>i.empty?t.moveByChar(i,e):lw(i,e))}function ly(t){return t.textDirectionAt(t.state.selection.main.head)==eU.LTR}let lx=t=>lS(t,!ly(t)),lk=t=>lS(t,ly(t));function l$(t,e){return lv(t,i=>i.empty?t.moveByGroup(i,e):lw(i,e))}function lP(t,e,i){let s,r,n=oF(t).resolveInner(e.head),o=i?nj.closedBy:nj.openedBy;for(let s=e.head;;){let e=i?n.childAfter(s):n.childBefore(s);if(!e)break;!function(t,e,i){if(e.type.prop(i))return!0;let s=e.to-e.from;return s&&(s>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}(t,e,o)?s=i?e.to:e.from:n=e}return r=n.type.prop(o)&&(s=i?aF(t,n.from,1):aF(t,n.to,-1))&&s.matched?i?s.end.to:s.end.from:i?n.to:n.from,F.cursor(r,i?-1:1)}function lT(t,e){return lv(t,i=>{if(!i.empty)return lw(i,e);let s=t.moveVertically(i,e);return s.head!=i.head?s:t.moveToLineBoundary(i,e)})}let lZ=t=>lT(t,!1),lX=t=>lT(t,!0);function lC(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,i=0,s=0,r;if(e){for(let e of t.state.facet(rp.scrollMargins)){let r=e(t);r?.top&&(i=Math.max(r?.top,i)),r?.bottom&&(s=Math.max(r?.bottom,s))}r=t.scrollDOM.clientHeight-i-s}else r=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:i,marginBottom:s,selfScroll:e,height:Math.max(t.defaultLineHeight,r-5)}}function lA(t,e){let i,s=lC(t),{state:r}=t,n=lQ(r.selection,i=>i.empty?t.moveVertically(i,e,s.height):lw(i,e));if(n.eq(r.selection))return!1;if(s.selfScroll){let e=t.coordsAtPos(r.selection.main.head),o=t.scrollDOM.getBoundingClientRect(),a=o.top+s.marginTop,l=o.bottom-s.marginBottom;e&&e.top>a&&e.bottom<l&&(i=rp.scrollIntoView(n.main.head,{y:"start",yMargin:e.top-a}))}return t.dispatch(lb(r,n),{effects:i}),!0}let lM=t=>lA(t,!1),lR=t=>lA(t,!0);function l_(t,e,i){let s=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,i);if(r.head==e.head&&r.head!=(i?s.to:s.from)&&(r=t.moveToLineBoundary(e,i,!1)),!i&&r.head==s.from&&s.length){let i=/^\s*/.exec(t.state.sliceDoc(s.from,Math.min(s.from+100,s.to)))[0].length;i&&e.head!=s.from+i&&(r=F.cursor(s.from+i))}return r}function lz(t,e){let i=lQ(t.state.selection,t=>{let i=e(t);return F.range(t.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return!i.eq(t.state.selection)&&(t.dispatch(lb(t.state,i)),!0)}function lY(t,e){return lz(t,i=>t.moveByChar(i,e))}let lq=t=>lY(t,!ly(t)),lV=t=>lY(t,ly(t));function lE(t,e){return lz(t,i=>t.moveByGroup(i,e))}function lW(t,e){return lz(t,i=>t.moveVertically(i,e))}let lD=t=>lW(t,!1),lL=t=>lW(t,!0);function lj(t,e){return lz(t,i=>t.moveVertically(i,e,lC(t).height))}let lB=t=>lj(t,!1),lI=t=>lj(t,!0),lG=({state:t,dispatch:e})=>(e(lb(t,{anchor:0})),!0),lN=({state:t,dispatch:e})=>(e(lb(t,{anchor:t.doc.length})),!0),lU=({state:t,dispatch:e})=>(e(lb(t,{anchor:t.selection.main.anchor,head:0})),!0),lF=({state:t,dispatch:e})=>(e(lb(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0);function lH(t,e){let{state:i}=t,s=i.selection,r=i.selection.ranges.slice();for(let s of i.selection.ranges){let n=i.doc.lineAt(s.head);if(e?n.to<t.state.doc.length:n.from>0)for(let i=s;;){let s=t.moveVertically(i,e);if(s.head<n.from||s.head>n.to){r.some(t=>t.head==s.head)||r.push(s);break}if(s.head==i.head)break;i=s}}return r.length!=s.ranges.length&&(t.dispatch(lb(i,F.create(r,r.length-1))),!0)}function lK(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:s}=t,r=s.changeByRange(s=>{let{from:r,to:n}=s;if(r==n){let o=e(s);o<r?(i="delete.backward",o=lJ(t,o,!1)):o>r&&(i="delete.forward",o=lJ(t,o,!0)),r=Math.min(r,o),n=Math.max(n,o)}else r=lJ(t,r,!1),n=lJ(t,n,!0);return r==n?{range:s}:{changes:{from:r,to:n},range:F.cursor(r,r<s.head?-1:1)}});return!r.changes.empty&&(t.dispatch(s.update(r,{scrollIntoView:!0,userEvent:i,effects:"delete.selection"==i?rp.announce.of(s.phrase("Selection deleted")):void 0})),!0)}function lJ(t,e,i){if(t instanceof rp)for(let s of t.state.facet(rp.atomicRanges).map(e=>e(t)))s.between(e,e,(t,s)=>{t<e&&s>e&&(e=i?s:t)});return e}
vendor: 8,758 bytes, line 11
11let l0=(t,e,i)=>lK(t,s=>{let r=s.from,{state:n}=t,o=n.doc.lineAt(r),a,l;if(i&&!e&&r>o.from&&r<o.from+200&&!/[^ \t]/.test(a=o.text.slice(0,r-o.from))){if("	"==a[a.length-1])return r-1;let t=tK(a,n.tabSize)%o6(n)||o6(n);for(let e=0;e<t&&" "==a[a.length-1-e];e++)r--;l=r}else(l=_(o.text,r-o.from,e,e)+o.from)==r&&o.number!=(e?n.doc.lines:1)?l+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(o.text.slice(l-o.from,r-o.from))&&(l=_(o.text,l-o.from,!1,!1)+o.from);return l}),l1=t=>l0(t,!1,!0),l2=t=>l0(t,!0,!1),l5=(t,e)=>lK(t,i=>{let s=i.head,{state:r}=t,n=r.doc.lineAt(s),o=r.charCategorizer(s);for(let t=null;;){if(s==(e?n.to:n.from)){s==i.head&&n.number!=(e?r.doc.lines:1)&&(s+=e?1:-1);break}let a=_(n.text,s-n.from,e)+n.from,l=n.text.slice(Math.min(s,a)-n.from,Math.max(s,a)-n.from),h=o(l);if(null!=t&&h!=t)break;(" "!=l||s!=i.head)&&(t=h),s=a}return s}),l3=t=>l5(t,!1);function l7(t){let e=[],i=-1;for(let s of t.selection.ranges){let r=t.doc.lineAt(s.from),n=t.doc.lineAt(s.to);if(s.empty||s.to!=n.from||(n=t.doc.lineAt(s.to-1)),i>=r.number){let t=e[e.length-1];t.to=n.to,t.ranges.push(s)}else e.push({from:r.from,to:n.to,ranges:[s]});i=n.number+1}return e}function l4(t,e,i){if(t.readOnly)return!1;let s=[],r=[];for(let e of l7(t)){if(i?e.to==t.doc.length:0==e.from)continue;let n=t.doc.lineAt(i?e.to+1:e.from-1),o=n.length+1;if(i)for(let i of(s.push({from:e.to,to:n.to},{from:e.from,insert:n.text+t.lineBreak}),e.ranges))r.push(F.range(Math.min(t.doc.length,i.anchor+o),Math.min(t.doc.length,i.head+o)));else for(let i of(s.push({from:n.from,to:e.from},{from:e.to,insert:t.lineBreak+n.text}),e.ranges))r.push(F.range(i.anchor-o,i.head-o))}return!!s.length&&(e(t.update({changes:s,scrollIntoView:!0,selection:F.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0)}function l9(t,e,i){if(t.readOnly)return!1;let s=[];for(let e of l7(t))i?s.push({from:e.from,insert:t.doc.slice(e.from,e.to)+t.lineBreak}):s.push({from:e.to,insert:t.lineBreak+t.doc.slice(e.from,e.to)});let r=t.changes(s);return e(t.update({changes:r,selection:t.selection.map(r,i?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}let l8=ht(!1),l6=ht(!0);function ht(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let s=e.changeByRange(i=>{let{from:s,to:r}=i,n=e.doc.lineAt(s),o=!t&&s==r&&function(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=oF(t).resolveInner(e),s=i.childBefore(e),r=i.childAfter(e),n;return s&&r&&s.to<=e&&r.from>=e&&(n=s.type.prop(nj.closedBy))&&n.indexOf(r.name)>-1&&t.doc.lineAt(s.to).from==t.doc.lineAt(r.from).from&&!/\S/.test(t.sliceDoc(s.to,r.from))?{from:s.to,to:r.from}:null}(e,s);t&&(s=r=(r<=n.to?n:e.doc.lineAt(r)).to);let a=new ai(e,{simulateBreak:s,simulateDoubleBreak:!!o}),l=ae(a,s);for(null==l&&(l=tK(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));r<n.to&&/\s/.test(n.text[r-n.from]);)r++;o?{from:s,to:r}=o:s>n.from&&s<n.from+100&&!/\S/.test(n.text.slice(0,s))&&(s=n.from);let h=["",at(e,l)];return o&&h.push(at(e,a.lineIndent(n.from,-1))),{changes:{from:s,to:r,insert:$.of(h)},range:F.cursor(s+1+h[1].length)}});return i(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0}}function he(t,e){let i=-1;return t.changeByRange(s=>{let r=[];for(let n=s.from;n<=s.to;){let o=t.doc.lineAt(n);o.number>i&&(s.empty||s.to>o.from)&&(e(o,r,s),i=o.number),n=o.to+1}let n=t.changes(r);return{changes:r,range:F.range(n.mapPos(s.anchor,1),n.mapPos(s.head,1))}})}let hi=({state:t,dispatch:e})=>!t.readOnly&&(e(t.update(he(t,(e,i)=>{i.push({from:e.from,insert:t.facet(o8)})}),{userEvent:"input.indent"})),!0),hs=({state:t,dispatch:e})=>!t.readOnly&&(e(t.update(he(t,(e,i)=>{let s=/^\s*/.exec(e.text)[0];if(!s)return;let r=tK(s,t.tabSize),n=0,o=at(t,Math.max(0,r-o6(t)));for(;n<s.length&&n<o.length&&s.charCodeAt(n)==o.charCodeAt(n);)n++;i.push({from:e.from+n,to:e.from+s.length,insert:o.slice(n)})}),{userEvent:"delete.dedent"})),!0),hr=[{key:"Ctrl-b",run:lx,shift:lq,preventDefault:!0},{key:"Ctrl-f",run:lk,shift:lV},{key:"Ctrl-p",run:lZ,shift:lD},{key:"Ctrl-n",run:lX,shift:lL},{key:"Ctrl-a",run:t=>lv(t,e=>F.cursor(t.lineBlockAt(e.head).from,1)),shift:t=>lz(t,e=>F.cursor(t.lineBlockAt(e.head).from))},{key:"Ctrl-e",run:t=>lv(t,e=>F.cursor(t.lineBlockAt(e.head).to,-1)),shift:t=>lz(t,e=>F.cursor(t.lineBlockAt(e.head).to))},{key:"Ctrl-d",run:l2},{key:"Ctrl-h",run:l1},{key:"Ctrl-k",run:t=>lK(t,e=>{let i=t.lineBlockAt(e.head).to;return e.head<i?i:Math.min(t.state.doc.length,e.head+1)})},{key:"Ctrl-Alt-h",run:l3},{key:"Ctrl-o",run:({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:$.of(["",""])},range:F.cursor(t.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(e=>{if(!e.empty||0==e.from||e.from==t.doc.length)return{range:e};let i=e.from,s=t.doc.lineAt(i),r=i==s.from?i-1:_(s.text,i-s.from,!1)+s.from,n=i==s.to?i+1:_(s.text,i-s.from,!0)+s.from;return{changes:{from:r,to:n,insert:t.doc.slice(i,n).append(t.doc.slice(r,i))},range:F.cursor(n)}});return!i.changes.empty&&(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:lR}],hn=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:t=>lv(t,e=>lP(t.state,e,!ly(t))),shift:t=>lz(t,e=>lP(t.state,e,!ly(t)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:t=>lv(t,e=>lP(t.state,e,ly(t))),shift:t=>lz(t,e=>lP(t.state,e,ly(t)))},{key:"Alt-ArrowUp",run:({state:t,dispatch:e})=>l4(t,e,!1)},{key:"Shift-Alt-ArrowUp",run:({state:t,dispatch:e})=>l9(t,e,!1)},{key:"Alt-ArrowDown",run:({state:t,dispatch:e})=>l4(t,e,!0)},{key:"Shift-Alt-ArrowDown",run:({state:t,dispatch:e})=>l9(t,e,!0)},{key:"Mod-Alt-ArrowUp",run:t=>lH(t,!1)},{key:"Mod-Alt-ArrowDown",run:t=>lH(t,!0)},{key:"Escape",run:({state:t,dispatch:e})=>{let i=t.selection,s=null;return i.ranges.length>1?s=F.create([i.main]):i.main.empty||(s=F.create([F.cursor(i.main.head)])),!!s&&(e(lb(t,s)),!0)}},{key:"Mod-Enter",run:l6},{key:"Alt-l",mac:"Ctrl-l",run:({state:t,dispatch:e})=>{let i=l7(t).map(({from:e,to:i})=>F.range(e,Math.min(i+1,t.doc.length)));return e(t.update({selection:F.create(i),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:t,dispatch:e})=>{let i=lQ(t.selection,e=>{let i=oF(t),s=i.resolveStack(e.from,1);if(e.empty){let t=i.resolveStack(e.from,-1);t.node.from>=s.node.from&&t.node.to<=s.node.to&&(s=t)}for(let t=s;t;t=t.next){let{node:i}=t;if((i.from<e.from&&i.to>=e.to||i.to>e.to&&i.from<=e.from)&&t.next)return F.range(i.to,i.from)}return e});return!i.eq(t.selection)&&(e(lb(t,i)),!0)},preventDefault:!0},{key:"Mod-[",run:hs},{key:"Mod-]",run:hi},{key:"Mod-Alt-\\",run:({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),s=new ai(t,{overrideIndentation:t=>i[t]??-1}),r=he(t,(e,r,n)=>{let o=ae(s,e.from);if(null==o)return;/\S/.test(e.text)||(o=0);let a=/^\s*/.exec(e.text)[0],l=at(t,o);(a!=l||n.from<e.from+a.length)&&(i[e.from]=o,r.push({from:e.from,to:e.from+a.length,insert:l}))});return r.changes.empty||e(t.update(r,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(l7(e).map(({from:t,to:i})=>(t>0?t--:i<e.doc.length&&i++,{from:t,to:i}))),s=lQ(e.selection,e=>{let i;if(t.lineWrapping){let s=t.lineBlockAt(e.head),r=t.coordsAtPos(e.head,e.assoc||1);r&&(i=s.bottom+t.documentTop-r.bottom+t.defaultLineHeight/2)}return t.moveVertically(e,!0,i)}).map(i);return t.dispatch({changes:i,selection:s,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:t,dispatch:e})=>{let i,s;return i=!1,s=lQ(t.selection,e=>{let s=aF(t,e.head,-1)||aF(t,e.head,1)||e.head>0&&aF(t,e.head-1,1)||e.head<t.doc.length&&aF(t,e.head+1,-1);if(!s||!s.end)return e;i=!0;let r=s.start.from==e.head?s.end.to:s.end.from;return F.cursor(r)}),!!i&&(e(lb(t,s)),!0)}},{key:"Mod-/",run:t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),s=a9(t.state,i.from);return s.line?a3(t):!!s.block&&a4(t)}},{key:"Alt-A",run:a7},{key:"Ctrl-m",mac:"Shift-Alt-m",run:t=>(t.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:lx,shift:lq,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:t=>l$(t,!ly(t)),shift:t=>lE(t,!ly(t)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:t=>lv(t,e=>l_(t,e,!ly(t))),shift:t=>lz(t,e=>l_(t,e,!ly(t))),preventDefault:!0},{key:"ArrowRight",run:lk,shift:lV,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:t=>l$(t,ly(t)),shift:t=>lE(t,ly(t)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:t=>lv(t,e=>l_(t,e,ly(t))),shift:t=>lz(t,e=>l_(t,e,ly(t))),preventDefault:!0},{key:"ArrowUp",run:lZ,shift:lD,preventDefault:!0},{mac:"Cmd-ArrowUp",run:lG,shift:lU},{mac:"Ctrl-ArrowUp",run:lM,shift:lB},{key:"ArrowDown",run:lX,shift:lL,preventDefault:!0},{mac:"Cmd-ArrowDown",run:lN,shift:lF}
11,{mac:"Ctrl-ArrowDown",run:lR,shift:lI},{key:"PageUp",run:lM,shift:lB},{key:"PageDown",run:lR,shift:lI},{key:"Home",run:t=>lv(t,e=>l_(t,e,!1)),shift:t=>lz(t,e=>l_(t,e,!1)),preventDefault:!0},{key:"Mod-Home",run:lG,shift:lU},{key:"End",run:t=>lv(t,e=>l_(t,e,!0)),shift:t=>lz(t,e=>l_(t,e,!0)),preventDefault:!0},{key:"Mod-End",run:lN,shift:lF},{key:"Enter",run:l8,shift:l8},{key:"Mod-a",run:({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:l1,shift:l1,preventDefault:!0},{key:"Delete",run:l2,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:l3,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:t=>l5(t,!0),preventDefault:!0},{mac:"Mod-Backspace",run:t=>lK(t,e=>{let i=t.moveToLineBoundary(e,!1).head;return e.head>i?i:Math.max(0,e.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:t=>lK(t,e=>{let i=t.moveToLineBoundary(e,!0).head;return e.head<i?i:Math.min(t.state.doc.length,e.head+1)}),preventDefault:!0}].concat(hr.map(t=>({mac:t.key,run:t.run,shift:t.shift})))),ho={key:"Tab",run:hi,shift:hs},ha="function"==typeof String.prototype.normalize?t=>t.normalize("NFKD"):t=>t;class hl{constructor(t,e,i=0,s=t.length,r,n){this.test=n,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(i,s),this.bufferStart=i,this.normalize=r?t=>r(ha(t)):ha,this.query=this.normalize(e)}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 z(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let e=Y(t),i=this.bufferStart+this.bufferPos;this.bufferPos+=q(t);let s=this.normalize(e);if(s.length)for(let t=0,r=i;;t++){let n=s.charCodeAt(t),o=this.match(n,r,this.bufferPos+this.bufferStart);if(t==s.length-1){if(o)return this.value=o,this;break}r==i&&t<e.length&&e.charCodeAt(t)==n&&r++}}}match(t,e,i){let s=null;for(let e=0;e<this.matches.length;e+=2){let r=this.matches[e],n=!1;this.query.charCodeAt(r)==t&&(r==this.query.length-1?s={from:this.matches[e+1],to:i}:(this.matches[e]++,n=!0)),n||(this.matches.splice(e,2),e-=2)}return this.query.charCodeAt(0)==t&&(1==this.query.length?s={from:e,to:i}:this.matches.push(1,e)),s&&this.test&&!this.test(s.from,s.to,this.buffer,this.bufferStart)&&(s=null),s}}"u">typeof Symbol&&(hl.prototype[Symbol.iterator]=function(){return this});let hh={from:-1,to:-1,match:/.*/.exec("")},hc="gm"+(null==/x/.unicode?"":"u");class hu{constructor(t,e,i,s=0,r=t.length){if(this.text=t,this.to=r,this.curLine="",this.done=!1,this.value=hh,/\\[sWDnr]|\n|\r|\[\^/.test(e))return new hf(t,e,i,s,r);this.re=new RegExp(e,hc+(i?.ignoreCase?"i":"")),this.test=i?.test,this.iter=t.iter();let n=t.lineAt(s);this.curLineStart=n.from,this.matchPos=hp(t,s),this.getLine(this.curLineStart)}getLine(t){this.iter.next(t),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 t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let e=this.matchPos<=this.to&&this.re.exec(this.curLine);if(e){let i=this.curLineStart+e.index,s=i+e[0].length;if(this.matchPos=hp(this.text,s+(i==s?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(i<s||i>this.value.to)&&(!this.test||this.test(i,s,e)))return this.value={from:i,to:s,match:e},this;t=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),t=0}}}}let hO=new WeakMap;class hd{constructor(t,e){this.from=t,this.text=e}get to(){return this.from+this.text.length}static get(t,e,i){let s=hO.get(t);if(!s||s.from>=i||s.to<=e){let s=new hd(e,t.sliceString(e,i));return hO.set(t,s),s}if(s.from==e&&s.to==i)return s;let{text:r,from:n}=s;return n>e&&(r=t.sliceString(e,n)+r,n=e),s.to<i&&(r+=t.sliceString(s.to,i)),hO.set(t,new hd(n,r)),new hd(e,r.slice(e-n,i-n))}}class hf{constructor(t,e,i,s,r){this.text=t,this.to=r,this.done=!1,this.value=hh,this.matchPos=hp(t,s),this.re=new RegExp(e,hc+(i?.ignoreCase?"i":"")),this.test=i?.test,this.flat=hd.get(t,s,this.chunkEnd(s+5e3))}chunkEnd(t){return t>=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,e=this.re.exec(this.flat.text);if(e&&!e[0]&&e.index==t&&(this.re.lastIndex=t+1,e=this.re.exec(this.flat.text)),e){let t=this.flat.from+e.index,i=t
11+e[0].length;if((this.flat.to>=this.to||e.index+e[0].length<=this.flat.text.length-10)&&(!this.test||this.test(t,i,e)))return this.value={from:t,to:i,match:e},this.matchPos=hp(this.text,i+(t==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=hd.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function hp(t,e){if(e>=t.length)return e;let i=t.lineAt(e),s;for(;e<i.to&&(s=i.text.charCodeAt(e-i.from))>=56320&&s<57344;)e++;return e}"u">typeof Symbol&&(hu.prototype[Symbol.iterator]=hf.prototype[Symbol.iterator]=function(){return this});let hm={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},hg=J.define({combine:t=>tR(t,hm,{highlightWordAroundCursor:(t,e)=>t||e,minSelectionLength:Math.min,maxMatches:Math.min})}),hQ=ew.mark({class:"cm-selectionMatch"}),hb=ew.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function hv(t,e,i,s){return(0==i||t(e.sliceDoc(i-1,i))!=tC.Word)&&(s==e.doc.length||t(e.sliceDoc(s,s+1))!=tC.Word)}let hw=iv.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(hg),{state:i}=t,s=i.selection;if(s.ranges.length>1)return ew.none;let r=s.main,n,o=null;if(r.empty){if(!e.highlightWordAroundCursor)return ew.none;let t=i.wordAt(r.head);if(!t)return ew.none;o=i.charCategorizer(r.head),n=i.sliceDoc(t.from,t.to)}else{let t=r.to-r.from;if(t<e.minSelectionLength||t>200)return ew.none;if(e.wholeWords){var a,l,h;if(n=i.sliceDoc(r.from,r.to),!(hv(o=i.charCategorizer(r.head),i,r.from,r.to)&&(a=o,l=r.from,h=r.to,a(i.sliceDoc(l,l+1))==tC.Word&&a(i.sliceDoc(h-1,h))==tC.Word)))return ew.none}else if(!(n=i.sliceDoc(r.from,r.to)))return ew.none}let c=[];for(let s of t.visibleRanges){let t=new hl(i.doc,n,s.from,s.to);for(;!t.next().done;){let{from:s,to:n}=t.value;if((!o||hv(o,i,s,n))&&(r.empty&&s<=r.from&&n>=r.to?c.push(hb.range(s,n)):(s>=r.to||n<=r.from)&&c.push(hQ.range(s,n)),c.length>e.maxMatches))return ew.none}}return ew.set(c)}},{decorations:t=>t.decorations}),hS=rp.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),hy=({state:t,dispatch:e})=>{let{selection:i}=t,s=F.create(i.ranges.map(e=>t.wordAt(e.head)||F.cursor(e.head)),i.mainIndex);return!s.eq(i)&&(e(t.update({selection:s})),!0)},hx=J.define({combine:t=>tR(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:t=>new hJ(t),scrollToMatch:t=>rp.scrollIntoView(t)})});class hk{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||function(t){try{return new RegExp(t,hc),!0}catch{return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord,this.test=t.test}unquote(t){return this.literal?t:t.replace(/\\([nrt\\])/g,(t,e)=>"n"==e?`
12`:"r"==e?"\r":"t"==e?"	":"\\")}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp&&this.wholeWord==t.wholeWord&&this.test==t.test}create(){return this.regexp?new hA(this):new hT(this)}getCursor(t,e=0,i){let s=t.doc?t:tM.create({doc:t});return null==i&&(i=s.doc.length),this.regexp?hZ(this,s,e,i):hP(this,s,e,i)}}class h${constructor(t){this.spec=t}}function hP(t,e,i,s){var r,n,o,a;let l;return t.wholeWord&&(o=e.doc,a=e.charCategorizer(e.selection.main.head),l=(t,e,i,s)=>((s>t||s+i.length<e)&&(s=Math.max(0,t-2),i=o.sliceString(s,Math.min(o.length,e+2))),(a(hX(i,t-s))!=tC.Word||a(hC(i,t-s))!=tC.Word)&&(a(hC(i,e-s))!=tC.Word||a(hX(i,e-s))!=tC.Word))),t.test&&(r=t.test,n=l,l=(t,i,s,o)=>(!n||!!n(t,i,s,o))&&r(t>=o&&i<=o+s.length?s.slice(t-o,i-o):e.doc.sliceString(t,i),e,t,i)),new hl(e.doc,t.unquoted,i,s,t.caseSensitive?void 0:t=>t.toLowerCase(),l)}class hT extends h${constructor(t){super(t)}nextMatch(t,e,i){let s=hP(this.spec,t,i,t.doc.length).nextOverlapping();if(s.done){let i=Math.min(t.doc.length,e+this.spec.unquoted.length);s=hP(this.spec,t,0,i).nextOverlapping()}return s.done||s.value.from==e&&s.value.to==i?null:s.value}prevMatchInRange(t,e,i){for(let s=i;;){let i=Math.max(e,s-1e4-this.spec.unquoted.length),r=hP(this.spec,t,i,s),n=null;for(;!r.nextOverlapping().done;)n=r.value;if(n)return n;if(i==e)return null;s-=1e4}}prevMatch(t,e,i){let s=this.prevMatchInRange(t,0,e);return s||(s=this.prevMatchInRange(t,Math.max(0,i-this.spec.unquoted.length),t.doc.length)),s&&(s.from!=e||s.to!=i)?s:null}getReplacement(t){return this.spec.unquote(this.spec.replace)}matchAll(t,e){let i=hP(this.spec,t,0,t.doc.length),s=[];for(;!i.next().done;){if(s.length>=e)return null;s.push(i.value)}return s}highlight(t,e,i,s){let r=hP(this.spec,t,Math.max(0,e-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,t.doc.length));for(;!r.next().done;)s(r.value.from,r.value.to)}}function hZ(t,e,i,s){var r,n,o;let a;return t.wholeWord&&(o=e.charCategorizer(e.selection.main.head),a=(t,e,i)=>!i[0].length||(o(hX(i.input,i.index))!=tC.Word||o(hC(i.input,i.index))!=tC.Word)&&(o(hC(i.input,i.index+i[0].length))!=tC.Word||o(hX(i.input,i.index+i[0].length))!=tC.Word)),t.test&&(r=t.test,n=a,a=(t,i,s)=>(!n||n(t,i,s))&&r(s[0],e,t,i)),new hu(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:a},i,s)}function hX(t,e){return t.slice(_(t,e,!1),e)}function hC(t,e){return t.slice(e,_(t,e))}class hA extends h${nextMatch(t,e,i){let s=hZ(this.spec,t,i,t.doc.length).next();return s.done&&(s=hZ(this.spec,t,0,e).next()),s.done?null:s.value}prevMatchInRange(t,e,i){for(let s=1;;s++){let r=Math.max(e,i-1e4*s),n=hZ(this.spec,t,r,i),o=null;for(;!n.next().done;)o=n.value;if(o&&(r==e||o.from>r+10))return o;if(r==e)return null}}prevMatch(t,e,i){return this.prevMatchInRange(t,0,e)||this.prevMatchInRange(t,i,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(e,i)=>{if("&"==i)return t.match[0];if("$"==i)return"$";for(let e=i.length;e>0;e--){let s=+i.slice(0,e);if(s>0&&s<t.match.length)return t.match[s]+i.slice(e)}return e})}matchAll(t,e){let i=hZ(this.spec,t,0,t.doc.length),s=[];for(;!i.next().done;){if(s.length>=e)return null;s.push(i.value)}return s}highlight(t,e,i,s){let r=hZ(this.spec,t,Math.max(0,e-250),Math.min(i+250,t.doc.length));for(;!r.next().done;)s(r.value.from,r.value.to)}}let hM=tk.define(),hR=tk.define(),h_=tn.define({create:t=>new hz(hG(t).create(),null),update(t,e){for(let i of e.effects)i.is(hM)?t=new hz(i.value.create(),t.panel):i.is(hR)&&(t=new hz(t.query,i.value?hI:null));return t},provide:t=>ng.from(t,t=>t.panel)});class hz{constructor(t,e){this.query=t,this.panel=e}}let hY=ew.mark({class:"cm-searchMatch"}),hq=ew.mark({class:"cm-searchMatch cm-searchMatch-selected"}),hV=iv.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(h_))}update(t){let e=t.state.field(h_);(e!=t.startState.field(h_)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return ew.none;let{view:i}=this,s=new tW;for(let e=0,r=i.visibleRanges,n=r.length;e<n;e++){let{from:o,to:a}=r[e];for(;e<n-1&&a>r[e+1].from-500;)a=r[++e].to;t.highlight(i.state,o,a,(t,e)=>{let r=i.state.selection.ranges.some(i=>i.from==t&&i.to==e);s.add(t,e,r?hq:hY)})}return s.finish()}},{decorations:t=>t.decorations});function hE(t){return e=>{let i=e.state.field(h_,!1);return i&&i.query.spec.valid?t(e,i):hF(e)}}let hW=hE((t,{query:e})=>{let{to:i}=t.state.selection.main,s=e.nextMatch(t.state,i,i);if(!s)return!1;let r=F.single(s.from,s.to),n=t.state.facet(hx);return t.dispatch({selection:r,effects:[h2(t,s),n.scrollToMatch(r.main,t)],userEvent:"select.search"}),hU(t),!0}),hD=hE((t,{query:e})=>{let{state:i}=t,{from:s}
12=i.selection.main,r=e.prevMatch(i,s,s);if(!r)return!1;let n=F.single(r.from,r.to),o=t.state.facet(hx);return t.dispatch({selection:n,effects:[h2(t,r),o.scrollToMatch(n.main,t)],userEvent:"select.search"}),hU(t),!0}),hL=hE((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!!i&&!!i.length&&(t.dispatch({selection:F.create(i.map(t=>F.range(t.from,t.to))),userEvent:"select.search.matches"}),!0)}),hj=hE((t,{query:e})=>{let{state:i}=t,{from:s,to:r}=i.selection.main;if(i.readOnly)return!1;let n=e.nextMatch(i,s,s);if(!n)return!1;let o=n,a=[],l,h,c=[];o.from==s&&o.to==r&&(h=i.toText(e.getReplacement(o)),a.push({from:o.from,to:o.to,insert:h}),o=e.nextMatch(i,o.from,o.to),c.push(rp.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(s).number)+".")));let u=t.state.changes(a);return o&&(l=F.single(o.from,o.to).map(u),c.push(h2(t,o)),c.push(i.facet(hx).scrollToMatch(l.main,t))),t.dispatch({changes:u,selection:l,effects:c,userEvent:"input.replace"}),!0}),hB=hE((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state,1e9).map(t=>{let{from:i,to:s}=t;return{from:i,to:s,insert:e.getReplacement(t)}});if(!i.length)return!1;let s=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:rp.announce.of(s),userEvent:"input.replace.all"}),!0});function hI(t){return t.state.facet(hx).createPanel(t)}function hG(t,e){var i,s,r,n,o;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 h=t.facet(hx);return new hk({search:(null!==(i=e?.literal)&&void 0!==i?i:h.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(s=e?.caseSensitive)&&void 0!==s?s:h.caseSensitive,literal:null!==(r=e?.literal)&&void 0!==r?r:h.literal,regexp:null!==(n=e?.regexp)&&void 0!==n?n:h.regexp,wholeWord:null!==(o=e?.wholeWord)&&void 0!==o?o:h.wholeWord})}function hN(t){let e=nd(t,hI);return e&&e.dom.querySelector("[main-field]")}function hU(t){let e=hN(t);e&&e==t.root.activeElement&&e.select()}let hF=t=>{let e=t.state.field(h_,!1);if(e&&e.panel){let i=hN(t);if(i&&i!=t.root.activeElement){let s=hG(t.state,e.query.spec);s.valid&&t.dispatch({effects:hM.of(s)}),i.focus(),i.select()}}else t.dispatch({effects:[hR.of(!0),e?hM.of(hG(t.state,e.query.spec)):tk.appendConfig.of(h3)]});return!0},hH=t=>{let e=t.state.field(h_,!1);if(!e||!e.panel)return!1;let i=nd(t,hI);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:hR.of(!1)}),!0},hK=[{key:"Mod-f",run:hF,scope:"editor search-panel"},{key:"F3",run:hW,shift:hD,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:hW,shift:hD,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:hH,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:s,to:r}=i.main,n=[],o=0;for(let e=new hl(t.doc,t.sliceDoc(s,r));!e.next().done;){if(n.length>1e3)return!1;e.value.from==s&&(o=n.length),n.push(F.range(e.value.from,e.value.to))}return e(t.update({selection:F.create(n,o),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:t=>{var e;let i,s,r,n;let{state:o}=t,a=String(o.doc.lineAt(t.state.selection.main.head).number),{close:l,result:h}
12=(e={label:o.phrase("Go to line"),input:{type:"text",name:"line",value:a},focus:!0,submitLabel:o.phrase("go")},s=new Promise(t=>i=t),r=t=>(function(t,e,i){let s=e.content?e.content(t,()=>o(null)):null;if(!s){if(s=ei("form"),e.input){let t=ei("input",e.input);/^(text|password|number|email|tel|url)$/.test(t.type)&&t.classList.add("cm-textfield"),t.name||(t.name="input"),s.appendChild(ei("label",(e.label||"")+": ",t))}else s.appendChild(document.createTextNode(e.label||""));s.appendChild(document.createTextNode(" ")),s.appendChild(ei("button",{class:"cm-button",type:"submit"},e.submitLabel||"OK"))}let r="FORM"==s.nodeName?[s]:s.querySelectorAll("form");for(let t=0;t<r.length;t++){let e=r[t];e.addEventListener("keydown",t=>{27==t.keyCode?(t.preventDefault(),o(null)):13==t.keyCode&&(t.preventDefault(),o(e))}),e.addEventListener("submit",t=>{t.preventDefault(),o(e)})}let n=ei("div",s,ei("button",{onclick:()=>o(null),"aria-label":t.state.phrase("close"),class:"cm-dialog-close",type:"button"},["\xd7"]));function o(e){n.contains(n.ownerDocument.activeElement)&&t.focus(),i(e)}return e.class&&(n.className=e.class),n.classList.add("cm-dialog"),{dom:n,top:e.top,mount:()=>{if(e.focus){let t;(t="string"==typeof e.focus?s.querySelector(e.focus):s.querySelector("input")||s.querySelector("button"))&&"select"in t?t.select():t&&"focus"in t&&t.focus()}}}})(t,e,i),t.state.field(nQ,!1)?t.dispatch({effects:nb.of(r)}):t.dispatch({effects:tk.appendConfig.of(nQ.init(()=>[r]))}),{close:n=nv.of(r),result:s.then(e=>((t.win.queueMicrotask||(e=>t.win.setTimeout(e,10)))(()=>{t.state.field(nQ).indexOf(r)>-1&&t.dispatch({effects:n})}),e))});return h.then(e=>{let i=e&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.elements.line.value);if(!i){t.dispatch({effects:l});return}let s=o.doc.lineAt(o.selection.main.head),[,r,n,a,h]=i,c=a?+a.slice(1):0,u=n?+n:s.number;if(n&&h){let t=u/100;r&&(t=t*("-"==r?-1:1)+s.number/o.doc.lines),u=Math.round(o.doc.lines*t)}else n&&r&&(u=u*("-"==r?-1:1)+s.number);let O=o.doc.line(Math.max(1,Math.min(o.doc.lines,u))),d=F.cursor(O.from+Math.max(0,Math.min(c,O.length)));t.dispatch({effects:[l,rp.scrollIntoView(d.from,{y:"center"})],selection:d})}),!0}},{key:"Mod-d",run:({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(t=>t.from===t.to))return hy({state:t,dispatch:e});let s=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(e=>t.sliceDoc(e.from,e.to)!=s))return!1;let r=function(t,e){let{main:i,ranges:s}=t.selection,r=t.wordAt(i.head),n=r&&r.from==i.from&&r.to==i.to;for(let i=!1,r=new hl(t.doc,e,s[s.length-1].to);;)if(r.next(),r.done){if(i)return null;r=new hl(t.doc,e,0,Math.max(0,s[s.length-1].from-1)),i=!0}else{if(i&&s.some(t=>t.from==r.value.from))continue;if(n){let e=t.wordAt(r.value.from);if(!e||e.from!=r.value.from||e.to!=r.value.to)continue}return r.value}}(t,s);return!!r&&(e(t.update({selection:t.selection.addRange(F.range(r.from,r.to),!1),effects:rp.scrollIntoView(r.to)})),!0)},preventDefault:!0}];class hJ{constructor(t){this.view=t;let e=this.query=t.state.field(h_).query.spec;function i(t,e,i){return ei("button",{class:"cm-button",name:t,onclick:e,type:"button"},i)}this.commit=this.commit.bind(this),this.searchField=ei("input",{value:e.search,placeholder:h0(t,"Find"),"aria-label":h0(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=ei("input",{value:e.replace,placeholder:h0(t,"Replace"),"aria-label":h0(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=ei("input",{type:"checkbox",name:"case",form:"",checked:e.caseSensitive,onchange:this.commit}),this.reField=ei("input",{type:"checkbox",name:"re",form:"",checked:e.regexp,onchange:this.commit}),this.wordField=ei("input",{type:"checkbox",name:"word",form:"",checked:e.wholeWord,onchange:this.commit}),this.dom=ei("div",{onkeydown:t=>this.keydown(t),class:"cm-search"},[this.searchField,i("next",()=>hW(t),[h0(t,"next")]),i("prev",()=>hD(t),[h0(t,"previous")]),i("select",()=>hL(t),[h0(t,"all")]),ei("label",null,[this.caseField,h0(t,"match case")]),ei("label",null,[this.reField,h0(t,"regexp")]),ei("label",null,[this.wordField,h0(t,"by word")]),...t.state.readOnly?[]:[ei("br"),this.replaceField,i("replace",()=>hj(t),[h0(t,"replace")]),i("replaceAll",()=>hB(t),[h0(t,"replace all")])],ei("button",{name:"close",onclick:()=>hH(t),"aria-label":h0(t,"close"),type:"button"},["\xd7"])])}commit(){let t=new hk({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:hM.of(t)}))}keydown(t){var e,i;(e=this.view,i="search-panel",rT(rk(e.state),t,e,i))?t.preventDefault():13==t.keyCode&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?hD:hW)(this.view)):13==t.keyCode&&t.target==this.replaceField&&(t.preventDefault(),hj(this.view))}update(t){for(let e of t.transactions)for(let t of e.effects)t.is(hM)&&!t.value.eq(this.query)&&this.setQuery(t.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(hx).top}}function h0(t,e){return t.state.phrase(e)}let h1=/[\s\.,:;?!]/;function h2(t,{from:e,to:i}){let s=t.state.doc.lineAt(e),r=t.state.doc.lineAt(i).to,n=Math.max(s.from,e-30),o=Math.min(r,i+30),a=t.state.sliceDoc(n,o);if(n!=s.from){for(let t=0;t<30;t++)if(!h1.test(a[t+1])&&h1.test(a[t])){a=a.slice(t);break}}if(o!=r){for(let t=a.length-1;t>a.length-30;t--)if(!h1.test(a[t-1])&&h1.test(a[t])){a=a.slice(0,t);break}}return rp.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${s.number}.`)}let h5=rp.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"}}),h3=[h_,tl.low(hV),h5];class h7{constructor(t,e,i,s){this.state=t,this.pos=e,this.explicit=i,this.view=s,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(t){let e=oF(this.state).resolveInner(this.pos,-1);for(;e&&0>t.indexOf(e.name);)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null}matchBefore(t){let e=this.state.doc.lineAt(this.pos),i=Math.max(e.from,this.pos-250),s=e.text.slice(i-e.from,this.pos-e.from),r=s.search(ct(t,!1));return r<0?null:{from:i+r,to:this.pos,text:s.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(t,e,i){"abort"==t&&this.abortListeners&&(this.abortListeners.push(e),i&&i.onDocChange&&(this.abortOnDocChange=!0))}}function h4(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 h9(t){let e=t.map(t=>"string"==typeof t?{label:t}:t),[i,s]=e.every(t=>/^\w+$/.test(t.label))?[/\w*$/,/\w+$/]:function(t){let e=Object.create(null),i=Object.create(null);for(let{label:s}of t){e[s[0]]=!0;for(let t=1;t<s.length;t++)i[s[t]]=!0}let s=h4(e)+h4(i)+"*$";return[RegExp("^"+s),new RegExp(s)]}(e);return t=>{let r=t.matchBefore(s);return r||t.explicit?{from:r?r.from:t.pos,options:e,validFor:i}:null}}class h8{constructor(t,e,i,s){this.completion=t,this.source=e,this.match=i,this.score=s}}function h6(t){return t.selection.main.from}function ct(t,e){var i;let{source:s}=t,r=e&&"^"!=s[0],n="$"!=s[s.length-1];return r||n?RegExp(`${r?"^":""}(?:${s})${n?"$":""}`,null!==(i=t.flags)&&void 0!==i?i:t.ignoreCase?"i":""):t}let ce=tS.define(),ci=new WeakMap;function cs(t){if(!Array.isArray(t))return t;let e=ci.get(t);return e||ci.set(t,e=h9(t)),e}let cr=tk.define(),cn=tk.define();class co{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let e=0;e<t.length;){let i=z(t,e),s=q(i);this.chars.push(i);let r=t.slice(e,e+s),n=r.toUpperCase();this.folded.push(z(n==r?r.toLowerCase():n,0)),e+=s}
12this.astral=t.length!=this.chars.length}ret(t,e){return this.score=t,this.matched=e,this}match(t){if(0==this.pattern.length)return this.ret(-100,[]);if(t.length<this.pattern.length)return null;let{chars:e,folded:i,any:s,precise:r,byWord:n}=this;if(1==e.length){let s=z(t,0),r=q(s),n=r==t.length?0:-100;if(s!=e[0]){if(s!=i[0])return null;n+=-200}return this.ret(n,[0,r])}let o=t.indexOf(this.pattern);if(0==o)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);let a=e.length,l=0;if(o<0){for(let r=0,n=Math.min(t.length,200);r<n&&l<a;){let n=z(t,r);(n==e[l]||n==i[l])&&(s[l++]=r),r+=q(n)}if(l<a)return null}let h=0,c=0,u=!1,O=0,d=-1,f=-1,p=/[a-z]/.test(t),m=!0;for(let s=0,l=Math.min(t.length,200),g=0;s<l&&c<a;){let l=z(t,s);o<0&&(h<a&&l==e[h]&&(r[h++]=s),O<a&&(l==e[O]||l==i[O]?(0==O&&(d=s),f=s+1,O++):O=0));let Q,b=l<255?l>=48&&l<=57||l>=97&&l<=122?2:l>=65&&l<=90?1:0:(Q=Y(l))!=Q.toLowerCase()?1:Q!=Q.toUpperCase()?2:0;(!s||1==b&&p||0==g&&0!=b)&&(e[c]==l||i[c]==l&&(u=!0)?n[c++]=s:n.length&&(m=!1)),g=b,s+=q(l)}return c==a&&0==n[0]&&m?this.result(-100+(u?-200:0),n,t):O==a&&0==d?this.ret(-200-t.length+(f==t.length?0:-100),[0,f]):o>-1?this.ret(-700-t.length,[o,o+this.pattern.length]):O==a?this.ret(-900-t.length,[d,f]):c==a?this.result(-100+(u?-200:0)+-700+(m?0:-1100),n,t):2==e.length?null:this.result((s[0]?-700:0)+-200+-1100,s,t)}result(t,e,i){let s=[],r=0;for(let t of e){let e=t+(this.astral?q(z(i,t)):1);r&&s[r-1]==t?s[r-1]=e:(s[r++]=t,s[r++]=e)}return this.ret(t-i.length,s)}}class ca{constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase()}match(t){if(t.length<this.pattern.length)return null;let e=t.slice(0,this.pattern.length),i=e==this.pattern?0:e.toLowerCase()==this.folded?-200:null;return null==i?null:(this.matched=[0,e.length],this.score=i+(t.length==this.pattern.length?0:-100),this)}}let cl=J.define({combine:t=>tR(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:cc,filterStrict:!1,compareCompletions:(t,e)=>(t.sortText||t.label).localeCompare(e.sortText||e.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,e)=>t&&e,closeOnBlur:(t,e)=>t&&e,icons:(t,e)=>t&&e,tooltipClass:(t,e)=>i=>ch(t(i),e(i)),optionClass:(t,e)=>i=>ch(t(i),e(i)),addToOptions:(t,e)=>t.concat(e),filterStrict:(t,e)=>t||e})});function ch(t,e){return t?e?t+" "+e:t:e}function cc(t,e,i,s,r,n){let o=t.textDirection==eU.RTL,a=o,l=!1,h="top",c,u,O=e.left-r.left,d=r.right-e.right,f=s.right-s.left,p=s.bottom-s.top;if(a&&O<Math.min(f,d)?a=!1:!a&&d<Math.min(f,O)&&(a=!0),f<=(a?O:d))c=Math.max(r.top,Math.min(i.top,r.bottom-p))-e.top,u=Math.min(400,a?O:d);else{l=!0,u=Math.min(400,(o?e.right:r.right-e.left)-30);let t=r.bottom-e.bottom;t>=p||t>e.top?c=i.bottom-e.top:(h="bottom",c=e.bottom-i.top)}let m=(e.bottom-e.top)/n.offsetHeight,g=(e.right-e.left)/n.offsetWidth;return{style:`${h}: ${c/m}px; max-width: ${u/g}px`,class:"cm-completionInfo-"+(l?o?"left-narrow":"right-narrow":a?"left":"right")}}let cu=tk.define();function cO(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let t=Math.floor(e/i);return{from:t*i,to:(t+1)*i}}let s=Math.floor((t-e)/i);return{from:t-(s+1)*i,to:t-s*i}}class cd{constructor(t,e,i){let s;this.view=t,this.stateField=e,this.applyCompletion=i,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:t=>this.placeInfo(t),key:this},this.space=null,this.currentClass="";let r=t.state.field(e),{options:n,selected:o}=r.open,a=t.state.facet(cl);this.optionContent=(s=a.addToOptions.slice(),a.icons&&s.push({render(t){let e=document.createElement("div");return e.classList.add("cm-completionIcon"),t.type&&e.classList.add(...t.type.split(/\s+/g).map(t=>"cm-completionIcon-"+t)),e.setAttribute("aria-hidden","true"),e},position:20}),s.push({render(t,e,i,s){let r=document.createElement("span");r.className="cm-completionLabel";let n=t.displayLabel||t.label,o=0;for(let t=0;t<s.length;){let e=s[t++],i=s[t++];e>o&&r.appendChild(document.createTextNode(n.slice(o,e)));let a=r.appendChild(document.createElement("span"));a.appendChild(document.createTextNode(n.slice(e,i))),a.className="
12cm-completionMatchedText",o=i}return o<n.length&&r.appendChild(document.createTextNode(n.slice(o))),r},position:50},{render(t){if(!t.detail)return null;let e=document.createElement("span");return e.className="cm-completionDetail",e.textContent=t.detail,e},position:80}),s.sort((t,e)=>t.position-e.position).map(t=>t.render)),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=cO(n.length,o,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",i=>{let{options:s}=t.state.field(e).open;for(let e=i.target,r;e&&e!=this.dom;e=e.parentNode)if("LI"==e.nodeName&&(r=/-(\d+)$/.exec(e.id))&&+r[1]<s.length){this.applyCompletion(t,s[+r[1]]),i.preventDefault();return}if(i.target==this.list){let e=this.list.classList.contains("cm-completionListIncompleteTop")&&i.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&i.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;null!=e&&(t.dispatch({effects:cu.of(e)}),i.preventDefault())}}),this.dom.addEventListener("focusout",e=>{let i=t.state.field(this.stateField,!1);i&&i.tooltip&&t.state.facet(cl).closeOnBlur&&e.relatedTarget!=t.contentDOM&&t.dispatch({effects:cn.of(null)})}),this.showOptions(n,r.id)}mount(){this.updateSel()}showOptions(t,e){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,e,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(t){var e;let i=t.state.field(this.stateField),s=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),i!=s){let{options:r,selected:n,disabled:o}=i.open;s.open&&s.open.options==r||(this.range=cO(r.length,n,t.state.facet(cl).maxRenderedOptions),this.showOptions(r,i.id)),this.updateSel(),o!=(null===(e=s.open)||void 0===e?void 0:e.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(t){let e=this.tooltipClass(t);if(e!=this.currentClass){for(let t of this.currentClass.split(" "))t&&this.dom.classList.remove(t);for(let t of e.split(" "))t&&this.dom.classList.add(t);this.currentClass=e}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),e=t.open;(e.selected>-1&&e.selected<this.range.from||e.selected>=this.range.to)&&(this.range=cO(e.options.length,e.selected,this.view.state.facet(cl).maxRenderedOptions),this.showOptions(e.options,t.id));let i=this.updateSelectedOption(e.selected);if(i){this.destroyInfo();
12let{completion:s}=e.options[e.selected],{info:r}=s;if(!r)return;let n="string"==typeof r?document.createTextNode(r):r(s);if(!n)return;"then"in n?n.then(e=>{e&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(e,s)}).catch(t=>im(this.view.state,t,"completion info")):(this.addInfoPane(n,s),i.setAttribute("aria-describedby",this.info.id))}}addInfoPane(t,e){this.destroyInfo();let i=this.info=document.createElement("div");if(i.className="cm-tooltip cm-completionInfo",i.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=t.nodeType)i.appendChild(t),this.infoDestroy=null;else{let{dom:e,destroy:s}=t;i.appendChild(e),this.infoDestroy=s||null}this.dom.appendChild(i),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){var e,i;let s,r,n,o=null;for(let e=this.list.firstChild,i=this.range.from;e;e=e.nextSibling,i++)"LI"==e.nodeName&&e.id?i==t?e.hasAttribute("aria-selected")||(e.setAttribute("aria-selected","true"),o=e):e.hasAttribute("aria-selected")&&(e.removeAttribute("aria-selected"),e.removeAttribute("aria-describedby")):i--;return o&&(e=this.list,i=o,s=e.getBoundingClientRect(),r=i.getBoundingClientRect(),n=s.height/e.offsetHeight,r.top<s.top?e.scrollTop-=(s.top-r.top)/n:r.bottom>s.bottom&&(e.scrollTop+=(r.bottom-s.bottom)/n)),o}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let e=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),s=t.getBoundingClientRect(),r=this.space;if(!r){let t=this.dom.ownerDocument.documentElement;r={left:0,top:0,right:t.clientWidth,bottom:t.clientHeight}}return s.top>Math.min(r.bottom,e.bottom)-10||s.bottom<Math.max(r.top,e.top)+10?null:this.view.state.facet(cl).positionInfo(this.view,e,s,i,r,this.dom)}placeInfo(t){this.info&&(t?(t.style&&(this.info.style.cssText=t.style),this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(t,e,i){let s=document.createElement("ul");s.id=e,s.setAttribute("role","listbox"),s.setAttribute("aria-expanded","true"),s.setAttribute("aria-label",this.view.state.phrase("Completions")),s.addEventListener("mousedown",t=>{t.target==s&&t.preventDefault()});let r=null;for(let n=i.from;n<i.to;n++){let{completion:o,match:a}=t[n],{section:l}=o;if(l){let t="string"==typeof l?l:l.name;t!=r&&(n>i.from||0==i.from)&&((r=t,"string"!=typeof l&&l.header)?s.appendChild(l.header(l)):s.appendChild(document.createElement("completion-section")).textContent=t)}let h=s.appendChild(document.createElement("li"));h.id=e+"-"+n,h.setAttribute("role","option");let c=this.optionClass(o);for(let t of(c&&(h.className=c),this.optionContent)){let e=t(o,this.view.state,this.view,a);e&&h.appendChild(e)}}return i.from&&s.classList.add("cm-completionListIncompleteTop"),i.to<t.length&&s.classList.add("cm-completionListIncompleteBottom"),s}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function cf(t){return 100*(t.boost||0)+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}class cp{constructor(t,e,i,s,r,n){this.options=t,this.attrs=e,this.tooltip=i,this.timestamp=s,this.selected=r,this.disabled=n}setSelected(t,e){return t==this.selected||t>=this.options.length?this:new cp(this.options,cb(e,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,e,i,s,r,n){if(s&&!n&&t.some(t=>t.isPending))return s.setDisabled();let o=function(t,e){let i=[],s=null,r=null,n=t=>{i.push(t);let{section:e}=t.completion;if(e){s||(s=[]);let t="string"==typeof e?e:e.name;s.some(e=>e.name==t)||s.push("string"==typeof e?{name:t}:e)}},o=e.facet(cl);for(let s of t)if(s.hasResult()){let t=s.result.getMatch;if(!1===s.result.filter)for(let e of s.result.options)n(new h8(e,s.source,t?t(e):[],1e9-i.length));else{let i=e.sliceDoc(s.from,s.to),a,l=o.filterStrict?new ca(i):new co(i);for(let e of s.result.options)if(a=l.match(e.label)){let i=e.displayLabel?t?t(e,a.matched):[]:a.matched,o=a.score+(e.boost||0);if(n(new h8(e,s.source,i,o)),"object"==typeof e.section&&"dynamic"===e.section.rank){let{name:t}=e.section;r||(r=Object.create(null)),r[t]=Math.max(o,r[t]||-1e9)}}}}if(s){let t=Object.create(null),e=0;for(let i of s.sort((t,e)=>("dynamic"===t.rank&&"dynamic"===e.rank?r[e.name]-r[t.name]:0)||("number"==typeof t.rank?t.rank:1e9)-("number"==typeof e.rank?e.rank:1e9)||(t.name<e.name?-1:1)))e-=1e5,t[i.name]=e;for(let e of i){let{section:i}=e.completion;i&&(e.score+=t["string"==typeof i?i:i.name])}}let a=[],l=null,h=o.compareCompletions;for(let t of i.sort((t,e)=>e.score-t.score||h(t.completion,e.completion))){let e=t.completion;l&&l.label==e.label&&l.detail==e.detail&&(null==l.type||null==e.type||l.type==e.type)&&l.apply==e.apply&&l.boost==e.boost?cf(t.completion)>cf(l)&&(a[a.length-1]=t):a.push(t),l=t.completion}return a}(t,e);if(!o.length)return s&&t.some(t=>t.isPending)?s.setDisabled():null;let a=e.facet(cl).selectOnOpen?0:-1;if(s&&s.selected!=a&&-1!=s.selected){let t=s.options[s.selected].completion;for(let e=0;e<o.length;e++)if(o[e].completion==t){a=e;break}}return new cp(o,cb(i,a),{pos:t.reduce((t,e)=>e.hasResult()?Math.min(t,e.from):t,1e8),create:cP,above:r.aboveCursor},s?s.timestamp:Date.now(),a,!1)}map(t){return new cp(this.options,this.attrs,{...this.tooltip,pos:t.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new cp(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}
12class cm{constructor(t,e,i){this.active=t,this.id=e,this.open=i}static start(){return new cm(cv,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(t){let{state:e}=t,i=e.facet(cl),s=(i.override||e.languageDataAt("autocomplete",h6(e)).map(cs)).map(e=>(this.active.find(t=>t.source==e)||new cS(e,this.active.some(t=>0!=t.state)?1:0)).update(t,i));s.length==this.active.length&&s.every((t,e)=>t==this.active[e])&&(s=this.active);let r=this.open,n=t.effects.some(t=>t.is(cx));for(let o of(r&&t.docChanged&&(r=r.map(t.changes)),t.selection||s.some(e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to))||!function(t,e){if(t==e)return!0;for(let i=0,s=0;;){for(;i<t.length&&!t[i].hasResult();)i++;for(;s<e.length&&!e[s].hasResult();)s++;let r=i==t.length,n=s==e.length;if(r||n)return r==n;if(t[i++].result!=e[s++].result)return!1}}(s,this.active)||n?r=cp.build(s,e,this.id,r,i,n):r&&r.disabled&&!s.some(t=>t.isPending)&&(r=null),!r&&s.every(t=>!t.isPending)&&s.some(t=>t.hasResult())&&(s=s.map(t=>t.hasResult()?new cS(t.source,0):t)),t.effects))o.is(cu)&&(r=r&&r.setSelected(o.value,this.id));return s==this.active&&r==this.open?this:new cm(s,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?cg:cQ}}let cg={"aria-autocomplete":"list"},cQ={};function cb(t,e){let i={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(i["aria-activedescendant"]=t+"-"+e),i}let cv=[];function cw(t,e){if(t.isUserEvent("input.complete")){let i=t.annotation(ce);if(i&&e.activateOnCompletion(i))return 12}let i=t.isUserEvent("input.type");return i&&e.activateOnTyping?5:i?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class cS{constructor(t,e,i=!1){this.source=t,this.state=e,this.explicit=i}hasResult(){return!1}get isPending(){return 1==this.state}update(t,e){let i=cw(t,e),s=this;for(let e of((8&i||16&i&&this.touches(t))&&(s=new cS(s.source,0)),4&i&&0==s.state&&(s=new cS(this.source,1)),s=s.updateFor(t,i),t.effects))if(e.is(cr))s=new cS(s.source,1,e.value);else if(e.is(cn))s=new cS(s.source,0);else if(e.is(cx))for(let t of e.value)t.source==s.source&&(s=t);return s}updateFor(t,e){return this.map(t.changes)}map(t){return this}touches(t){return t.changes.touchesRange(h6(t.state))}}class cy extends cS{constructor(t,e,i,s,r,n){super(t,3,e),this.limit=i,this.result=s,this.from=r,this.to=n}hasResult(){return!0}updateFor(t,e){var i;if(!(3&e))return this.map(t.changes);let s=this.result;s.map&&!t.changes.empty&&(s=s.map(s,t.changes));let r=t.changes.mapPos(this.from),n=t.changes.mapPos(this.to,1),o=h6(t.state);if(o>n||!s||2&e&&(h6(t.startState)==this.from||o<this.limit))return new cS(this.source,4&e?1:0);let a=t.changes.mapPos(this.limit);return!function(t,e,i,s){if(!t)return!1;let r=e.sliceDoc(i,s);return"function"==typeof t?t(r,i,s,e):ct(t,!0).test(r)}(s.validFor,t.state,r,n)?s.update&&(s=s.update(s,r,n,new h7(t.state,o,!1)))?new cy(this.source,this.explicit,a,s,s.from,null!==(i=s.to)&&void 0!==i?i:h6(t.state)):new cS(this.source,1,this.explicit):new cy(this.source,this.explicit,a,s,r,n)}map(t){return t.empty?this:(this.result.map?this.result.map(this.result,t):this.result)?new cy(this.source,this.explicit,t.mapPos(this.limit),this.result,t.mapPos(this.from),t.mapPos(this.to,1)):new cS(this.source,0)}touches(t){return t.changes.touchesRange(this.from,this.to)}}let cx=tk.define({map:(t,e)=>t.map(t=>t.map(e))}),ck=tn.define({create:()=>cm.start(),update:(t,e)=>t.update(e),provide:t=>[nn.from(t,t=>t.tooltip),rp.contentAttributes.from(t,t=>t.attrs)]});function c$(t,e){let i=e.completion.apply||e.completion.label,s=t.state.field(ck).active.find(t=>t.source==e.source);return s instanceof cy&&("string"==typeof i?t.dispatch({...function(t,e,i,s){let{main:r}=t.selection,n=i-r.from,o=s-r.from;return{...t.changeByRange(a=>{if(a!=r&&i!=s&&t.sliceDoc(a.from+n,a.from+o)!=t.sliceDoc(i,s))return{range:a};let l=t.toText(e);return{changes:{from:a.from+n,to:s==r.from?a.to:a.from+o,insert:l},range:F.cursor(a.from+n+l.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(t.state,i,s.from,s.to),annotations:ce.of(e.completion)}):i(t,e.completion,s.from,s.to),!0)}let cP=t=>new cd(t,ck,c$);function cT(t,e="option"){return i=>{let s=i.state.field(ck,!1);if(!s||!s.open||s.open.disabled||Date.now()-s.open.timestamp<i.state.facet(cl).interactionDelay)return!1;let r=1,n;"page"==e&&(n=nc(i,s.open.tooltip))&&(r=Math.max(2,Math.floor(n.dom.offsetHeight/n.dom.querySelector("li").offsetHeight)-1));let{length:o}=s.open.options,a=s.open.selected>-1?s.open.selected+r*(t?1:-1):t?0:o-1;return a<0?a="page"==e?0:o-1:a>=o&&(a="page"==e?o-1:0),i.dispatch({effects:cu.of(a)}),!0}}let cZ=t=>!!t.state.field(ck,!1)&&(t.dispatch({effects:cr.of(!0)}),!0);class cX{constructor(t,e){this.active=t,this.context=e,this.time=Date.now(),this.updates=[],this.done=void 0}}let cC=iv.fromClass(class{constructor(t){for(let e of(this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,t.state.field(ck).active))e.isPending&&this.startQuery(e)}update(t){let e=t.state.field(ck),i=t.state.facet(cl);if(!t.selectionSet&&!t.docChanged&&t.startState.field(ck)==e)return;let s=t.transactions.some(t=>{let e=cw(t,i);return 8&e||(t.selection||t.docChanged)&&!(3&e)});for(let e=0;e<this.running.length;e++){let i=this.running[e];if(s||i.context.abortOnDocChange&&t.docChanged||i.updates.length+t.transactions.length>50&&Date.now()-i.time>1e3){for(let t of i.context.abortListeners)try{t()}catch(t){im(this.view.state,t)}i.context.abortListeners=null,this.running.splice(e--,1)}else i.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(t=>t.effects.some(t=>t.is(cr)))&&(this.pendingStart=!0);let r=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(t=>t.isPending&&!this.running.some(e=>e.active.source==t.source))?setTimeout(()=>
vendor: 6,944 bytes, line 12
12this.startUpdate(),r):-1,0!=this.composing)for(let e of t.transactions)e.isUserEvent("input.type")?this.composing=2:2==this.composing&&e.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(ck);for(let t of e.active)t.isPending&&!this.running.some(e=>e.active.source==t.source)&&this.startQuery(t);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(cl).updateSyncTime))}startQuery(t){let{state:e}=this.view,i=h6(e),s=new h7(e,i,t.explicit,this.view),r=new cX(t,s);this.running.push(r),Promise.resolve(t.source(s)).then(t=>{r.context.aborted||(r.done=t||null,this.scheduleAccept())},t=>{this.view.dispatch({effects:cn.of(null)}),im(this.view.state,t)})}scheduleAccept(){this.running.every(t=>void 0!==t.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(cl).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(cl),s=this.view.state.field(ck);for(let r=0;r<this.running.length;r++){let n=this.running[r];if(void 0===n.done)continue;if(this.running.splice(r--,1),n.done){let s=h6(n.updates.length?n.updates[0].startState:this.view.state),r=Math.min(s,n.done.from+(n.active.explicit?0:1)),o=new cy(n.active.source,n.active.explicit,r,n.done,n.done.from,null!==(t=n.done.to)&&void 0!==t?t:s);for(let t of n.updates)o=o.update(t,i);if(o.hasResult()){e.push(o);continue}}let o=s.active.find(t=>t.source==n.active.source);if(o&&o.isPending){if(null==n.done){let t=new cS(n.active.source,0);for(let e of n.updates)t=t.update(e,i);t.isPending||e.push(t)}else this.startQuery(o)}}(e.length||s.open&&s.open.disabled)&&this.view.dispatch({effects:cx.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(ck,!1);if(e&&e.tooltip&&this.view.state.facet(cl).closeOnBlur){let i=e.open&&nc(this.view,e.open.tooltip);i&&i.dom.contains(t.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:cn.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:cr.of(!1)}),20),this.composing=0}}}),cA="object"==typeof navigator&&/Win/.test(navigator.platform),cM=tl.highest(rp.domEventHandlers({keydown(t,e){let i=e.state.field(ck,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(cA&&t.altKey)||t.metaKey)return!1;let s=i.open.options[i.open.selected],r=i.active.find(t=>t.source==s.source),n=s.completion.commitCharacters||r.result.commitCharacters;return n&&n.indexOf(t.key)>-1&&c$(e,s),!1}})),cR=rp.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",whiteSpace:"pre-line"},".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:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class c_{constructor(t,e,i,s){this.field=t,this.line=e,this.from=i,this.to=s}}class cz{constructor(t,e,i){this.field=t,this.from=e,this.to=i}map(t){let e=t.mapPos(this.from,-1,E.TrackDel),i=t.mapPos(this.to,1,E.TrackDel);return null==e||null==i?null:new cz(this.field,e,i)}}class cY{constructor(t,e){this.lines=t,this.fieldPositions=e}instantiate(t,e){let i=[],s=[e],r=t.doc.lineAt(e),n=/^\s*/.exec(r.text)[0];for(let r of this.lines){if(i.length){let i=n,o=/^\t*/.exec(r)[0].length;for(let e=0;e<o;e++)i+=t.facet(o8);s.push(e+i.length-o),r=i+r.slice(o)}i.push(r),e+=r.length+1}return{text:i,ranges:this.fieldPositions.map(t=>new cz(t.field,s[t.line]+t.from,s[t.line]+t.to))}}static parse(t){let e=[],i=[],s=[],r;for(let n of t.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(n);){let t=r[1]?+r[1]:null,o=r[2]||r[3]||"",a=-1,l=o.replace(/\\[{}]/g,t=>t[1]);for(let i=0;i<e.length;i++)(null!=t?e[i].seq==t:l&&e[i].name==l)&&(a=i);if(a<0){let i=0;for(;i<e.length&&(null==t||null!=e[i].seq&&e[i].seq<t);)i++;for(let r of(e.splice(i,0,{seq:t,name:l}),a=i,s))r.field>=a&&r.field++}for(let t of s)if(t.line==i.length&&t.from>r.index){let e=r[2]?3+(r[1]||"").length:2;t.from-=e,t.to-=e}s.push(new c_(a,i.length,r.index,r.index+l.length)),n=n.slice(0,r.index)+o+n.slice(r.index+r[0].length)}n=n.replace(/\\([{}])/g,(t,e,r)=>{for(let t of s)t.line==i.length&&t.from>r&&(t.from--,t.to--);return e}),i.push(n)}return new cY(i,s)}}let cq=ew.widget({widget:new class extends eb{toDOM(){let t=document.createElement("span");
12return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),cV=ew.mark({class:"cm-snippetField"});class cE{constructor(t,e){this.ranges=t,this.active=e,this.deco=ew.set(t.map(t=>(t.from==t.to?cq:cV).range(t.from,t.to)),!0)}map(t){let e=[];for(let i of this.ranges){let s=i.map(t);if(!s)return null;e.push(s)}return new cE(e,this.active)}selectionInsideField(t){return t.ranges.every(t=>this.ranges.some(e=>e.field==this.active&&e.from<=t.from&&e.to>=t.to))}}let cW=tk.define({map:(t,e)=>t&&t.map(e)}),cD=tk.define(),cL=tn.define({create:()=>null,update(t,e){for(let i of e.effects){if(i.is(cW))return i.value;if(i.is(cD)&&t)return new cE(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=>rp.decorations.from(t,t=>t?t.deco:ew.none)});function cj(t,e){return F.create(t.filter(t=>t.field==e).map(t=>F.range(t.from,t.to)))}function cB(t){return({state:e,dispatch:i})=>{let s=e.field(cL,!1);if(!s||t<0&&0==s.active)return!1;let r=s.active+t,n=t>0&&!s.ranges.some(e=>e.field==r+t);return i(e.update({selection:cj(s.ranges,r),effects:cW.of(n?null:new cE(s.ranges,r)),scrollIntoView:!0})),!0}}let cI=[{key:"Tab",run:cB(1),shift:cB(-1)},{key:"Escape",run:({state:t,dispatch:e})=>!!t.field(cL,!1)&&(e(t.update({effects:cW.of(null)})),!0)}],cG=J.define({combine:t=>t.length?t[0]:cI}),cN=tl.highest(ry.compute([cG],t=>t.facet(cG)));function cU(t,e){let i;return{...e,apply:(i=cY.parse(t),(t,e,s,r)=>{let{text:n,ranges:o}=i.instantiate(t.state,s),{main:a}=t.state.selection,l={changes:{from:s,to:r==a.from?a.to:r,insert:$.of(n)},scrollIntoView:!0,annotations:e?[ce.of(e),t$.userEvent.of("input.complete")]:void 0};if(o.length&&(l.selection=cj(o,0)),o.some(t=>t.field>0)){let e=new cE(o,0),i=l.effects=[cW.of(e)];void 0===t.state.field(cL,!1)&&i.push(tk.appendConfig.of([cL,cN,cF,cR]))}t.dispatch(t.state.update(l))})}}let cF=rp.domEventHandlers({mousedown(t,e){let i=e.state.field(cL,!1),s;if(!i||null==(s=e.posAtCoords({x:t.clientX,y:t.clientY})))return!1;let r=i.ranges.find(t=>t.from<=s&&t.to>=s);return!!r&&r.field!=i.active&&(e.dispatch({selection:cj(i.ranges,r.field),effects:cW.of(i.ranges.some(t=>t.field>r.field)?new cE(i.ranges,r.field):null),scrollIntoView:!0}),!0)}}),cH={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},cK=tk.define({map:(t,e)=>e.mapPos(t,-1,E.TrackAfter)??void 0}),cJ=new class extends t_{};cJ.startSide=1,cJ.endSide=-1;let c0=tn.define({create:()=>tE.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:t=>t>=i.from&&t<=i.to})}for(let i of e.effects)i.is(cK)&&(t=t.update({add:[cJ.range(i.value,i.value+1)]}));return t}}),c1="()[]{}<>\xab\xbb\xbb\xab[]{}";function c2(t){for(let e=0;e<c1.length;e+=2)if(c1.charCodeAt(e)==t)return c1.charAt(e+1);return Y(t<128?t:t+1)}function c5(t,e){return t.languageDataAt("closeBrackets",e)[0]||cH}let c3="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),c7=rp.inputHandler.of((t,e,i,s)=>{if((c3?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let r=t.state.selection.main;if(s.length>2||2==s.length&&1==q(z(s,0))||e!=r.from||i!=r.to)return!1;let n=function(t,e){let i=c5(t,t.selection.main.head),s=i.brackets||cH.brackets;for(let r of s){let n=c2(z(r,0));if(e==r)return n==r?function(t,e,i,s){let r=s.stringPrefixes||cH.stringPrefixes,n=null,o=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:cK.of(s.to+e.length),range:F.range(s.anchor+e.length,s.head+e.length)};let o=s.head,a=c8(t.doc,o),l;if(a==e){if(c6(t,o))return{changes:{insert:e+e,from:o},effects:cK.of(o+e.length),range:F.cursor(o+e.length)};if(c9(t,o)){let s=i&&t.sliceDoc(o,o+3*e.length)==e+e+e?e+e+e:e;return{changes:{from:o,to:o+s.length,insert:s},range:F.cursor(o+s.length)}}}else{if(i&&t.sliceDoc(o-2*e.length,o)==e+e&&(l=ut(t,o-2*e.length,r))>-1&&c6(t,l))return{changes:{insert:e+e+e+e,from:o},effects:cK.of(o+e.length),range:F.cursor(o+e.length)};if(t.charCategorizer(o)(a)!=tC.Word&&ut(t,o,r)>
12-1&&!function(t,e,i,s){let r=oF(t).resolveInner(e,-1),n=s.reduce((t,e)=>Math.max(t,e.length),0);for(let o=0;o<5;o++){let o=t.sliceDoc(r.from,Math.min(r.to,r.from+i.length+n)),a=o.indexOf(i);if(!a||a>-1&&s.indexOf(o.slice(0,a))>-1){let e=r.firstChild;for(;e&&e.from==r.from&&e.to-e.from>i.length+a;){if(t.sliceDoc(e.to-i.length,e.to)==i)return!1;e=e.firstChild}return!0}let l=r.to==e&&r.parent;if(!l)break;r=l}return!1}(t,o,e,r))return{changes:{insert:e+e,from:o},effects:cK.of(o+e.length),range:F.cursor(o+e.length)}}return{range:n=s}});return n?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(t,r,s.indexOf(r+r+r)>-1,i):function(t,e,i,s){let r=null,n=t.changeByRange(n=>{if(!n.empty)return{changes:[{insert:e,from:n.from},{insert:i,from:n.to}],effects:cK.of(n.to+e.length),range:F.range(n.anchor+e.length,n.head+e.length)};let o=c8(t.doc,n.head);return!o||/\s/.test(o)||s.indexOf(o)>-1?{changes:{insert:e+i,from:n.head},effects:cK.of(n.head+e.length),range:F.cursor(n.head+e.length)}:{range:r=n}});return r?null:t.update(n,{scrollIntoView:!0,userEvent:"input.type"})}(t,r,n,i.before||cH.before);if(e==n&&c9(t,t.selection.main.from))return function(t,e,i){let s=null,r=t.changeByRange(e=>e.empty&&c8(t.doc,e.head)==i?{changes:{from:e.head,to:e.head+i.length,insert:i},range:F.cursor(e.head+i.length)}:s={range:e});return s?null:t.update(r,{scrollIntoView:!0,userEvent:"input.type"})}(t,0,n)}return null}(t.state,s);return!!n&&(t.dispatch(n),!0)}),c4=[{key:"Backspace",run:({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=c5(t,t.selection.main.head).brackets||cH.brackets,s=null,r=t.changeByRange(e=>{if(e.empty){var r,n;let s;let o=(r=t.doc,n=e.head,q(z(s=r.sliceString(n-2,n),0))==s.length?s:s.slice(1));for(let s of i)if(s==o&&c8(t.doc,e.head)==c2(z(s,0)))return{changes:{from:e.head-s.length,to:e.head+s.length},range:F.cursor(e.head-s.length)}}return{range:s=e}});return s||e(t.update(r,{scrollIntoView:!0,userEvent:"delete.backward"})),!s}}];function c9(t,e){let i=!1;return t.field(c0).between(0,t.doc.length,t=>{t==e&&(i=!0)}),i}function c8(t,e){let i=t.sliceString(e,e+2);return i.slice(0,q(z(i,0)))}function c6(t,e){let i=oF(t).resolveInner(e+1);return i.parent&&i.from==e}function ut(t,e,i){let s=t.charCategorizer(e);if(s(t.sliceDoc(e-1,e))!=tC.Word)return e;for(let r of i){let i=e-r.length;if(t.sliceDoc(i,e)==r&&s(t.sliceDoc(i-1,i))!=tC.Word)return i}return -1}let ue=[{key:"Ctrl-Space",run:cZ},{mac:"Alt-`",run:cZ},{mac:"Alt-i",run:cZ},{key:"Escape",run:t=>{let e=t.state.field(ck,!1);return!!(e&&e.active.some(t=>0!=t.state))&&(t.dispatch({effects:cn.of(null)}),!0)}},{key:"ArrowDown",run:cT(!0)},{key:"ArrowUp",run:cT(!1)},{key:"PageDown",run:cT(!0,"page")},{key:"PageUp",run:cT(!1,"page")},{key:"Enter",run:t=>{let e=t.state.field(ck,!1);return!(t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(cl).interactionDelay)&&c$(t,e.open.options[e.open.selected])}}],ui=tl.highest(ry.computeN([cl],t=>t.facet(cl).defaultKeymap?[ue]:[]));class us{constructor(t,e,i){this.from=t,this.to=e,this.diagnostic=i}}class ur{constructor(t,e,i){this.diagnostics=t,this.panel=e,this.selected=i}static init(t,e,i){let s=i.facet(ud).markerFilter;s&&(t=s(t,i));let r=t.slice().sort((t,e)=>t.from-e.from||t.to-e.to),n=new tW,o=[],a=0,l=i.doc.iter(),h=0,c=i.doc.length;for(let t=0;;){let e,i,s=t==r.length?null:r[t];if(!s&&!o.length)break;if(o.length)e=a,i=o.reduce((t,e)=>Math.min(t,e.to),s&&s.from>e?s.from:1e8);else{if((e=s.from)>c)break;i=s.to,o.push(s),t++}for(;t<r.length;){let s=r[t];if(s.from==e&&(s.to>s.from||s.to==e))o.push(s),t++,i=Math.min(s.to,i);else{i=Math.min(s.from,i);break}}i=Math.min(i,c);let u=!1;if(o.some(t=>t.from==e&&(t.to==i||i==c))&&!(u=e==i)&&i-e<10){let t=e-(h+l.value.length);t>0&&(l.next(t),h=e);for(let t=e;;){if(t>=i){u=!0;break}if(!l.lineBreak&&h+l.value.length>t)break;t=h+l.value.length,h+=l.value.length,l.next()}}let O=function(t){let e="hint",i=1;for(let r of t){var s;let t="error"==(s=r.severity)?4:"warning"==s?3:"info"==s?2:1;t>i&&(i=t,e=r.severity)}return e}(o);if(u)n.add(e,e,ew.widget({widget:new ug(O),diagnostics:o.slice()}));else{let t=o.reduce((t,e)=>e.markClass?t+" "+e.markClass:t,"");n.add(e,i,ew.mark({class:"cm-lintRange cm-lintRange-"+O+t,diagnostics:o.slice(),inclusiveEnd:o.some(t=>t.to>
12i)}))}if((a=i)==c)break;for(let t=0;t<o.length;t++)o[t].to<=a&&o.splice(t--,1)}let u=n.finish();return new ur(u,e,un(u))}}function un(t,e=null,i=0){let s=null;return t.between(i,1e9,(t,i,{spec:r})=>{if(!(e&&0>r.diagnostics.indexOf(e))){if(s){if(0>r.diagnostics.indexOf(s.diagnostic))return!1;s=new us(s.from,i,s.diagnostic)}else s=new us(t,i,e||r.diagnostics[0])}}),s}let uo=tk.define(),ua=tk.define(),ul=tk.define(),uh=tn.define({create:()=>new ur(ew.none,null,null),update(t,e){if(e.docChanged&&t.diagnostics.size){let i=t.diagnostics.map(e.changes),s=null,r=t.panel;if(t.selected){let r=e.changes.mapPos(t.selected.from,1);s=un(i,t.selected.diagnostic,r)||un(i,null,r)}!i.size&&r&&e.state.facet(ud).autoPanel&&(r=null),t=new ur(i,r,s)}for(let i of e.effects)if(i.is(uo)){let s=e.state.facet(ud).autoPanel?i.value.length?ub.open:null:t.panel;t=ur.init(i.value,s,e.state)}else i.is(ua)?t=new ur(t.diagnostics,i.value?ub.open:null,t.selected):i.is(ul)&&(t=new ur(t.diagnostics,t.panel,i.value));return t},provide:t=>[ng.from(t,t=>t.panel),rp.decorations.from(t,t=>t.diagnostics)]}),uc=ew.mark({class:"cm-lintRange cm-lintRange-active"}),uu=t=>{let e=t.state.field(uh,!1);return!!e&&!!e.panel&&(t.dispatch({effects:ua.of(!1)}),!0)},uO=[{key:"Mod-Shift-m",run:t=>{var e,i;let s=t.state.field(uh,!1);s&&s.panel||t.dispatch({effects:(e=t.state,i=[ua.of(!0)],e.field(uh,!1)?i:i.concat(tk.appendConfig.of(uS)))});let r=nd(t,ub.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:t=>{let e=t.state.field(uh,!1);if(!e)return!1;let i=t.state.selection.main,s=un(e.diagnostics,null,i.to+1);return(!!s||!!(s=un(e.diagnostics,null,0))&&(s.from!=i.from||s.to!=i.to))&&(t.dispatch({selection:{anchor:s.from,head:s.to},scrollIntoView:!0}),!0)}}],ud=J.define({combine:t=>({sources:t.map(t=>t.source).filter(t=>null!=t),...tR(t.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:uf,tooltipFilter:uf,needsRefresh:(t,e)=>t?e?i=>t(i)||e(i):t:e,hideOn:(t,e)=>t?e?(i,s,r)=>t(i,s,r)||e(i,s,r):t:e,autoPanel:(t,e)=>t||e})})});function uf(t,e){return t?e?(i,s)=>e(t(i,s),s):t:e}function up(t){let e=[];
vendor: 7,376 bytes, line 12
12if(t)t:for(let{name:i}of t){for(let t=0;t<i.length;t++){let s=i[t];if(/[a-zA-Z]/.test(s)&&!e.some(t=>t.toLowerCase()==s.toLowerCase())){e.push(s);continue t}}e.push("")}return e}function um(t,e,i){var s;let r=i?up(e.actions):[];return ei("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},ei("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),null===(s=e.actions)||void 0===s?void 0:s.map((i,s)=>{let n=!1,o=s=>{if(s.preventDefault(),n)return;n=!0;let r=un(t.state.field(uh).diagnostics,e);r&&i.apply(t,r.from,r.to)},{name:a}=i,l=r[s]?a.indexOf(r[s]):-1,h=l<0?a:[a.slice(0,l),ei("u",a.slice(l,l+1)),a.slice(l+1)];return ei("button",{type:"button",class:"cm-diagnosticAction"+(i.markClass?" "+i.markClass:""),onclick:o,onmousedown:o,"aria-label":` Action: ${a}${l<0?"":` (access key "${r[s]})"`}.`},h)}),e.source&&ei("div",{class:"cm-diagnosticSource"},e.source))}class ug extends eb{constructor(t){super(),this.sev=t}eq(t){return t.sev==this.sev}toDOM(){return ei("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class uQ{constructor(t,e){this.diagnostic=e,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=um(t,e,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class ub{constructor(t){this.view=t,this.items=[],this.list=ei("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:e=>{if(!(e.ctrlKey||e.altKey||e.metaKey)){if(27==e.keyCode)uu(this.view),this.view.focus();else if(38==e.keyCode||33==e.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==e.keyCode||34==e.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==e.keyCode)this.moveSelection(0);else if(35==e.keyCode)this.moveSelection(this.items.length-1);else if(13==e.keyCode)this.view.focus();else{if(!(e.keyCode>=65)||!(e.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:i}=this.items[this.selectedIndex],s=up(i.actions);for(let r=0;r<s.length;r++)if(s[r].toUpperCase().charCodeAt(0)==e.keyCode){let e=un(this.view.state.field(uh).diagnostics,i);e&&i.actions[r].apply(t,e.from,e.to)}}e.preventDefault()}},onclick:t=>{for(let e=0;e<this.items.length;e++)this.items[e].dom.contains(t.target)&&this.moveSelection(e)}}),this.dom=ei("div",{class:"cm-panel-lint"},this.list,ei("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>uu(this.view)},"\xd7")),this.update()}get selectedIndex(){let t=this.view.state.field(uh).selected;if(!t)return -1;for(let e=0;e<this.items.length;e++)if(this.items[e].diagnostic==t.diagnostic)return e;return -1}update(){let{diagnostics:t,selected:e}=this.view.state.field(uh),i=0,s=!1,r=null,n=new Set;for(t.between(0,this.view.state.doc.length,(t,o,{spec:a})=>{for(let t of a.diagnostics){if(n.has(t))continue;n.add(t);let o=-1,a;for(let e=i;e<this.items.length;e++)if(this.items[e].diagnostic==t){o=e;break}o<0?(a=new uQ(this.view,t),this.items.splice(i,0,a),s=!0):(a=this.items[o],o>i&&(this.items.splice(i,o-i),s=!0)),e&&a.diagnostic==e.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),r=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),i++}});i<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)s=!0,this.items.pop();0==this.items.length&&(this.items.push(new uQ(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),s=!0),r?(this.list.setAttribute("aria-activedescendant",r.id),this.view.requestMeasure({key:this,read:()=>({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:t,panel:e})=>{let i=e.height/this.list.offsetHeight;t.top<e.top?this.list.scrollTop-=(e.top-t.top)/i:t.bottom>e.bottom&&(this.list.scrollTop+=(t.bottom-e.bottom)/i)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),s&&this.sync()}sync(){let t=this.list.firstChild;function e(){let e=t;t=e.nextSibling,e.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;t!=i.dom;)e();t=i.dom.nextSibling}else this.list.insertBefore(i.dom,t);for(;t;)e()}moveSelection(t){if(this.selectedIndex<0)return;let e=un(this.view.state.field(uh).diagnostics,this.items[t].diagnostic);e&&this.view.dispatch({selection:{anchor:e.from,head:e.to},scrollIntoView:!0,effects:ul.of(e)})}static open(t){return new ub(t)}}function uv(t){return function(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>')`}(`<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"')}let uw=rp.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:uv("#d11")},".cm-lintRange-warning":{backgroundImage:uv("orange")},".cm-lintRange-info":{backgroundImage:uv("#999")},".cm-lintRange-hint":{backgroundImage:uv("#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}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}}),uS=[uh,rp.decorations.compute([uh],t=>{let{selected:e,panel:i}=t.field(uh);return e&&i&&e.from!=e.to?ew.set([uc.range(e.from,e.to)]):ew.none}),function(t,e={}){let i=tk.define(),s=tn.define({create:()=>[],update(t,s){if(t.length&&(e.hideOnChange&&(s.docChanged||s.selection)?t=[]:e.hideOn&&(t=t.filter(t=>!e.hideOn(s,t))),s.docChanged)){let e=[];for(let i of t){let t=s.changes.mapPos(i.pos,-1,E.TrackDel);if(null!=t){let r=Object.assign(Object.create(null),i);r.pos=t,null!=r.end&&(r.end=s.changes.mapPos(r.end)),e.push(r)}}t=e}for(let e of s.effects)e.is(i)&&(t=e.value),e.is(nu)&&(t=[]);return t},provide:t=>no.from(t)});return{active:s,extension:[s,iv.define(r=>new nh(r,t,s,i,e.hoverTime||300)),nl]}}
12(function(t,e,i){let{diagnostics:s}=t.state.field(uh),r,n=-1,o=-1;s.between(e-(i<0?1:0),e+(i>0?1:0),(t,s,{spec:a})=>{if(e>=t&&e<=s&&(t==s||(e>t||i>0)&&(e<s||i<0)))return r=a.diagnostics,n=t,o=s,!1});let a=t.state.facet(ud).tooltipFilter;return r&&a&&(r=a(r,t.state)),r?{pos:n,end:o,above:t.state.doc.lineAt(n).to<o,create:()=>({dom:ei("ul",{class:"cm-tooltip-lint"},r.map(e=>um(t,e,!1)))})}:null},{hideOn:function(t,e){let i=e.pos,s=e.end||i,r=t.state.facet(ud).hideOn(t,i,s);if(null!=r)return r;let n=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(t=>t.is(uo))||t.changes.touchesRange(n.from,Math.max(n.to,s)))}}),uw];var uy=function(t){let e;void 0===t&&(t={});var{crosshairCursor:i=!1}=t,s=[];!1!==t.closeBracketsKeymap&&(s=s.concat(c4)),!1!==t.defaultKeymap&&(s=s.concat(hn)),!1!==t.searchKeymap&&(s=s.concat(hK)),!1!==t.historyKeymap&&(s=s.concat(lg)),!1!==t.foldKeymap&&(s=s.concat(aS)),!1!==t.completionKeymap&&(s=s.concat(ue)),!1!==t.lintKeymap&&(s=s.concat(uO));var r=[];return!1!==t.lineNumbers&&r.push(function(t={}){return[n_.of(t),[nP],nq]}()),!1!==t.highlightActiveLineGutter&&r.push(nW),!1!==t.highlightSpecialChars&&r.push(function(t={}){return[rF.of(t),rH||(rH=iv.fromClass(class{constructor(t){this.view=t,this.decorations=ew.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(rF)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new rB({regexp:t.specialChars,decoration:(e,i,s)=>{let{doc:r}=i.state,n=z(e[0],0);if(9==n){let t=r.lineAt(s),e=i.state.tabSize,n=tK(t.text,e,s-t.from);return ew.replace({widget:new rJ((e-n%e)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[n]||(this.decorationCache[n]=ew.replace({widget:new rK(t,n)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(rF);t.startState.facet(rF)!=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}))]}()),!1!==t.history&&r.push(function(t={}){return[ls,li.of(t),rp.domEventHandlers({beforeinput(t,e){let i="historyUndo"==t.inputType?ln:"historyRedo"==t.inputType?lo:null;return!!i&&(t.preventDefault(),i(e))}})]}()),!1!==t.foldGutter&&r.push(function(t={}){var e;let i={...aT,...t},s=new aZ(i,!0),r=new aZ(i,!1),n=iv.fromClass(class{constructor(t){this.from=t.viewport.from,this.markers=this.buildMarkers(t)}update(t){(t.docChanged||t.viewportChanged||t.startState.facet(o7)!=t.state.facet(o7)||t.startState.field(ag,!1)!=t.state.field(ag,!1)||oF(t.startState)!=oF(t.state)||i.foldingChanged(t))&&(this.markers=this.buildMarkers(t.view))}buildMarkers(t){let e=new tW;for(let i of t.viewportLineBlocks){let n=ab(t.state,i.from,i.to)?r:aO(t.state,i.from,i.to)?s:null;n&&e.add(i.from,i.from,n)}return e.finish()}}),{domEventHandlers:o}=i;return[n,(e={class:"cm-foldGutter",markers(t){var e;return(null===(e=t.plugin(n))||void 0===e?void 0:e.markers)||tE.empty},initialSpacer:()=>new aZ(i,!1),domEventHandlers:{...o,click:(t,e,i)=>
12{if(o.click&&o.click(t,e,i))return!0;let s=ab(t.state,e.from,e.to);if(s)return t.dispatch({effects:ap.of(s)}),!0;let r=aO(t.state,e.from,e.to);return!!r&&(t.dispatch({effects:af.of(r)}),!0)}}},[[nP],nk.of({...nx,...e})]),[ag,aX]]}()),!1!==t.drawSelection&&r.push(function(t={}){return[r_.of(t),rY,rV,rE,ic.of(!0)]}()),!1!==t.dropCursor&&r.push([rD,rL]),!1!==t.allowMultipleSelections&&r.push(tM.allowMultipleSelections.of(!0)),!1!==t.indentOnInput&&r.push(tM.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:s}=t.newSelection.main,r=i.lineAt(s);if(s>r.from+200)return t;let n=i.sliceString(r.from,s);if(!e.some(t=>t.test(n)))return t;let{state:o}=t,a=-1,l=[];for(let{head:t}of o.selection.ranges){let e=o.doc.lineAt(t);if(e.from==a)continue;a=e.from;let i=ae(o,e.from);if(null==i)continue;let s=/^\s*/.exec(e.text)[0],r=at(o,i);s!=r&&l.push({from:e.from,to:e.from+s.length,insert:r})}return l.length?[t,{changes:l,sequential:!0}]:t})),!1!==t.syntaxHighlighting&&r.push(a_(aq,{fallback:!0})),!1!==t.bracketMatching&&r.push(function(t={}){return[aW.of(t),aI]}()),!1!==t.closeBrackets&&r.push([c7,c0]),!1!==t.autocompletion&&r.push(function(t={}){return[cM,ck,cl.of(t),cC,ui,cR]}()),!1!==t.rectangularSelection&&r.push((e=t=>t.altKey&&0==t.button,rp.mouseSelectionStyle.of((t,i)=>{let s,r;return e(i)?(s=r5(t,i),r=t.state.selection,s?{update(t){if(t.docChanged){let e=t.changes.mapPos(t.startState.doc.line(s.line).from),i=t.state.doc.lineAt(e);s={line:i.number,col:s.col,off:Math.min(s.off,i.length)},r=r.map(t.changes)}},get(e,i,n){let o=r5(t,e);if(!o)return r;let a=function(t,e,i){let s=Math.min(e.line,i.line),r=Math.max(e.line,i.line),n=[];if(e.off>2e3||i.off>2e3||e.col<0||i.col<0){let o=Math.min(e.off,i.off),a=Math.max(e.off,i.off);for(let e=s;e<=r;e++){let i=t.doc.line(e);i.length<=a&&n.push(F.range(i.from+o,i.to+a))}}else{let o=Math.min(e.col,i.col),a=Math.max(e.col,i.col);for(let e=s;e<=r;e++){let i=t.doc.line(e),s=tJ(i.text,o,t.tabSize,!0);if(s<0)n.push(F.cursor(i.to));else{let e=tJ(i.text,a,t.tabSize);n.push(F.range(i.from+s,i.from+e))}}}return n}(t.state,s,o);return a.length?n?F.create(a.concat(r.ranges)):F.create(a):r}}:null):null}))),!1!==i&&r.push(function(t={}){let[e,i]=r3[t.key||"Alt"],s=iv.fromClass(class{constructor(t){this.view=t,this.isDown=!1}set(t){this.isDown!=t&&(this.isDown=t,this.view.update([]))}},{eventObservers:{keydown(t){this.set(t.keyCode==e||i(t))},keyup(t){t.keyCode!=e&&i(t)||this.set(!1)},mousemove(t){this.set(i(t))}}});return[s,rp.contentAttributes.of(t=>{var e;return!(null===(e=t.plugin(s))||void 0===e)&&e.isDown?r7:null})]}()),!1!==t.highlightActiveLine&&r.push(r1),!1!==t.highlightSelectionMatches&&r.push([hS,hw]),t.tabSize&&"number"==typeof t.tabSize&&r.push(o8.of(" ".repeat(t.tabSize))),r.concat([ry.of(s.flat())]).filter(Boolean)};let ux="#e06c75",uk="#abb2bf",u$="#7d8799",uP="#d19a66",uT="#2c313a",uZ="#282c34",uX="#353a42",uC="#528bff",uA=[rp.theme({"&":{color:uk,backgroundColor:uZ},".cm-content":{caretColor:uC},".cm-cursor, .cm-dropCursor":{borderLeftColor:uC},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:uk},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:uZ,color:u$,border:"none"},".cm-activeLineGutter":{backgroundColor:uT},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:uX},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:uX,borderBottomColor:uX},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:uT,color:uk}}},{dark:!0}
12),a_(aC.define([{tag:oL.keyword,color:"#c678dd"},{tag:[oL.name,oL.deleted,oL.character,oL.propertyName,oL.macroName],color:ux},{tag:[oL.function(oL.variableName),oL.labelName],color:"#61afef"},{tag:[oL.color,oL.constant(oL.name),oL.standard(oL.name)],color:uP},{tag:[oL.definition(oL.name),oL.separator],color:uk},{tag:[oL.typeName,oL.className,oL.number,oL.changed,oL.annotation,oL.modifier,oL.self,oL.namespace],color:"#e5c07b"},{tag:[oL.operator,oL.operatorKeyword,oL.url,oL.escape,oL.regexp,oL.link,oL.special(oL.string)],color:"#56b6c2"},{tag:[oL.meta,oL.comment],color:u$},{tag:oL.strong,fontWeight:"bold"},{tag:oL.emphasis,fontStyle:"italic"},{tag:oL.strikethrough,textDecoration:"line-through"},{tag:oL.link,color:u$,textDecoration:"underline"},{tag:oL.heading,fontWeight:"bold",color:ux},{tag:[oL.atom,oL.bool,oL.special(oL.variableName)],color:uP},{tag:[oL.processingInstruction,oL.string,oL.inserted],color:"#98c379"},{tag:oL.invalid,color:"#ffffff"}]))];var uM=rp.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),uR=function(t){let e;void 0===t&&(t={});var{indentWithTab:i=!0,editable:s=!0,readOnly:r=!1,theme:n="light",placeholder:o="",basicSetup:a=!0}=t,l=[];switch(i&&l.unshift(ry.of([ho])),a&&("boolean"==typeof a?l.unshift(uy()):l.unshift(uy(a))),o&&l.unshift((e=iv.fromClass(class{constructor(t){this.view=t,this.placeholder=o?ew.set([ew.widget({widget:new r2(o),side:1}).range(0)]):ew.none}get decorations(){return this.view.state.doc.length?ew.none:this.placeholder}},{decorations:t=>t.decorations}),"string"==typeof o?[e,rp.contentAttributes.of({"aria-placeholder":o})]:e)),n){case"light":l.push(uM);break;case"dark":l.push(uA);break;case"none":break;default:l.push(n)}return!1===s&&l.push(rp.editable.of(!1)),r&&l.push(tM.readOnly.of(!0)),[...l]},u_=t=>({line:t.state.doc.lineAt(t.state.selection.main.from),lineCount:t.state.doc.lines,lineBreak:t.state.lineBreak,length:t.state.doc.length,readOnly:t.state.readOnly,tabSize:t.state.tabSize,selection:t.state.selection,selectionAsSingle:t.state.selection.asSingle().main,ranges:t.state.selection.ranges,selectionCode:t.state.sliceDoc(t.state.selection.main.from,t.state.selection.main.to),selections:t.state.selection.ranges.map(e=>t.state.sliceDoc(e.from,e.to)),selectedText:t.state.selection.ranges.some(t=>!t.empty)});class uz{constructor(t,e){this.timeLeftMS=void 0,this.timeoutMS=void 0,this.isCancelled=!1,this.isTimeExhausted=!1,this.callbacks=[],this.timeLeftMS=e,this.timeoutMS=e,this.callbacks.push(t)}tick(){if(!this.isCancelled&&!this.isTimeExhausted&&(this.timeLeftMS--,this.timeLeftMS<=0)){this.isTimeExhausted=!0;var t=this.callbacks.slice();this.callbacks.length=0,t.forEach(t=>{try{t()}catch(t){console.error("TimeoutLatch callback error:",t)}})}}cancel(){this.isCancelled=!0,this.callbacks.length=0}reset(){this.timeLeftMS=this.timeoutMS,this.isCancelled=!1,this.isTimeExhausted=!1}get isDone(){return this.isCancelled||this.isTimeExhausted}}class uY{constructor(){this.interval=null,this.latches=new Set}add(t){this.latches.add(t),this.start()}remove(t){this.latches.delete(t),0===this.latches.size&&this.stop()}start(){null===this.interval&&(this.interval=setInterval(()=>{this.latches.forEach(t=>{t.tick(),t.isDone&&this.remove(t)})},1))}stop(){null!==this.interval&&(clearInterval(this.interval),this.interval=null)}}var uq=null,uV=()=>typeof window>"u"?new uY:(uq||(uq=new uY),uq),uE=tS.define(),uW=[],uD=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],uL=(0,m.forwardRef)((t,e)=>{var{className:i,value:s="",selection:r,extensions:n=[],onChange:o,onStatistics:a,onCreateEditor:l,onUpdate:h,autoFocus:c,theme:u="light",height:O,minHeight:d,maxHeight:g,width:Q,minWidth:b,maxWidth:v,basicSetup:w,placeholder:S,indentWithTab:y,editable:x,readOnly:k,root:$,initialState:P}=t,T=(0,p._)(t,uD),Z=(0,m.useRef)(null),{state:X,view:C,container:A,setContainer:M}=function(t){var{value:e,selection:i,onChange:s,onStatistics:r,onCreateEditor:n,onUpdate:o,extensions:a=uW,autoFocus:l,theme:h="light",he
12ight:c=null,minHeight:u=null,maxHeight:O=null,width:d=null,minWidth:f=null,maxWidth:p=null,placeholder:g="",editable:Q=!0,readOnly:b=!1,indentWithTab:v=!0,basicSetup:w=!0,root:S,initialState:y}=t,[x,k]=(0,m.useState)(),[$,P]=(0,m.useState)(),[T,Z]=(0,m.useState)(),X=(0,m.useState)(()=>({current:null}))[0],C=(0,m.useState)(()=>({current:null}))[0],A=rp.theme({"&":{height:c,minHeight:u,maxHeight:O,width:d,minWidth:f,maxWidth:p},"& .cm-scroller":{height:"100% !important"}}),M=[rp.updateListener.of(t=>{t.docChanged&&"function"==typeof s&&!t.transactions.some(t=>t.annotation(uE))&&(X.current?X.current.reset():(X.current=new uz(()=>{if(C.current){var t=C.current;C.current=null,t()}X.current=null},200),uV().add(X.current)),s(t.state.doc.toString(),t)),r&&r(u_(t))}),A,...uR({theme:h,editable:Q,readOnly:b,placeholder:g,indentWithTab:v,basicSetup:w})];return o&&"function"==typeof o&&M.push(rp.updateListener.of(o)),M=M.concat(a),(0,m.useLayoutEffect)(()=>{if(x&&!T){var t={doc:e,selection:i,extensions:M},s=y?tM.fromJSON(y.json,t,y.fields):tM.create(t);if(Z(s),!$){var r=new rp({state:s,parent:x,root:S});P(r),n&&n(r,s)}}return()=>{$&&(Z(void 0),P(void 0))}},[x,T]),(0,m.useEffect)(()=>{t.container&&k(t.container)},[t.container]),(0,m.useEffect)(()=>()=>{$&&($.destroy(),P(void 0)),X.current&&(X.current.cancel(),X.current=null)},[$]),(0,m.useEffect)(()=>{l&&$&&$.focus()},[l,$]),(0,m.useEffect)(()=>{$&&$.dispatch({effects:tk.reconfigure.of(M)})},[h,a,c,u,O,d,f,p,g,Q,b,v,w,s,o]),(0,m.useEffect)(()=>{if(void 0!==e){var t=$?$.state.doc.toString():"";if($&&e!==t){var i=X.current&&!X.current.isDone,s=()=>{$&&e!==$.state.doc.toString()&&$.dispatch({changes:{from:0,to:$.state.doc.toString().length,insert:e||""},annotations:[uE.of(!0)]})};i?C.current=s:s()}}},[e,$]),{state:T,setState:Z,view:$,setView:P,container:x,setContainer:k}}({root:$,value:s,autoFocus:c,theme:u,height:O,minHeight:d,maxHeight:g,width:Q,minWidth:b,maxWidth:v,basicSetup:w,placeholder:S,indentWithTab:y,editable:x,readOnly:k,selection:r,onChange:o,onStatistics:a,onCreateEditor:l,onUpdate:h,extensions:n,initialState:P});(0,m.useImperativeHandle)(e,()=>({editor:Z.current,state:X,view:C}),[Z,A,X,C]);var R=(0,m.useCallback)(t=>{Z.current=t,M(t)},[M]);if("string"!=typeof s)throw Error("value must be typeof string but got "+typeof s);var _="string"==typeof u?"cm-theme-"+u:"cm-theme";return(0,f.jsx)("div",(0,p.a)({ref:R,className:""+_+(i?" "+i:"")},T))});uL.displayName="CodeMirror";class uj{constructor(t,e,i,s,r,n,o,a,l,h=0,c){this.p=t,this.stack=e,this.state=i,this.reducePos=s,this.pos=r,this.score=n,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=h,this.parent=c}toString(){return`[${this.stack.filter((t,e)=>e%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,e,i=0){let s=t.parser.context;return new uj(t,[],e,i,i,0,[],0,s?new uB(s,s.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var e;let i=t>>19,s=65535&t,{parser:r}=this.p,n=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),o=r.dynamicPrecedence(s);if(o&&(this.score+=o),0==i){this.pushState(r.getGoto(this.state,s,!0),this.reducePos),s<r.minRepeatTerm&&this.storeNode(s,this.reducePos,this.reducePos,n?8:4,!0),this.reduceContext(s,this.reducePos);return}let a=this.stack.length-(i-1)*3-(262144&t?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from,h=this.reducePos-l;h>=2e3&&!(!(null===(e=this.p.parser.nodeSet.types[s])||void 0===e)&&e.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=h):this.p.lastBigReductionSize<h&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=h));let c=a?this.stack[a-1]:0,u=this.bufferBase+this.buffer.length-c;if(s<r.minRepeatTerm||131072&t){let t=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(s,l,t,u+4,!0)}if(262144&t)this.state=this.stack[a];else{let t=this.stack[a-3];this.state=r.getGoto(t,s,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(s,l)}storeNode(t,e,i,s=4,r=!1){if(0==t&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let t=this,s=this.buffer.length;if(0==s&&t.parent&&(s=t.bufferBase-t.parent.bufferBase,t=t.parent),s>0&&0==t.buffer[s-4]&&t.buffer[s-1]>-1){if(e==i)return;if(t.buffer[s-2]>=e){t.buffer[s-2]=i;return}}}if(r&&this.pos!=i){let r=this.buffer.length;if(r>0&&(0!=this.buffer[r-4]||this.buffer[r-1]<0)){let t=!1;for(let e=r;e>0&&this.buffer[e-2]>i;e-=4)if(this.buffer[e-1]>=0){t=!0;break}if(t)for(;r>0&&this.buffer[r-2]>i;)this.buffer[r]=this.buffer[r-4],this.buffer[r+1]=this.buffer[r-3],this.buffer[r+2]=this.buffer[r-2],this.buffer[r+3]=this.buffer[r-1],r-=4,s>4&&(s-=4)}this.buffer[r]=t,this.buffer[r+1]=e,this.buffer[r+2]=i,this.buffer[r+3]=s}else this.buffer.push(t,e,i,s)}shift(t,e,i,s){if(131072&t)this.pushState(65535&t,this.pos);else if((262144&t)==0){let{parser:r}=this.p;this.pos=s;let n=r.stateFlag(t,1);!n&&(s>i||e<=r.maxNode)&&(this.reducePos=s),this.pushState(t,n?i:Math.min(i,this.reducePos)),this.shiftContext(e,i),e<=r.maxNode&&this.buffer.push(e,i,s,4)}else this.pos=s,this.shiftContext(e,i),e<=this.p.parser.maxNode&&this.buffer.push(e,i,s,4)}apply(t,e,i,s){65536&t?this.reduce(t):this.shift(t,e,i,s)}useNode(t,e){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=t)&&(this.p.reused.push(t),i++);let s=this.pos;this.reducePos=this.pos=s+t.length,this.pushState(e,s),this.buffer.push(i,s,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,e=t.buffer.length;for(;e>0&&t.buffer[e-2]>t.reducePos;)e-=4;let i=t.buffer.slice(e),s=t.bufferBase+e;for(;t&&s==t.bufferBase;)t=t.parent;return new uj(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,s,this.curContext,this.lookAhead,t)}recoverByDelete(t,e){let i=t<=this.p.parser.maxNode;i&&this.storeNode(t,this.pos,e,4),this.storeNode(0,this.pos,e,i?8:4),this.pos=this.reducePos=e,this.score-=190}canShift(t){for(let e=new uI(this);;){let i=this.p.parser.stateSlot(e.state,4)||this.p.parser.hasAction(e.state,t);if(0==i)return!1;if((65536&i)==0)return!0;e.reduce(i)}}recoverByInsert(t){if(this.stack.length>=300)return[];let e=this.p.parser.nextStates(this.state);if(e.length>8||this.stack.length>=120){let i=[];for(let s=0,r;s<e.length;s+=2)(r=e[s+1])!=this.state&&this.p.parser.hasAction(r,t)&&i.push(e[s],r);if(this.stack.length<120)for(let t=0;i.length<8&&t<e.length;t+=2){let s=e[t+1];i.some((t,e)=>1&e&&t==s)||i.push(e[t],s)}e=i}let i=[];for(let t=0;t<e.length&&i.length<4;t+=2){let s=e[t+1];if(s==this.state)continue;let r=this.split();r.pushState(s,this.pos),r.storeNode(0,r.pos,r.pos,4,!0),r.shiftContext(e[t],this.pos),r.reducePos=this.pos,r.score-=200,i.push(r)}return i}forceReduce(){let{parser:t}=this.p,e=t.stateSlot(this.state,5);if((65536&e)==0)return!1;if(!t.validAction(this.state,e)){let i=e>>19,s=65535&e,r=this.stack.length-3*i;
vendor: 5,391 bytes, line 12
12if(r<0||0>t.getGoto(this.stack[r],s,!1)){let t=this.findForcedReduction();if(null==t)return!1;e=t}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}findForcedReduction(){let{parser:t}=this.p,e=[],i=(s,r)=>{if(!e.includes(s))return e.push(s),t.allActions(s,e=>{if(!(393216&e)){if(65536&e){let i=(e>>19)-r;if(i>1){let s=65535&e,r=this.stack.length-3*i;if(r>=0&&t.getGoto(this.stack[r],s,!1)>=0)return i<<19|65536|s}}else{let t=i(e,r+1);if(null!=t)return t}}})};return i(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:t}=this.p;return 65535==t.data[t.stateSlot(this.state,1)]&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let e=0;e<this.stack.length;e+=3)if(this.stack[e]!=t.stack[e])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,e){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(e)))}reduceContext(t,e){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(e)))}emitContext(){let t=this.buffer.length-1;(t<0||-3!=this.buffer[t])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;(t<0||-4!=this.buffer[t])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let e=new uB(this.curContext.tracker,t);e.hash!=this.curContext.hash&&this.emitContext(),this.curContext=e}}setLookAhead(t){return!(t<=this.lookAhead)&&(this.emitLookAhead(),this.lookAhead=t,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class uB{constructor(t,e){this.tracker=t,this.context=e,this.hash=t.strict?t.hash(e):0}}class uI{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let e=t>>19;0==e?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(e-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],65535&t,!0);this.state=i}}class uG{constructor(t,e,i){this.stack=t,this.pos=e,this.index=i,this.buffer=t.buffer,0==this.index&&this.maybeNext()}static create(t,e=t.bufferBase+t.buffer.length){return new uG(t,e,e-t.bufferBase)}maybeNext(){let t=this.stack.parent;null!=t&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.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,0==this.index&&this.maybeNext()}fork(){return new uG(this.stack,this.pos,this.index)}}function uN(t,e=Uint16Array){if("string"!=typeof t)return t;let i=null;for(let s=0,r=0;s<t.length;){let n=0;for(;;){let e=t.charCodeAt(s++),i=!1;if(126==e){n=65535;break}e>=92&&e--,e>=34&&e--;let r=e-32;if(r>=46&&(r-=46,i=!0),n+=r,i)break;n*=46}i?i[r++]=n:i=new e(n)}return i}class uU{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let uF=new uU;class uH{constructor(t,e){this.input=t,this.ranges=e,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=uF,this.rangeIndex=0,this.pos=this.chunkPos=e[0].from,this.range=e[0],this.end=e[e.length-1].to,this.readNext()}resolveOffset(t,e){let i=this.range,s=this.rangeIndex,r=this.pos+t;for(;r<i.from;){if(!s)return null;let t=this.ranges[--s];r-=i.from-t.to,i=t}for(;e<0?r>i.to:r>=i.to;){if(s==this.ranges.length-1)return null;let t=this.ranges[++s];r+=t.from-i.to,i=t}return r}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let e of this.ranges)if(e.to>t)return Math.max(t,e.from);return this.end}peek(t){let e=this.chunkOff+t,i,s;if(e>=0&&e<this.chunk.length)i=this.pos+t,s=this.chunk.charCodeAt(e);else{let e=this.resolveOffset(t,1);if(null==e)return -1;if((i=e)>=this.chunk2Pos&&i<this.chunk2Pos+this.chunk2.length)s=this.chunk2.charCodeAt(i-this.chunk2Pos);else{let t=this.rangeIndex,e=this.range;for(;e.to<=i;)e=this.ranges[++t];this.chunk2=this.input.chunk(this.chunk2Pos=i),i+this.chunk2.length>e.to&&(this.chunk2=this.chunk2.slice(0,e.to-i)),s=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),s}acceptToken(t,e=0){let i=e?this.resolveOffset(e,-1):this.pos;if(null==i||i<this.token.start)throw RangeError("Token end out of bounds");this.token.value=t,this.token.end=i}acceptTokenTo(t,e){this.token.value=t,this.token.end=e}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:e}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=e,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos),e=this.pos+t.length;this.chunk=e>this.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}
vendor: 6,068 bytes, line 12
12readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,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(t,e){if(e?(this.token=e,e.start=t,e.lookAhead=t+1,e.value=e.extended=-1):this.token=uF,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;t>=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(t,e){if(t>=this.chunkPos&&e<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,e-this.chunkPos);if(t>=this.chunk2Pos&&e<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,e-this.chunk2Pos);if(t>=this.range.from&&e<=this.range.to)return this.input.read(t,e);let i="";for(let s of this.ranges){if(s.from>=e)break;s.to>t&&(i+=this.input.read(Math.max(s.from,t),Math.min(s.to,e)))}return i}}class uK{constructor(t,e){this.data=t,this.id=e}token(t,e){let{parser:i}=e.p;u1(this.data,t,e,this.id,i.data,i.tokenPrecTable)}}uK.prototype.contextual=uK.prototype.fallback=uK.prototype.extend=!1;class uJ{constructor(t,e,i){this.precTable=e,this.elseToken=i,this.data="string"==typeof t?uN(t):t}token(t,e){let i=t.pos,s=0;for(;;){let i=t.next<0,r=t.resolveOffset(1,1);if(u1(this.data,t,e,0,this.data,this.precTable),t.token.value>-1)break;if(null==this.elseToken)return;if(i||s++,null==r)break;t.reset(r,t.token)}s&&(t.reset(i,t.token),t.acceptToken(this.elseToken,s))}}uJ.prototype.contextual=uK.prototype.fallback=uK.prototype.extend=!1;class u0{constructor(t,e={}){this.token=t,this.contextual=!!e.contextual,this.fallback=!!e.fallback,this.extend=!!e.extend}}function u1(t,e,i,s,r,n){let o=0,a=1<<s,{dialect:l}=i.p.parser;t:for(;(a&t[o])!=0;){let i=t[o+1];for(let s=o+3;s<i;s+=2)if((t[s+1]&a)>0){let i=t[s];if(l.allows(i)&&(-1==e.token.value||e.token.value==i||function(t,e,i,s){let r=u2(i,s,e);return r<0||u2(i,s,t)<r}(i,e.token.value,r,n))){e.acceptToken(i);break}}let s=e.next,h=0,c=t[o+2];if(e.next<0&&c>h&&65535==t[i+3*c-3]){o=t[i+3*c-1];continue}for(;h<c;){let r=h+c>>1,n=i+r+(r<<1),a=t[n],l=t[n+1]||65536;if(s<a)c=r;else if(s>=l)h=r+1;else{o=t[n+2],e.advance();continue t}}break}}function u2(t,e,i){for(let s=e,r;65535!=(r=t[s]);s++)if(r==i)return s-e;return -1}let u5="u">typeof g&&g.env&&/\bparse\b/.test(g.env.LOG),u3=null;function u7(t,e,i){let s=t.cursor(O.IncludeAnonymous);for(s.moveTo(e);;)if(!(i<0?s.childBefore(e):s.childAfter(e)))for(;;){if((i<0?s.to<e:s.from>e)&&!s.type.isError)return i<0?Math.max(0,Math.min(s.to-1,e-25)):Math.min(t.length,Math.max(s.from+1,e+25));if(i<0?s.prevSibling():s.nextSibling())break;if(!s.parent())return i<0?0:t.length}}class u4{constructor(t,e){this.fragments=t,this.nodeSet=e,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?u7(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?u7(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t<this.nextStart)return null;for(;this.fragment&&this.safeTo<=t;)this.nextFragment();if(!this.fragment)return null;for(;;){let e=this.trees.length-1;if(e<0)return this.nextFragment(),null;let i=this.trees[e],s=this.index[e];if(s==i.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let r=i.children[s],n=this.start[e]+i.positions[s];if(n>t)return this.nextStart=n,null;if(r instanceof nH){if(n==t){if(n<this.safeFrom)return null;let t=n+r.length;if(t<=this.safeTo){let e=r.prop(nj.lookAhead);if(!e||t+e<this.fragment.to)return r}}this.index[e]++,n+r.length>=Math.max(this.safeFrom,t)&&(this.trees.push(r),this.start.push(n),this.index.push(0))}else this.index[e]++,this.nextStart=n+r.length}}}class u9{constructor(t,e){this.stream=e,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(t=>new uU)}getActions(t){let e=0,i=null,{parser:s}=t.p,{tokenizers:r}=s,n=s.stateSlot(t.state,3),o=t.curContext?t.curContext.hash:0,a=0;for(let s=0;s<r.length;s++){if((1<<s&n)==0)continue;let l=r[s],h=this.tokens[s];if(!(i&&!l.fallback)&&((l.contextual||h.start!=t.pos||h.mask!=n||h.context!=o)&&(this.updateCachedToken(h,l,t),h.mask=n,h.context=o),h.lookAhead>h.end+25&&(a=Math.max(h.lookAhead,a)),0!=h.value)){let s=e;if(h.extended>-1&&(e=this.addActions(t,h.extended,h.end,e)),e=this.addActions(t,h.value,h.end,e),!l.extend&&(i=h,e>s))break}}for(;this.actions.length>e;)this.actions.pop();return a&&t.setLookAhead(a),i||t.pos!=this.stream.end||((i=new uU).value=t.p.parser.eofTerm,i.start=i.end=t.pos,e=this.addActions(t,i.value,i.end,e)),this.mainToken=i,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let e=new uU,{pos:i,p:s}=t;return e.start=i,e.end=Math.min(i+1,s.stream.end),e.value=i==s.stream.end?s.parser.eofTerm:0,e}updateCachedToken(t,e,i){let s=this.stream.clipPos(i.pos);if(e.token(this.stream.reset(s,t),i),t.value>-1){let{parser:e}=i.p;for(let s=0;s<e.specialized.length;s++)if(e.specialized[s]==t.value){let r=e.specializers[s](this.stream.read(t.start,t.end),i);if(r>=0&&i.p.parser.dialect.allows(r>>1)){(1&r)==0?t.value=r>>1:t.extended=r>>1;break}}}else t.value=0,t.end=this.stream.clipPos(s+1)}
12putAction(t,e,i,s){for(let e=0;e<s;e+=3)if(this.actions[e]==t)return s;return this.actions[s++]=t,this.actions[s++]=e,this.actions[s++]=i,s}addActions(t,e,i,s){let{state:r}=t,{parser:n}=t.p,{data:o}=n;for(let t=0;t<2;t++)for(let a=n.stateSlot(r,t?2:1);;a+=3){if(65535==o[a]){if(1==o[a+1])a=Or(o,a+2);else{0==s&&2==o[a+1]&&(s=this.putAction(Or(o,a+2),e,i,s));break}}o[a]==e&&(s=this.putAction(Or(o,a+1),e,i,s))}return s}}class u8{constructor(t,e,i,s){this.parser=t,this.input=e,this.ranges=s,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 uH(e,s),this.tokens=new u9(t,this.stream),this.topTerm=t.top[1];let{from:r}=s[0];this.stacks=[uj.start(this,t.top[0],r)],this.fragments=i.length&&this.stream.end-r>4*t.bufferLength?new u4(i,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,e=this.minStackPos,i=this.stacks=[],s,r;if(this.bigReductionCount>300&&1==t.length){let[e]=t;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let n=0;n<t.length;n++){let o=t[n];for(;;){if(this.tokens.mainToken=null,o.pos>e)i.push(o);else{if(this.advanceStack(o,i,t))continue;{s||(s=[],r=[]),s.push(o);let t=this.tokens.getMainToken(o);r.push(t.value,t.end)}}break}}if(!i.length){let t=s&&function(t){let e=null;for(let i of t){let t=i.p.stoppedAt;(i.pos==i.p.stream.end||null!=t&&i.pos>t)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.score<i.score)&&(e=i)}return e}(s);if(t)return u5&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw u5&&s&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),SyntaxError("No parse at "+e);this.recovering||(this.recovering=5)}if(this.recovering&&s){let t=null!=this.stoppedAt&&s[0].pos>this.stoppedAt?s[0]:this.runRecovery(s,r,i);if(t)return u5&&console.log("Force-finish "+this.stackID(t)),this.stackToTree(t.forceAll())}if(this.recovering){let t=1==this.recovering?1:3*this.recovering;if(i.length>t)for(i.sort((t,e)=>e.score-t.score);i.length>t;)i.pop();i.some(t=>t.reducePos>e)&&this.recovering--}
vendor: 5,545 bytes, line 12
12else if(i.length>1){t:for(let t=0;t<i.length-1;t++){let e=i[t];for(let s=t+1;s<i.length;s++){let r=i[s];if(e.sameState(r)||e.buffer.length>500&&r.buffer.length>500){if((e.score-r.score||e.buffer.length-r.buffer.length)>0)i.splice(s--,1);else{i.splice(t--,1);continue t}}}}i.length>12&&(i.sort((t,e)=>e.score-t.score),i.splice(12,i.length-12))}this.minStackPos=i[0].pos;for(let t=1;t<i.length;t++)i[t].pos<this.minStackPos&&(this.minStackPos=i[t].pos);return null}stopAt(t){if(null!=this.stoppedAt&&this.stoppedAt<t)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,e,i){let s=t.pos,{parser:r}=this,n=u5?this.stackID(t)+" -> ":"";if(null!=this.stoppedAt&&s>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let e=t.curContext&&t.curContext.tracker.strict,i=e?t.curContext.hash:0;for(let o=this.fragments.nodeAt(s);o;){let s=this.parser.nodeSet.types[o.type.id]==o.type?r.getGoto(t.state,o.type.id):-1;if(s>-1&&o.length&&(!e||(o.prop(nj.contextHash)||0)==i))return t.useNode(o,s),u5&&console.log(n+this.stackID(t)+` (via reuse of ${r.getName(o.type.id)})`),!0;if(!(o instanceof nH)||0==o.children.length||o.positions[0]>0)break;let a=o.children[0];if(a instanceof nH&&0==o.positions[0])o=a;else break}}let o=r.stateSlot(t.state,4);if(o>0)return t.reduce(o),u5&&console.log(n+this.stackID(t)+` (via always-reduce ${r.getName(65535&o)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let a=this.tokens.getActions(t);for(let o=0;o<a.length;){let l=a[o++],h=a[o++],c=a[o++],u=o==a.length||!i,O=u?t:t.split(),d=this.tokens.mainToken;if(O.apply(l,h,d?d.start:O.pos,c),u5&&console.log(n+this.stackID(O)+` (via ${(65536&l)==0?"shift":`reduce of ${r.getName(65535&l)}`} for ${r.getName(h)} @ ${s}${O==t?"":", split"})`),u)return!0;O.pos>s?e.push(O):i.push(O)}return!1}advanceFully(t,e){let i=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>i)return u6(t,e),!0}}runRecovery(t,e,i){let s=null,r=!1;for(let n=0;n<t.length;n++){let o=t[n],a=e[n<<1],l=e[(n<<1)+1],h=u5?this.stackID(o)+" -> ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),u5&&console.log(h+this.stackID(o)+" (restarted)"),this.advanceFully(o,i))))continue;let c=o.split(),u=h;for(let t=0;t<10&&c.forceReduce()&&(u5&&console.log(u+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,i));t++)u5&&(u=this.stackID(c)+" -> ");for(let t of o.recoverByInsert(a))u5&&console.log(h+this.stackID(t)+" (via recover-insert)"),this.advanceFully(t,i);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),u5&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),u6(o,i)):(!s||s.score<c.score)&&(s=c)}return s}stackToTree(t){return t.close(),nH.build({buffer:uG.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let e=(u3||(u3=new WeakMap)).get(t);return e||u3.set(t,e=String.fromCodePoint(this.nextStackID++)),e+t}}function u6(t,e){for(let i=0;i<e.length;i++){let s=e[i];if(s.pos==t.pos&&s.sameState(t)){e[i].score<t.score&&(e[i]=t);return}}e.push(t)}class Ot{constructor(t,e,i){this.source=t,this.flags=e,this.disabled=i}allows(t){return!this.disabled||0==this.disabled[t]}}let Oe=t=>t;class Oi{constructor(t){this.start=t.start,this.shift=t.shift||Oe,this.reduce=t.reduce||Oe,this.reuse=t.reuse||Oe,this.hash=t.hash||(()=>0),this.strict=!1!==t.strict}}class Os extends oa{constructor(t){if(super(),this.wrappers=[],14!=t.version)throw RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let e=t.nodeNames.split(" ");this.minRepeatTerm=e.length;for(let i=0;i<t.repeatNodeCount;i++)e.push("");let i=Object.keys(t.topRules).map(e=>t.topRules[e][1]),s=[];for(let t=0;t<e.length;t++)s.push([]);function r(t,e,i){s[t].push([e,e.deserialize(String(i))])}if(t.nodeProps)for(let e of t.nodeProps){let t=e[0];"string"==typeof t&&(t=nj[t]);for(let i=1;i<e.length;){let s=e[i++];if(s>=0)r(s,t,e[i++]);else{let n=e[i+-s];for(let o=-s;o>0;o--)r(e[i++],t,n);i++}}}this.nodeSet=new nN(e.map((e,r)=>nG.define({name:r>=this.minRepeatTerm?void 0:e,id:r,props:s[r],top:i.indexOf(r)>-1,error:0==r,skipped:t.skippedNodes&&t.skippedNodes.indexOf(r)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=1024;let n=uN(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let t=0;t<this.specializerSpecs.length;t++)this.specialized[t]=this.specializerSpecs[t].term;this.specializers=this.specializerSpecs.map(On),this.states=uN(t.states,Uint32Array),this.data=uN(t.stateData),this.goto=uN(t.goto),this.maxTerm=t.maxTerm,this.tokenizers=t.tokenizers.map(t=>"number"==typeof t?new uK(n,t):t),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,e,i){let s=new u8(this,t,e,i);for(let r of this.wrappers)s=r(s,t,e,i);return s}getGoto(t,e,i=!1){let s=this.goto;if(e>=s[0])return -1;for(let r=s[e+1];;){let e=s[r++],n=1&e,o=s[r++];if(n&&i)return o;for(let i=r+(e>>1);r<i;r++)if(s[r]==t)return o;if(n)return -1}}hasAction(t,e){let i=this.data;for(let s=0;s<2;s++)for(let r=this.stateSlot(t,s?2:1),n;;
12r+=3){if(65535==(n=i[r])){if(1==i[r+1])n=i[r=Or(i,r+2)];else{if(2==i[r+1])return Or(i,r+2);break}}if(n==e||0==n)return Or(i,r+1)}return 0}stateSlot(t,e){return this.states[6*t+e]}stateFlag(t,e){return(this.stateSlot(t,0)&e)>0}validAction(t,e){return!!this.allActions(t,t=>t==e||null)}allActions(t,e){let i=this.stateSlot(t,4),s=i?e(i):void 0;for(let i=this.stateSlot(t,1);null==s;i+=3){if(65535==this.data[i]){if(1==this.data[i+1])i=Or(this.data,i+2);else break}s=e(Or(this.data,i+1))}return s}nextStates(t){let e=[];for(let i=this.stateSlot(t,1);;i+=3){if(65535==this.data[i]){if(1==this.data[i+1])i=Or(this.data,i+2);else break}if((1&this.data[i+2])==0){let t=this.data[i+1];e.some((e,i)=>1&i&&e==t)||e.push(this.data[i],t)}}return e}configure(t){let e=Object.assign(Object.create(Os.prototype),this);if(t.props&&(e.nodeSet=this.nodeSet.extend(...t.props)),t.top){let i=this.topRules[t.top];if(!i)throw RangeError(`Invalid top rule name ${t.top}`);e.top=i}return t.tokenizers&&(e.tokenizers=this.tokenizers.map(e=>{let i=t.tokenizers.find(t=>t.from==e);return i?i.to:e})),t.specializers&&(e.specializers=this.specializers.slice(),e.specializerSpecs=this.specializerSpecs.map((i,s)=>{let r=t.specializers.find(t=>t.from==i.external);if(!r)return i;let n=Object.assign(Object.assign({},i),{external:r.to});return e.specializers[s]=On(n),n})),t.contextTracker&&(e.context=t.contextTracker),t.dialect&&(e.dialect=this.parseDialect(t.dialect)),null!=t.strict&&(e.strict=t.strict),t.wrap&&(e.wrappers=e.wrappers.concat(t.wrap)),null!=t.bufferLength&&(e.bufferLength=t.bufferLength),e}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let e=this.dynamicPrecedences;return null==e?0:e[t]||0}parseDialect(t){let e=Object.keys(this.dialects),i=e.map(()=>!1);if(t)for(let s of t.split(" ")){let t=e.indexOf(s);t>=0&&(i[t]=!0)}let s=null;for(let t=0;t<e.length;t++)if(!i[t])for(let i=this.dialects[e[t]],r;65535!=(r=this.data[i++]);)(s||(s=new Uint8Array(this.maxTerm+1)))[r]=1;return new Ot(t,i,s)}static deserialize(t){return new Os(t)}}function Or(t,e){return t[e]|t[e+1]<<16}function On(t){if(t.external){let e=t.extend?1:0;return(i,s)=>t.external(i,s)<<1|e}return t.get}let Oo={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},Oa={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Ol={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}},Oh=null,Oc=null,Ou=0;function OO(t,e){var i;let s=t.pos+e;if(Ou==s&&Oc==t)return Oh;let r=t.peek(e),n="";for(;45==(i=r)||46==i||58==i||i>=65&&i<=90||95==i||i>=97&&i<=122||i>=161;)n+=String.fromCharCode(r),r=t.peek(++e);return Oc=t,Ou=s,Oh=n?n.toLowerCase():r==Od||r==Of?void 0:null}let Od=63,Of=33;function Op(t,e){this.name=t,this.parent=e}let Om=[6,10,7,8,9],Og=new Oi({start:null,shift:(t,e,i,s)=>Om.indexOf(e)>-1?new Op(OO(s,1)||"",t):t,reduce:(t,e)=>21==e&&t?t.parent:t,reuse(t,e,i,s){let r=e.type.id;return 6==r||37==r?new Op(OO(s,1)||"",t):t},strict:!1}),OQ=new u0((t,e)=>{if(60!=t.next){t.next<0&&e.context&&t.acceptToken(58);return}t.advance();let i=47==t.next;i&&t.advance();let s=OO(t,0);if(void 0===s)return;if(!s)return t.acceptToken(i?15:14);let r=e.context?e.context.name:null;if(i){if(s==r)return t.acceptToken(11);if(r&&Oa[r])return t.acceptToken(58,-2);if(e.dialectEnabled(0))return t.acceptToken(12);for(let t=e.context;t;t=t.parent)if(t.name==s)return;t.acceptToken(13)}else{if("script"==s)return t.acceptToken(7);if("style"==s)return t.acceptToken(8);if("textarea"==s)return t.acceptToken(9);
12if(Oo.hasOwnProperty(s))return t.acceptToken(10);r&&Ol[r]&&Ol[r][s]?t.acceptToken(58,-1):t.acceptToken(6)}},{contextual:!0}),Ob=new u0(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(59);break}if(45==t.next)e++;else if(62==t.next&&e>=2){i>=3&&t.acceptToken(59,-2);break}else e=0;t.advance()}}),Ov=new u0((t,e)=>{if(47==t.next&&62==t.peek(1)){let i=e.dialectEnabled(1)||function(t){for(;t;t=t.parent)if("svg"==t.name||"math"==t.name)return!0;return!1}(e.context);t.acceptToken(i?5:4,2)}else 62==t.next&&t.acceptToken(4,1)});function Ow(t,e,i){let s=2+t.length;return new u0(r=>{for(let n=0,o=0,a=0;;a++){if(r.next<0){a&&r.acceptToken(e);break}if(0==n&&60==r.next||1==n&&47==r.next||n>=2&&n<s&&r.next==t.charCodeAt(n-2))n++,o++;else if(n==s&&62==r.next){a>o?r.acceptToken(e,-o):r.acceptToken(i,-(o-2));break}else if((10==r.next||13==r.next)&&a){r.acceptToken(e,1);break}else n=o=0;r.advance()}})}let OS=Ow("script",55,1),Oy=Ow("style",56,2),Ox=Ow("textarea",57,3),Ok=oy({"Text RawText IncompleteTag IncompleteCloseTag":oL.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":oL.angleBracket,TagName:oL.tagName,"MismatchedCloseTag/TagName":[oL.tagName,oL.invalid],AttributeName:oL.attributeName,"AttributeValue UnquotedAttributeValue":oL.attributeValue,Is:oL.definitionOperator,"EntityReference CharacterReference":oL.character,Comment:oL.blockComment,ProcessingInst:oL.processingInstruction,DoctypeDecl:oL.documentMeta}),O$=Os.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#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XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag 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:68,context:Og,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["o
12penedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,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!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[OS,Oy,Ox,Ov,OQ,Ob,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function OP(t,e){let i=Object.create(null);for(let s of t.getChildren(24)){let t=s.getChild(25),r=s.getChild(27)||s.getChild(28);t&&(i[e.read(t.from,t.to)]=r?27==r.type.id?e.read(r.from+1,r.to-1):e.read(r.from,r.to):"")}return i}function OT(t,e){let i=t.getChild(23);return i?e.read(i.from,i.to):" "}function OZ(t,e,i){let s;for(let r of i)if(!r.attrs||r.attrs(s||(s=OP(t.node.parent.firstChild,e))))return{parser:r.parser,bracketed:!0};return null}function OX(t=[],e=[]){var i;let s=[],r=[],n=[],o=[];for(let e of t)("script"==e.tag?s:"style"==e.tag?r:"textarea"==e.tag?n:o).push(e);let a=e.length?Object.create(null):null;for(let t of e)(a[t.name]||(a[t.name]=[])).push(t);return i=(t,e)=>{let i=t.type.id;if(29==i)return OZ(t,e,s);if(32==i)return OZ(t,e,r);if(35==i)return OZ(t,e,n);if(21==i&&o.length){let i=t.node,s=i.firstChild,r=s&&OT(s,e),n;if(r){for(let t of o)if(t.tag==r&&(!t.attrs||t.attrs(n||(n=OP(s,e))))){let e=i.lastChild,r=38==e.type.id?e.from:i.to;if(r>s.to)return{parser:t.parser,overlay:[{from:s.to,to:r}]}}}}if(a&&24==i){let i=t.node,s;if(s=i.firstChild){let t=a[e.read(s.from,s.to)];if(t)for(let s of t){if(s.tagName&&s.tagName!=OT(i.parent,e))continue;let t=i.lastChild;if(27==t.type.id){let e=t.from+1,i=t.lastChild,r=t.to-(i&&i.isError?0:1);if(r>e)return{parser:s.parser,overlay:[{from:e,to:r}],bracketed:!0}}else if(28==t.type.id)return{parser:s.parser,overlay:[{from:t.from,to:t.to}]}}}}return null},(t,e,s,r)=>new od(t,i,e,s,r)}let OC=[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];function OA(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function OM(t){return t>=48&&t<=57}function OR(t){return OM(t)||t>=97&&t<=102||t>=65&&t<=70}let O_=(t,e,i)=>(s,r)=>{for(let n=!1,o=0,a=0;;a++){let{next:l}=s;if(OA(l)||45==l||95==l||n&&OM(l))!n&&(45!=l||a>0)&&(n=!0),o===a&&45==l&&o++,s.advance();else if(92==l&&10!=s.peek(1)){if(s.advance(),OR(s.next)){do s.advance();while(OR(s.next));32==s.next&&s.advance()}else s.next>-1&&s.advance();n=!0}else{n&&s.acceptToken(2==o&&r.canShift(2)?e:40==l?i:t);break}}},Oz=new u0(O_(123,2,124)),OY=new u0(O_(125,3,4)),Oq=new u0(t=>{if(OC.includes(t.peek(-1))){let{next:e}=t;(OA(e)||95==e||35==e||46==e||42==e||91==e||58==e&&OA(t.peek(1))||45==e||38==e)&&t.acceptToken(122)}}),OV=new u0(t=>{if(!OC.includes(t.peek(-1))){let{next:e}=t;if(37==e&&(t.advance(),t.acceptToken(1)),OA(e)){do t.advance();while(OA(t.next)||OM(t.next));t.acceptToken(1)}}}),OE=oy({"AtKeyword import charset namespace keyframes media supports":oL.definitionKeyword,"from to selector":oL.keyword,NamespaceName:oL.namespace,KeyframeName:oL.labelName,KeyframeRangeName:oL.operatorKeyword,TagName:oL.tagName,ClassName:oL.className,PseudoClassName:oL.constant(oL.className),IdName:oL.labelName,"FeatureName PropertyName":oL.propertyName,AttributeName:oL.attributeName,NumberLiteral:oL.number,KeywordQuery:oL.keyword,UnaryQueryOp:oL.operatorKeyword,"CallTag ValueName":oL.atom,VariableName:oL.variableName,Callee:oL.operatorKeyword,Unit:oL.unit,"UniversalSelector NestingSelector":oL.definitionOperator,"MatchOp CompareOp":oL.compareOperator,"ChildOp SiblingOp, LogicOp":oL.logicOperator,BinOp:oL.arithmeticOperator,Important:oL.modifier,Comment:oL.blockComment,ColorLiteral
12:oL.color,"ParenthesizedContent StringLiteral":oL.string,":":oL.punctuation,"PseudoOp #":oL.derefOperator,"; ,":oL.separator,"( )":oL.paren,"[ ]":oL.squareBracket,"{ }":oL.brace}),OW={__proto__:null,lang:38,"nth-child":38,"nth-last-child":38,"nth-of-type":38,"nth-last-of-type":38,dir:38,"host-context":38,if:84,url:124,"url-prefix":124,domain:124,regexp:124},OD={__proto__:null,or:98,and:98,not:106,only:106,layer:170},OL={__proto__:null,selector:112,layer:166},Oj={__proto__:null,"@import":162,"@media":174,"@charset":178,"@namespace":182,"@keyframes":188,"@supports":200,"@scope":204},OB={__proto__:null,to:207},OI=Os.deserialize({version:14,states:"EbQYQdOOO#qQdOOP#xO`OOOOQP'#Cf'#CfOOQP'#Ce'#CeO#}QdO'#ChO$nQaO'#CcO$xQdO'#CkO%TQdO'#DpO%YQdO'#DrO%_QdO'#DuO%_QdO'#DxOOQP'#FV'#FVO&eQhO'#EhOOQS'#FU'#FUOOQS'#Ek'#EkQYQdOOO&lQdO'#EOO&PQhO'#EUO&lQdO'#EWO'aQdO'#EYO'lQdO'#E]O'tQhO'#EcO(VQdO'#EeO(bQaO'#CfO)VQ`O'#D{O)[Q`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z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x'QQ!qdR$X!rQ!PVR#TrQ#S!PR$i#TQ!SWR#VsQ!UXR#WtQ{UQ!wgQ#^yQ#o!_Q$U!nQ$[!uQ$_!yQ%e$^Q&Y%aQ&]%fR&v&XSjPzQ!}kQ$c!{R%k$dZiPkz!{$dR$P!gQ%}%SR&z&mR!rdR!teR$Z!tS%a$Y%bR&t&WV%_$Y%b&WQ#PmR$g#PQ`OSkPzU!a`k$dR$d!{Q$p#aY%p$p%u&d&l'QQ%u$sQ&d%qQ&l%zR'Q&xQ#t!cQ#v!dQ#x!eV$}#t#v#xQ%X$RR&T%XQ%y$zS&k%y&yR&y&lQ%r$pR&e%rQ%n$mR&c%nQyUR#]yQ%i$aR&_%iQ!|jS$e!|$fR$f!}Q&n%}R&{&nQ#k!ZR$x#kQ%b$YR&Z%bQ&X%aR&u&X__OP`kz!{$d^UOP`kz!{$dQ!VYQ!WZQ#XuQ#YvQ#ZwQ#[xQ$]!vQ$m#`R&b%mR$q#aQ!gaQ!oc[#q!c!d!e#t#v#xQ$a!zd$o#a$p$s%q%u%z&d&l&x'QQ$r#cQ%R#{S%g$a%iQ%l$kQ&^%hR&p&P]#s!c!d!e#t#v#xW!Z]b!g$PQ!ufQ#f!YQ#l![Q$v#iQ$w#jQ$z#mS%V$R%XR&i%xQ#h!YQ%w$tR&w&hR$|#mR$n#`QlPR#_zQ!_]Q!nbQ$O!gR%U$P",nodeNames:"⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to AtRule Styles",maxTerm:143,nodeProps:[["isolate",-2,5,36,""],["openedBy",20,"(",28,"[",31,"{"],["closedBy",21,")",29,"]",32,"}"]],propSources:[OE],skippedNodes:[0,5,106],repeatNodeCount:15,tokenData:"JQ~R!YOX$qX^%i^p$qpq%iqr({rs-ust/itu6Wuv$qvw7Qwx7cxy9Qyz9cz{9h{|:R|}>t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#B
12Z%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;'S$q;'S;=`Iz<%lO$q`$tSOy%Qz;'S%Q;'S;=`%c<%lO%Q`%VS!a`Oy%Qz;'S%Q;'S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^'Y^p%Qpq'Yqy%Qz#y%Q#y#z'Y#z$f%Q$f$g'Y$g#BY%Q#BY#BZ'Y#BZ$IS%Q$IS$I_'Y$I_$I|%Q$I|$JO'Y$JO$JT%Q$JT$JU'Y$JU$KV%Q$KV$KW'Y$KW&FU%Q&FU&FV'Y&FV;'S%Q;'S;=`%c<%lO%Q~'ah#s~!a`OX%QX^'Y^p%Qpq'Yqy%Qz#y%Q#y#z'Y#z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%lO%QnHcSl^Oy%Qz;'S%Q;'S;=`%c<%lO%QjHtSpYOy%Qz;'S%Q;'S;=`%c<%lO%QjIVSoYOy%Qz;'S%Q;'S;=`%c<%lO%QfIhU!mQOy%Qz!_%Q!_!`6m!`;'S%Q;'S;=`%c<%lO%Q`I}P;=`<%l$q",tokenizers:[Oq,OV,Oz,OY,1,2,3,4,new uJ("m~RRYZ[z{a~~g~aO#v~~dP!P!Qg~lO#w~~",28,129)],topRules:{StyleSheet:[0,6],Styles:[1,105]},dynamicPrecedences:{76:1},specialized:[{term:124,get:t=>OW[t]||-1},{term:125,get:t=>OD[t]||-1},{term:4,get:t=>OL[t]||-1},{term:25,get:t=>Oj[t]||-1},{term:123,get:t=>OB[t]||-1}],tokenPrec:1963}),OG=null;function ON(){if(!OG&&"object"==typeof document&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let s in t)"cssText"!=s&&"cssFloat"!=s&&"string"==typeof t[s]&&(/[A-Z]/.test(s)&&(s=s.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())),i.has(s)||(e.push(s),i.add(s)));OG=e.sort().map(t=>({type:"property",label:t,apply:t+": "}))}return OG||[]}let OU=["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","invali
12d","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})),OF=["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
12-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}))),OH=["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})),OK=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(t=>({type:"keyword",label:t})),OJ=/^(\w[\w-]*|-\w[\w-]*|)$/,O0=/^-(-[\w-]*)?$/,O1=new on,O2=["Declaration"],O5=(n=t=>"VariableName"==t.name,t=>{let{state:e,pos:i}=t,s=oF(e).resolveInner(i,-1),r=s.type.isError&&s.from==s.to-1&&"-"==e.doc.sliceString(s.from,s.to);if("PropertyName"==s.name||(r||"TagName"==s.name)&&/^(Block|Styles)$/.test(s.resolve(s.to).name))return{from:s.from,options:ON(),validFor:OJ};if("ValueName"==s.name)return{from:s.from,options:OF,validFor:OJ};if("PseudoClassName"==s.name)return{from:s.from,options:OU,validFor:OJ};if(n(s)||(t.explicit||r)&&function(t,e){var i;if(("("==t.name||t.type.isError)&&(t=t.parent||t),"ArgList"!=t.name)return!1;let s=null===(i=t.parent)||void 0===i?void 0:i.firstChild;return s?.name=="Callee"&&"var"==e.sliceString(s.from,s.to)}(s,e.doc))return{from:n(s)||r?s.from:i,options:function t(e,i,s){if(i.to-i.from>4096){let r=O1.get(i);if(r)return r;let n=[],o=new Set,a=i.cursor(O.IncludeAnonymous);if(a.firstChild())do for(let i of t(e,a.node,s))o.has(i.label)||(o.add(i.label),n.push(i));while(a.nextSibling());return O1.set(i,n),n}{let t=[],r=new Set;
12return i.cursor().iterate(i=>{var n;if(s(i)&&i.matchContext(O2)&&(null===(n=i.node.nextSibling)||void 0===n?void 0:n.name)==":"){let s=e.sliceString(i.from,i.to);r.has(s)||(r.add(s),t.push({label:s,type:"variable"}))}}),t}}(e.doc,function(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}(s),n),validFor:O0};if("TagName"==s.name){for(let{parent:t}=s;t;t=t.parent)if("Block"==t.name)return{from:s.from,options:ON(),validFor:OJ};return{from:s.from,options:OH,validFor:OJ}}if("AtKeyword"==s.name)return{from:s.from,options:OK,validFor:OJ};if(!t.explicit)return null;let o=s.resolve(i),a=o.childBefore(i);return a&&":"==a.name&&"PseudoClassSelector"==o.name?{from:i,options:OU,validFor:OJ}:a&&":"==a.name&&"Declaration"==o.name||"ArgList"==o.name?{from:i,options:OF,validFor:OJ}:"Block"==o.name||"Styles"==o.name?{from:i,options:ON(),validFor:OJ}:null}),O3=oU.define({name:"css",parser:OI.configure({props:[as.add({Declaration:al()}),ac.add({"Block KeyframeList":au})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function O7(){return new o4(O3,O3.data.of({autocomplete:O5}))}let O4=[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],O9=new Oi({start:!1,shift:(t,e)=>5==e||6==e||320==e?t:321==e,strict:!1}),O8=new u0((t,e)=>{let{next:i}=t;(125==i||-1==i||e.context)&&t.acceptToken(318)},{contextual:!0,fallback:!0}),O6=new u0((t,e)=>{let{next:i}=t,s;O4.indexOf(i)>-1||47==i&&(47==(s=t.peek(1))||42==s)||125==i||59==i||-1==i||e.context||t.acceptToken(316)},{contextual:!0}),dt=new u0((t,e)=>{91!=t.next||e.context||t.acceptToken(317)},{contextual:!0}),de=new u0((t,e)=>{let{next:i}=t;if(43==i||45==i){if(t.advance(),i==t.next){t.advance();let i=!e.context&&e.canShift(1);t.acceptToken(i?1:2)}}else 63==i&&46==t.peek(1)&&(t.advance(),t.advance(),(t.next<48||t.next>57)&&t.acceptToken(3))},{contextual:!0});function di(t,e){return t>=65&&t<=90||t>=97&&t<=122||95==t||t>=192||!e&&t>=48&&t<=57}let ds=new u0((t,e)=>{if(60!=t.next||!e.dialectEnabled(0)||(t.advance(),47==t.next))return;let i=0;for(;O4.indexOf(t.next)>-1;)t.advance(),i++;if(di(t.next,!0)){for(t.advance(),i++;di(t.next,!1);)t.advance(),i++;for(;O4.indexOf(t.next)>-1;)t.advance(),i++;if(44==t.next)return;for(let e=0;;e++){if(7==e){if(!di(t.next,!0))return;break}if(t.next!="extends".charCodeAt(e))break;t.advance(),i++}}t.acceptToken(4,-i)}),dr=oy({"get set async static":oL.modifier,"for while do if else switch try catch finally return throw break continue default case defer":oL.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":oL.operatorKeyword,"let var const using function class extends":oL.definitionKeyword,"import export from":oL.moduleKeyword,"with debugger new":oL.keyword,TemplateString:oL.special(oL.string),super:oL.atom,BooleanLiteral:oL.bool,this:oL.self,null:oL.null,Star:oL.modifier,VariableName:oL.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":oL.function(oL.variableName),VariableDefinition:oL.definition(oL.variableName),Label:oL.labelName,PropertyName:oL.propertyName,PrivatePropertyName:oL.special(oL.propertyName),"CallExpression/MemberExpression/PropertyName":oL.function(oL.propertyName),"FunctionDeclaration/VariableDefinition":oL.function(oL.definition(oL.variableName)),"ClassDeclaration/VariableDefinition":oL.definition(oL.className),"NewExpression/VariableName":oL.className,PropertyDefinition:oL.definition(oL.propertyName),PrivatePropertyDefinition:oL.definition(oL.special(oL.propertyName)),UpdateOp:oL.updateOperator,"LineComment Hashbang":oL.lineComment,BlockComment:oL.blockComment,Number:oL.number,String:oL.string,Escape:oL.escape,ArithOp:oL.arithmeticOperator,LogicOp:oL.logicOperator,BitOp:oL.bitwiseOperator,CompareOp:oL.compareOperator,RegExp:oL.regexp,Equals:oL.definitionOperator,Arrow:oL.function(oL.punctuation),": Spread":oL.punctuation,"( )":oL.paren,"[ ]":oL.squareBracket,"{ }":oL.brace,"InterpolationStart InterpolationEnd":oL.special(oL.brace),".":oL.derefOperator,", ;":oL.separator,"@":oL.meta,TypeName:oL.typeName,TypeDefinition:oL.definition(oL.typeName),"type enum interface implements namespace module declare":oL.definitionKeyword,"abstract global Privacy readonly override":oL.modifier,"is keyof unique infer asserts":oL.operatorKeyword,JSXAttributeValue:oL.attributeValue,JSXText:oL.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":oL.angleBracket,"JSXIdentifier JSXNameSpacedName":oL.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":oL.attributeName,"JSXBuiltin/JSXIdentifier":oL.standard(oL.tagName)}),dn={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},da={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},dl={__proto__:null,"<":193},dh=Os
vendor: 12,780 bytes, line 12
12.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GsO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EyO;hQMhO'#FeO;xQ`O'#GsOOQO'#K`'#K`O;}Q`O'#K`O<]Q`O'#G{O<]Q`O'#G|O<]Q`O'#HOO9kQ`O'#HRO=SQ`O'#HUO>kQ`O'#CeO>{Q`O'#HcO?TQ`O'#HiO?TQ`O'#HkO`QlO'#HmO?TQ`O'#HoO?TQ`O'#HrO?YQ`O'#HxO?_Q!0LsO'#IOO%[QlO'#IQO?jQ!0LsO'#ISO?uQ!0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!v!y!z'`'l'm'n-e-u1o5{5}S'V!e-]U*j$|*Z*oS-Y'W'_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d'`-e]!qQ!r'`-e1o5{Q#p]R'i<VR)f$dY!uQ'`-e1o5{Q'k!rS'u!v!yS'w!z5}S-t'l'mQ-v'nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m'X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-['X+[T.O(T.TV'^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:
12"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const 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 : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < 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 CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression 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 InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts 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 defer 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:380,context:O9,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[dr
vendor: 15,963 bytes, line 12
12],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p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Er",tokenizers:[
vendor: 2,476 bytes, lines 12-24
12O6,dt,de,ds,2,3,4,5,6,7,8,9,10,11,12,13,14,O8,new uJ("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!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(c~~",141,340),new uJ("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:t=>dn[t]||-1},{term:343,get:t=>da[t]||-1},{term:95,get:t=>dl[t]||-1}],tokenPrec:15201}),dc=[cU("function ${name}(${params}) {\n	${}\n}",{label:"function",detail:"definition",type:"keyword"}),cU("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n	${}\n}",{label:"for",detail:"loop",type:"keyword"}),cU("for (let ${name} of ${collection}) {\n	${}\n}",{label:"for",detail:"of loop",type:"keyword"}),cU("do {\n	${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),cU("while (${}) {\n	${}\n}",{label:"while",detail:"loop",type:"keyword"}),cU(`try {
13	\${}
14} catch (\${error}) {
15	\${}
16}`,{label:"try",detail:"/ catch block",type:"keyword"}),cU("if (${}) {\n	${}\n}",{label:"if",detail:"block",type:"keyword"}),cU(`if (\${}) {
17	\${}
18} else {
19	\${}
20}`,{label:"if",detail:"/ else block",type:"keyword"}),cU(`class \${name} {
21	constructor(\${params}) {
22		\${}
23	}
24}`,{label:"class",detail:"definition",type:"keyword"}),cU('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),cU('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],du=dc.concat([cU("interface ${name} {\n	${}\n}",{label:"interface",detail:"definition",type:"keyword"}),cU("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),cU("enum ${name} {\n	${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),dO=new on,dd=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function df(t){return(e,i)=>{let s=e.node.getChild("VariableDefinition");return s&&i(s,t),!0}}let dp=["FunctionDeclaration"],dm={FunctionDeclaration:df("function"),ClassDeclaration:df("class"),ClassExpression:()=>!0,EnumDeclaration:df("constant"),TypeAliasDeclaration:df("type"),NamespaceDeclaration:df("namespace"),VariableDefinition(t,e){t.matchContext(dp)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null}
24,dg=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,dQ=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function db(t){let e=oF(t.state).resolveInner(t.pos,-1);if(dQ.indexOf(e.name)>-1)return null;let i="VariableName"==e.name||e.to-e.from<20&&dg.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let s=[];for(let i=e;i;i=i.parent)dd.has(i.name)&&(s=s.concat(function t(e,i){let s=dO.get(i);if(s)return s;let r=[],n=!0;function o(t,i){let s=e.sliceString(t.from,t.to);r.push({label:s,type:i})}return i.cursor(O.IncludeAnonymous).iterate(i=>{if(n)n=!1;else if(i.name){let t=dm[i.name];if(t&&t(i,o)||dd.has(i.name))return!1}else if(i.to-i.from>8192){for(let s of t(e,i.node))r.push(s);return!1}}),dO.set(i,r),r}(t.state.doc,i)));return{options:s,from:i?e.from:t.pos,validFor:dg}}let dv=oU.define({name:"javascript",parser:dh.configure({props:[as.add({IfStatement:al({except:/^\s*({|else\b)/}),TryStatement:al({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:t=>t.baseIndent,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),s=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:s?1:2)*t.unit},Block:function({closing:t,align:e=!0,units:i=1}){return s=>aa(s,e,i,t)}({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":al({except:/^\s*{/}),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=>t.column(t.node.from)+t.unit}),ac.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":au,BlockComment:t=>({from:t.from+2,to:t.to-2}),JSXElement(t){let e=t.firstChild;if(!e||"JSXSelfClosingTag"==e.name)return null;let i=t.lastChild;return{from:e.to,to:i.type.isError?t.to:i.from}},"JSXSelfClosingTag JSXOpenTag"(t){var e;let i=null===(e=t.firstChild)||void 0===e?void 0:e.nextSibling,s=t.lastChild;return!i||i.type.isError?null:{from:i.to,to:s.type.isError?t.to:s.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),dw={test:t=>/^JSX/.test(t.name),facet:oB({commentTokens:{block:{open:"{/*",close:"*/}"}}})},dS=dv.configure({dialect:"ts"},"typescript"),dy=dv.configure({dialect:"jsx",props:[oI.add(t=>t.isTop?[dw]:void 0)]}),dx=dv.configure({dialect:"jsx ts",props:[oI.add(t=>t.isTop?[dw]:void 0)]},"typescript"),dk=t=>({label:t,type:"keyword"}),d$="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(dk),dP=d$.concat(["declare","implements","private","protected","public"].map(dk));function dT(t={}){var e;let i=t.jsx?t.typescript?dx:dy:t.typescript?dS:dv,s=t.typescript?du.concat(dP):dc.concat(d$);return new o4(i,[dv.data.of({autocomplete:(e=h9(s),t=>{for(let e=oF(t.state).resolveInner(t.pos,-1);e;e=e.parent){if(dQ.indexOf(e.name)>-1)return null;if(e.type.isTop)break}return e(t)})}),dv.data.of({autocomplete:db}),t.jsx?dC:[]])}function dZ(t,e,i=t.length){for(let s=e?.firstChild;s;s=s.nextSibling)if("JSXIdentifier"==s.name||"JSXBuiltin"==s.name||"JSXNamespacedName"==s.name||"JSXMemberExpression"==s.name)return t.sliceString(s.from,Math.min(s.to,i));return""}let dX="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),dC=rp.inputHandler.of((t,e,i,s,r)=>{if((dX?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||">"!=s&&"/"!=s||!dv.isActiveAt(t.state,e,-1))return!1;let n=r(),{state:o}=n,a=o.changeByRange(t=>{var e;let{head:i}=t,r=oF(o).resolveInner(i-1,-1),n;if("JSXStartTag"==r.name&&(r=r.parent),!(o.doc.sliceString(i-1,i)!=s||"JSXAttributeValue"==r.name&&r.to>i)){if(">"==s&&"JSXFragmentTag"==r.name)return{range:t,changes:{from:i,insert:"</>"}};if("/"==s&&"JSXStartCloseTag"==r.name){let t=r.parent,s=t.parent;if(s&&t.from==i-2&&((n=dZ(o.doc,s.firstChild,i))||(null===(e=s.firstChild)||void 0===e?void 0:e.name)=="JSXFragmentTag")){let t=`${n}>`;return{range:F.cursor(i+t.length,-1),changes:{from:i,insert:t}}}}else if(">"==s){let e=function(t){for(;;){if("JSXOpenTag"==t.name||"JSXSelfClosingTag"==t.name||"JSXFragmentTag"==t.name)return t;if("JSXEscape"==t.name||!t.parent)return null;t=t.parent}}(r);if(e&&"JSXOpenTag"==e.name&&!/^\/?>|^<\//.test(o.doc.sliceString(i,i+2))&&(n=dZ(o.doc,e,i)))return{range:t,changes:{from:i,insert:`</${n}>`}}}}return{range:t}});return!a.changes.empty&&(t.dispatch([n,o.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),dA=["_blank","_self","_top","_parent"],dM=["ascii","utf-8","utf-16","latin1","latin1"],dR=["get","post","put","delete"],d_=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],dz=["true","false"],dY={},dq={a:{attrs:{href:null,ping:null,type:null,media:null,target:dA,hreflang:null}},abbr:dY,address:dY,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:dY,aside:dY,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:dY,base:{attrs:{href:null,target:dA}},bdi:dY,bdo:dY,blockquote:{attrs:{cite:null}},body:dY,br:dY,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:d_,formmethod:dR,formnovalidate:["novalidate"],formtarget:dA,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:dY,center:dY,cite:dY,code:dY,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:dY,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:dY,div:dY,dl:dY,dt:dY,em:dY,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:dY,figure:dY,footer:dY,form:{attrs:{action:null,name:null,"accept-charset":dM,autocomplete:["on","off"],enctype:d_,method:dR,novalidate:["novalidate"],target:dA}},h1:dY,h2:dY,h3:dY,h4:dY,h5:dY,h6:dY,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:dY,hgroup:dY,hr:dY,html:{attrs:{manifest:null}}
vendor: 5,569 bytes, line 24
24,i:dY,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:d_,formmethod:dR,formnovalidate:["novalidate"],formtarget:dA,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:dY,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:dY,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:dY,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:dM,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:dY,noscript:dY,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:dY,param:{attrs:{name:null,value:null}},pre:dY,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:dY,rt:dY,ruby:dY,samp:dY,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:dM}},section:dY,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:dY,source:{attrs:{src:null,type:null,media:null}},span:dY,strong:dY,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:dY,summary:dY,sup:dY,table:dY,tbody:dY,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:dY,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:dY,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:dY,time:{attrs:{datetime:null}},title:dY,tr:dY,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:dY,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:dY},dV={accesskey:null,class:null,contenteditable:dz,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:dz,autocorrect:dz,autocapitalize:dz,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":dz,"aria-autocomplete":["inline","list","both","none"],"aria-busy":dz,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":dz,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":dz,"aria-hidden":dz,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":dz,"aria-multiselectable":dz,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":dz,"aria-relevant":null,"aria-required":dz,"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},dE="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".
24split(" ").map(t=>"on"+t);for(let t of dE)dV[t]=null;class dW{constructor(t,e){this.tags={...dq,...t},this.globalAttrs={...dV,...e},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function dD(t,e,i=t.length){if(!e)return"";let s=e.firstChild,r=s&&s.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}function dL(t,e=!1){for(;t;t=t.parent)if("Element"==t.name){if(!e)return t;e=!1}return null}function dj(t,e,i){let s=i.tags[dD(t,dL(e))];return s?.children||i.allTags}function dB(t,e){let i=[];for(let s=dL(e);s&&!s.type.isTop;s=dL(s.parent)){let r=dD(t,s);if(r&&"CloseTag"==s.lastChild.name)break;r&&0>i.indexOf(r)&&("EndTag"==e.name||e.from>=s.firstChild.to)&&i.push(r)}return i}dW.default=new dW;let dI=/^[:\-\.\w\u00b7-\uffff]*$/;function dG(t,e,i,s,r){let n=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=dL(i,"StartTag"==i.name||"TagName"==i.name);return{from:s,to:r,options:dj(t.doc,o,e).map(t=>({label:t,type:"type"})).concat(dB(t.doc,i).map((t,e)=>({label:"/"+t,apply:"/"+t+n,type:"type",boost:99-e}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function dN(t,e,i,s){let r=/\s*>/.test(t.sliceDoc(s,s+5))?"":">";return{from:i,to:s,options:dB(t.doc,e).map((t,e)=>({label:t,apply:t+r,type:"type",boost:99-e})),validFor:dI}}let dU=dv.parser.configure({top:"SingleExpression"}),dF=[{tag:"script",attrs:t=>"text/typescript"==t.type||"ts"==t.lang,parser:dS.parser},{tag:"script",attrs:t=>"text/babel"==t.type||"text/jsx"==t.type,parser:dy.parser},{tag:"script",attrs:t=>"text/typescript-jsx"==t.type,parser:dx.parser},{tag:"script",attrs:t=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type),parser:dU},{tag:"script",attrs:t=>!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type),parser:dv.parser},{tag:"style",attrs:t=>(!t.lang||"css"==t.lang)&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type)),parser:O3.parser}],dH=[{name:"style",parser:O3.parser.configure({top:"Styles"})}].concat(dE.map(t=>({name:t,parser:dv.parser}))),dK=oU.define({name:"html",parser:O$.configure({props:[as.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=>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 i=t.node;;){let t=i.lastChild;if(!t||"Element"!=t.name||t.to!=i.to)break;e=i=t}return e&&!((i=e.lastChild)&&("CloseTag"==i.name||"SelfClosingTag"==i.name))?t.lineIndent(e.from)+t.unit:null}}),ac.add({Element(t){let e=t.firstChild,i=t.lastChild;return e&&"OpenTag"==e.name?{from:e.to,to:"CloseTag"==i.name?i.from:t.to}:null}}),aG.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),dJ=dK.configure({wrap:OX(dF,dH)}),d0=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),d1=rp.inputHandler.of((t,e,i,s,r)=>{if(t.composing||t.state.readOnly||e!=i||">"!=s&&"/"!=s||!dJ.isActiveAt(t.state,e,-1))return!1;let n=r(),{state:o}=n,a=o.changeByRange(t=>{var e,i,r;let n=o.doc.sliceString(t.from-1,t.to)==s,{head:a}=t,l=oF(o).resolveInner(a,-1),h;if(n&&">"==s&&"EndTag"==l.name){let s=l.parent;if((null===(i=null===(e=s.parent)||void 0===e?void 0:e.lastChild)||void 0===i?void 0:i.name)!="CloseTag"&&(h=dD(o.doc,s.parent,a))&&!d0.has(h)){let e=a+(">"===o.doc.sliceString(a,a+1)?1:0);return{range:t,changes:{from:a,to:e,insert:`</${h}>`}}}}else if(n&&"/"==s&&"IncompleteCloseTag"==l.name){let t=l.parent;if(l.from==a-2&&(null===(r=t.lastChild)||void 0===r?void 0:r.name)!="CloseTag"&&(h=dD(o.doc,t,a))&&!d0.has(h)){let t=a+(">"===o.doc.sliceString(a,a+1)?1:0),e=`${h}>`;return{range:F.cursor(a+e.length,-1),changes:{from:a,to:t,insert:e}}}}return{range:t}});return!a.changes.empty&&(t.dispatch([n,o.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),d2=oy({String:oL.string,Number:oL.number,"True False":oL.bool,PropertyName:oL.propertyName,Null:oL.null,", :":oL.separator,"[ ]":oL.squareBracket,"{ }":oL.brace}),d5=Os.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[d2],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~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#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!]~$zO]~~$}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~&yO[~~'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}),d3=oU.define({name:"json",parser:d5.configure({props:[as.add({Object:al({except:/^\s*\}/}),Array:al({except:/^\s*\]/})}),ac.add({"Object Array":au})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function d7({isDarkMode:t,extraExtensions:e,language:i="html",...s}){let r=(()=>{switch(i){case"css":return O7();case"js":return dT();case"json":return new o4(d3);default:return function(t={}){let e="",i;return!1===t.matchClosingTags&&(e="noMatch"),!0===t.selfClosingTags&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=OX((t.nestedLanguages||[]).concat(dF),(t.nestedAttributes||[]).concat(dH))),new o4(i?dK.configure({wrap:i,dialect:e}):e?dJ.configure({dialect:e}):dJ,[dJ.data.of({autocomplete:function(t){let{extraTags:e,extraGlobalAttributes:i}=t,s=i||e?new dW(e,i):dW.default;return t=>(function(t,e){var i,s;let r,n,o,{state:a,pos:l}=e,h=oF(a).resolveInner(l,-1),c=h.resolve(l);for(let t=l,e;c==h&&(e=h.childBefore(t));){let i=e.lastChild;if(!i||!i.type.isError||i.from<i.to)break;c=h=e,t=i.from}return"TagName"==h.name?h.parent&&/CloseTag$/.test(h.parent.name)?dN(a,h,h.from,l):dG(a,t,h,h.from,l):"StartTag"==h.name||"IncompleteTag"==h.name?dG(a,t,h,l,l):"StartCloseTag"==h.name||"IncompleteCloseTag"==h.name?dN(a,h,l,l):"OpenTag"==h.name||"SelfClosingTag"==h.name||"AttributeName"==h.name?(i=h,s="AttributeName"==h.name?h.from:l,o=(n=(r=dL(i))?t.tags[dD(a.doc,r)]:null)&&n.attrs?Object.keys(n.attrs):[],{from:s,to:l,options:(n&&!1===n.globalAttrs?o:o.length?o.concat(t.globalAttrNames):t.globalAttrNames).map(t=>({label:t,type:"property"})),validFor:dI}):"Is"==h.name||"AttributeValue"==h.name||"UnquotedAttributeValue"==h.name?function(t,e,
24i,s,r){var n;let o=null===(n=i.parent)||void 0===n?void 0:n.getChild("AttributeName"),a=[],l;if(o){let n=t.sliceDoc(o.from,o.to),h=e.globalAttrs[n];if(!h){let s=dL(i),r=s?e.tags[dD(t.doc,s)]:null;h=r?.attrs&&r.attrs[n]}if(h){let e=t.sliceDoc(s,r).toLowerCase(),i='"',n='"';for(let o of(/^['"]/.test(e)?(l='"'==e[0]?/^[^"]*$/:/^[^']*$/,i="",n=t.sliceDoc(r,r+1)==e[0]?"":e[0],e=e.slice(1),s++):l=/^[^\s<>='"]*$/,h))a.push({label:o,apply:i+o+n,type:"constant"})}}return{from:s,to:r,options:a,validFor:l}}(a,t,h,"Is"==h.name?l:h.from,l):e.explicit&&("Element"==c.name||"Text"==c.name||"Document"==c.name)?function(t,e,i,s){let r=[],n=0;for(let s of dj(t.doc,i,e))r.push({label:"<"+s,type:"type"});for(let e of dB(t.doc,i))r.push({label:"</"+e+">",type:"type",boost:99-n++});return{from:s,to:s,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(a,t,h,l):null})(s,t)}(t)}),!1!==t.autoCloseTags?d1:[],dT().support,O7().support])}()}})(),n=e?[r,...e]:[r];return(0,f.jsx)(uL,{...s,theme:t?uA:void 0,extensions:n})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.