@hpcc-js/codemirror 3.7.9 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("@hpcc-js/common")):typeof define==`function`&&define.amd?define([`exports`,`@hpcc-js/common`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e[`@hpcc-js/codemirror`]={},e[`@hpcc-js/common`]))})(this,function(e,t){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),__copyProps=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},__toESM=(e,t,i)=>(i=e==null?{}:n(o(e)),__copyProps(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),c=`@hpcc-js/codemirror`,l=`3.7.9`,u=`3.25.1`,d=__commonJSMin(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n||=self,n.CodeMirror=r())})(e,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),a=/Edge\/(\d+)/.exec(e),o=r||i||a,s=o&&(r?document.documentMode||6:+(a||i)[1]),c=!a&&/WebKit\//.test(e),l=c&&/Qt\/\d+\.\d+/.test(e),u=!a&&/Chrome\/(\d+)/.exec(e),d=u&&+u[1],f=/Opera\//.test(e),m=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),g=/PhantomJS/.test(e),_=m&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),y=_||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=_||/Mac/.test(t),x=/\bCrOS\b/.test(e),S=/win/i.test(t),C=f&&e.match(/Version\/(\d*\.\d*)/);C&&=Number(C[1]),C&&C>=15&&(f=!1,c=!0);var w=b&&(l||f&&(C==null||C<12.11)),T=n||o&&s>=9;function classTest(e){return RegExp(`(^|\\s)`+e+`(?:$|\\s)\\s*`)}var rmClass=function(e,t){var n=e.className,r=classTest(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:``)}};function removeChildren(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function removeChildrenAndAdd(e,t){return removeChildren(e).appendChild(t)}function elt(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),typeof t==`string`)i.appendChild(document.createTextNode(t));else if(t)for(var a=0;a<t.length;++a)i.appendChild(t[a]);return i}function eltP(e,t,n,r){var i=elt(e,t,n,r);return i.setAttribute(`role`,`presentation`),i}var E=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch{return r}return r.collapse(!0),r.moveEnd(`character`,n),r.moveStart(`character`,t),r};function contains(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function activeElt(e){var t=e.ownerDocument||e,n;try{n=e.activeElement}catch{n=t.body||null}for(;n&&n.shadowRoot&&n.shadowRoot.activeElement;)n=n.shadowRoot.activeElement;return n}function addClass(e,t){var n=e.className;classTest(t).test(n)||(e.className+=(n?` `:``)+t)}function joinClasses(e,t){for(var n=e.split(` `),r=0;r<n.length;r++)n[r]&&!classTest(n[r]).test(t)&&(t+=` `+n[r]);return t}var selectInput=function(e){e.select()};_?selectInput=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(selectInput=function(e){try{e.select()}catch{}});function doc(e){return e.display.wrapper.ownerDocument}function root(e){return rootNode(e.display.wrapper)}function rootNode(e){return e.getRootNode?e.getRootNode():e.ownerDocument}function win(e){return doc(e).defaultView}function bind(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function copyObj(e,t,n){for(var r in t||={},e)Object.prototype.hasOwnProperty.call(e,r)&&(n!==!1||!Object.prototype.hasOwnProperty.call(t,r))&&(t[r]=e[r]);return t}function countColumn(e,t,n,r,i){t??(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var a=r||0,o=i||0;;){var s=e.indexOf(` `,a);if(s<0||s>=t)return o+(t-a);o+=s-a,o+=n-o%n,a=s+1}}var Delayed=function(){this.id=null,this.f=null,this.time=0,this.handler=bind(this.onTimeout,this)};Delayed.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},Delayed.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};function indexOf(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}var D=50,O={toString:function(){return`CodeMirror.Pass`}},k={scroll:!1},A={origin:`*mouse`},j={origin:`+move`};function findColumn(e,t,n){for(var r=0,i=0;;){var a=e.indexOf(` `,r);a==-1&&(a=e.length);var o=a-r;if(a==e.length||i+o>=t)return r+Math.min(o,t-i);if(i+=a-r,i+=n-i%n,r=a+1,i>=t)return r}}var M=[``];function spaceStr(e){for(;M.length<=e;)M.push(lst(M)+` `);return M[e]}function lst(e){return e[e.length-1]}function map(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function insertSorted(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function nothing(){}function createObj(e,t){var n;return Object.create?n=Object.create(e):(nothing.prototype=e,n=new nothing),t&&copyObj(t,n),n}var N=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function isWordCharBasic(e){return/\w/.test(e)||e>`€`&&(e.toUpperCase()!=e.toLowerCase()||N.test(e))}function isWordChar(e,t){return t?t.source.indexOf(`\\w`)>-1&&isWordCharBasic(e)?!0:t.test(e):isWordCharBasic(e)}function isEmpty(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var P=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function isExtendingChar(e){return e.charCodeAt(0)>=768&&P.test(e)}function skipExtendingChars(e,t,n){for(;(n<0?t>0:t<e.length)&&isExtendingChar(e.charAt(t));)t+=n;return t}function findFirst(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,a=r<0?Math.ceil(i):Math.floor(i);if(a==t)return e(a)?t:n;e(a)?n=a:t=a+r}}function iterateBidiSections(e,t,n,r){if(!e)return r(t,n,`ltr`,0);for(var i=!1,a=0;a<e.length;++a){var o=e[a];(o.from<n&&o.to>t||t==n&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,n),o.level==1?`rtl`:`ltr`,a),i=!0)}i||r(t,n,`ltr`)}var F=null;function getBidiPartAt(e,t,n){var r;F=null;for(var i=0;i<e.length;++i){var a=e[i];if(a.from<t&&a.to>t)return i;a.to==t&&(a.from!=a.to&&n==`before`?r=i:F=i),a.from==t&&(a.from!=a.to&&n!=`before`?r=i:F=i)}return r??F}var I=(function(){var e=`bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN`,t=`nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111`;function charType(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?`R`:1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?`r`:8192<=n&&n<=8203?`w`:n==8204?`b`:`L`}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,i=/[LRr]/,a=/[Lb1n]/,o=/[1n]/;function BidiSpan(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var s=t==`ltr`?`L`:`R`;if(e.length==0||t==`ltr`&&!n.test(e))return!1;for(var c=e.length,l=[],u=0;u<c;++u)l.push(charType(e.charCodeAt(u)));for(var d=0,f=s;d<c;++d){var m=l[d];m==`m`?l[d]=f:f=m}for(var h=0,g=s;h<c;++h){var _=l[h];_==`1`&&g==`r`?l[h]=`n`:i.test(_)&&(g=_,_==`r`&&(l[h]=`R`))}for(var v=1,y=l[0];v<c-1;++v){var b=l[v];b==`+`&&y==`1`&&l[v+1]==`1`?l[v]=`1`:b==`,`&&y==l[v+1]&&(y==`1`||y==`n`)&&(l[v]=y),y=b}for(var x=0;x<c;++x){var S=l[x];if(S==`,`)l[x]=`N`;else if(S==`%`){var C=void 0;for(C=x+1;C<c&&l[C]==`%`;++C);for(var w=x&&l[x-1]==`!`||C<c&&l[C]==`1`?`1`:`N`,T=x;T<C;++T)l[T]=w;x=C-1}}for(var E=0,D=s;E<c;++E){var O=l[E];D==`L`&&O==`1`?l[E]=`L`:i.test(O)&&(D=O)}for(var k=0;k<c;++k)if(r.test(l[k])){var A=void 0;for(A=k+1;A<c&&r.test(l[A]);++A);for(var j=(k?l[k-1]:s)==`L`,M=j==((A<c?l[A]:s)==`L`)?j?`L`:`R`:s,N=k;N<A;++N)l[N]=M;k=A-1}for(var P=[],F,I=0;I<c;)if(a.test(l[I])){var ee=I;for(++I;I<c&&a.test(l[I]);++I);P.push(new BidiSpan(0,ee,I))}else{var L=I,R=P.length,z=+(t==`rtl`);for(++I;I<c&&l[I]!=`L`;++I);for(var B=L;B<I;)if(o.test(l[B])){L<B&&(P.splice(R,0,new BidiSpan(1,L,B)),R+=z);var te=B;for(++B;B<I&&o.test(l[B]);++B);P.splice(R,0,new BidiSpan(2,te,B)),R+=z,L=B}else ++B;L<I&&P.splice(R,0,new BidiSpan(1,L,I))}return t==`ltr`&&(P[0].level==1&&(F=e.match(/^\s+/))&&(P[0].from=F[0].length,P.unshift(new BidiSpan(0,0,F[0].length))),lst(P).level==1&&(F=e.match(/\s+$/))&&(lst(P).to-=F[0].length,P.push(new BidiSpan(0,c-F[0].length,c)))),t==`rtl`?P.reverse():P}})();function getOrder(e,t){var n=e.order;return n??=e.order=I(e.text,t),n}var ee=[],on=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent(`on`+t,n);else{var r=e._handlers||={};r[t]=(r[t]||ee).concat(n)}};function getHandlers(e,t){return e._handlers&&e._handlers[t]||ee}function off(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent(`on`+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var a=indexOf(i,n);a>-1&&(r[t]=i.slice(0,a).concat(i.slice(a+1)))}}}function signal(e,t){var n=getHandlers(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function signalDOMEvent(e,t,n){return typeof t==`string`&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),signal(e,n||t.type,e,t),e_defaultPrevented(t)||t.codemirrorIgnore}function signalCursorActivity(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)indexOf(n,t[r])==-1&&n.push(t[r])}function hasHandler(e,t){return getHandlers(e,t).length>0}function eventMixin(e){e.prototype.on=function(e,t){on(this,e,t)},e.prototype.off=function(e,t){off(this,e,t)}}function e_preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function e_stopPropagation(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function e_defaultPrevented(e){return e.defaultPrevented==null?e.returnValue==0:e.defaultPrevented}function e_stop(e){e_preventDefault(e),e_stopPropagation(e)}function e_target(e){return e.target||e.srcElement}function e_button(e){var t=e.which;return t??(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),b&&e.ctrlKey&&t==1&&(t=3),t}var L=function(){if(o&&s<9)return!1;var e=elt(`div`);return`draggable`in e||`dragDrop`in e}(),R;function zeroWidthElement(e){if(R==null){var t=elt(`span`,`​`);removeChildrenAndAdd(e,elt(`span`,[t,document.createTextNode(`x`)])),e.firstChild.offsetHeight!=0&&(R=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&s<8))}var n=R?elt(`span`,`​`):elt(`span`,`\xA0`,null,`display: inline-block; width: 1px; margin-right: -1px`);return n.setAttribute(`cm-text`,``),n}var z;function hasBadBidiRects(e){if(z!=null)return z;var t=removeChildrenAndAdd(e,document.createTextNode(`AخA`)),n=E(t,0,1).getBoundingClientRect(),r=E(t,1,2).getBoundingClientRect();return removeChildren(e),!n||n.left==n.right?!1:z=r.right-n.right<3}var B=`
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("@hpcc-js/common")):typeof define==`function`&&define.amd?define([`exports`,`@hpcc-js/common`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e[`@hpcc-js/codemirror`]={},e[`@hpcc-js/common`]))})(this,function(e,t){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),__copyProps=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},__toESM=(e,t,i)=>(i=e==null?{}:n(o(e)),__copyProps(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),c=`@hpcc-js/codemirror`,l=`3.8.1`,u=`3.26.1`,d=__commonJSMin(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():(n||=self,n.CodeMirror=r())})(e,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),a=/Edge\/(\d+)/.exec(e),o=r||i||a,s=o&&(r?document.documentMode||6:+(a||i)[1]),c=!a&&/WebKit\//.test(e),l=c&&/Qt\/\d+\.\d+/.test(e),u=!a&&/Chrome\/(\d+)/.exec(e),d=u&&+u[1],f=/Opera\//.test(e),m=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),g=/PhantomJS/.test(e),_=m&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),y=_||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=_||/Mac/.test(t),x=/\bCrOS\b/.test(e),S=/win/i.test(t),C=f&&e.match(/Version\/(\d*\.\d*)/);C&&=Number(C[1]),C&&C>=15&&(f=!1,c=!0);var w=b&&(l||f&&(C==null||C<12.11)),T=n||o&&s>=9;function classTest(e){return RegExp(`(^|\\s)`+e+`(?:$|\\s)\\s*`)}var rmClass=function(e,t){var n=e.className,r=classTest(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:``)}};function removeChildren(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function removeChildrenAndAdd(e,t){return removeChildren(e).appendChild(t)}function elt(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),typeof t==`string`)i.appendChild(document.createTextNode(t));else if(t)for(var a=0;a<t.length;++a)i.appendChild(t[a]);return i}function eltP(e,t,n,r){var i=elt(e,t,n,r);return i.setAttribute(`role`,`presentation`),i}var E=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch{return r}return r.collapse(!0),r.moveEnd(`character`,n),r.moveStart(`character`,t),r};function contains(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function activeElt(e){var t=e.ownerDocument||e,n;try{n=e.activeElement}catch{n=t.body||null}for(;n&&n.shadowRoot&&n.shadowRoot.activeElement;)n=n.shadowRoot.activeElement;return n}function addClass(e,t){var n=e.className;classTest(t).test(n)||(e.className+=(n?` `:``)+t)}function joinClasses(e,t){for(var n=e.split(` `),r=0;r<n.length;r++)n[r]&&!classTest(n[r]).test(t)&&(t+=` `+n[r]);return t}var selectInput=function(e){e.select()};_?selectInput=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(selectInput=function(e){try{e.select()}catch{}});function doc(e){return e.display.wrapper.ownerDocument}function root(e){return rootNode(e.display.wrapper)}function rootNode(e){return e.getRootNode?e.getRootNode():e.ownerDocument}function win(e){return doc(e).defaultView}function bind(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function copyObj(e,t,n){for(var r in t||={},e)Object.prototype.hasOwnProperty.call(e,r)&&(n!==!1||!Object.prototype.hasOwnProperty.call(t,r))&&(t[r]=e[r]);return t}function countColumn(e,t,n,r,i){t??(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var a=r||0,o=i||0;;){var s=e.indexOf(` `,a);if(s<0||s>=t)return o+(t-a);o+=s-a,o+=n-o%n,a=s+1}}var Delayed=function(){this.id=null,this.f=null,this.time=0,this.handler=bind(this.onTimeout,this)};Delayed.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},Delayed.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};function indexOf(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}var D=50,O={toString:function(){return`CodeMirror.Pass`}},k={scroll:!1},A={origin:`*mouse`},j={origin:`+move`};function findColumn(e,t,n){for(var r=0,i=0;;){var a=e.indexOf(` `,r);a==-1&&(a=e.length);var o=a-r;if(a==e.length||i+o>=t)return r+Math.min(o,t-i);if(i+=a-r,i+=n-i%n,r=a+1,i>=t)return r}}var M=[``];function spaceStr(e){for(;M.length<=e;)M.push(lst(M)+` `);return M[e]}function lst(e){return e[e.length-1]}function map(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function insertSorted(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function nothing(){}function createObj(e,t){var n;return Object.create?n=Object.create(e):(nothing.prototype=e,n=new nothing),t&&copyObj(t,n),n}var N=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function isWordCharBasic(e){return/\w/.test(e)||e>`€`&&(e.toUpperCase()!=e.toLowerCase()||N.test(e))}function isWordChar(e,t){return t?t.source.indexOf(`\\w`)>-1&&isWordCharBasic(e)?!0:t.test(e):isWordCharBasic(e)}function isEmpty(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var P=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function isExtendingChar(e){return e.charCodeAt(0)>=768&&P.test(e)}function skipExtendingChars(e,t,n){for(;(n<0?t>0:t<e.length)&&isExtendingChar(e.charAt(t));)t+=n;return t}function findFirst(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,a=r<0?Math.ceil(i):Math.floor(i);if(a==t)return e(a)?t:n;e(a)?n=a:t=a+r}}function iterateBidiSections(e,t,n,r){if(!e)return r(t,n,`ltr`,0);for(var i=!1,a=0;a<e.length;++a){var o=e[a];(o.from<n&&o.to>t||t==n&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,n),o.level==1?`rtl`:`ltr`,a),i=!0)}i||r(t,n,`ltr`)}var F=null;function getBidiPartAt(e,t,n){var r;F=null;for(var i=0;i<e.length;++i){var a=e[i];if(a.from<t&&a.to>t)return i;a.to==t&&(a.from!=a.to&&n==`before`?r=i:F=i),a.from==t&&(a.from!=a.to&&n!=`before`?r=i:F=i)}return r??F}var I=(function(){var e=`bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN`,t=`nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111`;function charType(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?`R`:1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?`r`:8192<=n&&n<=8203?`w`:n==8204?`b`:`L`}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,i=/[LRr]/,a=/[Lb1n]/,o=/[1n]/;function BidiSpan(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var s=t==`ltr`?`L`:`R`;if(e.length==0||t==`ltr`&&!n.test(e))return!1;for(var c=e.length,l=[],u=0;u<c;++u)l.push(charType(e.charCodeAt(u)));for(var d=0,f=s;d<c;++d){var m=l[d];m==`m`?l[d]=f:f=m}for(var h=0,g=s;h<c;++h){var _=l[h];_==`1`&&g==`r`?l[h]=`n`:i.test(_)&&(g=_,_==`r`&&(l[h]=`R`))}for(var v=1,y=l[0];v<c-1;++v){var b=l[v];b==`+`&&y==`1`&&l[v+1]==`1`?l[v]=`1`:b==`,`&&y==l[v+1]&&(y==`1`||y==`n`)&&(l[v]=y),y=b}for(var x=0;x<c;++x){var S=l[x];if(S==`,`)l[x]=`N`;else if(S==`%`){var C=void 0;for(C=x+1;C<c&&l[C]==`%`;++C);for(var w=x&&l[x-1]==`!`||C<c&&l[C]==`1`?`1`:`N`,T=x;T<C;++T)l[T]=w;x=C-1}}for(var E=0,D=s;E<c;++E){var O=l[E];D==`L`&&O==`1`?l[E]=`L`:i.test(O)&&(D=O)}for(var k=0;k<c;++k)if(r.test(l[k])){var A=void 0;for(A=k+1;A<c&&r.test(l[A]);++A);for(var j=(k?l[k-1]:s)==`L`,M=j==((A<c?l[A]:s)==`L`)?j?`L`:`R`:s,N=k;N<A;++N)l[N]=M;k=A-1}for(var P=[],F,I=0;I<c;)if(a.test(l[I])){var ee=I;for(++I;I<c&&a.test(l[I]);++I);P.push(new BidiSpan(0,ee,I))}else{var L=I,R=P.length,z=+(t==`rtl`);for(++I;I<c&&l[I]!=`L`;++I);for(var B=L;B<I;)if(o.test(l[B])){L<B&&(P.splice(R,0,new BidiSpan(1,L,B)),R+=z);var te=B;for(++B;B<I&&o.test(l[B]);++B);P.splice(R,0,new BidiSpan(2,te,B)),R+=z,L=B}else ++B;L<I&&P.splice(R,0,new BidiSpan(1,L,I))}return t==`ltr`&&(P[0].level==1&&(F=e.match(/^\s+/))&&(P[0].from=F[0].length,P.unshift(new BidiSpan(0,0,F[0].length))),lst(P).level==1&&(F=e.match(/\s+$/))&&(lst(P).to-=F[0].length,P.push(new BidiSpan(0,c-F[0].length,c)))),t==`rtl`?P.reverse():P}})();function getOrder(e,t){var n=e.order;return n??=e.order=I(e.text,t),n}var ee=[],on=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent(`on`+t,n);else{var r=e._handlers||={};r[t]=(r[t]||ee).concat(n)}};function getHandlers(e,t){return e._handlers&&e._handlers[t]||ee}function off(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent(`on`+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var a=indexOf(i,n);a>-1&&(r[t]=i.slice(0,a).concat(i.slice(a+1)))}}}function signal(e,t){var n=getHandlers(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function signalDOMEvent(e,t,n){return typeof t==`string`&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),signal(e,n||t.type,e,t),e_defaultPrevented(t)||t.codemirrorIgnore}function signalCursorActivity(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)indexOf(n,t[r])==-1&&n.push(t[r])}function hasHandler(e,t){return getHandlers(e,t).length>0}function eventMixin(e){e.prototype.on=function(e,t){on(this,e,t)},e.prototype.off=function(e,t){off(this,e,t)}}function e_preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function e_stopPropagation(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function e_defaultPrevented(e){return e.defaultPrevented==null?e.returnValue==0:e.defaultPrevented}function e_stop(e){e_preventDefault(e),e_stopPropagation(e)}function e_target(e){return e.target||e.srcElement}function e_button(e){var t=e.which;return t??(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),b&&e.ctrlKey&&t==1&&(t=3),t}var L=function(){if(o&&s<9)return!1;var e=elt(`div`);return`draggable`in e||`dragDrop`in e}(),R;function zeroWidthElement(e){if(R==null){var t=elt(`span`,`​`);removeChildrenAndAdd(e,elt(`span`,[t,document.createTextNode(`x`)])),e.firstChild.offsetHeight!=0&&(R=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&s<8))}var n=R?elt(`span`,`​`):elt(`span`,`\xA0`,null,`display: inline-block; width: 1px; margin-right: -1px`);return n.setAttribute(`cm-text`,``),n}var z;function hasBadBidiRects(e){if(z!=null)return z;var t=removeChildrenAndAdd(e,document.createTextNode(`AخA`)),n=E(t,0,1).getBoundingClientRect(),r=E(t,1,2).getBoundingClientRect();return removeChildren(e),!n||n.left==n.right?!1:z=r.right-n.right<3}var B=`
2
2
 
3
3
  b`.split(/\n/).length==3?function(e){return e.split(/\r\n?|\n/)}:function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf(`
4
4
  `,t);i==-1&&(i=e.length);var a=e.slice(t,e.charAt(i-1)==`\r`?i-1:i),o=a.indexOf(`\r`);o==-1?(n.push(a),t=i+1):(n.push(a.slice(0,o)),t+=o+1)}return n},te=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints(`StartToEnd`,t)!=0},ne=(function(){var e=elt(`div`);return`oncopy`in e?!0:(e.setAttribute(`oncopy`,`return;`),typeof e.oncopy==`function`)})(),re=null;function hasBadZoomedRects(e){if(re!=null)return re;var t=removeChildrenAndAdd(e,elt(`span`,`x`)),n=t.getBoundingClientRect(),r=E(t,0,1).getBoundingClientRect();return re=Math.abs(n.left-r.left)>1}var ie={},V={};function defineMode(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),ie[e]=t}function defineMIME(e,t){V[e]=t}function resolveMode(e){if(typeof e==`string`&&V.hasOwnProperty(e))e=V[e];else if(e&&typeof e.name==`string`&&V.hasOwnProperty(e.name)){var t=V[e.name];typeof t==`string`&&(t={name:t}),e=createObj(t,e),e.name=t.name}else if(typeof e==`string`&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return resolveMode(`application/xml`);else if(typeof e==`string`&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return resolveMode(`application/json`);return typeof e==`string`?{name:e}:e||{name:`null`}}function getMode(e,t){t=resolveMode(t);var n=ie[t.name];if(!n)return getMode(e,`text/plain`);var r=n(e,t);if(H.hasOwnProperty(t.name)){var i=H[t.name];for(var a in i)i.hasOwnProperty(a)&&(r.hasOwnProperty(a)&&(r[`_`+a]=r[a]),r[a]=i[a])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)r[o]=t.modeProps[o];return r}var H={};function extendMode(e,t){copyObj(t,H.hasOwnProperty(e)?H[e]:H[e]={})}function copyState(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function innerMode(e,t){for(var n;e.innerMode&&(n=e.innerMode(t),!(!n||n.mode==e));)t=n.state,e=n.mode;return n||{mode:e,state:t}}function startState(e,t,n){return e.startState?e.startState(t,n):!0}var StringStream=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};StringStream.prototype.eol=function(){return this.pos>=this.string.length},StringStream.prototype.sol=function(){return this.pos==this.lineStart},StringStream.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},StringStream.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},StringStream.prototype.eat=function(e){var t=this.string.charAt(this.pos);if(typeof e==`string`?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},StringStream.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},StringStream.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},StringStream.prototype.skipToEnd=function(){this.pos=this.string.length},StringStream.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},StringStream.prototype.backUp=function(e){this.pos-=e},StringStream.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=countColumn(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?countColumn(this.string,this.lineStart,this.tabSize):0)},StringStream.prototype.indentation=function(){return countColumn(this.string,null,this.tabSize)-(this.lineStart?countColumn(this.string,this.lineStart,this.tabSize):0)},StringStream.prototype.match=function(e,t,n){if(typeof e==`string`){var cased=function(e){return n?e.toLowerCase():e};if(cased(this.string.substr(this.pos,e.length))==cased(e))return t!==!1&&(this.pos+=e.length),!0}else{var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&t!==!1&&(this.pos+=r[0].length),r)}},StringStream.prototype.current=function(){return this.string.slice(this.start,this.pos)},StringStream.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},StringStream.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},StringStream.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function getLine(e,t){if(t-=e.first,t<0||t>=e.size)throw Error(`There is no line `+(t+e.first)+` in the document.`);for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],a=i.chunkSize();if(t<a){n=i;break}t-=a}return n.lines[t]}function getBetween(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var a=e.text;i==n.line&&(a=a.slice(0,n.ch)),i==t.line&&(a=a.slice(t.ch)),r.push(a),++i}),r}function getLines(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function updateLineHeight(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function lineNo(e){if(e.parent==null)return null;for(var t=e.parent,n=indexOf(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function lineAtHeight(e,t){var n=e.first;outer:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],a=i.height;if(t<a){e=i;continue outer}t-=a,n+=i.chunkSize()}return n}while(!e.lines);for(var o=0;o<e.lines.length;++o){var s=e.lines[o].height;if(t<s)break;t-=s}return n+o}function isLine(e,t){return t>=e.first&&t<e.first+e.size}function lineNumberFor(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function Pos(e,t,n){if(n===void 0&&(n=null),!(this instanceof Pos))return new Pos(e,t,n);this.line=e,this.ch=t,this.sticky=n}function cmp(e,t){return e.line-t.line||e.ch-t.ch}function equalCursorPos(e,t){return e.sticky==t.sticky&&cmp(e,t)==0}function copyPos(e){return Pos(e.line,e.ch)}function maxPos(e,t){return cmp(e,t)<0?t:e}function minPos(e,t){return cmp(e,t)<0?e:t}function clipLine(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function clipPos(e,t){if(t.line<e.first)return Pos(e.first,0);var n=e.first+e.size-1;return t.line>n?Pos(n,getLine(e,n).text.length):clipToLen(t,getLine(e,t.line).text.length)}function clipToLen(e,t){var n=e.ch;return n==null||n>t?Pos(e.line,t):n<0?Pos(e.line,0):e}function clipPosArray(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=clipPos(e,t[r]);return n}var SavedContext=function(e,t){this.state=e,this.lookAhead=t},Context=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};Context.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Context.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,``),size:this.baseTokens[this.baseTokenPos]-e}},Context.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Context.fromSaved=function(e,t,n){return t instanceof SavedContext?new Context(e,copyState(e.mode,t.state),n,t.lookAhead):new Context(e,copyState(e.mode,t),n)},Context.prototype.save=function(e){var t=e===!1?this.state:copyState(this.doc.mode,this.state);return this.maxLookAhead>0?new SavedContext(t,this.maxLookAhead):t};function highlightLine(e,t,n,r){var i=[e.state.modeGen],a={};runMode(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},a,r);for(var o=n.state,loop=function(r){n.baseTokens=i;var s=e.state.overlays[r],c=1,l=0;n.state=!0,runMode(e,t.text,s.mode,n,function(e,t){for(var n=c;l<e;){var r=i[c];r>e&&i.splice(c,1,e,i[c+1],r),c+=2,l=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,c-n,e,`overlay `+t),c=n+2;else for(;n<c;n+=2){var a=i[n+1];i[n+1]=(a?a+` `:``)+`overlay `+t}},a),n.state=o,n.baseTokens=null,n.baseTokenPos=1},s=0;s<e.state.overlays.length;++s)loop(s);return{styles:i,classes:a.bgClass||a.textClass?a:null}}function getLineStyles(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=getContextBefore(e,lineNo(t)),i=t.text.length>e.options.maxHighlightLength&&copyState(e.doc.mode,r.state),a=highlightLine(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=a.styles,a.classes?t.styleClasses=a.classes:t.styleClasses&&=null,n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function getContextBefore(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new Context(r,!0,t);var a=findStartLine(e,t,n),o=a>r.first&&getLine(r,a-1).stateAfter,s=o?Context.fromSaved(r,o,a):new Context(r,startState(r.mode),a);return r.iter(a,t,function(n){processLine(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()}),n&&(r.modeFrontier=s.line),s}function processLine(e,t,n,r){var i=e.doc.mode,a=new StringStream(t,e.options.tabSize,n);for(a.start=a.pos=r||0,t==``&&callBlankLine(i,n.state);!a.eol();)readToken(i,a,n.state),a.start=a.pos}function callBlankLine(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=innerMode(e,t);if(n.mode.blankLine)return n.mode.blankLine(n.state)}}function readToken(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=innerMode(e,n).mode);var a=e.token(t,n);if(t.pos>t.start)return a}throw Error(`Mode `+e.name+` failed to advance stream.`)}var Token=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function takeToken(e,t,n,r){var i=e.doc,a=i.mode,o;t=clipPos(i,t);var s=getLine(i,t.line),c=getContextBefore(e,t.line,n),l=new StringStream(s.text,e.options.tabSize,c),u;for(r&&(u=[]);(r||l.pos<t.ch)&&!l.eol();)l.start=l.pos,o=readToken(a,l,c.state),r&&u.push(new Token(l,o,copyState(i.mode,c.state)));return r?u:new Token(l,o,c.state)}function extractLineClasses(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?`bgClass`:`textClass`;t[r]==null?t[r]=n[2]:RegExp(`(?:^|\\s)`+n[2]+`(?:$|\\s)`).test(t[r])||(t[r]+=` `+n[2])}return e}function runMode(e,t,n,r,i,a,o){var s=n.flattenSpans;s??=e.options.flattenSpans;var c=0,l=null,u=new StringStream(t,e.options.tabSize,r),d,f=e.options.addModeClass&&[null];for(t==``&&extractLineClasses(callBlankLine(n,r.state),a);!u.eol();){if(u.pos>e.options.maxHighlightLength?(s=!1,o&&processLine(e,t,r,u.pos),u.pos=t.length,d=null):d=extractLineClasses(readToken(n,u,r.state,f),a),f){var m=f[0].name;m&&(d=`m-`+(d?m+` `+d:m))}if(!s||l!=d){for(;c<u.start;)c=Math.min(u.start,c+5e3),i(c,l);l=d}u.start=u.pos}for(;c<u.pos;){var h=Math.min(u.pos,c+5e3);i(h,l),c=h}}function findStartLine(e,t,n){for(var r,i,a=e.doc,o=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>o;--s){if(s<=a.first)return a.first;var c=getLine(a,s-1),l=c.stateAfter;if(l&&(!n||s+(l instanceof SavedContext?l.lookAhead:0)<=a.modeFrontier))return s;var u=countColumn(c.text,null,e.options.tabSize);(i==null||r>u)&&(i=s-1,r=u)}return i}function retreatFrontier(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=getLine(e,r).stateAfter;if(i&&(!(i instanceof SavedContext)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var ae=!1,U=!1;function seeReadOnlySpans(){ae=!0}function seeCollapsedSpans(){U=!0}function MarkedSpan(e,t,n){this.marker=e,this.from=t,this.to=n}function getMarkedSpanFor(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function removeMarkedSpan(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||=[]).push(e[r]);return n}function addMarkedSpan(e,t,n){var r=n&&window.WeakSet&&(n.markedSpans||=new WeakSet);r&&e.markedSpans&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}function markedSpansBefore(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var a=e[i],o=a.marker;if(a.from==null||(o.inclusiveLeft?a.from<=t:a.from<t)||a.from==t&&o.type==`bookmark`&&(!n||!a.marker.insertLeft)){var s=a.to==null||(o.inclusiveRight?a.to>=t:a.to>t);(r||=[]).push(new MarkedSpan(o,a.from,s?null:a.to))}}return r}function markedSpansAfter(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var a=e[i],o=a.marker;if(a.to==null||(o.inclusiveRight?a.to>=t:a.to>t)||a.from==t&&o.type==`bookmark`&&(!n||a.marker.insertLeft)){var s=a.from==null||(o.inclusiveLeft?a.from<=t:a.from<t);(r||=[]).push(new MarkedSpan(o,s?null:a.from-t,a.to==null?null:a.to-t))}}return r}function stretchSpansOverChange(e,t){if(t.full)return null;var n=isLine(e,t.from.line)&&getLine(e,t.from.line).markedSpans,r=isLine(e,t.to.line)&&getLine(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,a=t.to.ch,o=cmp(t.from,t.to)==0,s=markedSpansBefore(n,i,o),c=markedSpansAfter(r,a,o),l=t.text.length==1,u=lst(t.text).length+(l?i:0);if(s)for(var d=0;d<s.length;++d){var f=s[d];if(f.to==null){var m=getMarkedSpanFor(c,f.marker);m?l&&(f.to=m.to==null?null:m.to+u):f.to=i}}if(c)for(var h=0;h<c.length;++h){var g=c[h];g.to!=null&&(g.to+=u),g.from==null?getMarkedSpanFor(s,g.marker)||(g.from=u,l&&(s||=[]).push(g)):(g.from+=u,l&&(s||=[]).push(g))}s&&=clearEmptySpans(s),c&&c!=s&&(c=clearEmptySpans(c));var _=[s];if(!l){var v=t.text.length-2,y;if(v>0&&s)for(var b=0;b<s.length;++b)s[b].to??(y||=[]).push(new MarkedSpan(s[b].marker,null,null));for(var x=0;x<v;++x)_.push(y);_.push(c)}return _}function clearEmptySpans(e){for(var t=0;t<e.length;++t){var n=e[t];n.from!=null&&n.from==n.to&&n.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function removeReadOnlyRanges(e,t,n){var r=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;n.readOnly&&(!r||indexOf(r,n)==-1)&&(r||=[]).push(n)}}),!r)return null;for(var i=[{from:t,to:n}],a=0;a<r.length;++a)for(var o=r[a],s=o.find(0),c=0;c<i.length;++c){var l=i[c];if(!(cmp(l.to,s.from)<0||cmp(l.from,s.to)>0)){var u=[c,1],d=cmp(l.from,s.from),f=cmp(l.to,s.to);(d<0||!o.inclusiveLeft&&!d)&&u.push({from:l.from,to:s.from}),(f>0||!o.inclusiveRight&&!f)&&u.push({from:s.to,to:l.to}),i.splice.apply(i,u),c+=u.length-3}}return i}function detachMarkedSpans(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function attachMarkedSpans(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function extraLeft(e){return e.inclusiveLeft?-1:0}function extraRight(e){return+!!e.inclusiveRight}function compareCollapsedMarkers(e,t){var n=e.lines.length-t.lines.length;if(n!=0)return n;var r=e.find(),i=t.find(),a=cmp(r.from,i.from)||extraLeft(e)-extraLeft(t);return a?-a:cmp(r.to,i.to)||extraRight(e)-extraRight(t)||t.id-e.id}function collapsedSpanAtSide(e,t){var n=U&&e.markedSpans,r;if(n)for(var i=void 0,a=0;a<n.length;++a)i=n[a],i.marker.collapsed&&(t?i.from:i.to)==null&&(!r||compareCollapsedMarkers(r,i.marker)<0)&&(r=i.marker);return r}function collapsedSpanAtStart(e){return collapsedSpanAtSide(e,!0)}function collapsedSpanAtEnd(e){return collapsedSpanAtSide(e,!1)}function collapsedSpanAround(e,t){var n=U&&e.markedSpans,r;if(n)for(var i=0;i<n.length;++i){var a=n[i];a.marker.collapsed&&(a.from==null||a.from<t)&&(a.to==null||a.to>t)&&(!r||compareCollapsedMarkers(r,a.marker)<0)&&(r=a.marker)}return r}function conflictingCollapsedRange(e,t,n,r,i){var a=getLine(e,t),o=U&&a.markedSpans;if(o)for(var s=0;s<o.length;++s){var c=o[s];if(c.marker.collapsed){var l=c.marker.find(0),u=cmp(l.from,n)||extraLeft(c.marker)-extraLeft(i),d=cmp(l.to,r)||extraRight(c.marker)-extraRight(i);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(c.marker.inclusiveRight&&i.inclusiveLeft?cmp(l.to,n)>=0:cmp(l.to,n)>0)||u>=0&&(c.marker.inclusiveRight&&i.inclusiveLeft?cmp(l.from,r)<=0:cmp(l.from,r)<0)))return!0}}}function visualLine(e){for(var t;t=collapsedSpanAtStart(e);)e=t.find(-1,!0).line;return e}function visualLineEnd(e){for(var t;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line;return e}function visualLineContinued(e){for(var t,n;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line,(n||=[]).push(e);return n}function visualLineNo(e,t){var n=getLine(e,t),r=visualLine(n);return n==r?t:lineNo(r)}function visualLineEndNo(e,t){if(t>e.lastLine())return t;var n=getLine(e,t),r;if(!lineIsHidden(e,n))return t;for(;r=collapsedSpanAtEnd(n);)n=r.find(1,!0).line;return lineNo(n)+1}function lineIsHidden(e,t){var n=U&&t.markedSpans;if(n){for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed&&(r.from==null||!r.marker.widgetNode&&r.from==0&&r.marker.inclusiveLeft&&lineIsHiddenInner(e,t,r)))return!0}}function lineIsHiddenInner(e,t,n){if(n.to==null){var r=n.marker.find(1,!0);return lineIsHiddenInner(e,r.line,getMarkedSpanFor(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,a=0;a<t.markedSpans.length;++a)if(i=t.markedSpans[a],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(i.to==null||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&lineIsHiddenInner(e,t,i))return!0}function heightAtLine(e){e=visualLine(e);for(var t=0,n=e.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var a=n.parent;a;n=a,a=n.parent)for(var o=0;o<a.children.length;++o){var s=a.children[o];if(s==n)break;t+=s.height}return t}function lineLength(e){if(e.height==0)return 0;for(var t=e.text.length,n,r=e;n=collapsedSpanAtStart(r);){var i=n.find(0,!0);r=i.from.line,t+=i.from.ch-i.to.ch}for(r=e;n=collapsedSpanAtEnd(r);){var a=n.find(0,!0);t-=r.text.length-a.from.ch,r=a.to.line,t+=r.text.length-a.to.ch}return t}function findMaxLine(e){var t=e.display,n=e.doc;t.maxLine=getLine(n,n.first),t.maxLineLength=lineLength(t.maxLine),t.maxLineChanged=!0,n.iter(function(e){var n=lineLength(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}var Line=function(e,t,n){this.text=e,attachMarkedSpans(this,t),this.height=n?n(this):1};Line.prototype.lineNo=function(){return lineNo(this)},eventMixin(Line);function updateLine(e,t,n,r){e.text=t,e.stateAfter&&=null,e.styles&&=null,e.order!=null&&(e.order=null),detachMarkedSpans(e),attachMarkedSpans(e,n);var i=r?r(e):1;i!=e.height&&updateLineHeight(e,i)}function cleanUpLine(e){e.parent=null,detachMarkedSpans(e)}var oe={},se={};function interpretTokenStyle(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?se:oe;return n[e]||(n[e]=e.replace(/\S+/g,`cm-$&`))}function buildLineContent(e,t){var n=eltP(`span`,null,null,c?`padding-right: .1px`:null),r={pre:eltP(`pre`,[n],`CodeMirror-line`),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption(`lineWrapping`)};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var a=i?t.rest[i-1]:t.line,o=void 0;r.pos=0,r.addToken=buildToken,hasBadBidiRects(e.display.measure)&&(o=getOrder(a,e.doc.direction))&&(r.addToken=buildTokenBadBidi(r.addToken,o)),r.map=[],insertLineContent(a,r,getLineStyles(e,a,t!=e.display.externalMeasured&&lineNo(a))),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=joinClasses(a.styleClasses.bgClass,r.bgClass||``)),a.styleClasses.textClass&&(r.textClass=joinClasses(a.styleClasses.textClass,r.textClass||``))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(zeroWidthElement(e.display.measure))),i==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(c){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(`.cm-tab`))&&(r.content.className=`cm-tab-wrap-hack`)}return signal(e,`renderLine`,e,t.line,r.pre),r.pre.className&&(r.textClass=joinClasses(r.pre.className,r.textClass||``)),r}function defaultSpecialCharPlaceholder(e){var t=elt(`span`,`•`,`cm-invalidchar`);return t.title=`\\u`+e.charCodeAt(0).toString(16),t.setAttribute(`aria-label`,t.title),t}function buildToken(e,t,n,r,i,a,c){if(t){var l=e.splitSpaces?splitSpaces(t,e.trailingSpace):t,u=e.cm.state.specialChars,d=!1,f;if(!u.test(t))e.col+=t.length,f=document.createTextNode(l),e.map.push(e.pos,e.pos+t.length,f),o&&s<9&&(d=!0),e.pos+=t.length;else{f=document.createDocumentFragment();for(var m=0;;){u.lastIndex=m;var h=u.exec(t),g=h?h.index-m:t.length-m;if(g){var _=document.createTextNode(l.slice(m,m+g));o&&s<9?f.appendChild(elt(`span`,[_])):f.appendChild(_),e.map.push(e.pos,e.pos+g,_),e.col+=g,e.pos+=g}if(!h)break;m+=g+1;var v=void 0;if(h[0]==` `){var y=e.cm.options.tabSize,b=y-e.col%y;v=f.appendChild(elt(`span`,spaceStr(b),`cm-tab`)),v.setAttribute(`role`,`presentation`),v.setAttribute(`cm-text`,` `),e.col+=b}else h[0]==`\r`||h[0]==`
@@ -21,13 +21,13 @@ b`.split(/\n/).length==3?function(e){return e.split(/\r\n?|\n/)}:function(e){for
21
21
  `)>-1?n.value=e.prevInput=``:e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor(`to`),{className:`CodeMirror-composing`}))}),!0},TextareaInput.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},TextareaInput.prototype.onKeyPress=function(){o&&s>=9&&(this.hasSelection=null),this.fastPoll()},TextareaInput.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var a=posFromMouse(n,e),l=r.scroller.scrollTop;if(!a||f)return;n.options.resetSelectionOnContextMenu&&n.doc.sel.contains(a)==-1&&operation(n,setSelection)(n.doc,simpleSelection(a),k);var u=i.style.cssText,d=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText=`position: static`,i.style.cssText=`position: absolute; width: 30px; height: 30px;
22
22
  top: `+(e.clientY-m.top-5)+`px; left: `+(e.clientX-m.left-5)+`px;
23
23
  z-index: 1000; background: `+(o?`rgba(255, 255, 255, .05)`:`transparent`)+`;
24
- outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var h;c&&(h=i.ownerDocument.defaultView.scrollY),r.input.focus(),c&&i.ownerDocument.defaultView.scrollTo(null,h),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=` `),t.contextMenuPending=rehide,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll);function prepareSelectAllHack(){if(i.selectionStart!=null){var e=n.somethingSelected(),a=`​`+(e?i.value:``);i.value=`⇚`,i.value=a,t.prevInput=e?``:`​`,i.selectionStart=1,i.selectionEnd=a.length,r.selForContextMenu=n.doc.sel}}function rehide(){if(t.contextMenuPending==rehide&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=u,o&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),i.selectionStart!=null)){(!o||o&&s<9)&&prepareSelectAllHack();var e=0,poll=function(){r.selForContextMenu==n.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput==`​`?operation(n,selectAll)(n):e++<10?r.detectingSelectAll=setTimeout(poll,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(poll,200)}}if(o&&s>=9&&prepareSelectAllHack(),T){e_stop(e);var mouseup=function(){off(window,`mouseup`,mouseup),setTimeout(rehide,20)};on(window,`mouseup`,mouseup)}else setTimeout(rehide,50)},TextareaInput.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e==`nocursor`,this.textarea.readOnly=!!e},TextareaInput.prototype.setUneditable=function(){},TextareaInput.prototype.needsContentAttribute=!1;function fromTextArea(e,t){if(t=t?copyObj(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var n=activeElt(rootNode(e));t.autofocus=n==e||e.getAttribute(`autofocus`)!=null&&n==document.body}function save(){e.value=o.getValue()}var r;if(e.form&&(on(e.form,`submit`,save),!t.leaveSubmitMethodAlone)){var i=e.form;r=i.submit;try{var a=i.submit=function(){save(),i.submit=r,i.submit(),i.submit=a}}catch{}}t.finishInit=function(n){n.save=save,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,save(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display=``,e.form&&(off(e.form,`submit`,save),!t.leaveSubmitMethodAlone&&typeof e.form.submit==`function`&&(e.form.submit=r))}},e.style.display=`none`;var o=CodeMirror(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return o}function addLegacyProps(e){e.off=off,e.on=on,e.wheelEventPixels=wheelEventPixels,e.Doc=Doc,e.splitLines=B,e.countColumn=countColumn,e.findColumn=findColumn,e.isWordChar=isWordCharBasic,e.Pass=O,e.signal=signal,e.Line=Line,e.changeEnd=changeEnd,e.scrollbarModel=le,e.Pos=Pos,e.cmpPos=cmp,e.modes=ie,e.mimeModes=V,e.resolveMode=resolveMode,e.getMode=getMode,e.modeExtensions=H,e.extendMode=extendMode,e.copyState=copyState,e.startState=startState,e.innerMode=innerMode,e.commands=_e,e.keyMap=Z,e.keyName=keyName,e.isModifierKey=isModifierKey,e.lookupKey=lookupKey,e.normalizeKeyMap=normalizeKeyMap,e.StringStream=StringStream,e.SharedTextMarker=SharedTextMarker,e.TextMarker=TextMarker,e.LineWidget=LineWidget,e.e_preventDefault=e_preventDefault,e.e_stopPropagation=e_stopPropagation,e.e_stop=e_stop,e.addClass=addClass,e.contains=contains,e.rmClass=rmClass,e.keyNames=J}defineOptions(CodeMirror),addEditorMethods(CodeMirror);var Ee=`iter insert remove copy getEditor constructor`.split(` `);for(var De in Doc.prototype)Doc.prototype.hasOwnProperty(De)&&indexOf(Ee,De)<0&&(CodeMirror.prototype[De]=(function(e){return function(){return e.apply(this.doc,arguments)}})(Doc.prototype[De]));return eventMixin(Doc),CodeMirror.inputStyles={textarea:TextareaInput,contenteditable:ContentEditableInput},CodeMirror.defineMode=function(e){!CodeMirror.defaults.mode&&e!=`null`&&(CodeMirror.defaults.mode=e),defineMode.apply(this,arguments)},CodeMirror.defineMIME=defineMIME,CodeMirror.defineMode(`null`,function(){return{token:function(e){return e.skipToEnd()}}}),CodeMirror.defineMIME(`text/plain`,`null`),CodeMirror.defineExtension=function(e,t){CodeMirror.prototype[e]=t},CodeMirror.defineDocExtension=function(e,t){Doc.prototype[e]=t},CodeMirror.fromTextArea=fromTextArea,addLegacyProps(CodeMirror),CodeMirror.version=`5.65.21`,CodeMirror}))})),f=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";e.defineMode(`css`,function(t,n){var r=n.inline;n.propertyKeywords||(n=e.resolveMode(`text/css`));var i=t.indentUnit,a=n.tokenHooks,o=n.documentTypes||{},s=n.mediaTypes||{},c=n.mediaFeatures||{},l=n.mediaValueKeywords||{},u=n.propertyKeywords||{},d=n.nonStandardPropertyKeywords||{},f=n.fontProperties||{},m=n.counterDescriptors||{},h=n.colorKeywords||{},g=n.valueKeywords||{},_=n.allowNested,v=n.lineComment,y=n.supportsAtComponent===!0,b=t.highlightNonStandardPropertyKeywords!==!1,x,S;function ret(e,t){return x=t,e}function tokenBase(e,t){var n=e.next();if(a[n]){var r=a[n](e,t);if(r!==!1)return r}if(n==`@`)return e.eatWhile(/[\w\\\-]/),ret(`def`,e.current());if(n==`=`||(n==`~`||n==`|`)&&e.eat(`=`))return ret(null,`compare`);if(n==`"`||n==`'`)return t.tokenize=tokenString(n),t.tokenize(e,t);if(n==`#`)return e.eatWhile(/[\w\\\-]/),ret(`atom`,`hash`);if(n==`!`)return e.match(/^\s*\w*/),ret(`keyword`,`important`);if(/\d/.test(n)||n==`.`&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),ret(`number`,`unit`);if(n===`-`){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),ret(`number`,`unit`);if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret(`variable-2`,`variable-definition`):ret(`variable-2`,`variable`);if(e.match(/^\w+-/))return ret(`meta`,`meta`)}else if(/[,+>*\/]/.test(n))return ret(null,`select-op`);else if(n==`.`&&e.match(/^-?[_a-z][_a-z0-9-]*/i))return ret(`qualifier`,`qualifier`);else if(/[:;{}\[\]\(\)]/.test(n))return ret(null,n);else if(e.match(/^[\w-.]+(?=\()/))return/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=tokenParenthesized),ret(`variable callee`,`variable`);else if(/[\w\\\-]/.test(n))return e.eatWhile(/[\w\\\-]/),ret(`property`,`word`);else return ret(null,null)}function tokenString(e){return function(t,n){for(var r=!1,i;(i=t.next())!=null;){if(i==e&&!r){e==`)`&&t.backUp(1);break}r=!r&&i==`\\`}return(i==e||!r&&e!=`)`)&&(n.tokenize=null),ret(`string`,`string`)}}function tokenParenthesized(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(`)`),ret(null,`(`)}function Context(e,t,n){this.type=e,this.indent=t,this.prev=n}function pushContext(e,t,n,r){return e.context=new Context(n,t.indentation()+(r===!1?0:i),e.context),n}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,n){return C[n.context.type](e,t,n)}function popAndPass(e,t,n,r){for(var i=r||1;i>0;i--)n.context=n.context.prev;return pass(e,t,n)}function wordAsValue(e){var t=e.current().toLowerCase();S=g.hasOwnProperty(t)?`atom`:h.hasOwnProperty(t)?`keyword`:`variable`}var C={};return C.top=function(e,t,n){if(e==`{`)return pushContext(n,t,`block`);if(e==`}`&&n.context.prev)return popContext(n);if(y&&/@component/i.test(e))return pushContext(n,t,`atComponentBlock`);if(/^@(-moz-)?document$/i.test(e))return pushContext(n,t,`documentTypes`);if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(n,t,`atBlock`);if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,`restricted_atBlock_before`;if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return`keyframes`;if(e&&e.charAt(0)==`@`)return pushContext(n,t,`at`);if(e==`hash`)S=`builtin`;else if(e==`word`)S=`tag`;else if(e==`variable-definition`)return`maybeprop`;else if(e==`interpolation`)return pushContext(n,t,`interpolation`);else if(e==`:`)return`pseudo`;else if(_&&e==`(`)return pushContext(n,t,`parens`);return n.context.type},C.block=function(e,t,n){if(e==`word`){var r=t.current().toLowerCase();return u.hasOwnProperty(r)?(S=`property`,`maybeprop`):d.hasOwnProperty(r)?(S=b?`string-2`:`property`,`maybeprop`):_?(S=t.match(/^\s*:(?:\s|$)/,!1)?`property`:`tag`,`block`):(S+=` error`,`maybeprop`)}else if(e==`meta`)return`block`;else if(!_&&(e==`hash`||e==`qualifier`))return S=`error`,`block`;else return C.top(e,t,n)},C.maybeprop=function(e,t,n){return e==`:`?pushContext(n,t,`prop`):pass(e,t,n)},C.prop=function(e,t,n){if(e==`;`)return popContext(n);if(e==`{`&&_)return pushContext(n,t,`propBlock`);if(e==`}`||e==`{`)return popAndPass(e,t,n);if(e==`(`)return pushContext(n,t,`parens`);if(e==`hash`&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current()))S+=` error`;else if(e==`word`)wordAsValue(t);else if(e==`interpolation`)return pushContext(n,t,`interpolation`);return`prop`},C.propBlock=function(e,t,n){return e==`}`?popContext(n):e==`word`?(S=`property`,`maybeprop`):n.context.type},C.parens=function(e,t,n){return e==`{`||e==`}`?popAndPass(e,t,n):e==`)`?popContext(n):e==`(`?pushContext(n,t,`parens`):e==`interpolation`?pushContext(n,t,`interpolation`):(e==`word`&&wordAsValue(t),`parens`)},C.pseudo=function(e,t,n){return e==`meta`?`pseudo`:e==`word`?(S=`variable-3`,n.context.type):pass(e,t,n)},C.documentTypes=function(e,t,n){return e==`word`&&o.hasOwnProperty(t.current())?(S=`tag`,n.context.type):C.atBlock(e,t,n)},C.atBlock=function(e,t,n){if(e==`(`)return pushContext(n,t,`atBlock_parens`);if(e==`}`||e==`;`)return popAndPass(e,t,n);if(e==`{`)return popContext(n)&&pushContext(n,t,_?`block`:`top`);if(e==`interpolation`)return pushContext(n,t,`interpolation`);if(e==`word`){var r=t.current().toLowerCase();S=r==`only`||r==`not`||r==`and`||r==`or`?`keyword`:s.hasOwnProperty(r)?`attribute`:c.hasOwnProperty(r)?`property`:l.hasOwnProperty(r)?`keyword`:u.hasOwnProperty(r)?`property`:d.hasOwnProperty(r)?b?`string-2`:`property`:g.hasOwnProperty(r)?`atom`:h.hasOwnProperty(r)?`keyword`:`error`}return n.context.type},C.atComponentBlock=function(e,t,n){return e==`}`?popAndPass(e,t,n):e==`{`?popContext(n)&&pushContext(n,t,_?`block`:`top`,!1):(e==`word`&&(S=`error`),n.context.type)},C.atBlock_parens=function(e,t,n){return e==`)`?popContext(n):e==`{`||e==`}`?popAndPass(e,t,n,2):C.atBlock(e,t,n)},C.restricted_atBlock_before=function(e,t,n){return e==`{`?pushContext(n,t,`restricted_atBlock`):e==`word`&&n.stateArg==`@counter-style`?(S=`variable`,`restricted_atBlock_before`):pass(e,t,n)},C.restricted_atBlock=function(e,t,n){return e==`}`?(n.stateArg=null,popContext(n)):e==`word`?(S=n.stateArg==`@font-face`&&!f.hasOwnProperty(t.current().toLowerCase())||n.stateArg==`@counter-style`&&!m.hasOwnProperty(t.current().toLowerCase())?`error`:`property`,`maybeprop`):`restricted_atBlock`},C.keyframes=function(e,t,n){return e==`word`?(S=`variable`,`keyframes`):e==`{`?pushContext(n,t,`top`):pass(e,t,n)},C.at=function(e,t,n){return e==`;`?popContext(n):e==`{`||e==`}`?popAndPass(e,t,n):(e==`word`?S=`tag`:e==`hash`&&(S=`builtin`),`at`)},C.interpolation=function(e,t,n){return e==`}`?popContext(n):e==`{`||e==`;`?popAndPass(e,t,n):(e==`word`?S=`variable`:e!=`variable`&&e!=`(`&&e!=`)`&&(S=`error`),`interpolation`)},{startState:function(e){return{tokenize:null,state:r?`block`:`top`,stateArg:null,context:new Context(r?`block`:`top`,e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||tokenBase)(e,t);return n&&typeof n==`object`&&(x=n[1],n=n[0]),S=n,x!=`comment`&&(t.state=C[t.state](x,e,t)),S},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),a=n.indent;return n.type==`prop`&&(r==`}`||r==`)`)&&(n=n.prev),n.prev&&(r==`}`&&(n.type==`block`||n.type==`top`||n.type==`interpolation`||n.type==`restricted_atBlock`)?(n=n.prev,a=n.indent):(r==`)`&&(n.type==`parens`||n.type==`atBlock_parens`)||r==`{`&&(n.type==`at`||n.type==`atBlock`))&&(a=Math.max(0,n.indent-i))),a},electricChars:`}`,blockCommentStart:`/*`,blockCommentEnd:`*/`,blockCommentContinue:` * `,lineComment:v,fold:`brace`}});function keySet(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}var t=[`domain`,`regexp`,`url`,`url-prefix`],n=keySet(t),r=[`all`,`aural`,`braille`,`handheld`,`print`,`projection`,`screen`,`tty`,`tv`,`embossed`],i=keySet(r),a=`width.min-width.max-width.height.min-height.max-height.device-width.min-device-width.max-device-width.device-height.min-device-height.max-device-height.aspect-ratio.min-aspect-ratio.max-aspect-ratio.device-aspect-ratio.min-device-aspect-ratio.max-device-aspect-ratio.color.min-color.max-color.color-index.min-color-index.max-color-index.monochrome.min-monochrome.max-monochrome.resolution.min-resolution.max-resolution.scan.grid.orientation.device-pixel-ratio.min-device-pixel-ratio.max-device-pixel-ratio.pointer.any-pointer.hover.any-hover.prefers-color-scheme.dynamic-range.video-dynamic-range`.split(`.`),o=keySet(a),s=[`landscape`,`portrait`,`none`,`coarse`,`fine`,`on-demand`,`hover`,`interlace`,`progressive`,`dark`,`light`,`standard`,`high`],c=keySet(s),l=`align-content.align-items.align-self.alignment-adjust.alignment-baseline.all.anchor-point.animation.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-timing-function.appearance.azimuth.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.binding.bleed.block-size.bookmark-label.bookmark-level.bookmark-state.bookmark-target.border.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-decoration-break.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.color.color-profile.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.content.counter-increment.counter-reset.crop.cue.cue-after.cue-before.cursor.direction.display.dominant-baseline.drop-initial-after-adjust.drop-initial-after-align.drop-initial-before-adjust.drop-initial-before-align.drop-initial-size.drop-initial-value.elevation.empty-cells.fit.fit-content.fit-position.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.float-offset.flow-from.flow-into.font.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-size.font-size-adjust.font-stretch.font-style.font-synthesis.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.gap.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-gap.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-gap.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphens.icon.image-orientation.image-rendering.image-resolution.inline-box-align.inset.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.left.letter-spacing.line-break.line-height.line-height-step.line-stacking.line-stacking-ruby.line-stacking-shift.line-stacking-strategy.list-style.list-style-image.list-style-position.list-style-type.margin.margin-bottom.margin-left.margin-right.margin-top.marks.marquee-direction.marquee-loop.marquee-play-count.marquee-speed.marquee-style.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.move-to.nav-down.nav-index.nav-left.nav-right.nav-up.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-style.overflow-wrap.overflow-x.overflow-y.padding.padding-bottom.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.page-policy.pause.pause-after.pause-before.perspective.perspective-origin.pitch.pitch-range.place-content.place-items.place-self.play-during.position.presentation-level.punctuation-trim.quotes.region-break-after.region-break-before.region-break-inside.region-fragment.rendering-intent.resize.rest.rest-after.rest-before.richness.right.rotate.rotation.rotation-point.row-gap.ruby-align.ruby-overhang.ruby-position.ruby-span.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-type.shape-image-threshold.shape-inside.shape-margin.shape-outside.size.speak.speak-as.speak-header.speak-numeral.speak-punctuation.speech-rate.stress.string-set.tab-size.table-layout.target.target-name.target-new.target-position.text-align.text-align-last.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-height.text-indent.text-justify.text-orientation.text-outline.text-overflow.text-rendering.text-shadow.text-size-adjust.text-space-collapse.text-transform.text-underline-position.text-wrap.top.touch-action.transform.transform-origin.transform-style.transition.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-select.vertical-align.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.volume.white-space.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.z-index.clip-path.clip-rule.mask.enable-background.filter.flood-color.flood-opacity.lighting-color.stop-color.stop-opacity.pointer-events.color-interpolation.color-interpolation-filters.color-rendering.fill.fill-opacity.fill-rule.image-rendering.marker.marker-end.marker-mid.marker-start.paint-order.shape-rendering.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.text-rendering.baseline-shift.dominant-baseline.glyph-orientation-horizontal.glyph-orientation-vertical.text-anchor.writing-mode`.split(`.`),u=keySet(l),d=`accent-color.aspect-ratio.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.content-visibility.margin-block.margin-block-end.margin-block-start.margin-inline.margin-inline-end.margin-inline-start.overflow-anchor.overscroll-behavior.padding-block.padding-block-end.padding-block-start.padding-inline.padding-inline-end.padding-inline-start.scroll-snap-stop.scrollbar-3d-light-color.scrollbar-arrow-color.scrollbar-base-color.scrollbar-dark-shadow-color.scrollbar-face-color.scrollbar-highlight-color.scrollbar-shadow-color.scrollbar-track-color.searchfield-cancel-button.searchfield-decoration.searchfield-results-button.searchfield-results-decoration.shape-inside.zoom`.split(`.`),f=keySet(d),m=keySet([`font-display`,`font-family`,`src`,`unicode-range`,`font-variant`,`font-feature-settings`,`font-stretch`,`font-weight`,`font-style`]),h=keySet([`additive-symbols`,`fallback`,`negative`,`pad`,`prefix`,`range`,`speak-as`,`suffix`,`symbols`,`system`]),g=`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.darkgrey.darkkhaki.darkmagenta.darkolivegreen.darkorange.darkorchid.darkred.darksalmon.darkseagreen.darkslateblue.darkslategray.darkslategrey.darkturquoise.darkviolet.deeppink.deepskyblue.dimgray.dimgrey.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.lightgrey.lightpink.lightsalmon.lightseagreen.lightskyblue.lightslategray.lightslategrey.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.slategrey.snow.springgreen.steelblue.tan.teal.thistle.tomato.turquoise.violet.wheat.white.whitesmoke.yellow.yellowgreen`.split(`.`),_=keySet(g),v=`above.absolute.activeborder.additive.activecaption.afar.after-white-space.ahead.alias.all.all-scroll.alphabetic.alternate.always.amharic.amharic-abegede.antialiased.appworkspace.arabic-indic.armenian.asterisks.attr.auto.auto-flow.avoid.avoid-column.avoid-page.avoid-region.axis-pan.background.backwards.baseline.below.bidi-override.binary.bengali.blink.block.block-axis.blur.bold.bolder.border.border-box.both.bottom.break.break-all.break-word.brightness.bullets.button.buttonface.buttonhighlight.buttonshadow.buttontext.calc.cambodian.capitalize.caps-lock-indicator.caption.captiontext.caret.cell.center.checkbox.circle.cjk-decimal.cjk-earthly-branch.cjk-heavenly-stem.cjk-ideographic.clear.clip.close-quote.col-resize.collapse.color.color-burn.color-dodge.column.column-reverse.compact.condensed.conic-gradient.contain.content.contents.content-box.context-menu.continuous.contrast.copy.counter.counters.cover.crop.cross.crosshair.cubic-bezier.currentcolor.cursive.cyclic.darken.dashed.decimal.decimal-leading-zero.default.default-button.dense.destination-atop.destination-in.destination-out.destination-over.devanagari.difference.disc.discard.disclosure-closed.disclosure-open.document.dot-dash.dot-dot-dash.dotted.double.down.drop-shadow.e-resize.ease.ease-in.ease-in-out.ease-out.element.ellipse.ellipsis.embed.end.ethiopic.ethiopic-abegede.ethiopic-abegede-am-et.ethiopic-abegede-gez.ethiopic-abegede-ti-er.ethiopic-abegede-ti-et.ethiopic-halehame-aa-er.ethiopic-halehame-aa-et.ethiopic-halehame-am-et.ethiopic-halehame-gez.ethiopic-halehame-om-et.ethiopic-halehame-sid-et.ethiopic-halehame-so-et.ethiopic-halehame-ti-er.ethiopic-halehame-ti-et.ethiopic-halehame-tig.ethiopic-numeric.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.georgian.grayscale.graytext.grid.groove.gujarati.gurmukhi.hand.hangul.hangul-consonant.hard-light.hebrew.help.hidden.hide.higher.highlight.highlighttext.hiragana.hiragana-iroha.horizontal.hsl.hsla.hue.hue-rotate.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.japanese-formal.japanese-informal.justify.kannada.katakana.katakana-iroha.keep-all.khmer.korean-hangul-formal.korean-hanja-formal.korean-hanja-informal.landscape.lao.large.larger.left.level.lighter.lighten.line-through.linear.linear-gradient.lines.list-item.listbox.listitem.local.logical.loud.lower.lower-alpha.lower-armenian.lower-greek.lower-hexadecimal.lower-latin.lower-norwegian.lower-roman.lowercase.ltr.luminosity.malayalam.manipulation.match.matrix.matrix3d.media-play-button.media-slider.media-sliderthumb.media-volume-slider.media-volume-sliderthumb.medium.menu.menulist.menulist-button.menutext.message-box.middle.min-intrinsic.mix.mongolian.monospace.move.multiple.multiple_mask_images.multiply.myanmar.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.octal.opacity.open-quote.optimizeLegibility.optimizeSpeed.oriya.oromo.outset.outside.outside-shape.overlay.overline.padding.padding-box.painted.page.paused.persian.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.repeating-conic-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.saturate.saturation.scale.scale3d.scaleX.scaleY.scaleZ.screen.scroll.scrollbar.scroll-position.se-resize.searchfield.searchfield-cancel-button.searchfield-decoration.searchfield-results-button.searchfield-results-decoration.self-start.self-end.semi-condensed.semi-expanded.separate.sepia.serif.show.sidama.simp-chinese-formal.simp-chinese-informal.single.skew.skewX.skewY.skip-white-space.slide.slider-horizontal.slider-vertical.sliderthumb-horizontal.sliderthumb-vertical.slow.small.small-caps.small-caption.smaller.soft-light.solid.somali.source-atop.source-in.source-out.source-over.space.space-around.space-between.space-evenly.spell-out.square.square-button.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.tamil.telugu.text.text-bottom.text-top.textarea.textfield.thai.thick.thin.threeddarkshadow.threedface.threedhighlight.threedlightshadow.threedshadow.tibetan.tigre.tigrinya-er.tigrinya-er-abegede.tigrinya-et.tigrinya-et-abegede.to.top.trad-chinese-formal.trad-chinese-informal.transform.translate.translate3d.translateX.translateY.translateZ.transparent.ultra-condensed.ultra-expanded.underline.unidirectional-pan.unset.up.upper-alpha.upper-armenian.upper-greek.upper-hexadecimal.upper-latin.upper-norwegian.upper-roman.uppercase.urdu.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`.split(`.`),y=keySet(v),b=t.concat(r).concat(a).concat(s).concat(l).concat(d).concat(g).concat(v);e.registerHelper(`hintWords`,`css`,b);function tokenCComment(e,t){for(var n=!1,r;(r=e.next())!=null;){if(n&&r==`/`){t.tokenize=null;break}n=r==`*`}return[`comment`,`comment`]}e.defineMIME(`text/css`,{documentTypes:n,mediaTypes:i,mediaFeatures:o,mediaValueKeywords:c,propertyKeywords:u,nonStandardPropertyKeywords:f,fontProperties:m,counterDescriptors:h,colorKeywords:_,valueKeywords:y,tokenHooks:{"/":function(e,t){return e.eat(`*`)?(t.tokenize=tokenCComment,tokenCComment(e,t)):!1}},name:`css`}),e.defineMIME(`text/x-scss`,{mediaTypes:i,mediaFeatures:o,mediaValueKeywords:c,propertyKeywords:u,nonStandardPropertyKeywords:f,colorKeywords:_,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:`//`,tokenHooks:{"/":function(e,t){return e.eat(`/`)?(e.skipToEnd(),[`comment`,`comment`]):e.eat(`*`)?(t.tokenize=tokenCComment,tokenCComment(e,t)):[`operator`,`operator`]},":":function(e){return e.match(/^\s*\{/,!1)?[null,null]:!1},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?[`variable-2`,`variable-definition`]:[`variable-2`,`variable`]},"#":function(e){return e.eat(`{`)?[null,`interpolation`]:!1}},name:`css`,helperType:`scss`}),e.defineMIME(`text/x-less`,{mediaTypes:i,mediaFeatures:o,mediaValueKeywords:c,propertyKeywords:u,nonStandardPropertyKeywords:f,colorKeywords:_,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:`//`,tokenHooks:{"/":function(e,t){return e.eat(`/`)?(e.skipToEnd(),[`comment`,`comment`]):e.eat(`*`)?(t.tokenize=tokenCComment,tokenCComment(e,t)):[`operator`,`operator`]},"@":function(e){return e.eat(`{`)?[null,`interpolation`]:e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?[`variable-2`,`variable-definition`]:[`variable-2`,`variable`])},"&":function(){return[`atom`,`atom`]}},name:`css`,helperType:`less`}),e.defineMIME(`text/x-gss`,{documentTypes:n,mediaTypes:i,mediaFeatures:o,propertyKeywords:u,nonStandardPropertyKeywords:f,fontProperties:m,counterDescriptors:h,colorKeywords:_,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return e.eat(`*`)?(t.tokenize=tokenCComment,tokenCComment(e,t)):!1}},name:`css`,helperType:`gss`})})})),m=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";e.defineMode(`ecl`,function(e){function words(e){for(var t={},n=e.split(` `),r=0;r<n.length;++r)t[n[r]]=!0;return t}function metaHook(e,t){return t.startOfLine?(e.skipToEnd(),`meta`):!1}var t=e.indentUnit,n=words(`abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode`),r=words(`apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait`),i=words(`__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath`),a=words(`ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode`),o=words(`checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when`),s=words(`catch class do else finally for if switch try while`),c=words(`true false null`),l={"#":metaHook},u=/[+\-*&%=<>!?|\/]/,d;function tokenBase(e,t){var f=e.next();if(l[f]){var m=l[f](e,t);if(m!==!1)return m}if(f==`"`||f==`'`)return t.tokenize=tokenString(f),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(f))return d=f,null;if(/\d/.test(f))return e.eatWhile(/[\w\.]/),`number`;if(f==`/`){if(e.eat(`*`))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat(`/`))return e.skipToEnd(),`comment`}if(u.test(f))return e.eatWhile(u),`operator`;e.eatWhile(/[\w\$_]/);var h=e.current().toLowerCase();if(n.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`keyword`;if(r.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`variable`;if(i.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`variable-2`;if(a.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`variable-3`;if(o.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`builtin`;for(var g=h.length-1;g>=0&&(!isNaN(h[g])||h[g]==`_`);)--g;if(g>0){var _=h.substr(0,g+1);if(a.propertyIsEnumerable(_))return s.propertyIsEnumerable(_)&&(d=`newstatement`),`variable-3`}return c.propertyIsEnumerable(h)?`atom`:null}function tokenString(e){return function(t,n){for(var r=!1,i,a=!1;(i=t.next())!=null;){if(i==e&&!r){a=!0;break}r=!r&&i==`\\`}return(a||!r)&&(n.tokenize=tokenBase),`string`}}function tokenComment(e,t){for(var n=!1,r;r=e.next();){if(r==`/`&&n){t.tokenize=tokenBase;break}n=r==`*`}return`comment`}function Context(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}function popContext(e){var t=e.context.type;return(t==`)`||t==`]`||t==`}`)&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new Context((e||0)-t,0,`top`,!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align??=!1,t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;d=null;var r=(t.tokenize||tokenBase)(e,t);if(r==`comment`||r==`meta`)return r;if(n.align??=!0,(d==`;`||d==`:`)&&n.type==`statement`)popContext(t);else if(d==`{`)pushContext(t,e.column(),`}`);else if(d==`[`)pushContext(t,e.column(),`]`);else if(d==`(`)pushContext(t,e.column(),`)`);else if(d==`}`){for(;n.type==`statement`;)n=popContext(t);for(n.type==`}`&&(n=popContext(t));n.type==`statement`;)n=popContext(t)}else d==n.type?popContext(t):(n.type==`}`||n.type==`top`||n.type==`statement`&&d==`newstatement`)&&pushContext(t,e.column(),`statement`);return t.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=tokenBase&&e.tokenize!=null)return 0;var r=e.context,i=n&&n.charAt(0);r.type==`statement`&&i==`}`&&(r=r.prev);var a=i==r.type;return r.type==`statement`?r.indented+(i==`{`?0:t):r.align?r.column+ +!a:r.indented+(a?0:t)},electricChars:`{}`}}),e.defineMIME(`text/x-ecl`,`ecl`)})})),h=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";var t={autoSelfClosers:{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},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{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}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode(`xml`,function(r,i){var a=r.indentUnit,o={},s=i.htmlMode?t:n;for(var c in s)o[c]=s[c];for(var c in i)o[c]=i[c];var l,u;function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();return n==`<`?e.eat(`!`)?e.eat(`[`)?e.match(`CDATA[`)?chain(inBlock(`atom`,`]]>`)):null:e.match(`--`)?chain(inBlock(`comment`,`-->`)):e.match(`DOCTYPE`,!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat(`?`)?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock(`meta`,`?>`),`meta`):(l=e.eat(`/`)?`closeTag`:`openTag`,t.tokenize=inTag,`tag bracket`):n==`&`?(e.eat(`#`)?e.eat(`x`)?e.eatWhile(/[a-fA-F\d]/)&&e.eat(`;`):e.eatWhile(/[\d]/)&&e.eat(`;`):e.eatWhile(/[\w\.\-:]/)&&e.eat(`;`))?`atom`:`error`:(e.eatWhile(/[^&<]/),null)}inText.isInText=!0;function inTag(e,t){var n=e.next();if(n==`>`||n==`/`&&e.eat(`>`))return t.tokenize=inText,l=n==`>`?`endTag`:`selfcloseTag`,`tag bracket`;if(n==`=`)return l=`equals`,null;if(n==`<`){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+` tag error`:`tag error`}else if(/[\'\"]/.test(n))return t.tokenize=inAttribute(n),t.stringStartCol=e.column(),t.tokenize(e,t);else return e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),`word`}function inAttribute(e){var closure=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return`string`};return closure.isInAttribute=!0,closure}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;(r=t.next())!=null;)if(r==`<`)return n.tokenize=doctype(e+1),n.tokenize(t,n);else if(r==`>`)if(e==1){n.tokenize=inText;break}else return n.tokenize=doctype(e-1),n.tokenize(t,n);return`meta`}}function lower(e){return e&&e.toLowerCase()}function Context(e,t,n){this.prev=e.context,this.tagName=t||``,this.indent=e.indented,this.startOfLine=n,(o.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function popContext(e){e.context&&=e.context.prev}function maybePopContext(e,t){for(var n;;){if(!e.context||(n=e.context.tagName,!o.contextGrabbers.hasOwnProperty(lower(n))||!o.contextGrabbers[lower(n)].hasOwnProperty(lower(t))))return;popContext(e)}}function baseState(e,t,n){return e==`openTag`?(n.tagStart=t.column(),tagNameState):e==`closeTag`?closeTagNameState:baseState}function tagNameState(e,t,n){return e==`word`?(n.tagName=t.current(),u=`tag`,attrState):o.allowMissingTagName&&e==`endTag`?(u=`tag bracket`,attrState(e,t,n)):(u=`error`,tagNameState)}function closeTagNameState(e,t,n){if(e==`word`){var r=t.current();return n.context&&n.context.tagName!=r&&o.implicitlyClosed.hasOwnProperty(lower(n.context.tagName))&&popContext(n),n.context&&n.context.tagName==r||o.matchClosing===!1?(u=`tag`,closeState):(u=`tag error`,closeStateErr)}else if(o.allowMissingTagName&&e==`endTag`)return u=`tag bracket`,closeState(e,t,n);else return u=`error`,closeStateErr}function closeState(e,t,n){return e==`endTag`?(popContext(n),baseState):(u=`error`,closeState)}function closeStateErr(e,t,n){return u=`error`,closeState(e,t,n)}function attrState(e,t,n){if(e==`word`)return u=`attribute`,attrEqState;if(e==`endTag`||e==`selfcloseTag`){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,e==`selfcloseTag`||o.autoSelfClosers.hasOwnProperty(lower(r))?maybePopContext(n,r):(maybePopContext(n,r),n.context=new Context(n,r,i==n.indented)),baseState}return u=`error`,attrState}function attrEqState(e,t,n){return e==`equals`?attrValueState:(o.allowMissing||(u=`error`),attrState(e,t,n))}function attrValueState(e,t,n){return e==`string`?attrContinuedState:e==`word`&&o.allowUnquoted?(u=`string`,attrState):(u=`error`,attrState(e,t,n))}function attrContinuedState(e,t,n){return e==`string`?attrContinuedState:attrState(e,t,n)}return{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return e!=null&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;l=null;var n=t.tokenize(e,t);return(n||l)&&n!=`comment`&&(u=null,t.state=t.state(l||n,e,t),u&&(n=u==`error`?n+` error`:u)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return o.multilineTagIndentPastTag===!1?t.tagStart+a*(o.multilineTagIndentFactor||1):t.tagStart+t.tagName.length+2;if(o.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;i;)if(i.tagName==s[2]){i=i.prev;break}else if(o.implicitlyClosed.hasOwnProperty(lower(i.tagName)))i=i.prev;else break;else if(s)for(;i;){var c=o.contextGrabbers[lower(i.tagName)];if(c&&c.hasOwnProperty(lower(s[2])))i=i.prev;else break}for(;i&&i.prev&&!i.startOfLine;)i=i.prev;return i?i.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:`<!--`,blockCommentEnd:`-->`,configuration:o.htmlMode?`html`:`xml`,helperType:o.htmlMode?`html`:`xml`,skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:e.type==`closeTag`}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)t.push(n.tagName);return t.reverse()}}}),e.defineMIME(`text/xml`,`xml`),e.defineMIME(`application/xml`,`xml`),e.mimeModes.hasOwnProperty(`text/html`)||e.defineMIME(`text/html`,{name:`xml`,htmlMode:!0})})})),g=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";e.modeInfo=[{name:`APL`,mime:`text/apl`,mode:`apl`,ext:[`dyalog`,`apl`]},{name:`PGP`,mimes:[`application/pgp`,`application/pgp-encrypted`,`application/pgp-keys`,`application/pgp-signature`],mode:`asciiarmor`,ext:[`asc`,`pgp`,`sig`]},{name:`ASN.1`,mime:`text/x-ttcn-asn`,mode:`asn.1`,ext:[`asn`,`asn1`]},{name:`Asterisk`,mime:`text/x-asterisk`,mode:`asterisk`,file:/^extensions\.conf$/i},{name:`Brainfuck`,mime:`text/x-brainfuck`,mode:`brainfuck`,ext:[`b`,`bf`]},{name:`C`,mime:`text/x-csrc`,mode:`clike`,ext:[`c`,`h`,`ino`]},{name:`C++`,mime:`text/x-c++src`,mode:`clike`,ext:[`cpp`,`c++`,`cc`,`cxx`,`hpp`,`h++`,`hh`,`hxx`],alias:[`cpp`]},{name:`Cobol`,mime:`text/x-cobol`,mode:`cobol`,ext:[`cob`,`cpy`,`cbl`]},{name:`C#`,mime:`text/x-csharp`,mode:`clike`,ext:[`cs`],alias:[`csharp`,`cs`]},{name:`Clojure`,mime:`text/x-clojure`,mode:`clojure`,ext:[`clj`,`cljc`,`cljx`]},{name:`ClojureScript`,mime:`text/x-clojurescript`,mode:`clojure`,ext:[`cljs`]},{name:`Closure Stylesheets (GSS)`,mime:`text/x-gss`,mode:`css`,ext:[`gss`]},{name:`CMake`,mime:`text/x-cmake`,mode:`cmake`,ext:[`cmake`,`cmake.in`],file:/^CMakeLists\.txt$/},{name:`CoffeeScript`,mimes:[`application/vnd.coffeescript`,`text/coffeescript`,`text/x-coffeescript`],mode:`coffeescript`,ext:[`coffee`],alias:[`coffee`,`coffee-script`]},{name:`Common Lisp`,mime:`text/x-common-lisp`,mode:`commonlisp`,ext:[`cl`,`lisp`,`el`],alias:[`lisp`]},{name:`Cypher`,mime:`application/x-cypher-query`,mode:`cypher`,ext:[`cyp`,`cypher`]},{name:`Cython`,mime:`text/x-cython`,mode:`python`,ext:[`pyx`,`pxd`,`pxi`]},{name:`Crystal`,mime:`text/x-crystal`,mode:`crystal`,ext:[`cr`]},{name:`CSS`,mime:`text/css`,mode:`css`,ext:[`css`]},{name:`CQL`,mime:`text/x-cassandra`,mode:`sql`,ext:[`cql`]},{name:`D`,mime:`text/x-d`,mode:`d`,ext:[`d`]},{name:`Dart`,mimes:[`application/dart`,`text/x-dart`],mode:`dart`,ext:[`dart`]},{name:`diff`,mime:`text/x-diff`,mode:`diff`,ext:[`diff`,`patch`]},{name:`Django`,mime:`text/x-django`,mode:`django`},{name:`Dockerfile`,mime:`text/x-dockerfile`,mode:`dockerfile`,file:/^Dockerfile$/},{name:`DTD`,mime:`application/xml-dtd`,mode:`dtd`,ext:[`dtd`]},{name:`Dylan`,mime:`text/x-dylan`,mode:`dylan`,ext:[`dylan`,`dyl`,`intr`]},{name:`EBNF`,mime:`text/x-ebnf`,mode:`ebnf`},{name:`ECL`,mime:`text/x-ecl`,mode:`ecl`,ext:[`ecl`]},{name:`edn`,mime:`application/edn`,mode:`clojure`,ext:[`edn`]},{name:`Eiffel`,mime:`text/x-eiffel`,mode:`eiffel`,ext:[`e`]},{name:`Elm`,mime:`text/x-elm`,mode:`elm`,ext:[`elm`]},{name:`Embedded JavaScript`,mime:`application/x-ejs`,mode:`htmlembedded`,ext:[`ejs`]},{name:`Embedded Ruby`,mime:`application/x-erb`,mode:`htmlembedded`,ext:[`erb`]},{name:`Erlang`,mime:`text/x-erlang`,mode:`erlang`,ext:[`erl`]},{name:`Esper`,mime:`text/x-esper`,mode:`sql`},{name:`Factor`,mime:`text/x-factor`,mode:`factor`,ext:[`factor`]},{name:`FCL`,mime:`text/x-fcl`,mode:`fcl`},{name:`Forth`,mime:`text/x-forth`,mode:`forth`,ext:[`forth`,`fth`,`4th`]},{name:`Fortran`,mime:`text/x-fortran`,mode:`fortran`,ext:[`f`,`for`,`f77`,`f90`,`f95`]},{name:`F#`,mime:`text/x-fsharp`,mode:`mllike`,ext:[`fs`],alias:[`fsharp`]},{name:`Gas`,mime:`text/x-gas`,mode:`gas`,ext:[`s`]},{name:`Gherkin`,mime:`text/x-feature`,mode:`gherkin`,ext:[`feature`]},{name:`GitHub Flavored Markdown`,mime:`text/x-gfm`,mode:`gfm`,file:/^(readme|contributing|history)\.md$/i},{name:`Go`,mime:`text/x-go`,mode:`go`,ext:[`go`]},{name:`Groovy`,mime:`text/x-groovy`,mode:`groovy`,ext:[`groovy`,`gradle`],file:/^Jenkinsfile$/},{name:`HAML`,mime:`text/x-haml`,mode:`haml`,ext:[`haml`]},{name:`Haskell`,mime:`text/x-haskell`,mode:`haskell`,ext:[`hs`]},{name:`Haskell (Literate)`,mime:`text/x-literate-haskell`,mode:`haskell-literate`,ext:[`lhs`]},{name:`Haxe`,mime:`text/x-haxe`,mode:`haxe`,ext:[`hx`]},{name:`HXML`,mime:`text/x-hxml`,mode:`haxe`,ext:[`hxml`]},{name:`ASP.NET`,mime:`application/x-aspx`,mode:`htmlembedded`,ext:[`aspx`],alias:[`asp`,`aspx`]},{name:`HTML`,mime:`text/html`,mode:`htmlmixed`,ext:[`html`,`htm`,`handlebars`,`hbs`],alias:[`xhtml`]},{name:`HTTP`,mime:`message/http`,mode:`http`},{name:`IDL`,mime:`text/x-idl`,mode:`idl`,ext:[`pro`]},{name:`Pug`,mime:`text/x-pug`,mode:`pug`,ext:[`jade`,`pug`],alias:[`jade`]},{name:`Java`,mime:`text/x-java`,mode:`clike`,ext:[`java`]},{name:`Java Server Pages`,mime:`application/x-jsp`,mode:`htmlembedded`,ext:[`jsp`],alias:[`jsp`]},{name:`JavaScript`,mimes:[`text/javascript`,`text/ecmascript`,`application/javascript`,`application/x-javascript`,`application/ecmascript`],mode:`javascript`,ext:[`js`],alias:[`ecmascript`,`js`,`node`]},{name:`JSON`,mimes:[`application/json`,`application/x-json`],mode:`javascript`,ext:[`json`,`map`],alias:[`json5`]},{name:`JSON-LD`,mime:`application/ld+json`,mode:`javascript`,ext:[`jsonld`],alias:[`jsonld`]},{name:`JSX`,mime:`text/jsx`,mode:`jsx`,ext:[`jsx`]},{name:`Jinja2`,mime:`text/jinja2`,mode:`jinja2`,ext:[`j2`,`jinja`,`jinja2`]},{name:`Julia`,mime:`text/x-julia`,mode:`julia`,ext:[`jl`],alias:[`jl`]},{name:`Kotlin`,mime:`text/x-kotlin`,mode:`clike`,ext:[`kt`]},{name:`LESS`,mime:`text/x-less`,mode:`css`,ext:[`less`]},{name:`LiveScript`,mime:`text/x-livescript`,mode:`livescript`,ext:[`ls`],alias:[`ls`]},{name:`Lua`,mime:`text/x-lua`,mode:`lua`,ext:[`lua`]},{name:`Markdown`,mime:`text/x-markdown`,mode:`markdown`,ext:[`markdown`,`md`,`mkd`]},{name:`mIRC`,mime:`text/mirc`,mode:`mirc`},{name:`MariaDB SQL`,mime:`text/x-mariadb`,mode:`sql`},{name:`Mathematica`,mime:`text/x-mathematica`,mode:`mathematica`,ext:[`m`,`nb`,`wl`,`wls`]},{name:`Modelica`,mime:`text/x-modelica`,mode:`modelica`,ext:[`mo`]},{name:`MUMPS`,mime:`text/x-mumps`,mode:`mumps`,ext:[`mps`]},{name:`MS SQL`,mime:`text/x-mssql`,mode:`sql`},{name:`mbox`,mime:`application/mbox`,mode:`mbox`,ext:[`mbox`]},{name:`MySQL`,mime:`text/x-mysql`,mode:`sql`},{name:`Nginx`,mime:`text/x-nginx-conf`,mode:`nginx`,file:/nginx.*\.conf$/i},{name:`NSIS`,mime:`text/x-nsis`,mode:`nsis`,ext:[`nsh`,`nsi`]},{name:`NTriples`,mimes:[`application/n-triples`,`application/n-quads`,`text/n-triples`],mode:`ntriples`,ext:[`nt`,`nq`]},{name:`Objective-C`,mime:`text/x-objectivec`,mode:`clike`,ext:[`m`],alias:[`objective-c`,`objc`]},{name:`Objective-C++`,mime:`text/x-objectivec++`,mode:`clike`,ext:[`mm`],alias:[`objective-c++`,`objc++`]},{name:`OCaml`,mime:`text/x-ocaml`,mode:`mllike`,ext:[`ml`,`mli`,`mll`,`mly`]},{name:`Octave`,mime:`text/x-octave`,mode:`octave`,ext:[`m`]},{name:`Oz`,mime:`text/x-oz`,mode:`oz`,ext:[`oz`]},{name:`Pascal`,mime:`text/x-pascal`,mode:`pascal`,ext:[`p`,`pas`]},{name:`PEG.js`,mime:`null`,mode:`pegjs`,ext:[`jsonld`]},{name:`Perl`,mime:`text/x-perl`,mode:`perl`,ext:[`pl`,`pm`]},{name:`PHP`,mimes:[`text/x-php`,`application/x-httpd-php`,`application/x-httpd-php-open`],mode:`php`,ext:[`php`,`php3`,`php4`,`php5`,`php7`,`phtml`]},{name:`Pig`,mime:`text/x-pig`,mode:`pig`,ext:[`pig`]},{name:`Plain Text`,mime:`text/plain`,mode:`null`,ext:[`txt`,`text`,`conf`,`def`,`list`,`log`]},{name:`PLSQL`,mime:`text/x-plsql`,mode:`sql`,ext:[`pls`]},{name:`PostgreSQL`,mime:`text/x-pgsql`,mode:`sql`},{name:`PowerShell`,mime:`application/x-powershell`,mode:`powershell`,ext:[`ps1`,`psd1`,`psm1`]},{name:`Properties files`,mime:`text/x-properties`,mode:`properties`,ext:[`properties`,`ini`,`in`],alias:[`ini`,`properties`]},{name:`ProtoBuf`,mime:`text/x-protobuf`,mode:`protobuf`,ext:[`proto`]},{name:`Python`,mime:`text/x-python`,mode:`python`,ext:[`BUILD`,`bzl`,`py`,`pyw`],file:/^(BUCK|BUILD)$/},{name:`Puppet`,mime:`text/x-puppet`,mode:`puppet`,ext:[`pp`]},{name:`Q`,mime:`text/x-q`,mode:`q`,ext:[`q`]},{name:`R`,mime:`text/x-rsrc`,mode:`r`,ext:[`r`,`R`],alias:[`rscript`]},{name:`reStructuredText`,mime:`text/x-rst`,mode:`rst`,ext:[`rst`],alias:[`rst`]},{name:`RPM Changes`,mime:`text/x-rpm-changes`,mode:`rpm`},{name:`RPM Spec`,mime:`text/x-rpm-spec`,mode:`rpm`,ext:[`spec`]},{name:`Ruby`,mime:`text/x-ruby`,mode:`ruby`,ext:[`rb`],alias:[`jruby`,`macruby`,`rake`,`rb`,`rbx`]},{name:`Rust`,mime:`text/x-rustsrc`,mode:`rust`,ext:[`rs`]},{name:`SAS`,mime:`text/x-sas`,mode:`sas`,ext:[`sas`]},{name:`Sass`,mime:`text/x-sass`,mode:`sass`,ext:[`sass`]},{name:`Scala`,mime:`text/x-scala`,mode:`clike`,ext:[`scala`]},{name:`Scheme`,mime:`text/x-scheme`,mode:`scheme`,ext:[`scm`,`ss`]},{name:`SCSS`,mime:`text/x-scss`,mode:`css`,ext:[`scss`]},{name:`Shell`,mimes:[`text/x-sh`,`application/x-sh`],mode:`shell`,ext:[`sh`,`ksh`,`bash`],alias:[`bash`,`sh`,`zsh`],file:/^PKGBUILD$/},{name:`Sieve`,mime:`application/sieve`,mode:`sieve`,ext:[`siv`,`sieve`]},{name:`Slim`,mimes:[`text/x-slim`,`application/x-slim`],mode:`slim`,ext:[`slim`]},{name:`Smalltalk`,mime:`text/x-stsrc`,mode:`smalltalk`,ext:[`st`]},{name:`Smarty`,mime:`text/x-smarty`,mode:`smarty`,ext:[`tpl`]},{name:`Solr`,mime:`text/x-solr`,mode:`solr`},{name:`SML`,mime:`text/x-sml`,mode:`mllike`,ext:[`sml`,`sig`,`fun`,`smackspec`]},{name:`Soy`,mime:`text/x-soy`,mode:`soy`,ext:[`soy`],alias:[`closure template`]},{name:`SPARQL`,mime:`application/sparql-query`,mode:`sparql`,ext:[`rq`,`sparql`],alias:[`sparul`]},{name:`Spreadsheet`,mime:`text/x-spreadsheet`,mode:`spreadsheet`,alias:[`excel`,`formula`]},{name:`SQL`,mime:`text/x-sql`,mode:`sql`,ext:[`sql`]},{name:`SQLite`,mime:`text/x-sqlite`,mode:`sql`},{name:`Squirrel`,mime:`text/x-squirrel`,mode:`clike`,ext:[`nut`]},{name:`Stylus`,mime:`text/x-styl`,mode:`stylus`,ext:[`styl`]},{name:`Swift`,mime:`text/x-swift`,mode:`swift`,ext:[`swift`]},{name:`sTeX`,mime:`text/x-stex`,mode:`stex`},{name:`LaTeX`,mime:`text/x-latex`,mode:`stex`,ext:[`text`,`ltx`,`tex`],alias:[`tex`]},{name:`SystemVerilog`,mime:`text/x-systemverilog`,mode:`verilog`,ext:[`v`,`sv`,`svh`]},{name:`Tcl`,mime:`text/x-tcl`,mode:`tcl`,ext:[`tcl`]},{name:`Textile`,mime:`text/x-textile`,mode:`textile`,ext:[`textile`]},{name:`TiddlyWiki`,mime:`text/x-tiddlywiki`,mode:`tiddlywiki`},{name:`Tiki wiki`,mime:`text/tiki`,mode:`tiki`},{name:`TOML`,mime:`text/x-toml`,mode:`toml`,ext:[`toml`]},{name:`Tornado`,mime:`text/x-tornado`,mode:`tornado`},{name:`troff`,mime:`text/troff`,mode:`troff`,ext:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`]},{name:`TTCN`,mime:`text/x-ttcn`,mode:`ttcn`,ext:[`ttcn`,`ttcn3`,`ttcnpp`]},{name:`TTCN_CFG`,mime:`text/x-ttcn-cfg`,mode:`ttcn-cfg`,ext:[`cfg`]},{name:`Turtle`,mime:`text/turtle`,mode:`turtle`,ext:[`ttl`]},{name:`TypeScript`,mime:`application/typescript`,mode:`javascript`,ext:[`ts`],alias:[`ts`]},{name:`TypeScript-JSX`,mime:`text/typescript-jsx`,mode:`jsx`,ext:[`tsx`],alias:[`tsx`]},{name:`Twig`,mime:`text/x-twig`,mode:`twig`},{name:`Web IDL`,mime:`text/x-webidl`,mode:`webidl`,ext:[`webidl`]},{name:`VB.NET`,mime:`text/x-vb`,mode:`vb`,ext:[`vb`]},{name:`VBScript`,mime:`text/vbscript`,mode:`vbscript`,ext:[`vbs`]},{name:`Velocity`,mime:`text/velocity`,mode:`velocity`,ext:[`vtl`]},{name:`Verilog`,mime:`text/x-verilog`,mode:`verilog`,ext:[`v`]},{name:`VHDL`,mime:`text/x-vhdl`,mode:`vhdl`,ext:[`vhd`,`vhdl`]},{name:`Vue.js Component`,mimes:[`script/x-vue`,`text/x-vue`],mode:`vue`,ext:[`vue`]},{name:`XML`,mimes:[`application/xml`,`text/xml`],mode:`xml`,ext:[`xml`,`xsl`,`xsd`,`svg`],alias:[`rss`,`wsdl`,`xsd`]},{name:`XQuery`,mime:`application/xquery`,mode:`xquery`,ext:[`xy`,`xquery`]},{name:`Yacas`,mime:`text/x-yacas`,mode:`yacas`,ext:[`ys`]},{name:`YAML`,mimes:[`text/x-yaml`,`text/yaml`],mode:`yaml`,ext:[`yaml`,`yml`],alias:[`yml`]},{name:`Z80`,mime:`text/x-z80`,mode:`z80`,ext:[`z80`]},{name:`mscgen`,mime:`text/x-mscgen`,mode:`mscgen`,ext:[`mscgen`,`mscin`,`msc`]},{name:`xu`,mime:`text/x-xu`,mode:`mscgen`,ext:[`xu`]},{name:`msgenny`,mime:`text/x-msgenny`,mode:`mscgen`,ext:[`msgenny`]},{name:`WebAssembly`,mime:`text/webassembly`,mode:`wast`,ext:[`wat`,`wast`]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes){for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}}if(/\+xml$/.test(t))return e.findModeByMIME(`application/xml`);if(/\+json$/.test(t))return e.findModeByMIME(`application/json`)},e.findModeByExtension=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext){for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf(`.`),a=i>-1&&t.substring(i+1,t.length);if(a)return e.findModeByExtension(a)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias){for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}}})})),_=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),h(),g()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`,`../xml/xml`,`../meta`],n):n(CodeMirror)})(function(e){"use strict";e.defineMode(`markdown`,function(t,n){var r=e.getMode(t,`text/html`),i=r.name==`null`;function getMode(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return i.name==`null`?null:i}n.highlightFormatting===void 0&&(n.highlightFormatting=!1),n.maxBlockquoteDepth===void 0&&(n.maxBlockquoteDepth=0),n.taskLists===void 0&&(n.taskLists=!1),n.strikethrough===void 0&&(n.strikethrough=!1),n.emoji===void 0&&(n.emoji=!1),n.fencedCodeBlockHighlighting===void 0&&(n.fencedCodeBlockHighlighting=!0),n.fencedCodeBlockDefaultMode===void 0&&(n.fencedCodeBlockDefaultMode=`text/plain`),n.xml===void 0&&(n.xml=!0),n.tokenTypeOverrides===void 0&&(n.tokenTypeOverrides={});var a={header:`header`,code:`comment`,quote:`quote`,list1:`variable-2`,list2:`variable-3`,list3:`keyword`,hr:`hr`,image:`image`,imageAltText:`image-alt-text`,imageMarker:`image-marker`,formatting:`formatting`,linkInline:`link`,linkEmail:`link`,linkText:`link`,linkHref:`string`,em:`em`,strong:`strong`,strikethrough:`strikethrough`,emoji:`builtin`};for(var o in a)a.hasOwnProperty(o)&&n.tokenTypeOverrides[o]&&(a[o]=n.tokenTypeOverrides[o]);var s=/^([*\-_])(?:\s*\1){2,}\s*$/,c=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,l=/^\[(x| )\](?=\s)/i,u=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,d=/^ {0,3}(?:\={1,}|-{2,})\s*$/,f=/^[^#!\[\]*_\\<>` "'(~:]+/,m=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,h=/^\s*\[[^\]]+?\]:.*$/,g=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,_=` `;function switchInline(e,t,n){return t.f=t.inline=n,n(e,t)}function switchBlock(e,t,n){return t.f=t.block=n,n(e,t)}function lineIsEmpty(e){return!e||!/\S/.test(e.string)}function blankLine(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==htmlBlock){var n=i;if(!n){var a=e.innerMode(r,t.htmlState);n=a.mode.name==`xml`&&a.state.tagStart===null&&!a.state.context&&a.state.tokenize.isInText}n&&(t.f=inlineNormal,t.block=blockNormal,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function blockNormal(t,r){var i=t.column()===r.indentation,o=lineIsEmpty(r.prevLine.stream),f=r.indentedCode,g=r.prevLine.hr,_=r.list!==!1,v=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var y=r.indentation;if(r.indentationDiff===null&&(r.indentationDiff=r.indentation,_)){for(r.list=null;y<r.listStack[r.listStack.length-1];)r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;r.list!==!1&&(r.indentationDiff=y-r.listStack[r.listStack.length-1])}var b=!o&&!g&&!r.prevLine.header&&(!_||!f)&&!r.prevLine.fencedCodeEnd,x=(r.list===!1||g||o)&&r.indentation<=v&&t.match(s),S=null;if(r.indentationDiff>=4&&(f||r.prevLine.fencedCodeEnd||r.prevLine.header||o))return t.skipToEnd(),r.indentedCode=!0,a.code;if(t.eatSpace())return null;if(i&&r.indentation<=v&&(S=t.match(u))&&S[1].length<=6)return r.quote=0,r.header=S[1].length,r.thisLine.header=!0,n.highlightFormatting&&(r.formatting=`header`),r.f=r.inline,getType(r);if(r.indentation<=v&&t.eat(`>`))return r.quote=i?1:r.quote+1,n.highlightFormatting&&(r.formatting=`quote`),t.eatSpace(),getType(r);if(!x&&!r.setext&&i&&r.indentation<=v&&(S=t.match(c))){var C=S[1]?`ol`:`ul`;return r.indentation=y+t.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,n.taskLists&&t.match(l,!1)&&(r.taskList=!0),r.f=r.inline,n.highlightFormatting&&(r.formatting=[`list`,`list-`+C]),getType(r)}else if(i&&r.indentation<=v&&(S=t.match(m,!0)))return r.quote=0,r.fencedEndRE=RegExp(S[1]+`+ *$`),r.localMode=n.fencedCodeBlockHighlighting&&getMode(S[2]||n.fencedCodeBlockDefaultMode),r.localMode&&(r.localState=e.startState(r.localMode)),r.f=r.block=local,n.highlightFormatting&&(r.formatting=`code-block`),r.code=-1,getType(r);else if(r.setext||(!b||!_)&&!r.quote&&r.list===!1&&!r.code&&!x&&!h.test(t.string)&&(S=t.lookAhead(1))&&(S=S.match(d)))return r.setext?(r.header=r.setext,r.setext=0,t.skipToEnd(),n.highlightFormatting&&(r.formatting=`header`)):(r.header=S[0].charAt(0)==`=`?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,getType(r);else if(x)return t.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr;else if(t.peek()===`[`)return switchInline(t,r,footnoteLink);return switchInline(t,r,r.inline)}function htmlBlock(t,n){var a=r.token(t,n.htmlState);if(!i){var o=e.innerMode(r,n.htmlState);(o.mode.name==`xml`&&o.state.tagStart===null&&!o.state.context&&o.state.tokenize.isInText||n.md_inside&&t.current().indexOf(`>`)>-1)&&(n.f=inlineNormal,n.block=blockNormal,n.htmlState=null)}return a}function local(e,t){var r=t.listStack[t.listStack.length-1]||0,i=t.indentation<r,o=r+3;if(t.fencedEndRE&&t.indentation<=o&&(i||e.match(t.fencedEndRE))){n.highlightFormatting&&(t.formatting=`code-block`);var s;return i||(s=getType(t)),t.localMode=t.localState=null,t.block=blockNormal,t.f=inlineNormal,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,i?switchBlock(e,t,t.block):s}else if(t.localMode)return t.localMode.token(e,t.localState);else return e.skipToEnd(),a.code}function getType(e){var t=[];if(e.formatting){t.push(a.formatting),typeof e.formatting==`string`&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(a.formatting+`-`+e.formatting[r]),e.formatting[r]===`header`&&t.push(a.formatting+`-`+e.formatting[r]+`-`+e.header),e.formatting[r]===`quote`&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.formatting+`-`+e.formatting[r]+`-`+e.quote):t.push(`error`))}if(e.taskOpen)return t.push(`meta`),t.length?t.join(` `):null;if(e.taskClosed)return t.push(`property`),t.length?t.join(` `):null;if(e.linkHref?t.push(a.linkHref,`url`):(e.strong&&t.push(a.strong),e.em&&t.push(a.em),e.strikethrough&&t.push(a.strikethrough),e.emoji&&t.push(a.emoji),e.linkText&&t.push(a.linkText),e.code&&t.push(a.code),e.image&&t.push(a.image),e.imageAltText&&t.push(a.imageAltText,`link`),e.imageMarker&&t.push(a.imageMarker)),e.header&&t.push(a.header,a.header+`-`+e.header),e.quote&&(t.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.quote+`-`+e.quote):t.push(a.quote+`-`+n.maxBlockquoteDepth)),e.list!==!1){var i=(e.listStack.length-1)%3;i?i===1?t.push(a.list2):t.push(a.list3):t.push(a.list1)}return e.trailingSpaceNewLine?t.push(`trailing-space-new-line`):e.trailingSpace&&t.push(`trailing-space-`+(e.trailingSpace%2?`a`:`b`)),t.length?t.join(` `):null}function handleText(e,t){if(e.match(f,!0))return getType(t)}function inlineNormal(t,i){var o=i.text(t,i);if(o!==void 0)return o;if(i.list)return i.list=null,getType(i);if(i.taskList)return t.match(l,!0)[1]===` `?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting=`task`),i.taskList=!1,getType(i);if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting=`header`),getType(i);var s=t.next();if(i.linkTitle){i.linkTitle=!1;var c=s;s===`(`&&(c=`)`),c=(c+``).replace(/([.?*+^\[\]\\(){}|-])/g,`\\$1`);var u=`^\\s*(?:[^`+c+`\\\\]+|\\\\\\\\|\\\\.)`+c;if(t.match(new RegExp(u),!0))return a.linkHref}if(s==="`"){var d=i.formatting;n.highlightFormatting&&(i.formatting=`code`),t.eatWhile("`");var f=t.current().length;if(i.code==0&&(!i.quote||f==1))return i.code=f,getType(i);if(f==i.code){var m=getType(i);return i.code=0,m}else return i.formatting=d,getType(i)}else if(i.code)return getType(i);if(s===`\\`&&(t.next(),n.highlightFormatting)){var h=getType(i),_=a.formatting+`-escape`;return h?h+` `+_:_}if(s===`!`&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting=`image`),getType(i);if(s===`[`&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting=`image`),getType(i);if(s===`]`&&i.imageAltText){n.highlightFormatting&&(i.formatting=`image`);var h=getType(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=linkHref,h}if(s===`[`&&!i.image)return i.linkText&&t.match(/^.*?\]/)?getType(i):(i.linkText=!0,n.highlightFormatting&&(i.formatting=`link`),getType(i));if(s===`]`&&i.linkText){n.highlightFormatting&&(i.formatting=`link`);var h=getType(i);return i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,h}if(s===`<`&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=linkInline,n.highlightFormatting&&(i.formatting=`link`);var h=getType(i);return h?h+=` `:h=``,h+a.linkInline}if(s===`<`&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=linkInline,n.highlightFormatting&&(i.formatting=`link`);var h=getType(i);return h?h+=` `:h=``,h+a.linkEmail}if(n.xml&&s===`<`&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var v=t.string.indexOf(`>`,t.pos);if(v!=-1){var y=t.string.substring(t.start,v);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(y)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=e.startState(r),switchBlock(t,i,htmlBlock)}if(n.xml&&s===`<`&&t.match(/^\/\w*?>/))return i.md_inside=!1,`tag`;if(s===`*`||s===`_`){for(var b=1,x=t.pos==1?` `:t.string.charAt(t.pos-2);b<3&&t.eat(s);)b++;var S=t.peek()||` `,C=!/\s/.test(S)&&(!g.test(S)||/\s/.test(x)||g.test(x)),w=!/\s/.test(x)&&(!g.test(x)||/\s/.test(S)||g.test(S)),T=null,E=null;if(b%2&&(!i.em&&C&&(s===`*`||!w||g.test(x))?T=!0:i.em==s&&w&&(s===`*`||!C||g.test(S))&&(T=!1)),b>1&&(!i.strong&&C&&(s===`*`||!w||g.test(x))?E=!0:i.strong==s&&w&&(s===`*`||!C||g.test(S))&&(E=!1)),E!=null||T!=null){n.highlightFormatting&&(i.formatting=T==null?`strong`:E==null?`em`:`strong em`),T===!0&&(i.em=s),E===!0&&(i.strong=s);var m=getType(i);return T===!1&&(i.em=!1),E===!1&&(i.strong=!1),m}}else if(s===` `&&(t.eat(`*`)||t.eat(`_`))){if(t.peek()===` `)return getType(i);t.backUp(1)}if(n.strikethrough){if(s===`~`&&t.eatWhile(s)){if(i.strikethrough){n.highlightFormatting&&(i.formatting=`strikethrough`);var m=getType(i);return i.strikethrough=!1,m}else if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting=`strikethrough`),getType(i)}else if(s===` `&&t.match(`~~`,!0)){if(t.peek()===` `)return getType(i);t.backUp(2)}}if(n.emoji&&s===`:`&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,n.highlightFormatting&&(i.formatting=`emoji`);var D=getType(i);return i.emoji=!1,D}return s===` `&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),getType(i)}function linkInline(e,t){if(e.next()===`>`){t.f=t.inline=inlineNormal,n.highlightFormatting&&(t.formatting=`link`);var r=getType(t);return r?r+=` `:r=``,r+a.linkInline}return e.match(/^[^>]+/,!0),a.linkInline}function linkHref(e,t){if(e.eatSpace())return null;var r=e.next();return r===`(`||r===`[`?(t.f=t.inline=getLinkHrefInside(r===`(`?`)`:`]`),n.highlightFormatting&&(t.formatting=`link-string`),t.linkHref=!0,getType(t)):`error`}var v={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function getLinkHrefInside(e){return function(t,r){if(t.next()===e){r.f=r.inline=inlineNormal,n.highlightFormatting&&(r.formatting=`link-string`);var i=getType(r);return r.linkHref=!1,i}return t.match(v[e]),r.linkHref=!0,getType(r)}}function footnoteLink(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=footnoteLinkInside,e.next(),n.highlightFormatting&&(t.formatting=`link`),t.linkText=!0,getType(t)):switchInline(e,t,inlineNormal)}function footnoteLinkInside(e,t){if(e.match(`]:`,!0)){t.f=t.inline=footnoteUrl,n.highlightFormatting&&(t.formatting=`link`);var r=getType(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function footnoteUrl(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),e.peek()===void 0?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),t.f=t.inline=inlineNormal,a.linkHref+` url`)}var y={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return blankLine(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=htmlBlock)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,_).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==htmlBlock?{state:e.htmlState,mode:r}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:y}},indent:function(t,n,i){return t.block==htmlBlock&&r.indent?r.indent(t.htmlState,n,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},blankLine,getType,blockCommentStart:`<!--`,blockCommentEnd:`-->`,closeBrackets:`()[]{}''""\`\``,fold:`markdown`};return y},`xml`),e.defineMIME(`text/markdown`,`markdown`),e.defineMIME(`text/x-markdown`,`markdown`)})})),v=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";e.overlayMode=function(t,n,r){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:e.copyState(t,r.base),overlay:e.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(e,i){return(e!=i.streamSeen||Math.min(i.basePos,i.overlayPos)<e.start)&&(i.streamSeen=e,i.basePos=i.overlayPos=e.start),e.start==i.basePos&&(i.baseCur=t.token(e,i.base),i.basePos=e.pos),e.start==i.overlayPos&&(e.pos=e.start,i.overlayCur=n.token(e,i.overlay),i.overlayPos=e.pos),e.pos=Math.min(i.basePos,i.overlayPos),i.overlayCur==null?i.baseCur:i.baseCur!=null&&i.overlay.combineTokens||r&&i.overlay.combineTokens==null?i.baseCur+` `+i.overlayCur:i.overlayCur},indent:t.indent&&function(e,n,r){return t.indent(e.base,n,r)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var i,a;return t.blankLine&&(i=t.blankLine(e.base)),n.blankLine&&(a=n.blankLine(e.overlay)),a==null?i:r&&i!=null?i+` `+a:a}}}})})),y=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),_(),v()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`,`../markdown/markdown`,`../../addon/mode/overlay`],n):n(CodeMirror)})(function(e){"use strict";var t=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode(`gfm`,function(n,r){var i=0;function blankLine(e){return e.code=!1,null}var a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if(e.peek()==="`"){e.next();var a=e.pos;e.eatWhile("`");var o=1+e.pos-a;return n.code?o===i&&(n.code=!1):(i=o,n.code=!0),null}else if(n.code)return e.next(),null;return e.eatSpace()?(n.ateSpace=!0,null):(e.sol()||n.ateSpace)&&(n.ateSpace=!1,r.gitHubSpice!==!1)&&(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/)||e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))||e.match(t)&&e.string.slice(e.start-2,e.start)!=`](`&&(e.start==0||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,`link`):(e.next(),null)},blankLine},o={taskLists:!0,strikethrough:!0,emoji:!0};for(var s in r)o[s]=r[s];return o.name=`markdown`,e.overlayMode(e.getMode(n,o),a)},`markdown`),e.defineMIME(`text/x-gfm`,`gfm`)})})),b=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";e.defineMode(`javascript`,function(t,n){var r=t.indentUnit,i=n.statementIndent,a=n.jsonld,o=n.json||a,s=n.trackScope!==!1,c=n.typescript,l=n.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:`keyword`}}var e=kw(`keyword a`),t=kw(`keyword b`),n=kw(`keyword c`),r=kw(`keyword d`),i=kw(`operator`),a={type:`atom`,style:`atom`};return{if:kw(`if`),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw(`new`),delete:n,void:n,throw:n,debugger:kw(`debugger`),var:kw(`var`),const:kw(`var`),let:kw(`var`),function:kw(`function`),catch:kw(`catch`),for:kw(`for`),switch:kw(`switch`),case:kw(`case`),default:kw(`default`),in:i,typeof:i,instanceof:i,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw(`this`),class:kw(`class`),super:kw(`atom`),yield:n,export:kw(`export`),import:kw(`import`),extends:n,await:n}}(),d=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function readRegexp(e){for(var t=!1,n,r=!1;(n=e.next())!=null;){if(!t){if(n==`/`&&!r)return;n==`[`?r=!0:r&&n==`]`&&(r=!1)}t=!t&&n==`\\`}}var m,h;function ret(e,t,n){return m=e,h=n,t}function tokenBase(e,t){var n=e.next();if(n==`"`||n==`'`)return t.tokenize=tokenString(n),t.tokenize(e,t);if(n==`.`&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return ret(`number`,`number`);if(n==`.`&&e.match(`..`))return ret(`spread`,`meta`);if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if(n==`=`&&e.eat(`>`))return ret(`=>`,`operator`);if(n==`0`&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return ret(`number`,`number`);if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),ret(`number`,`number`);if(n==`/`)return e.eat(`*`)?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat(`/`)?(e.skipToEnd(),ret(`comment`,`comment`)):expressionAllowed(e,t,1)?(readRegexp(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),ret(`regexp`,`string-2`)):(e.eat(`=`),ret(`operator`,`operator`,e.current()));if(n=="`")return t.tokenize=tokenQuasi,tokenQuasi(e,t);if(n==`#`&&e.peek()==`!`)return e.skipToEnd(),ret(`meta`,`meta`);if(n==`#`&&e.eatWhile(l))return ret(`variable`,`property`);if(n==`<`&&e.match(`!--`)||n==`-`&&e.match(`->`)&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),ret(`comment`,`comment`);if(d.test(n))return(n!=`>`||!t.lexical||t.lexical.type!=`>`)&&(e.eat(`=`)?(n==`!`||n==`=`)&&e.eat(`=`):/[<>*+\-|&?]/.test(n)&&(e.eat(n),n==`>`&&e.eat(n))),n==`?`&&e.eat(`.`)?ret(`.`):ret(`operator`,`operator`,e.current());if(l.test(n)){e.eatWhile(l);var r=e.current();if(t.lastType!=`.`){if(u.propertyIsEnumerable(r)){var i=u[r];return ret(i.type,i.style,r)}if(r==`async`&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return ret(`async`,`keyword`,r)}return ret(`variable`,`variable`,r)}}function tokenString(e){return function(t,n){var r=!1,i;if(a&&t.peek()==`@`&&t.match(f))return n.tokenize=tokenBase,ret(`jsonld-keyword`,`meta`);for(;(i=t.next())!=null&&!(i==e&&!r);)r=!r&&i==`\\`;return r||(n.tokenize=tokenBase),ret(`string`,`string`)}}function tokenComment(e,t){for(var n=!1,r;r=e.next();){if(r==`/`&&n){t.tokenize=tokenBase;break}n=r==`*`}return ret(`comment`,`comment`)}function tokenQuasi(e,t){for(var n=!1,r;(r=e.next())!=null;){if(!n&&(r=="`"||r==`$`&&e.eat(`{`))){t.tokenize=tokenBase;break}n=!n&&r==`\\`}return ret(`quasi`,`string-2`,e.current())}var g=`([{}])`;function findFatArrow(e,t){t.fatArrowAt&&=null;var n=e.string.indexOf(`=>`,e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,a=!1,o=n-1;o>=0;--o){var s=e.string.charAt(o),u=g.indexOf(s);if(u>=0&&u<3){if(!i){++o;break}if(--i==0){s==`(`&&(a=!0);break}}else if(u>=3&&u<6)++i;else if(l.test(s))a=!0;else if(/["'\/`]/.test(s))for(;;--o){if(o==0)return;if(e.string.charAt(o-1)==s&&e.string.charAt(o-2)!=`\\`){o--;break}}else if(a&&!i){++o;break}}a&&!i&&(t.fatArrowAt=o)}}var _={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function JSLexical(e,t,n,r,i,a){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=a,r!=null&&(this.align=r)}function inScope(e,t){if(!s)return!1;for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function parseJS(e,t,n,r,i){var a=e.cc;for(v.state=e,v.stream=i,v.marked=null,v.cc=a,v.style=t,e.lexical.hasOwnProperty(`align`)||(e.lexical.align=!0);;)if((a.length?a.pop():o?expression:statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return v.marked?v.marked:n==`variable`&&inScope(e,r)?`variable-2`:t}}var v={state:null,column:null,marked:null,cc:null};function pass(){for(var e=arguments.length-1;e>=0;e--)v.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function inList(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function register(e){var t=v.state;if(v.marked=`def`,s){if(t.context){if(t.lexical.info==`var`&&t.context&&t.context.block){var r=registerVarScoped(e,t.context);if(r!=null){t.context=r;return}}else if(!inList(e,t.localVars)){t.localVars=new Var(e,t.localVars);return}}n.globalVars&&!inList(e,t.globalVars)&&(t.globalVars=new Var(e,t.globalVars))}}function registerVarScoped(e,t){if(!t)return null;if(t.block){var n=registerVarScoped(e,t.prev);return n?n==t.prev?t:new Context(n,t.vars,!0):null}else if(inList(e,t.vars))return t;else return new Context(t.prev,new Var(e,t.vars),!1)}function isModifier(e){return e==`public`||e==`private`||e==`protected`||e==`abstract`||e==`readonly`}function Context(e,t,n){this.prev=e,this.vars=t,this.block=n}function Var(e,t){this.name=e,this.next=t}var y=new Var(`this`,new Var(`arguments`,null));function pushcontext(){v.state.context=new Context(v.state.context,v.state.localVars,!1),v.state.localVars=y}function pushblockcontext(){v.state.context=new Context(v.state.context,v.state.localVars,!0),v.state.localVars=null}pushcontext.lex=pushblockcontext.lex=!0;function popcontext(){v.state.localVars=v.state.context.vars,v.state.context=v.state.context.prev}popcontext.lex=!0;function pushlex(e,t){var result=function(){var n=v.state,r=n.indented;if(n.lexical.type==`stat`)r=n.lexical.indented;else for(var i=n.lexical;i&&i.type==`)`&&i.align;i=i.prev)r=i.indented;n.lexical=new JSLexical(r,v.stream.column(),e,null,n.lexical,t)};return result.lex=!0,result}function poplex(){var e=v.state;e.lexical.prev&&(e.lexical.type==`)`&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}poplex.lex=!0;function expect(e){function exp(t){return t==e?cont():e==`;`||t==`}`||t==`)`||t==`]`?pass():cont(exp)}return exp}function statement(e,t){return e==`var`?cont(pushlex(`vardef`,t),vardef,expect(`;`),poplex):e==`keyword a`?cont(pushlex(`form`),parenExpr,statement,poplex):e==`keyword b`?cont(pushlex(`form`),statement,poplex):e==`keyword d`?v.stream.match(/^\s*$/,!1)?cont():cont(pushlex(`stat`),maybeexpression,expect(`;`),poplex):e==`debugger`?cont(expect(`;`)):e==`{`?cont(pushlex(`}`),pushblockcontext,block,poplex,popcontext):e==`;`?cont():e==`if`?(v.state.lexical.info==`else`&&v.state.cc[v.state.cc.length-1]==poplex&&v.state.cc.pop()(),cont(pushlex(`form`),parenExpr,statement,poplex,maybeelse)):e==`function`?cont(functiondef):e==`for`?cont(pushlex(`form`),pushblockcontext,forspec,statement,popcontext,poplex):e==`class`||c&&t==`interface`?(v.marked=`keyword`,cont(pushlex(`form`,e==`class`?e:t),className,poplex)):e==`variable`?c&&t==`declare`?(v.marked=`keyword`,cont(statement)):c&&(t==`module`||t==`enum`||t==`type`)&&v.stream.match(/^\s*\w/,!1)?(v.marked=`keyword`,t==`enum`?cont(enumdef):t==`type`?cont(typename,expect(`operator`),typeexpr,expect(`;`)):cont(pushlex(`form`),pattern,expect(`{`),pushlex(`}`),block,poplex,poplex)):c&&t==`namespace`?(v.marked=`keyword`,cont(pushlex(`form`),expression,statement,poplex)):c&&t==`abstract`?(v.marked=`keyword`,cont(statement)):cont(pushlex(`stat`),maybelabel):e==`switch`?cont(pushlex(`form`),parenExpr,expect(`{`),pushlex(`}`,`switch`),pushblockcontext,block,poplex,poplex,popcontext):e==`case`?cont(expression,expect(`:`)):e==`default`?cont(expect(`:`)):e==`catch`?cont(pushlex(`form`),pushcontext,maybeCatchBinding,statement,poplex,popcontext):e==`export`?cont(pushlex(`stat`),afterExport,poplex):e==`import`?cont(pushlex(`stat`),afterImport,poplex):e==`async`?cont(statement):t==`@`?cont(expression,statement):pass(pushlex(`stat`),expression,expect(`;`),poplex)}function maybeCatchBinding(e){if(e==`(`)return cont(funarg,expect(`)`))}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return e==`(`?cont(pushlex(`)`),maybeexpression,expect(`)`),poplex):pass()}function expressionInner(e,t,n){if(v.state.fatArrowAt==v.stream.start){var r=n?arrowBodyNoComma:arrowBody;if(e==`(`)return cont(pushcontext,pushlex(`)`),commasep(funarg,`)`),poplex,expect(`=>`),r,popcontext);if(e==`variable`)return pass(pushcontext,pattern,expect(`=>`),r,popcontext)}var i=n?maybeoperatorNoComma:maybeoperatorComma;return _.hasOwnProperty(e)?cont(i):e==`function`?cont(functiondef,i):e==`class`||c&&t==`interface`?(v.marked=`keyword`,cont(pushlex(`form`),classExpression,poplex)):e==`keyword c`||e==`async`?cont(n?expressionNoComma:expression):e==`(`?cont(pushlex(`)`),maybeexpression,expect(`)`),poplex,i):e==`operator`||e==`spread`?cont(n?expressionNoComma:expression):e==`[`?cont(pushlex(`]`),arrayLiteral,poplex,i):e==`{`?contCommasep(objprop,`}`,null,i):e==`quasi`?pass(quasi,i):e==`new`?cont(maybeTarget(n)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return e==`,`?cont(maybeexpression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=n==0?maybeoperatorComma:maybeoperatorNoComma,i=n==0?expression:expressionNoComma;if(e==`=>`)return cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext);if(e==`operator`)return/\+\+|--/.test(t)||c&&t==`!`?cont(r):c&&t==`<`&&v.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?cont(pushlex(`>`),commasep(typeexpr,`>`),poplex,r):t==`?`?cont(expression,expect(`:`),i):cont(i);if(e==`quasi`)return pass(quasi,r);if(e!=`;`){if(e==`(`)return contCommasep(expressionNoComma,`)`,`call`,r);if(e==`.`)return cont(property,r);if(e==`[`)return cont(pushlex(`]`),maybeexpression,expect(`]`),poplex,r);if(c&&t==`as`)return v.marked=`keyword`,cont(typeexpr,r);if(e==`regexp`)return v.state.lastType=v.marked=`operator`,v.stream.backUp(v.stream.pos-v.stream.start-1),cont(i)}}function quasi(e,t){return e==`quasi`?t.slice(t.length-2)=="${"?cont(maybeexpression,continueQuasi):cont(quasi):pass()}function continueQuasi(e){if(e==`}`)return v.marked=`string-2`,v.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(v.stream,v.state),pass(e==`{`?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(v.stream,v.state),pass(e==`{`?statement:expressionNoComma)}function maybeTarget(e){return function(t){return t==`.`?cont(e?targetNoComma:target):t==`variable`&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}function target(e,t){if(t==`target`)return v.marked=`keyword`,cont(maybeoperatorComma)}function targetNoComma(e,t){if(t==`target`)return v.marked=`keyword`,cont(maybeoperatorNoComma)}function maybelabel(e){return e==`:`?cont(poplex,statement):pass(maybeoperatorComma,expect(`;`),poplex)}function property(e){if(e==`variable`)return v.marked=`property`,cont()}function objprop(e,t){if(e==`async`)return v.marked=`property`,cont(objprop);if(e==`variable`||v.style==`keyword`){if(v.marked=`property`,t==`get`||t==`set`)return cont(getterSetter);var n;return c&&v.state.fatArrowAt==v.stream.start&&(n=v.stream.match(/^\s*:\s*/,!1))&&(v.state.fatArrowAt=v.stream.pos+n[0].length),cont(afterprop)}else if(e==`number`||e==`string`)return v.marked=a?`property`:v.style+` property`,cont(afterprop);else if(e==`jsonld-keyword`)return cont(afterprop);else if(c&&isModifier(t))return v.marked=`keyword`,cont(objprop);else if(e==`[`)return cont(expression,maybetype,expect(`]`),afterprop);else if(e==`spread`)return cont(expressionNoComma,afterprop);else if(t==`*`)return v.marked=`keyword`,cont(objprop);else if(e==`:`)return pass(afterprop)}function getterSetter(e){return e==`variable`?(v.marked=`property`,cont(functiondef)):pass(afterprop)}function afterprop(e){if(e==`:`)return cont(expressionNoComma);if(e==`(`)return pass(functiondef)}function commasep(e,t,n){function proceed(r,i){if(n?n.indexOf(r)>-1:r==`,`){var a=v.state.lexical;return a.info==`call`&&(a.pos=(a.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||i==t?cont():n&&n.indexOf(`;`)>-1?pass(e):cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r<arguments.length;r++)v.cc.push(arguments[r]);return cont(pushlex(t,n),commasep(e,t),poplex)}function block(e){return e==`}`?cont():pass(statement,block)}function maybetype(e,t){if(c){if(e==`:`)return cont(typeexpr);if(t==`?`)return cont(maybetype)}}function maybetypeOrIn(e,t){if(c&&(e==`:`||t==`in`))return cont(typeexpr)}function mayberettype(e){if(c&&e==`:`)return v.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if(t==`is`)return v.marked=`keyword`,cont()}function typeexpr(e,t){if(t==`keyof`||t==`typeof`||t==`infer`||t==`readonly`)return v.marked=`keyword`,cont(t==`typeof`?expressionNoComma:typeexpr);if(e==`variable`||t==`void`)return v.marked=`type`,cont(afterType);if(t==`|`||t==`&`)return cont(typeexpr);if(e==`string`||e==`number`||e==`atom`)return cont(afterType);if(e==`[`)return cont(pushlex(`]`),commasep(typeexpr,`]`,`,`),poplex,afterType);if(e==`{`)return cont(pushlex(`}`),typeprops,poplex,afterType);if(e==`(`)return cont(commasep(typearg,`)`),maybeReturnType,afterType);if(e==`<`)return cont(commasep(typeexpr,`>`),typeexpr);if(e==`quasi`)return pass(quasiType,afterType)}function maybeReturnType(e){if(e==`=>`)return cont(typeexpr)}function typeprops(e){return e.match(/[\}\)\]]/)?cont():e==`,`||e==`;`?cont(typeprops):pass(typeprop,typeprops)}function typeprop(e,t){if(e==`variable`||v.style==`keyword`)return v.marked=`property`,cont(typeprop);if(t==`?`||e==`number`||e==`string`)return cont(typeprop);if(e==`:`)return cont(typeexpr);if(e==`[`)return cont(expect(`variable`),maybetypeOrIn,expect(`]`),typeprop);if(e==`(`)return pass(functiondecl,typeprop);if(!e.match(/[;\}\)\],]/))return cont()}function quasiType(e,t){return e==`quasi`?t.slice(t.length-2)=="${"?cont(typeexpr,continueQuasiType):cont(quasiType):pass()}function continueQuasiType(e){if(e==`}`)return v.marked=`string-2`,v.state.tokenize=tokenQuasi,cont(quasiType)}function typearg(e,t){return e==`variable`&&v.stream.match(/^\s*[?:]/,!1)||t==`?`?cont(typearg):e==`:`?cont(typeexpr):e==`spread`?cont(typearg):pass(typeexpr)}function afterType(e,t){if(t==`<`)return cont(pushlex(`>`),commasep(typeexpr,`>`),poplex,afterType);if(t==`|`||e==`.`||t==`&`)return cont(typeexpr);if(e==`[`)return cont(typeexpr,expect(`]`),afterType);if(t==`extends`||t==`implements`)return v.marked=`keyword`,cont(typeexpr);if(t==`?`)return cont(typeexpr,expect(`:`),typeexpr)}function maybeTypeArgs(e,t){if(t==`<`)return cont(pushlex(`>`),commasep(typeexpr,`>`),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if(t==`=`)return cont(typeexpr)}function vardef(e,t){return t==`enum`?(v.marked=`keyword`,cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){if(c&&isModifier(t))return v.marked=`keyword`,cont(pattern);if(e==`variable`)return register(t),cont();if(e==`spread`)return cont(pattern);if(e==`[`)return contCommasep(eltpattern,`]`);if(e==`{`)return contCommasep(proppattern,`}`)}function proppattern(e,t){return e==`variable`&&!v.stream.match(/^\s*:/,!1)?(register(t),cont(maybeAssign)):(e==`variable`&&(v.marked=`property`),e==`spread`?cont(pattern):e==`}`?pass():e==`[`?cont(expression,expect(`]`),expect(`:`),proppattern):cont(expect(`:`),pattern,maybeAssign))}function eltpattern(){return pass(pattern,maybeAssign)}function maybeAssign(e,t){if(t==`=`)return cont(expressionNoComma)}function vardefCont(e){if(e==`,`)return cont(vardef)}function maybeelse(e,t){if(e==`keyword b`&&t==`else`)return cont(pushlex(`form`,`else`),statement,poplex)}function forspec(e,t){if(t==`await`)return cont(forspec);if(e==`(`)return cont(pushlex(`)`),forspec1,poplex)}function forspec1(e){return e==`var`?cont(vardef,forspec2):e==`variable`?cont(forspec2):pass(forspec2)}function forspec2(e,t){return e==`)`?cont():e==`;`?cont(forspec2):t==`in`||t==`of`?(v.marked=`keyword`,cont(expression,forspec2)):pass(expression,forspec2)}function functiondef(e,t){if(t==`*`)return v.marked=`keyword`,cont(functiondef);if(e==`variable`)return register(t),cont(functiondef);if(e==`(`)return cont(pushcontext,pushlex(`)`),commasep(funarg,`)`),poplex,mayberettype,statement,popcontext);if(c&&t==`<`)return cont(pushlex(`>`),commasep(typeparam,`>`),poplex,functiondef)}function functiondecl(e,t){if(t==`*`)return v.marked=`keyword`,cont(functiondecl);if(e==`variable`)return register(t),cont(functiondecl);if(e==`(`)return cont(pushcontext,pushlex(`)`),commasep(funarg,`)`),poplex,mayberettype,popcontext);if(c&&t==`<`)return cont(pushlex(`>`),commasep(typeparam,`>`),poplex,functiondecl)}function typename(e,t){if(e==`keyword`||e==`variable`)return v.marked=`type`,cont(typename);if(t==`<`)return cont(pushlex(`>`),commasep(typeparam,`>`),poplex)}function funarg(e,t){return t==`@`&&cont(expression,funarg),e==`spread`?cont(funarg):c&&isModifier(t)?(v.marked=`keyword`,cont(funarg)):c&&e==`this`?cont(maybetype,maybeAssign):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return e==`variable`?className(e,t):classNameAfter(e,t)}function className(e,t){if(e==`variable`)return register(t),cont(classNameAfter)}function classNameAfter(e,t){if(t==`<`)return cont(pushlex(`>`),commasep(typeparam,`>`),poplex,classNameAfter);if(t==`extends`||t==`implements`||c&&e==`,`)return t==`implements`&&(v.marked=`keyword`),cont(c?typeexpr:expression,classNameAfter);if(e==`{`)return cont(pushlex(`}`),classBody,poplex)}function classBody(e,t){if(e==`async`||e==`variable`&&(t==`static`||t==`get`||t==`set`||c&&isModifier(t))&&v.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return v.marked=`keyword`,cont(classBody);if(e==`variable`||v.style==`keyword`)return v.marked=`property`,cont(classfield,classBody);if(e==`number`||e==`string`)return cont(classfield,classBody);if(e==`[`)return cont(expression,maybetype,expect(`]`),classfield,classBody);if(t==`*`)return v.marked=`keyword`,cont(classBody);if(c&&e==`(`)return pass(functiondecl,classBody);if(e==`;`||e==`,`)return cont(classBody);if(e==`}`)return cont();if(t==`@`)return cont(expression,classBody)}function classfield(e,t){if(t==`!`||t==`?`)return cont(classfield);if(e==`:`)return cont(typeexpr,maybeAssign);if(t==`=`)return cont(expressionNoComma);var n=v.state.lexical.prev;return pass(n&&n.info==`interface`?functiondecl:functiondef)}function afterExport(e,t){return t==`*`?(v.marked=`keyword`,cont(maybeFrom,expect(`;`))):t==`default`?(v.marked=`keyword`,cont(expression,expect(`;`))):e==`{`?cont(commasep(exportField,`}`),maybeFrom,expect(`;`)):pass(statement)}function exportField(e,t){if(t==`as`)return v.marked=`keyword`,cont(expect(`variable`));if(e==`variable`)return pass(expressionNoComma,exportField)}function afterImport(e){return e==`string`?cont():e==`(`?pass(expression):e==`.`?pass(maybeoperatorComma):pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return e==`{`?contCommasep(importSpec,`}`):(e==`variable`&&register(t),t==`*`&&(v.marked=`keyword`),cont(maybeAs))}function maybeMoreImports(e){if(e==`,`)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if(t==`as`)return v.marked=`keyword`,cont(importSpec)}function maybeFrom(e,t){if(t==`from`)return v.marked=`keyword`,cont(expression)}function arrayLiteral(e){return e==`]`?cont():pass(commasep(expressionNoComma,`]`))}function enumdef(){return pass(pushlex(`form`),pattern,expect(`{`),pushlex(`}`),commasep(enummember,`}`),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function isContinuedStatement(e,t){return e.lastType==`operator`||e.lastType==`,`||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||t.lastType==`quasi`&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return{startState:function(e){var t={tokenize:tokenBase,lastType:`sof`,cc:[],lexical:new JSLexical((e||0)-r,0,`block`,!1),localVars:n.localVars,context:n.localVars&&new Context(null,null,!1),indented:e||0};return n.globalVars&&typeof n.globalVars==`object`&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty(`align`)||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return m==`comment`?n:(t.lastType=m==`operator`&&(h==`++`||h==`--`)?`incdec`:m,parseJS(t,n,m,h,e))},indent:function(t,a){if(t.tokenize==tokenComment||t.tokenize==tokenQuasi)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o=a&&a.charAt(0),s=t.lexical,c;if(!/^\s*else\b/.test(a))for(var l=t.cc.length-1;l>=0;--l){var u=t.cc[l];if(u==poplex)s=s.prev;else if(u!=maybeelse&&u!=popcontext)break}for(;(s.type==`stat`||s.type==`form`)&&(o==`}`||(c=t.cc[t.cc.length-1])&&(c==maybeoperatorComma||c==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(a));)s=s.prev;i&&s.type==`)`&&s.prev.type==`stat`&&(s=s.prev);var d=s.type,f=o==d;return d==`vardef`?s.indented+(t.lastType==`operator`||t.lastType==`,`?s.info.length+1:0):d==`form`&&o==`{`?s.indented:d==`form`?s.indented+r:d==`stat`?s.indented+(isContinuedStatement(t,a)?i||r:0):s.info==`switch`&&!f&&n.doubleIndentSwitch!=0?s.indented+(/^(?:case|default)\b/.test(a)?r:2*r):s.align?s.column+ +!f:s.indented+(f?0:r)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:o?null:`/*`,blockCommentEnd:o?null:`*/`,blockCommentContinue:o?null:` * `,lineComment:o?null:`//`,fold:`brace`,closeBrackets:`()[]{}''""\`\``,helperType:o?`json`:`javascript`,jsonldMode:a,jsonMode:o,expressionAllowed,skipExpression:function(t){parseJS(t,`atom`,`atom`,`true`,new e.StringStream(``,2,null))}}}),e.registerHelper(`wordChars`,`javascript`,/[\w$]/),e.defineMIME(`text/javascript`,`javascript`),e.defineMIME(`text/ecmascript`,`javascript`),e.defineMIME(`application/javascript`,`javascript`),e.defineMIME(`application/x-javascript`,`javascript`),e.defineMIME(`application/ecmascript`,`javascript`),e.defineMIME(`application/json`,{name:`javascript`,json:!0}),e.defineMIME(`application/x-json`,{name:`javascript`,json:!0}),e.defineMIME(`application/manifest+json`,{name:`javascript`,json:!0}),e.defineMIME(`application/ld+json`,{name:`javascript`,jsonld:!0}),e.defineMIME(`text/typescript`,{name:`javascript`,typescript:!0}),e.defineMIME(`application/typescript`,{name:`javascript`,typescript:!0})})})),x=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),h(),b(),f()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`,`../xml/xml`,`../javascript/javascript`,`../css/css`],n):n(CodeMirror)})(function(e){"use strict";var t={script:[[`lang`,/(javascript|babel)/i,`javascript`],[`type`,/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,`javascript`],[`type`,/./,`text/plain`],[null,null,`javascript`]],style:[[`lang`,/^css$/i,`css`],[`type`,/^(text\/)?(x-)?(stylesheet|css)$/i,`css`],[`type`,/./,`text/plain`],[null,null,`css`]]};function maybeBackup(e,t,n){var r=e.current(),i=r.search(t);return i>-1?e.backUp(r.length-i):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}var n={};function getAttrRegexp(e){return n[e]||(n[e]=RegExp(`\\s+`+e+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function getAttrValue(e,t){var n=e.match(getAttrRegexp(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:``}function getTagRegexp(e,t){return RegExp((t?`^`:``)+`</\\s*`+e+`\\s*>`,`i`)}function addTags(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),i=e[n],a=i.length-1;a>=0;a--)r.unshift(i[a])}function findMatchingMode(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(!r[0]||r[1].test(getAttrValue(t,r[0])))return r[2]}}e.defineMode(`htmlmixed`,function(n,r){var i=e.getMode(n,{name:`xml`,htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag,allowMissingTagName:r.allowMissingTagName}),a={},o=r&&r.tags,s=r&&r.scriptTypes;if(addTags(t,a),o&&addTags(o,a),s)for(var c=s.length-1;c>=0;c--)a.script.unshift([`type`,s[c].matches,s[c].mode]);function html(t,r){var o=i.token(t,r.htmlState),s=/\btag\b/.test(o),c;if(s&&!/[<>\s\/]/.test(t.current())&&(c=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(c))r.inTag=c+` `;else if(r.inTag&&s&&/>$/.test(t.current())){var l=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var u=t.current()==`>`&&findMatchingMode(a[l[1]],l[2]),d=e.getMode(n,u),f=getTagRegexp(l[1],!0),m=getTagRegexp(l[1],!1);r.token=function(e,t){return e.match(f,!1)?(t.token=html,t.localState=t.localMode=null,null):maybeBackup(e,m,t.localMode.token(e,t.localState))},r.localMode=d,r.localState=e.startState(d,i.indent(r.htmlState,``,``))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=` `));return o}return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(i)}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(i,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?i.indent(t.htmlState,n,r):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||i}}}},`xml`,`javascript`,`css`),e.defineMIME(`text/html`,`htmlmixed`)})})),S=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";e.defineMode(`sql`,function(r,i){var a=i.client||{},o=i.atoms||{false:!0,true:!0,null:!0},s=i.builtin||set(n),c=i.keywords||set(t),l=i.operatorChars||/^[*+\-%<>!=&|~^\/]/,u=i.support||{},d=i.hooks||{},f=i.dateSQL||{date:!0,time:!0,timestamp:!0},m=i.backslashStringEscapes!==!1,h=i.brackets||/^[\{}\(\)\[\]]/,g=i.punctuation||/^[;.,:]/;function tokenBase(e,t){var n=e.next();if(d[n]){var r=d[n](e,t);if(r!==!1)return r}if(u.hexNumber&&(n==`0`&&e.match(/^[xX][0-9a-fA-F]+/)||(n==`x`||n==`X`)&&e.match(/^'[0-9a-fA-F]*'/))||u.binaryNumber&&((n==`b`||n==`B`)&&e.match(/^'[01]*'/)||n==`0`&&e.match(/^b[01]+/)))return`number`;if(n.charCodeAt(0)>47&&n.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),u.decimallessFloat&&e.match(/^\.(?!\.)/),`number`;if(n==`?`&&(e.eatSpace()||e.eol()||e.eat(`;`)))return`variable-3`;if(n==`'`||n==`"`&&u.doubleQuote)return t.tokenize=tokenLiteral(n),t.tokenize(e,t);if((u.nCharCast&&(n==`n`||n==`N`)||u.charsetCast&&n==`_`&&e.match(/[a-z][a-z0-9]*/i))&&(e.peek()==`'`||e.peek()==`"`))return`keyword`;if(u.escapeConstant&&(n==`e`||n==`E`)&&(e.peek()==`'`||e.peek()==`"`&&u.doubleQuote))return t.tokenize=function(e,t){return(t.tokenize=tokenLiteral(e.next(),!0))(e,t)},`keyword`;if(u.commentSlashSlash&&n==`/`&&e.eat(`/`)||u.commentHash&&n==`#`||n==`-`&&e.eat(`-`)&&(!u.commentSpaceRequired||e.eat(` `)))return e.skipToEnd(),`comment`;if(n==`/`&&e.eat(`*`))return t.tokenize=tokenComment(1),t.tokenize(e,t);if(n==`.`){if(u.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return`number`;if(e.match(/^\.+/))return null;if(e.match(/^[\w\d_$#]+/))return`variable-2`}else if(l.test(n))return e.eatWhile(l),`operator`;else if(h.test(n))return`bracket`;else if(g.test(n))return e.eatWhile(g),`punctuation`;else if(n==`{`&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return`number`;else{e.eatWhile(/^[_\w\d]/);var i=e.current().toLowerCase();return f.hasOwnProperty(i)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?`number`:o.hasOwnProperty(i)?`atom`:s.hasOwnProperty(i)?`type`:c.hasOwnProperty(i)?`keyword`:a.hasOwnProperty(i)?`builtin`:null}}function tokenLiteral(e,t){return function(n,r){for(var i=!1,a;(a=n.next())!=null;){if(a==e&&!i){r.tokenize=tokenBase;break}i=(m||t)&&!i&&a==`\\`}return`string`}}function tokenComment(e){return function(t,n){var r=t.match(/^.*?(\/\*|\*\/)/);return r?r[1]==`/*`?n.tokenize=tokenComment(e+1):e>1?n.tokenize=tokenComment(e-1):n.tokenize=tokenBase:t.skipToEnd(),`comment`}}function pushContext(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}function popContext(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:tokenBase,context:null}},token:function(e,t){if(e.sol()&&t.context&&t.context.align==null&&(t.context.align=!1),t.tokenize==tokenBase&&e.eatSpace())return null;var n=t.tokenize(e,t);if(n==`comment`)return n;t.context&&t.context.align==null&&(t.context.align=!0);var r=e.current();return r==`(`?pushContext(e,t,`)`):r==`[`?pushContext(e,t,`]`):t.context&&t.context.type==r&&popContext(t),n},indent:function(t,n){var i=t.context;if(!i)return e.Pass;var a=n.charAt(0)==i.type;return i.align?i.col+ +!a:i.indent+(a?0:r.indentUnit)},blockCommentStart:`/*`,blockCommentEnd:`*/`,lineComment:u.commentSlashSlash?`//`:u.commentHash?`#`:`--`,closeBrackets:`()[]{}''""\`\``,config:i}});function hookIdentifier(e){for(var t;(t=e.next())!=null;)if(t=="`"&&!e.eat("`"))return`variable-2`;return e.backUp(e.current().length-1),e.eatWhile(/\w/)?`variable-2`:null}function hookIdentifierDoublequote(e){for(var t;(t=e.next())!=null;)if(t==`"`&&!e.eat(`"`))return`variable-2`;return e.backUp(e.current().length-1),e.eatWhile(/\w/)?`variable-2`:null}function hookVar(e){return e.eat(`@`)&&(e.match(`session.`),e.match(`local.`),e.match(`global.`)),e.eat(`'`)?(e.match(/^.*'/),`variable-2`):e.eat(`"`)?(e.match(/^.*"/),`variable-2`):e.eat("`")?(e.match(/^.*`/),`variable-2`):e.match(/^[0-9a-zA-Z$\.\_]+/)?`variable-2`:null}function hookClient(e){return e.eat(`N`)?`atom`:e.match(/^[a-zA-Z.#!?]/)?`variable-2`:null}var t=`alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit `;function set(e){for(var t={},n=e.split(` `),r=0;r<n.length;++r)t[n[r]]=!0;return t}var n=`bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric`;e.defineMIME(`text/x-sql`,{name:`sql`,keywords:set(t+`begin`),builtin:set(n),atoms:set(`false true null unknown`),dateSQL:set(`date time timestamp`),support:set(`doubleQuote binaryNumber hexNumber`)}),e.defineMIME(`text/x-mssql`,{name:`sql`,client:set(`$partition binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id`),keywords:set(t+`begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx updlock with`),builtin:set(`bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table `),atoms:set(`is not null like and or in left right between inner outer join all any some cross unpivot pivot exists`),operatorChars:/^[*+\-%<>!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:set(`date datetimeoffset datetime2 smalldatetime datetime time`),hooks:{"@":hookVar}}),e.defineMIME(`text/x-mysql`,{name:`sql`,client:set(`charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee`),keywords:set(t+`accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat`),builtin:set(`bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric`),atoms:set(`false true null unknown`),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set(`date time timestamp`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired`),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),e.defineMIME(`text/x-mariadb`,{name:`sql`,client:set(`charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee`),keywords:set(t+`accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat`),builtin:set(`bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric`),atoms:set(`false true null unknown`),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set(`date time timestamp`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired`),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),e.defineMIME(`text/x-sqlite`,{name:`sql`,client:set(`auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width`),keywords:set(t+`abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without`),builtin:set(`bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real`),atoms:set(`null current_date current_time current_timestamp`),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:set(`date time timestamp datetime`),support:set(`decimallessFloat zerolessFloat`),identifierQuote:`"`,hooks:{"@":hookVar,":":hookVar,"?":hookVar,$:hookVar,'"':hookIdentifierDoublequote,"`":hookIdentifier}}),e.defineMIME(`text/x-cassandra`,{name:`sql`,client:{},keywords:set(`add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime`),builtin:set(`ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint`),atoms:set(`false true infinity NaN`),operatorChars:/^[<>=]/,dateSQL:{},support:set(`commentSlashSlash decimallessFloat`),hooks:{}}),e.defineMIME(`text/x-plsql`,{name:`sql`,client:set(`appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap`),keywords:set(`abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work`),builtin:set(`abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml`),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:set(`date time timestamp`),support:set(`doubleQuote nCharCast zerolessFloat binaryNumber hexNumber`)}),e.defineMIME(`text/x-hive`,{name:`sql`,keywords:set(`select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year`),builtin:set(`bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar`),atoms:set(`false true null unknown`),operatorChars:/^[*+\-%<>!=]/,dateSQL:set(`date timestamp`),support:set(`doubleQuote binaryNumber hexNumber`)}),e.defineMIME(`text/x-pgsql`,{name:`sql`,client:set(`source`),keywords:set(t+`a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone`),builtin:set(`bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time zone timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml`),atoms:set(`false true null unknown`),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,identifierQuote:`"`,hooks:{'"':hookIdentifierDoublequote},dateSQL:set(`date time timestamp`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant`)}),e.defineMIME(`text/x-gql`,{name:`sql`,keywords:set(`ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where`),atoms:set(`false true`),builtin:set(`blob datetime first key __key__ string integer double boolean null`),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME(`text/x-gpsql`,{name:`sql`,client:set(`source`),keywords:set(`abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone`),builtin:set(`bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml`),atoms:set(`false true null unknown`),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set(`date time timestamp`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast`)}),e.defineMIME(`text/x-sparksql`,{name:`sql`,keywords:set(`add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with`),builtin:set(`abs acos acosh add_months aggregate and any approx_count_distinct approx_percentile array array_contains array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_repeat array_sort array_union arrays_overlap arrays_zip ascii asin asinh assert_true atan atan2 atanh avg base64 between bigint bin binary bit_and bit_count bit_get bit_length bit_or bit_xor bool_and bool_or boolean bround btrim cardinality case cast cbrt ceil ceiling char char_length character_length chr coalesce collect_list collect_set concat concat_ws conv corr cos cosh cot count count_if count_min_sketch covar_pop covar_samp crc32 cume_dist current_catalog current_database current_date current_timestamp current_timezone current_user date date_add date_format date_from_unix_date date_part date_sub date_trunc datediff day dayofmonth dayofweek dayofyear decimal decode degrees delimited dense_rank div double e element_at elt encode every exists exp explode explode_outer expm1 extract factorial filter find_in_set first first_value flatten float floor forall format_number format_string from_csv from_json from_unixtime from_utc_timestamp get_json_object getbit greatest grouping grouping_id hash hex hour hypot if ifnull in initcap inline inline_outer input_file_block_length input_file_block_start input_file_name inputformat instr int isnan isnotnull isnull java_method json_array_length json_object_keys json_tuple kurtosis lag last last_day last_value lcase lead least left length levenshtein like ln locate log log10 log1p log2 lower lpad ltrim make_date make_dt_interval make_interval make_timestamp make_ym_interval map map_concat map_entries map_filter map_from_arrays map_from_entries map_keys map_values map_zip_with max max_by md5 mean min min_by minute mod monotonically_increasing_id month months_between named_struct nanvl negative next_day not now nth_value ntile nullif nvl nvl2 octet_length or outputformat overlay parse_url percent_rank percentile percentile_approx pi pmod posexplode posexplode_outer position positive pow power printf quarter radians raise_error rand randn random rank rcfile reflect regexp regexp_extract regexp_extract_all regexp_like regexp_replace repeat replace reverse right rint rlike round row_number rpad rtrim schema_of_csv schema_of_json second sentences sequence sequencefile serde session_window sha sha1 sha2 shiftleft shiftright shiftrightunsigned shuffle sign signum sin sinh size skewness slice smallint some sort_array soundex space spark_partition_id split sqrt stack std stddev stddev_pop stddev_samp str_to_map string struct substr substring substring_index sum tan tanh textfile timestamp timestamp_micros timestamp_millis timestamp_seconds tinyint to_csv to_date to_json to_timestamp to_unix_timestamp to_utc_timestamp transform transform_keys transform_values translate trim trunc try_add try_divide typeof ucase unbase64 unhex uniontype unix_date unix_micros unix_millis unix_seconds unix_timestamp upper uuid var_pop var_samp variance version weekday weekofyear when width_bucket window xpath xpath_boolean xpath_double xpath_float xpath_int xpath_long xpath_number xpath_short xpath_string xxhash64 year zip_with`),atoms:set(`false true null`),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:set(`date time timestamp`),support:set(`doubleQuote zerolessFloat`)}),e.defineMIME(`text/x-esper`,{name:`sql`,client:set(`source`),keywords:set(`alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window`),builtin:{},atoms:set(`false true null`),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set(`time`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber`)}),e.defineMIME(`text/x-trino`,{name:`sql`,keywords:set(`abs absent acos add admin after all all_match alter analyze and any any_match approx_distinct approx_most_frequent approx_percentile approx_set arbitrary array_agg array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_sort array_union arrays_overlap as asc asin at at_timezone atan atan2 authorization avg bar bernoulli beta_cdf between bing_tile bing_tile_at bing_tile_coordinates bing_tile_polygon bing_tile_quadkey bing_tile_zoom_level bing_tiles_around bit_count bitwise_and bitwise_and_agg bitwise_left_shift bitwise_not bitwise_or bitwise_or_agg bitwise_right_shift bitwise_right_shift_arithmetic bitwise_xor bool_and bool_or both by call cardinality cascade case cast catalogs cbrt ceil ceiling char2hexint checksum chr classify coalesce codepoint column columns combinations comment commit committed concat concat_ws conditional constraint contains contains_sequence convex_hull_agg copartition corr cos cosh cosine_similarity count count_if covar_pop covar_samp crc32 create cross cube cume_dist current current_catalog current_date current_groups current_path current_role current_schema current_time current_timestamp current_timezone current_user data date_add date_diff date_format date_parse date_trunc day day_of_month day_of_week day_of_year deallocate default define definer degrees delete dense_rank deny desc describe descriptor distinct distributed dow doy drop e element_at else empty empty_approx_set encoding end error escape evaluate_classifier_predictions every except excluding execute exists exp explain extract false features fetch filter final first first_value flatten floor following for format format_datetime format_number from from_base from_base32 from_base64 from_base64url from_big_endian_32 from_big_endian_64 from_encoded_polyline from_geojson_geometry from_hex from_ieee754_32 from_ieee754_64 from_iso8601_date from_iso8601_timestamp from_iso8601_timestamp_nanos from_unixtime from_unixtime_nanos from_utf8 full functions geometric_mean geometry_from_hadoop_shape geometry_invalid_reason geometry_nearest_points geometry_to_bing_tiles geometry_union geometry_union_agg grant granted grants graphviz great_circle_distance greatest group grouping groups hamming_distance hash_counts having histogram hmac_md5 hmac_sha1 hmac_sha256 hmac_sha512 hour human_readable_seconds if ignore in including index infinity initial inner input insert intersect intersection_cardinality into inverse_beta_cdf inverse_normal_cdf invoker io is is_finite is_infinite is_json_scalar is_nan isolation jaccard_index join json_array json_array_contains json_array_get json_array_length json_exists json_extract json_extract_scalar json_format json_object json_parse json_query json_size json_value keep key keys kurtosis lag last last_day_of_month last_value lateral lead leading learn_classifier learn_libsvm_classifier learn_libsvm_regressor learn_regressor least left length level levenshtein_distance like limit line_interpolate_point line_interpolate_points line_locate_point listagg ln local localtime localtimestamp log log10 log2 logical lower lpad ltrim luhn_check make_set_digest map_agg map_concat map_entries map_filter map_from_entries map_keys map_union map_values map_zip_with match match_recognize matched matches materialized max max_by md5 measures merge merge_set_digest millisecond min min_by minute mod month multimap_agg multimap_from_entries murmur3 nan natural next nfc nfd nfkc nfkd ngrams no none none_match normal_cdf normalize not now nth_value ntile null nullif nulls numeric_histogram object objectid_timestamp of offset omit on one only option or order ordinality outer output over overflow parse_data_size parse_datetime parse_duration partition partitions passing past path pattern per percent_rank permute pi position pow power preceding prepare privileges properties prune qdigest_agg quarter quotes radians rand random range rank read recursive reduce reduce_agg refresh regexp_count regexp_extract regexp_extract_all regexp_like regexp_position regexp_replace regexp_split regr_intercept regr_slope regress rename render repeat repeatable replace reset respect restrict returning reverse revoke rgb right role roles rollback rollup round row_number rows rpad rtrim running scalar schema schemas second security seek select sequence serializable session set sets sha1 sha256 sha512 show shuffle sign simplify_geometry sin skewness skip slice some soundex spatial_partitioning spatial_partitions split split_part split_to_map split_to_multimap spooky_hash_v2_32 spooky_hash_v2_64 sqrt st_area st_asbinary st_astext st_boundary st_buffer st_centroid st_contains st_convexhull st_coorddim st_crosses st_difference st_dimension st_disjoint st_distance st_endpoint st_envelope st_envelopeaspts st_equals st_exteriorring st_geometries st_geometryfromtext st_geometryn st_geometrytype st_geomfrombinary st_interiorringn st_interiorrings st_intersection st_intersects st_isclosed st_isempty st_isring st_issimple st_isvalid st_length st_linefromtext st_linestring st_multipoint st_numgeometries st_numinteriorring st_numpoints st_overlaps st_point st_pointn st_points st_polygon st_relate st_startpoint st_symdifference st_touches st_union st_within st_x st_xmax st_xmin st_y st_ymax st_ymin start starts_with stats stddev stddev_pop stddev_samp string strpos subset substr substring sum system table tables tablesample tan tanh tdigest_agg text then ties timestamp_objectid timezone_hour timezone_minute to to_base to_base32 to_base64 to_base64url to_big_endian_32 to_big_endian_64 to_char to_date to_encoded_polyline to_geojson_geometry to_geometry to_hex to_ieee754_32 to_ieee754_64 to_iso8601 to_milliseconds to_spherical_geography to_timestamp to_unixtime to_utf8 trailing transaction transform transform_keys transform_values translate trim trim_array true truncate try try_cast type typeof uescape unbounded uncommitted unconditional union unique unknown unmatched unnest update upper url_decode url_encode url_extract_fragment url_extract_host url_extract_parameter url_extract_path url_extract_port url_extract_protocol url_extract_query use user using utf16 utf32 utf8 validate value value_at_quantile values values_at_quantiles var_pop var_samp variance verbose version view week week_of_year when where width_bucket wilson_interval_lower wilson_interval_upper window with with_timezone within without word_stem work wrapper write xxhash64 year year_of_week yow zip zip_with`),builtin:set(`array bigint bingtile boolean char codepoints color date decimal double function geometry hyperloglog int integer interval ipaddress joniregexp json json2016 jsonpath kdbtree likepattern map model objectid p4hyperloglog precision qdigest re2jregexp real regressor row setdigest smallint sphericalgeography tdigest time timestamp tinyint uuid varbinary varchar zone`),atoms:set(`false true null unknown`),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:set(`date time timestamp zone`),support:set(`decimallessFloat zerolessFloat hexNumber`)})})})),C=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";e.defineMode(`yaml`,function(){var e=RegExp(`\\b((`+[`true`,`false`,`on`,`off`,`yes`,`no`].join(`)|(`)+`))$`,`i`);return{token:function(t,n){var r=t.peek(),i=n.escaped;if(n.escaped=!1,r==`#`&&(t.pos==0||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),`comment`;if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return`string`;if(n.literal&&t.indentation()>n.keyCol)return t.skipToEnd(),`string`;if(n.literal&&=!1,t.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,t.match(`---`)||t.match(`...`))return`def`;if(t.match(/\s*-\s+/))return`meta`}if(t.match(/^(\{|\}|\[|\])/))return r==`{`?n.inlinePairs++:r==`}`?n.inlinePairs--:r==`[`?n.inlineList++:n.inlineList--,`meta`;if(n.inlineList>0&&!i&&r==`,`)return t.next(),`meta`;if(n.inlinePairs>0&&!i&&r==`,`)return n.keyCol=0,n.pair=!1,n.pairStart=!1,t.next(),`meta`;if(n.pairStart){if(t.match(/^\s*(\||\>)\s*/))return n.literal=!0,`meta`;if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return`variable-2`;if(n.inlinePairs==0&&t.match(/^\s*-?[0-9\.\,]+\s?$/)||n.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return`number`;if(t.match(e))return`keyword`}return!n.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^\s,\[\]{}#&*!|>'"%@`])[^#:]*(?=:($|\s))/)?(n.pair=!0,n.keyCol=t.indentation(),`atom`):n.pair&&t.match(/^:\s*/)?(n.pairStart=!0,`meta`):(n.pairStart=!1,n.escaped=r==`\\`,t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:`#`,fold:`indent`}}),e.defineMIME(`text/x-yaml`,`yaml`),e.defineMIME(`text/yaml`,`yaml`)})}));f(),m(),h(),y(),b(),x(),S(),C();var w=__toESM(d(),1);w.default.defineMode(`dot`,function(e){let t=/--|->|=|;/,n=/[\[\]{}]/;return{startState(){return{indent_level:0}},token(e,r){switch(e.eatSpace(),r.looking_for){case`multiline-comment`:return e.match(/.*\*\//)?r.looking_for=null:e.skipToEnd(),`comment`;case`property`:return e.match(`=`)?`variable-3`:(e.match(/\w+/),r.looking_for=null,`string-2`);case`graphname`:if(r.looking_for=null,e.match(/{\W*$/))return r.indent_level+=1,`bracket`;if(e.match(`{`))return`bracket`;if(e.match(/[^\W]+/))return`variable-2`;default:return e.match(/{\W*$/)?(r.indent_level+=1,`bracket`):e.match(/}\W*$/)?(--r.indent_level,`bracket`):e.match(n)?`bracket`:e.match(/".*"/)?`string`:e.match(/\w+=[\"\w]+/,!1)?(r.looking_for=`property`,e.match(/[^=]+/),`attribute`):e.match(t)?`variable-3`:e.match(/(di)?graph[^{\w]+/)?(r.looking_for=`graphname`,`keyword`):e.match(/\/\/|#/)?(e.skipToEnd(),`comment`):e.match(/\/\*.*\*\//)?`comment`:e.match(`/*`)?(r.looking_for=`multiline-comment`,`comment`):(e.match(/\w+/)||e.skipToEnd(),`variable`)}},indent(t,n){return t.indent_level*(e.indentUnit||2)},closeBrackets:{pairs:`[]{}""`},lineComment:/(\/\/|#)/,blockCommentStart:`/*`,blockCommentEnd:`*/`}}),w.default.defineMIME(`text/x-dot`,`dot`),w.default.defineMode(`markdown`,function(e,t){var n=w.default.getMode(e,`text/html`),r=n.name==`null`;t.defaultMode===void 0&&(t.defaultMode=``);function getMode(n){if(n=n===``?t.defaultMode:n,w.default.findModeByName){var r=w.default.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=w.default.getMode(e,n);return i.name==`null`?null:i}t.highlightFormatting===void 0&&(t.highlightFormatting=!1),t.maxBlockquoteDepth===void 0&&(t.maxBlockquoteDepth=0),t.taskLists===void 0&&(t.taskLists=!1),t.strikethrough===void 0&&(t.strikethrough=!1),t.emoji===void 0&&(t.emoji=!1),t.fencedCodeBlockHighlighting===void 0&&(t.fencedCodeBlockHighlighting=!0),t.xml===void 0&&(t.xml=!0),t.tokenTypeOverrides===void 0&&(t.tokenTypeOverrides={});var i={header:`header`,code:`comment`,quote:`quote`,list1:`variable-2`,list2:`variable-3`,list3:`keyword`,hr:`hr`,image:`image`,imageAltText:`image-alt-text`,imageMarker:`image-marker`,formatting:`formatting`,linkInline:`link`,linkEmail:`link`,linkText:`link`,linkHref:`string`,em:`em`,strong:`strong`,strikethrough:`strikethrough`,emoji:`builtin`};for(var a in i)i.hasOwnProperty(a)&&t.tokenTypeOverrides[a]&&(i[a]=t.tokenTypeOverrides[a]);var o=/^([*\-_])(?:\s*\1){2,}\s*$/,s=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,c=/^\[(x| )\](?=\s)/i,l=t.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,u=/^ *(?:\={1,}|-{1,})\s*$/,d=/^[^#!\[\]*_\\<>` "'(~:]+/,f=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,m=/^\s*\[[^\]]+?\]:.*$/,h=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,g=` `;function switchInline(e,t,n){return t.f=t.inline=n,n(e,t)}function switchBlock(e,t,n){return t.f=t.block=n,n(e,t)}function lineIsEmpty(e){return!e||!/\S/.test(e.string)}function blankLine(e){if(e.linkTitle=!1,e.linkHref=!1,e.linkText=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,e.indentedCode=!1,e.f==htmlBlock){var t=r;if(!t){var i=w.default.innerMode(n,e.htmlState);t=i.mode.name==`xml`&&i.state.tagStart===null&&!i.state.context&&i.state.tokenize.isInText}t&&(e.f=inlineNormal,e.block=blockNormal,e.htmlState=null)}return e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.prevLine=e.thisLine,e.thisLine={stream:null},null}function blockNormal(e,n){var r=e.column()===n.indentation,a=lineIsEmpty(n.prevLine.stream),d=n.indentedCode,h=n.prevLine.hr,g=n.list!==!1,_=(n.listStack[n.listStack.length-1]||0)+3;n.indentedCode=!1;var v=n.indentation;if(n.indentationDiff===null&&(n.indentationDiff=n.indentation,g)){for(n.list=null;v<n.listStack[n.listStack.length-1];)n.listStack.pop(),n.listStack.length?n.indentation=n.listStack[n.listStack.length-1]:n.list=!1;n.list!==!1&&(n.indentationDiff=v-n.listStack[n.listStack.length-1])}var y=!a&&!h&&!n.prevLine.header&&(!g||!d)&&!n.prevLine.fencedCodeEnd,b=(n.list===!1||h||a)&&n.indentation<=_&&e.match(o),x=null;if(n.indentationDiff>=4&&(d||n.prevLine.fencedCodeEnd||n.prevLine.header||a))return e.skipToEnd(),n.indentedCode=!0,i.code;if(e.eatSpace())return null;if(r&&n.indentation<=_&&(x=e.match(l))&&x[1].length<=6)return n.quote=0,n.header=x[1].length,n.thisLine.header=!0,t.highlightFormatting&&(n.formatting=`header`),n.f=n.inline,getType(n);if(n.indentation<=_&&e.eat(`>`))return n.quote=r?1:n.quote+1,t.highlightFormatting&&(n.formatting=`quote`),e.eatSpace(),getType(n);if(!b&&!n.setext&&r&&n.indentation<=_&&(x=e.match(s))){var S=x[1]?`ol`:`ul`;return n.indentation=v+e.current().length,n.list=!0,n.quote=0,n.listStack.push(n.indentation),n.em=!1,n.strong=!1,n.code=!1,n.strikethrough=!1,t.taskLists&&e.match(c,!1)&&(n.taskList=!0),n.f=n.inline,t.highlightFormatting&&(n.formatting=[`list`,`list-`+S]),getType(n)}else if(r&&n.indentation<=_&&(x=e.match(f,!0)))return n.quote=0,n.fencedEndRE=RegExp(x[1]+`+ *$`),n.localMode=t.fencedCodeBlockHighlighting&&getMode(x[2]),n.localMode&&(n.localState=w.default.startState(n.localMode)),n.f=n.block=local,t.highlightFormatting&&(n.formatting=`code-block`),n.code=-1,getType(n);else if(n.setext||(!y||!g)&&!n.quote&&n.list===!1&&!n.code&&!b&&!m.test(e.string)&&(x=e.lookAhead(1))&&(x=x.match(u)))return n.setext?(n.header=n.setext,n.setext=0,e.skipToEnd(),t.highlightFormatting&&(n.formatting=`header`)):(n.header=x[0].charAt(0)==`=`?1:2,n.setext=n.header),n.thisLine.header=!0,n.f=n.inline,getType(n);else if(b)return e.skipToEnd(),n.hr=!0,n.thisLine.hr=!0,i.hr;else if(e.peek()===`[`)return switchInline(e,n,footnoteLink);return switchInline(e,n,n.inline)}function htmlBlock(e,t){var i=n.token(e,t.htmlState);if(!r){var a=w.default.innerMode(n,t.htmlState);(a.mode.name==`xml`&&a.state.tagStart===null&&!a.state.context&&a.state.tokenize.isInText||t.md_inside&&e.current().indexOf(`>`)>-1)&&(t.f=inlineNormal,t.block=blockNormal,t.htmlState=null)}return i}function local(e,n){var r=n.listStack[n.listStack.length-1]||0,a=n.indentation<r,o=r+3;if(n.fencedEndRE&&n.indentation<=o&&(a||e.match(n.fencedEndRE))){t.highlightFormatting&&(n.formatting=`code-block`);var s;return a||(s=getType(n)),n.localMode=n.localState=null,n.block=blockNormal,n.f=inlineNormal,n.fencedEndRE=null,n.code=0,n.thisLine.fencedCodeEnd=!0,a?switchBlock(e,n,n.block):s}else if(n.localMode)return n.localMode.token(e,n.localState);else return e.skipToEnd(),i.code}function getType(e){var n=[];if(e.formatting){n.push(i.formatting),typeof e.formatting==`string`&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)n.push(i.formatting+`-`+e.formatting[r]),e.formatting[r]===`header`&&n.push(i.formatting+`-`+e.formatting[r]+`-`+e.header),e.formatting[r]===`quote`&&(!t.maxBlockquoteDepth||t.maxBlockquoteDepth>=e.quote?n.push(i.formatting+`-`+e.formatting[r]+`-`+e.quote):n.push(`error`))}if(e.taskOpen)return n.push(`meta`),n.length?n.join(` `):null;if(e.taskClosed)return n.push(`property`),n.length?n.join(` `):null;if(e.linkHref?n.push(i.linkHref,`url`):(e.strong&&n.push(i.strong),e.em&&n.push(i.em),e.strikethrough&&n.push(i.strikethrough),e.emoji&&n.push(i.emoji),e.linkText&&n.push(i.linkText),e.code&&n.push(i.code),e.image&&n.push(i.image),e.imageAltText&&n.push(i.imageAltText,`link`),e.imageMarker&&n.push(i.imageMarker)),e.header&&n.push(i.header,i.header+`-`+e.header),e.quote&&(n.push(i.quote),!t.maxBlockquoteDepth||t.maxBlockquoteDepth>=e.quote?n.push(i.quote+`-`+e.quote):n.push(i.quote+`-`+t.maxBlockquoteDepth)),e.list!==!1){var a=(e.listStack.length-1)%3;a?a===1?n.push(i.list2):n.push(i.list3):n.push(i.list1)}return e.trailingSpaceNewLine?n.push(`trailing-space-new-line`):e.trailingSpace&&n.push(`trailing-space-`+(e.trailingSpace%2?`a`:`b`)),n.length?n.join(` `):null}function handleText(e,t){if(e.match(d,!0))return getType(t)}function inlineNormal(e,r){var a=r.text(e,r);if(a!==void 0)return a;if(r.list)return r.list=null,getType(r);if(r.taskList)return e.match(c,!0)[1]===` `?r.taskOpen=!0:r.taskClosed=!0,t.highlightFormatting&&(r.formatting=`task`),r.taskList=!1,getType(r);if(r.taskOpen=!1,r.taskClosed=!1,r.header&&e.match(/^#+$/,!0))return t.highlightFormatting&&(r.formatting=`header`),getType(r);var o=e.next();if(r.linkTitle){r.linkTitle=!1;var s=o;o===`(`&&(s=`)`),s=(s+``).replace(/([.?*+^\[\]\\(){}|-])/g,`\\$1`);var l=`^\\s*(?:[^`+s+`\\\\]+|\\\\\\\\|\\\\.)`+s;if(e.match(new RegExp(l),!0))return i.linkHref}if(o==="`"){var u=r.formatting;t.highlightFormatting&&(r.formatting=`code`),e.eatWhile("`");var d=e.current().length;if(r.code==0&&(!r.quote||d==1))return r.code=d,getType(r);if(d==r.code){var f=getType(r);return r.code=0,f}else return r.formatting=u,getType(r)}else if(r.code)return getType(r);if(o===`\\`&&(e.next(),t.highlightFormatting)){var m=getType(r),g=i.formatting+`-escape`;return m?m+` `+g:g}if(o===`!`&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,t.highlightFormatting&&(r.formatting=`image`),getType(r);if(o===`[`&&r.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,t.highlightFormatting&&(r.formatting=`image`),getType(r);if(o===`]`&&r.imageAltText){t.highlightFormatting&&(r.formatting=`image`);var m=getType(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=linkHref,m}if(o===`[`&&!r.image)return r.linkText&&e.match(/^.*?\]/)?getType(r):(r.linkText=!0,t.highlightFormatting&&(r.formatting=`link`),getType(r));if(o===`]`&&r.linkText){t.highlightFormatting&&(r.formatting=`link`);var m=getType(r);return r.linkText=!1,r.inline=r.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,m}if(o===`<`&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=linkInline,t.highlightFormatting&&(r.formatting=`link`);var m=getType(r);return m?m+=` `:m=``,m+i.linkInline}if(o===`<`&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=linkInline,t.highlightFormatting&&(r.formatting=`link`);var m=getType(r);return m?m+=` `:m=``,m+i.linkEmail}if(t.xml&&o===`<`&&e.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var _=e.string.indexOf(`>`,e.pos);if(_!=-1){var v=e.string.substring(e.start,_);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(v)&&(r.md_inside=!0)}return e.backUp(1),r.htmlState=w.default.startState(n),switchBlock(e,r,htmlBlock)}if(t.xml&&o===`<`&&e.match(/^\/\w*?>/))return r.md_inside=!1,`tag`;if(o===`*`||o===`_`){for(var y=1,b=e.pos==1?` `:e.string.charAt(e.pos-2);y<3&&e.eat(o);)y++;var x=e.peek()||` `,S=!/\s/.test(x)&&(!h.test(x)||/\s/.test(b)||h.test(b)),C=!/\s/.test(b)&&(!h.test(b)||/\s/.test(x)||h.test(x)),T=null,E=null;if(y%2&&(!r.em&&S&&(o===`*`||!C||h.test(b))?T=!0:r.em==o&&C&&(o===`*`||!S||h.test(x))&&(T=!1)),y>1&&(!r.strong&&S&&(o===`*`||!C||h.test(b))?E=!0:r.strong==o&&C&&(o===`*`||!S||h.test(x))&&(E=!1)),E!=null||T!=null){t.highlightFormatting&&(r.formatting=T==null?`strong`:E==null?`em`:`strong em`),T===!0&&(r.em=o),E===!0&&(r.strong=o);var f=getType(r);return T===!1&&(r.em=!1),E===!1&&(r.strong=!1),f}}else if(o===` `&&(e.eat(`*`)||e.eat(`_`))){if(e.peek()===` `)return getType(r);e.backUp(1)}if(t.strikethrough){if(o===`~`&&e.eatWhile(o)){if(r.strikethrough){t.highlightFormatting&&(r.formatting=`strikethrough`);var f=getType(r);return r.strikethrough=!1,f}else if(e.match(/^[^\s]/,!1))return r.strikethrough=!0,t.highlightFormatting&&(r.formatting=`strikethrough`),getType(r)}else if(o===` `&&e.match(/^~~/,!0)){if(e.peek()===` `)return getType(r);e.backUp(2)}}if(t.emoji&&o===`:`&&e.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){r.emoji=!0,t.highlightFormatting&&(r.formatting=`emoji`);var D=getType(r);return r.emoji=!1,D}return o===` `&&(e.match(/^ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),getType(r)}function linkInline(e,n){if(e.next()===`>`){n.f=n.inline=inlineNormal,t.highlightFormatting&&(n.formatting=`link`);var r=getType(n);return r?r+=` `:r=``,r+i.linkInline}return e.match(/^[^>]+/,!0),i.linkInline}function linkHref(e,n){if(e.eatSpace())return null;var r=e.next();return r===`(`||r===`[`?(n.f=n.inline=getLinkHrefInside(r===`(`?`)`:`]`),t.highlightFormatting&&(n.formatting=`link-string`),n.linkHref=!0,getType(n)):`error`}var _={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function getLinkHrefInside(e){return function(n,r){if(n.next()===e){r.f=r.inline=inlineNormal,t.highlightFormatting&&(r.formatting=`link-string`);var i=getType(r);return r.linkHref=!1,i}return n.match(_[e]),r.linkHref=!0,getType(r)}}function footnoteLink(e,n){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(n.f=footnoteLinkInside,e.next(),t.highlightFormatting&&(n.formatting=`link`),n.linkText=!0,getType(n)):switchInline(e,n,inlineNormal)}function footnoteLinkInside(e,n){if(e.match(/^\]:/,!0)){n.f=n.inline=footnoteUrl,t.highlightFormatting&&(n.formatting=`link`);var r=getType(n);return n.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),i.linkText}function footnoteUrl(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),e.peek()===void 0?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=inlineNormal,i.linkHref+` url`)}var v={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&w.default.copyState(n,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?w.default.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,linkHref:e.linkHref,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,emoji:e.emoji,header:e.header,setext:e.setext,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedEndRE:e.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return blankLine(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=htmlBlock)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,g).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==htmlBlock?{state:e.htmlState,mode:n}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:v}},indent:function(e,t,r){return e.block==htmlBlock&&n.indent?n.indent(e.htmlState,t,r):e.localState&&e.localMode.indent?e.localMode.indent(e.localState,t,r):w.default.Pass},blankLine,getType,blockCommentStart:`<!--`,blockCommentEnd:`-->`,closeBrackets:`()[]{}''""\`\``,fold:`markdown`};return v},`xml`),w.default.defineMIME(`text/markdown`,`markdown`),w.default.defineMIME(`text/x-markdown`,`markdown`);var T=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";function bracketFolding(t){return function(n,r){var i=r.line,a=n.getLine(i);function findOpening(t){for(var o,s=r.ch,c=0;;){var l=s<=0?-1:a.lastIndexOf(t[0],s-1);if(l==-1){if(c==1)break;c=1,s=a.length;continue}if(c==1&&l<r.ch)break;if(o=n.getTokenTypeAt(e.Pos(i,l+1)),!/^(comment|string)/.test(o))return{ch:l+1,tokenType:o,pair:t};s=l-1}}function findRange(t){var r=1,a=n.lastLine(),o,s=t.ch,c;outer:for(var l=i;l<=a;++l)for(var u=n.getLine(l),d=l==i?s:0;;){var f=u.indexOf(t.pair[0],d),m=u.indexOf(t.pair[1],d);if(f<0&&(f=u.length),m<0&&(m=u.length),d=Math.min(f,m),d==u.length)break;if(n.getTokenTypeAt(e.Pos(l,d+1))==t.tokenType){if(d==f)++r;else if(!--r){o=l,c=d;break outer}}++d}return o==null||i==o?null:{from:e.Pos(i,s),to:e.Pos(o,c)}}for(var o=[],s=0;s<t.length;s++){var c=findOpening(t[s]);c&&o.push(c)}o.sort(function(e,t){return e.ch-t.ch});for(var s=0;s<o.length;s++){var l=findRange(o[s]);if(l)return l}return null}}e.registerHelper(`fold`,`brace`,bracketFolding([[`{`,`}`],[`[`,`]`]])),e.registerHelper(`fold`,`brace-paren`,bracketFolding([[`{`,`}`],[`[`,`]`],[`(`,`)`]])),e.registerHelper(`fold`,`import`,function(t,n){function hasImport(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),r.type!=`keyword`||r.string!=`import`)return null;for(var i=n,a=Math.min(t.lastLine(),n+10);i<=a;++i){var o=t.getLine(i).indexOf(`;`);if(o!=-1)return{startCh:r.end,end:e.Pos(i,o)}}}var r=n.line,i=hasImport(r),a;if(!i||hasImport(r-1)||(a=hasImport(r-2))&&a.end.line==r-1)return null;for(var o=i.end;;){var s=hasImport(o.line+1);if(s==null)break;o=s.end}return{from:t.clipPos(e.Pos(r,i.startCh+1)),to:o}}),e.registerHelper(`fold`,`include`,function(t,n){function hasInclude(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),r.type==`meta`&&r.string.slice(0,8)==`#include`)return r.start+8}var r=n.line,i=hasInclude(r);if(i==null||hasInclude(r-1)!=null)return null;for(var a=r;hasInclude(a+1)!=null;)++a;return{from:e.Pos(r,i+1),to:t.clipPos(e.Pos(a))}})})})),E=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";e.registerGlobalHelper(`fold`,`comment`,function(e){return e.blockCommentStart&&e.blockCommentEnd},function(t,n){var r=t.getModeAt(n),i=r.blockCommentStart,a=r.blockCommentEnd;if(!(!i||!a)){for(var o=n.line,s=t.getLine(o),c,l=n.ch,u=0;;){var d=l<=0?-1:s.lastIndexOf(i,l-1);if(d==-1){if(u==1)return;u=1,l=s.length;continue}if(u==1&&d<n.ch)return;if(/comment/.test(t.getTokenTypeAt(e.Pos(o,d+1)))&&(d==0||s.slice(d-a.length,d)==a||!/comment/.test(t.getTokenTypeAt(e.Pos(o,d))))){c=d+i.length;break}l=d-1}var f=1,m=t.lastLine(),h,g;outer:for(var _=o;_<=m;++_)for(var v=t.getLine(_),y=_==o?c:0;;){var b=v.indexOf(i,y),x=v.indexOf(a,y);if(b<0&&(b=v.length),x<0&&(x=v.length),y=Math.min(b,x),y==v.length)break;if(y==b)++f;else if(!--f){h=_,g=y;break outer}++y}if(!(h==null||o==h&&g==c))return{from:e.Pos(o,c),to:e.Pos(h,g)}}})})})),D=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";function doFold(t,n,r,i){if(r&&r.call){var a=r;r=null}else var a=getOption(t,r,`rangeFinder`);typeof n==`number`&&(n=e.Pos(n,0));var o=getOption(t,r,`minFoldSize`);function getRange(e){var r=a(t,n);if(!r||r.to.line-r.from.line<o)return null;if(i===`fold`)return r;for(var s=t.findMarksAt(r.from),c=0;c<s.length;++c)if(s[c].__isFold){if(!e)return null;r.cleared=!0,s[c].clear()}return r}var s=getRange(!0);if(getOption(t,r,`scanUp`))for(;!s&&n.line>t.firstLine();)n=e.Pos(n.line-1,0),s=getRange(!1);if(!(!s||s.cleared||i===`unfold`)){var c=makeWidget(t,r,s);e.on(c,`mousedown`,function(t){l.clear(),e.e_preventDefault(t)});var l=t.markText(s.from,s.to,{replacedWith:c,clearOnEnter:getOption(t,r,`clearOnEnter`),__isFold:!0});l.on(`clear`,function(n,r){e.signal(t,`unfold`,t,n,r)}),e.signal(t,`fold`,t,s.from,s.to)}}function makeWidget(e,t,n){var r=getOption(e,t,`widget`);if(typeof r==`function`&&(r=r(n.from,n.to)),typeof r==`string`){var i=document.createTextNode(r);r=document.createElement(`span`),r.appendChild(i),r.className=`CodeMirror-foldmarker`}else r&&=r.cloneNode(!0);return r}e.newFoldFunction=function(e,t){return function(n,r){doFold(n,r,{rangeFinder:e,widget:t})}},e.defineExtension(`foldCode`,function(e,t,n){doFold(this,e,t,n)}),e.defineExtension(`isFolded`,function(e){for(var t=this.findMarksAt(e),n=0;n<t.length;++n)if(t[n].__isFold)return!0}),e.commands.toggleFold=function(e){e.foldCode(e.getCursor())},e.commands.fold=function(e){e.foldCode(e.getCursor(),null,`fold`)},e.commands.unfold=function(e){e.foldCode(e.getCursor(),{scanUp:!1},`unfold`)},e.commands.foldAll=function(t){t.operation(function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),{scanUp:!1},`fold`)})},e.commands.unfoldAll=function(t){t.operation(function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),{scanUp:!1},`unfold`)})},e.registerHelper(`fold`,`combine`,function(){var e=Array.prototype.slice.call(arguments,0);return function(t,n){for(var r=0;r<e.length;++r){var i=e[r](t,n);if(i)return i}}}),e.registerHelper(`fold`,`auto`,function(e,t){for(var n=e.getHelpers(t,`fold`),r=0;r<n.length;r++){var i=n[r](e,t);if(i)return i}});var t={rangeFinder:e.fold.auto,widget:`↔`,minFoldSize:0,scanUp:!1,clearOnEnter:!0};e.defineOption(`foldOptions`,null);function getOption(e,n,r){if(n&&n[r]!==void 0)return n[r];var i=e.options.foldOptions;return i&&i[r]!==void 0?i[r]:t[r]}e.defineExtension(`foldOption`,function(e,t){return getOption(this,e,t)})})})),O=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),D()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`,`./foldcode`],n):n(CodeMirror)})(function(e){"use strict";e.defineOption(`foldGutter`,!1,function(t,n,r){r&&r!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off(`gutterClick`,onGutterClick),t.off(`changes`,onChange),t.off(`viewportChange`,onViewportChange),t.off(`fold`,onFold),t.off(`unfold`,onFold),t.off(`swapDoc`,onChange),t.off(`optionChange`,optionChange)),n&&(t.state.foldGutter=new State(parseOptions(n)),updateInViewport(t),t.on(`gutterClick`,onGutterClick),t.on(`changes`,onChange),t.on(`viewportChange`,onViewportChange),t.on(`fold`,onFold),t.on(`unfold`,onFold),t.on(`swapDoc`,onChange),t.on(`optionChange`,optionChange))});var t=e.Pos;function State(e){this.options=e,this.from=this.to=0}function parseOptions(e){return e===!0&&(e={}),e.gutter??=`CodeMirror-foldgutter`,e.indicatorOpen??=`CodeMirror-foldgutter-open`,e.indicatorFolded??=`CodeMirror-foldgutter-folded`,e}function isFolded(e,n){for(var r=e.findMarks(t(n,0),t(n+1,0)),i=0;i<r.length;++i)if(r[i].__isFold){var a=r[i].find(-1);if(a&&a.line===n)return r[i]}}function marker(e){if(typeof e==`string`){var t=document.createElement(`div`);return t.className=e+` CodeMirror-guttermarker-subtle`,t}else return e.cloneNode(!0)}function updateFoldInfo(e,n,r){var i=e.state.foldGutter.options,a=n-1,o=e.foldOption(i,`minFoldSize`),s=e.foldOption(i,`rangeFinder`),c=typeof i.indicatorFolded==`string`&&classTest(i.indicatorFolded),l=typeof i.indicatorOpen==`string`&&classTest(i.indicatorOpen);e.eachLine(n,r,function(n){++a;var r=null,u=n.gutterMarkers;if(u&&=u[i.gutter],isFolded(e,a)){if(c&&u&&c.test(u.className))return;r=marker(i.indicatorFolded)}else{var d=t(a,0),f=s&&s(e,d);if(f&&f.to.line-f.from.line>=o){if(l&&u&&l.test(u.className))return;r=marker(i.indicatorOpen)}}!r&&!u||e.setGutterMarker(n,i.gutter,r)})}function classTest(e){return RegExp(`(^|\\s)`+e+`(?:$|\\s)\\s*`)}function updateInViewport(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation(function(){updateFoldInfo(e,t.from,t.to)}),n.from=t.from,n.to=t.to)}function onGutterClick(e,n,r){var i=e.state.foldGutter;if(i){var a=i.options;if(r==a.gutter){var o=isFolded(e,n);o?o.clear():e.foldCode(t(n,0),a)}}}function optionChange(e,t){t==`mode`&&onChange(e)}function onChange(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){updateInViewport(e)},n.foldOnChangeTimeSpan||600)}}function onViewportChange(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?updateInViewport(e):e.operation(function(){n.from<t.from&&(updateFoldInfo(e,n.from,t.from),t.from=n.from),n.to>t.to&&(updateFoldInfo(e,t.to,n.to),t.to=n.to)})},n.updateViewportTimeSpan||400)}}function onFold(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&r<n.to&&updateFoldInfo(e,r,r+1)}}})})),k=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";function lineIndent(t,n){var r=t.getLine(n),i=r.search(/\S/);return i==-1||/\bcomment\b/.test(t.getTokenTypeAt(e.Pos(n,i+1)))?-1:e.countColumn(r,null,t.getOption(`tabSize`))}e.registerHelper(`fold`,`indent`,function(t,n){var r=lineIndent(t,n.line);if(!(r<0)){for(var i=null,a=n.line+1,o=t.lastLine();a<=o;++a){var s=lineIndent(t,a);if(s!=-1)if(s>r)i=a;else break}if(i)return{from:e.Pos(n.line,t.getLine(n.line).length),to:e.Pos(i,t.getLine(i).length)}}})})})),A=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";var t=e.Pos;function cmp(e,t){return e.line-t.line||e.ch-t.ch}var n=`A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD`,r=n+`-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040`,i=RegExp(`<(/?)([`+n+`][`+r+`]*)`,`g`);function Iter(e,t,n,r){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=r?Math.max(r.from,e.firstLine()):e.firstLine(),this.max=r?Math.min(r.to-1,e.lastLine()):e.lastLine()}function tagAt(e,n){var r=e.cm.getTokenTypeAt(t(e.line,n));return r&&/\btag\b/.test(r)}function nextLine(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function prevLine(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function toTagEnd(e){for(;;){var t=e.text.indexOf(`>`,e.ch);if(t==-1){if(nextLine(e))continue;return}if(!tagAt(e,t+1)){e.ch=t+1;continue}var n=e.text.lastIndexOf(`/`,t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?`selfClose`:`regular`}}function toTagStart(e){for(;;){var t=e.ch?e.text.lastIndexOf(`<`,e.ch-1):-1;if(t==-1){if(prevLine(e))continue;return}if(!tagAt(e,t+1)){e.ch=t;continue}i.lastIndex=t,e.ch=t;var n=i.exec(e.text);if(n&&n.index==t)return n}}function toNextTag(e){for(;;){i.lastIndex=e.ch;var t=i.exec(e.text);if(!t){if(nextLine(e))continue;return}if(!tagAt(e,t.index+1)){e.ch=t.index+1;continue}return e.ch=t.index+t[0].length,t}}function toPrevTag(e){for(;;){var t=e.ch?e.text.lastIndexOf(`>`,e.ch-1):-1;if(t==-1){if(prevLine(e))continue;return}if(!tagAt(e,t+1)){e.ch=t;continue}var n=e.text.lastIndexOf(`/`,t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?`selfClose`:`regular`}}function findMatchingClose(e,n){for(var r=[];;){var i=toNextTag(e),a,o=e.line,s=e.ch-(i?i[0].length:0);if(!i||!(a=toTagEnd(e)))return;if(a!=`selfClose`)if(i[1]){for(var c=r.length-1;c>=0;--c)if(r[c]==i[2]){r.length=c;break}if(c<0&&(!n||n==i[2]))return{tag:i[2],from:t(o,s),to:t(e.line,e.ch)}}else r.push(i[2])}}function findMatchingOpen(e,n){for(var r=[];;){var i=toPrevTag(e);if(!i)return;if(i==`selfClose`){toTagStart(e);continue}var a=e.line,o=e.ch,s=toTagStart(e);if(!s)return;if(s[1])r.push(s[2]);else{for(var c=r.length-1;c>=0;--c)if(r[c]==s[2]){r.length=c;break}if(c<0&&(!n||n==s[2]))return{tag:s[2],from:t(e.line,e.ch),to:t(a,o)}}}}e.registerHelper(`fold`,`xml`,function(e,n){for(var r=new Iter(e,n.line,0);;){var i=toNextTag(r);if(!i||r.line!=n.line)return;var a=toTagEnd(r);if(!a)return;if(!i[1]&&a!=`selfClose`){var o=t(r.line,r.ch),s=findMatchingClose(r,i[2]);return s&&cmp(s.from,o)>0?{from:o,to:s.from}:null}}}),e.findMatchingTag=function(e,n,r){var i=new Iter(e,n.line,n.ch,r);if(!(i.text.indexOf(`>`)==-1&&i.text.indexOf(`<`)==-1)){var a=toTagEnd(i),o=a&&t(i.line,i.ch),s=a&&toTagStart(i);if(!(!a||!s||cmp(i,n)>0)){var c={from:t(i.line,i.ch),to:o,tag:s[2]};return a==`selfClose`?{open:c,close:null,at:`open`}:s[1]?{open:findMatchingOpen(i,s[2]),close:c,at:`close`}:(i=new Iter(e,o.line,o.ch,r),{open:c,close:findMatchingClose(i,s[2]),at:`open`})}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new Iter(e,t.line,t.ch,n);;){var a=findMatchingOpen(i,r);if(!a)break;var o=findMatchingClose(new Iter(e,t.line,t.ch,n),a.tag);if(o)return{open:a,close:o}}},e.scanForClosingTag=function(e,t,n,r){return findMatchingClose(new Iter(e,t.line,t.ch,r?{from:0,to:r}:null),n)}})}));T(),E(),D(),O(),k(),A();var j=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){function dialogDiv(t,n,r){var i=t.getWrapperElement(),a=i.appendChild(document.createElement(`div`));return r?a.className=`CodeMirror-dialog CodeMirror-dialog-bottom`:a.className=`CodeMirror-dialog CodeMirror-dialog-top`,typeof n==`string`?a.innerHTML=n:a.appendChild(n),e.addClass(i,`dialog-opened`),a}function closeNotification(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension(`openDialog`,function(t,n,r){r||={},closeNotification(this,null);var i=dialogDiv(this,t,r.bottom),a=!1,o=this;function close(t){if(typeof t==`string`)s.value=t;else{if(a)return;a=!0,e.rmClass(i.parentNode,`dialog-opened`),i.parentNode.removeChild(i),o.focus(),r.onClose&&r.onClose(i)}}var s=i.getElementsByTagName(`input`)[0],c;return s?(s.focus(),r.value&&(s.value=r.value,r.selectValueOnOpen!==!1&&s.select()),r.onInput&&e.on(s,`input`,function(e){r.onInput(e,s.value,close)}),r.onKeyUp&&e.on(s,`keyup`,function(e){r.onKeyUp(e,s.value,close)}),e.on(s,`keydown`,function(t){r&&r.onKeyDown&&r.onKeyDown(t,s.value,close)||((t.keyCode==27||r.closeOnEnter!==!1&&t.keyCode==13)&&(s.blur(),e.e_stop(t),close()),t.keyCode==13&&n(s.value,t))}),r.closeOnBlur!==!1&&e.on(i,`focusout`,function(e){e.relatedTarget!==null&&close()})):(c=i.getElementsByTagName(`button`)[0])&&(e.on(c,`click`,function(){close(),o.focus()}),r.closeOnBlur!==!1&&e.on(c,`blur`,close),c.focus()),close}),e.defineExtension(`openConfirm`,function(t,n,r){closeNotification(this,null);var i=dialogDiv(this,t,r&&r.bottom),a=i.getElementsByTagName(`button`),o=!1,s=this,c=1;function close(){o||(o=!0,e.rmClass(i.parentNode,`dialog-opened`),i.parentNode.removeChild(i),s.focus())}a[0].focus();for(var l=0;l<a.length;++l){var u=a[l];(function(t){e.on(u,`click`,function(n){e.e_preventDefault(n),close(),t&&t(s)})})(n[l]),e.on(u,`blur`,function(){--c,setTimeout(function(){c<=0&&close()},200)}),e.on(u,`focus`,function(){++c})}}),e.defineExtension(`openNotification`,function(t,n){closeNotification(this,close);var r=dialogDiv(this,t,n&&n.bottom),i=!1,a,o=n&&n.duration!==void 0?n.duration:5e3;function close(){i||(i=!0,clearTimeout(a),e.rmClass(r.parentNode,`dialog-opened`),r.parentNode.removeChild(r))}return e.on(r,`click`,function(t){e.e_preventDefault(t),close()}),o&&(a=setTimeout(close,o)),close})})})),M=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),j()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`,`../dialog/dialog`],n):n(CodeMirror)})(function(e){"use strict";e.defineOption(`search`,{bottom:!1});function dialog(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}function getJumpDialog(e){return e.phrase(`Jump to line:`)+` <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">`+e.phrase(`(Use line:column or scroll% syntax)`)+`</span>`}function interpretLine(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var t=e.getCursor();dialog(e,getJumpDialog(e),e.phrase(`Jump to line:`),t.line+1+`:`+t.ch,function(n){if(n){var r;if(r=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(n))e.setCursor(interpretLine(e,r[1]),Number(r[2]));else if(r=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(n)){var i=Math.round(e.lineCount()*Number(r[1])/100);/^[-+]/.test(r[1])&&(i=t.line+i+1),e.setCursor(i-1,t.ch)}else (r=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(n))&&e.setCursor(interpretLine(e,r[1]),t.ch)}})},e.keyMap.default[`Alt-G`]=`jumpToLine`})})),N=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";var t=e.Pos;function regexpFlags(e){return e.flags??(e.ignoreCase?`i`:``)+(e.global?`g`:``)+(e.multiline?`m`:``)}function ensureFlags(e,t){for(var n=regexpFlags(e),r=n,i=0;i<t.length;i++)r.indexOf(t.charAt(i))==-1&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function maybeMultiline(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function searchRegexpForward(e,n,r){n=ensureFlags(n,`g`);for(var i=r.line,a=r.ch,o=e.lastLine();i<=o;i++,a=0){n.lastIndex=a;var s=e.getLine(i),c=n.exec(s);if(c)return{from:t(i,c.index),to:t(i,c.index+c[0].length),match:c}}}function searchRegexpForwardMultiline(e,n,r){if(!maybeMultiline(n))return searchRegexpForward(e,n,r);n=ensureFlags(n,`gm`);for(var i,a=1,o=r.line,s=e.lastLine();o<=s;){for(var c=0;c<a&&!(o>s);c++){var l=e.getLine(o++);i=i==null?l:i+`
24
+ outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var h;c&&(h=i.ownerDocument.defaultView.scrollY),r.input.focus(),c&&i.ownerDocument.defaultView.scrollTo(null,h),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=` `),t.contextMenuPending=rehide,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll);function prepareSelectAllHack(){if(i.selectionStart!=null){var e=n.somethingSelected(),a=`​`+(e?i.value:``);i.value=`⇚`,i.value=a,t.prevInput=e?``:`​`,i.selectionStart=1,i.selectionEnd=a.length,r.selForContextMenu=n.doc.sel}}function rehide(){if(t.contextMenuPending==rehide&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=u,o&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),i.selectionStart!=null)){(!o||o&&s<9)&&prepareSelectAllHack();var e=0,poll=function(){r.selForContextMenu==n.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput==`​`?operation(n,selectAll)(n):e++<10?r.detectingSelectAll=setTimeout(poll,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(poll,200)}}if(o&&s>=9&&prepareSelectAllHack(),T){e_stop(e);var mouseup=function(){off(window,`mouseup`,mouseup),setTimeout(rehide,20)};on(window,`mouseup`,mouseup)}else setTimeout(rehide,50)},TextareaInput.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e==`nocursor`,this.textarea.readOnly=!!e},TextareaInput.prototype.setUneditable=function(){},TextareaInput.prototype.needsContentAttribute=!1;function fromTextArea(e,t){if(t=t?copyObj(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var n=activeElt(rootNode(e));t.autofocus=n==e||e.getAttribute(`autofocus`)!=null&&n==document.body}function save(){e.value=o.getValue()}var r;if(e.form&&(on(e.form,`submit`,save),!t.leaveSubmitMethodAlone)){var i=e.form;r=i.submit;try{var a=i.submit=function(){save(),i.submit=r,i.submit(),i.submit=a}}catch{}}t.finishInit=function(n){n.save=save,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,save(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display=``,e.form&&(off(e.form,`submit`,save),!t.leaveSubmitMethodAlone&&typeof e.form.submit==`function`&&(e.form.submit=r))}},e.style.display=`none`;var o=CodeMirror(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return o}function addLegacyProps(e){e.off=off,e.on=on,e.wheelEventPixels=wheelEventPixels,e.Doc=Doc,e.splitLines=B,e.countColumn=countColumn,e.findColumn=findColumn,e.isWordChar=isWordCharBasic,e.Pass=O,e.signal=signal,e.Line=Line,e.changeEnd=changeEnd,e.scrollbarModel=le,e.Pos=Pos,e.cmpPos=cmp,e.modes=ie,e.mimeModes=V,e.resolveMode=resolveMode,e.getMode=getMode,e.modeExtensions=H,e.extendMode=extendMode,e.copyState=copyState,e.startState=startState,e.innerMode=innerMode,e.commands=_e,e.keyMap=Z,e.keyName=keyName,e.isModifierKey=isModifierKey,e.lookupKey=lookupKey,e.normalizeKeyMap=normalizeKeyMap,e.StringStream=StringStream,e.SharedTextMarker=SharedTextMarker,e.TextMarker=TextMarker,e.LineWidget=LineWidget,e.e_preventDefault=e_preventDefault,e.e_stopPropagation=e_stopPropagation,e.e_stop=e_stop,e.addClass=addClass,e.contains=contains,e.rmClass=rmClass,e.keyNames=J}defineOptions(CodeMirror),addEditorMethods(CodeMirror);var Ee=`iter insert remove copy getEditor constructor`.split(` `);for(var De in Doc.prototype)Doc.prototype.hasOwnProperty(De)&&indexOf(Ee,De)<0&&(CodeMirror.prototype[De]=(function(e){return function(){return e.apply(this.doc,arguments)}})(Doc.prototype[De]));return eventMixin(Doc),CodeMirror.inputStyles={textarea:TextareaInput,contenteditable:ContentEditableInput},CodeMirror.defineMode=function(e){!CodeMirror.defaults.mode&&e!=`null`&&(CodeMirror.defaults.mode=e),defineMode.apply(this,arguments)},CodeMirror.defineMIME=defineMIME,CodeMirror.defineMode(`null`,function(){return{token:function(e){return e.skipToEnd()}}}),CodeMirror.defineMIME(`text/plain`,`null`),CodeMirror.defineExtension=function(e,t){CodeMirror.prototype[e]=t},CodeMirror.defineDocExtension=function(e,t){Doc.prototype[e]=t},CodeMirror.fromTextArea=fromTextArea,addLegacyProps(CodeMirror),CodeMirror.version=`5.65.21`,CodeMirror}))})),f=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";e.defineMode(`css`,function(t,n){var r=n.inline;n.propertyKeywords||(n=e.resolveMode(`text/css`));var i=t.indentUnit,a=n.tokenHooks,o=n.documentTypes||{},s=n.mediaTypes||{},c=n.mediaFeatures||{},l=n.mediaValueKeywords||{},u=n.propertyKeywords||{},d=n.nonStandardPropertyKeywords||{},f=n.fontProperties||{},m=n.counterDescriptors||{},h=n.colorKeywords||{},g=n.valueKeywords||{},_=n.allowNested,v=n.lineComment,y=n.supportsAtComponent===!0,b=t.highlightNonStandardPropertyKeywords!==!1,x,S;function ret(e,t){return x=t,e}function tokenBase(e,t){var n=e.next();if(a[n]){var r=a[n](e,t);if(r!==!1)return r}if(n==`@`)return e.eatWhile(/[\w\\\-]/),ret(`def`,e.current());if(n==`=`||(n==`~`||n==`|`)&&e.eat(`=`))return ret(null,`compare`);if(n==`"`||n==`'`)return t.tokenize=tokenString(n),t.tokenize(e,t);if(n==`#`)return e.eatWhile(/[\w\\\-]/),ret(`atom`,`hash`);if(n==`!`)return e.match(/^\s*\w*/),ret(`keyword`,`important`);if(/\d/.test(n)||n==`.`&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),ret(`number`,`unit`);if(n===`-`){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),ret(`number`,`unit`);if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret(`variable-2`,`variable-definition`):ret(`variable-2`,`variable`);if(e.match(/^\w+-/))return ret(`meta`,`meta`)}else if(/[,+>*\/]/.test(n))return ret(null,`select-op`);else if(n==`.`&&e.match(/^-?[_a-z][_a-z0-9-]*/i))return ret(`qualifier`,`qualifier`);else if(/[:;{}\[\]\(\)]/.test(n))return ret(null,n);else if(e.match(/^[\w-.]+(?=\()/))return/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=tokenParenthesized),ret(`variable callee`,`variable`);else if(/[\w\\\-]/.test(n))return e.eatWhile(/[\w\\\-]/),ret(`property`,`word`);else return ret(null,null)}function tokenString(e){return function(t,n){for(var r=!1,i;(i=t.next())!=null;){if(i==e&&!r){e==`)`&&t.backUp(1);break}r=!r&&i==`\\`}return(i==e||!r&&e!=`)`)&&(n.tokenize=null),ret(`string`,`string`)}}function tokenParenthesized(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(`)`),ret(null,`(`)}function Context(e,t,n){this.type=e,this.indent=t,this.prev=n}function pushContext(e,t,n,r){return e.context=new Context(n,t.indentation()+(r===!1?0:i),e.context),n}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,n){return C[n.context.type](e,t,n)}function popAndPass(e,t,n,r){for(var i=r||1;i>0;i--)n.context=n.context.prev;return pass(e,t,n)}function wordAsValue(e){var t=e.current().toLowerCase();S=g.hasOwnProperty(t)?`atom`:h.hasOwnProperty(t)?`keyword`:`variable`}var C={};return C.top=function(e,t,n){if(e==`{`)return pushContext(n,t,`block`);if(e==`}`&&n.context.prev)return popContext(n);if(y&&/@component/i.test(e))return pushContext(n,t,`atComponentBlock`);if(/^@(-moz-)?document$/i.test(e))return pushContext(n,t,`documentTypes`);if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(n,t,`atBlock`);if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,`restricted_atBlock_before`;if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return`keyframes`;if(e&&e.charAt(0)==`@`)return pushContext(n,t,`at`);if(e==`hash`)S=`builtin`;else if(e==`word`)S=`tag`;else if(e==`variable-definition`)return`maybeprop`;else if(e==`interpolation`)return pushContext(n,t,`interpolation`);else if(e==`:`)return`pseudo`;else if(_&&e==`(`)return pushContext(n,t,`parens`);return n.context.type},C.block=function(e,t,n){if(e==`word`){var r=t.current().toLowerCase();return u.hasOwnProperty(r)?(S=`property`,`maybeprop`):d.hasOwnProperty(r)?(S=b?`string-2`:`property`,`maybeprop`):_?(S=t.match(/^\s*:(?:\s|$)/,!1)?`property`:`tag`,`block`):(S+=` error`,`maybeprop`)}else if(e==`meta`)return`block`;else if(!_&&(e==`hash`||e==`qualifier`))return S=`error`,`block`;else return C.top(e,t,n)},C.maybeprop=function(e,t,n){return e==`:`?pushContext(n,t,`prop`):pass(e,t,n)},C.prop=function(e,t,n){if(e==`;`)return popContext(n);if(e==`{`&&_)return pushContext(n,t,`propBlock`);if(e==`}`||e==`{`)return popAndPass(e,t,n);if(e==`(`)return pushContext(n,t,`parens`);if(e==`hash`&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current()))S+=` error`;else if(e==`word`)wordAsValue(t);else if(e==`interpolation`)return pushContext(n,t,`interpolation`);return`prop`},C.propBlock=function(e,t,n){return e==`}`?popContext(n):e==`word`?(S=`property`,`maybeprop`):n.context.type},C.parens=function(e,t,n){return e==`{`||e==`}`?popAndPass(e,t,n):e==`)`?popContext(n):e==`(`?pushContext(n,t,`parens`):e==`interpolation`?pushContext(n,t,`interpolation`):(e==`word`&&wordAsValue(t),`parens`)},C.pseudo=function(e,t,n){return e==`meta`?`pseudo`:e==`word`?(S=`variable-3`,n.context.type):pass(e,t,n)},C.documentTypes=function(e,t,n){return e==`word`&&o.hasOwnProperty(t.current())?(S=`tag`,n.context.type):C.atBlock(e,t,n)},C.atBlock=function(e,t,n){if(e==`(`)return pushContext(n,t,`atBlock_parens`);if(e==`}`||e==`;`)return popAndPass(e,t,n);if(e==`{`)return popContext(n)&&pushContext(n,t,_?`block`:`top`);if(e==`interpolation`)return pushContext(n,t,`interpolation`);if(e==`word`){var r=t.current().toLowerCase();S=r==`only`||r==`not`||r==`and`||r==`or`?`keyword`:s.hasOwnProperty(r)?`attribute`:c.hasOwnProperty(r)?`property`:l.hasOwnProperty(r)?`keyword`:u.hasOwnProperty(r)?`property`:d.hasOwnProperty(r)?b?`string-2`:`property`:g.hasOwnProperty(r)?`atom`:h.hasOwnProperty(r)?`keyword`:`error`}return n.context.type},C.atComponentBlock=function(e,t,n){return e==`}`?popAndPass(e,t,n):e==`{`?popContext(n)&&pushContext(n,t,_?`block`:`top`,!1):(e==`word`&&(S=`error`),n.context.type)},C.atBlock_parens=function(e,t,n){return e==`)`?popContext(n):e==`{`||e==`}`?popAndPass(e,t,n,2):C.atBlock(e,t,n)},C.restricted_atBlock_before=function(e,t,n){return e==`{`?pushContext(n,t,`restricted_atBlock`):e==`word`&&n.stateArg==`@counter-style`?(S=`variable`,`restricted_atBlock_before`):pass(e,t,n)},C.restricted_atBlock=function(e,t,n){return e==`}`?(n.stateArg=null,popContext(n)):e==`word`?(S=n.stateArg==`@font-face`&&!f.hasOwnProperty(t.current().toLowerCase())||n.stateArg==`@counter-style`&&!m.hasOwnProperty(t.current().toLowerCase())?`error`:`property`,`maybeprop`):`restricted_atBlock`},C.keyframes=function(e,t,n){return e==`word`?(S=`variable`,`keyframes`):e==`{`?pushContext(n,t,`top`):pass(e,t,n)},C.at=function(e,t,n){return e==`;`?popContext(n):e==`{`||e==`}`?popAndPass(e,t,n):(e==`word`?S=`tag`:e==`hash`&&(S=`builtin`),`at`)},C.interpolation=function(e,t,n){return e==`}`?popContext(n):e==`{`||e==`;`?popAndPass(e,t,n):(e==`word`?S=`variable`:e!=`variable`&&e!=`(`&&e!=`)`&&(S=`error`),`interpolation`)},{startState:function(e){return{tokenize:null,state:r?`block`:`top`,stateArg:null,context:new Context(r?`block`:`top`,e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||tokenBase)(e,t);return n&&typeof n==`object`&&(x=n[1],n=n[0]),S=n,x!=`comment`&&(t.state=C[t.state](x,e,t)),S},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),a=n.indent;return n.type==`prop`&&(r==`}`||r==`)`)&&(n=n.prev),n.prev&&(r==`}`&&(n.type==`block`||n.type==`top`||n.type==`interpolation`||n.type==`restricted_atBlock`)?(n=n.prev,a=n.indent):(r==`)`&&(n.type==`parens`||n.type==`atBlock_parens`)||r==`{`&&(n.type==`at`||n.type==`atBlock`))&&(a=Math.max(0,n.indent-i))),a},electricChars:`}`,blockCommentStart:`/*`,blockCommentEnd:`*/`,blockCommentContinue:` * `,lineComment:v,fold:`brace`}});function keySet(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}var t=[`domain`,`regexp`,`url`,`url-prefix`],n=keySet(t),r=[`all`,`aural`,`braille`,`handheld`,`print`,`projection`,`screen`,`tty`,`tv`,`embossed`],i=keySet(r),a=`width.min-width.max-width.height.min-height.max-height.device-width.min-device-width.max-device-width.device-height.min-device-height.max-device-height.aspect-ratio.min-aspect-ratio.max-aspect-ratio.device-aspect-ratio.min-device-aspect-ratio.max-device-aspect-ratio.color.min-color.max-color.color-index.min-color-index.max-color-index.monochrome.min-monochrome.max-monochrome.resolution.min-resolution.max-resolution.scan.grid.orientation.device-pixel-ratio.min-device-pixel-ratio.max-device-pixel-ratio.pointer.any-pointer.hover.any-hover.prefers-color-scheme.dynamic-range.video-dynamic-range`.split(`.`),o=keySet(a),s=[`landscape`,`portrait`,`none`,`coarse`,`fine`,`on-demand`,`hover`,`interlace`,`progressive`,`dark`,`light`,`standard`,`high`],c=keySet(s),l=`align-content.align-items.align-self.alignment-adjust.alignment-baseline.all.anchor-point.animation.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-timing-function.appearance.azimuth.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.binding.bleed.block-size.bookmark-label.bookmark-level.bookmark-state.bookmark-target.border.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-decoration-break.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.color.color-profile.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.content.counter-increment.counter-reset.crop.cue.cue-after.cue-before.cursor.direction.display.dominant-baseline.drop-initial-after-adjust.drop-initial-after-align.drop-initial-before-adjust.drop-initial-before-align.drop-initial-size.drop-initial-value.elevation.empty-cells.fit.fit-content.fit-position.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.float-offset.flow-from.flow-into.font.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-size.font-size-adjust.font-stretch.font-style.font-synthesis.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.gap.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-gap.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-gap.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphens.icon.image-orientation.image-rendering.image-resolution.inline-box-align.inset.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.left.letter-spacing.line-break.line-height.line-height-step.line-stacking.line-stacking-ruby.line-stacking-shift.line-stacking-strategy.list-style.list-style-image.list-style-position.list-style-type.margin.margin-bottom.margin-left.margin-right.margin-top.marks.marquee-direction.marquee-loop.marquee-play-count.marquee-speed.marquee-style.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.move-to.nav-down.nav-index.nav-left.nav-right.nav-up.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-style.overflow-wrap.overflow-x.overflow-y.padding.padding-bottom.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.page-policy.pause.pause-after.pause-before.perspective.perspective-origin.pitch.pitch-range.place-content.place-items.place-self.play-during.position.presentation-level.punctuation-trim.quotes.region-break-after.region-break-before.region-break-inside.region-fragment.rendering-intent.resize.rest.rest-after.rest-before.richness.right.rotate.rotation.rotation-point.row-gap.ruby-align.ruby-overhang.ruby-position.ruby-span.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-type.shape-image-threshold.shape-inside.shape-margin.shape-outside.size.speak.speak-as.speak-header.speak-numeral.speak-punctuation.speech-rate.stress.string-set.tab-size.table-layout.target.target-name.target-new.target-position.text-align.text-align-last.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-height.text-indent.text-justify.text-orientation.text-outline.text-overflow.text-rendering.text-shadow.text-size-adjust.text-space-collapse.text-transform.text-underline-position.text-wrap.top.touch-action.transform.transform-origin.transform-style.transition.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-select.vertical-align.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.volume.white-space.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.z-index.clip-path.clip-rule.mask.enable-background.filter.flood-color.flood-opacity.lighting-color.stop-color.stop-opacity.pointer-events.color-interpolation.color-interpolation-filters.color-rendering.fill.fill-opacity.fill-rule.image-rendering.marker.marker-end.marker-mid.marker-start.paint-order.shape-rendering.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.text-rendering.baseline-shift.dominant-baseline.glyph-orientation-horizontal.glyph-orientation-vertical.text-anchor.writing-mode`.split(`.`),u=keySet(l),d=`accent-color.aspect-ratio.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.content-visibility.margin-block.margin-block-end.margin-block-start.margin-inline.margin-inline-end.margin-inline-start.overflow-anchor.overscroll-behavior.padding-block.padding-block-end.padding-block-start.padding-inline.padding-inline-end.padding-inline-start.scroll-snap-stop.scrollbar-3d-light-color.scrollbar-arrow-color.scrollbar-base-color.scrollbar-dark-shadow-color.scrollbar-face-color.scrollbar-highlight-color.scrollbar-shadow-color.scrollbar-track-color.searchfield-cancel-button.searchfield-decoration.searchfield-results-button.searchfield-results-decoration.shape-inside.zoom`.split(`.`),f=keySet(d),m=keySet([`font-display`,`font-family`,`src`,`unicode-range`,`font-variant`,`font-feature-settings`,`font-stretch`,`font-weight`,`font-style`]),h=keySet([`additive-symbols`,`fallback`,`negative`,`pad`,`prefix`,`range`,`speak-as`,`suffix`,`symbols`,`system`]),g=`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.darkgrey.darkkhaki.darkmagenta.darkolivegreen.darkorange.darkorchid.darkred.darksalmon.darkseagreen.darkslateblue.darkslategray.darkslategrey.darkturquoise.darkviolet.deeppink.deepskyblue.dimgray.dimgrey.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.lightgrey.lightpink.lightsalmon.lightseagreen.lightskyblue.lightslategray.lightslategrey.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.slategrey.snow.springgreen.steelblue.tan.teal.thistle.tomato.turquoise.violet.wheat.white.whitesmoke.yellow.yellowgreen`.split(`.`),_=keySet(g),v=`above.absolute.activeborder.additive.activecaption.afar.after-white-space.ahead.alias.all.all-scroll.alphabetic.alternate.always.amharic.amharic-abegede.antialiased.appworkspace.arabic-indic.armenian.asterisks.attr.auto.auto-flow.avoid.avoid-column.avoid-page.avoid-region.axis-pan.background.backwards.baseline.below.bidi-override.binary.bengali.blink.block.block-axis.blur.bold.bolder.border.border-box.both.bottom.break.break-all.break-word.brightness.bullets.button.buttonface.buttonhighlight.buttonshadow.buttontext.calc.cambodian.capitalize.caps-lock-indicator.caption.captiontext.caret.cell.center.checkbox.circle.cjk-decimal.cjk-earthly-branch.cjk-heavenly-stem.cjk-ideographic.clear.clip.close-quote.col-resize.collapse.color.color-burn.color-dodge.column.column-reverse.compact.condensed.conic-gradient.contain.content.contents.content-box.context-menu.continuous.contrast.copy.counter.counters.cover.crop.cross.crosshair.cubic-bezier.currentcolor.cursive.cyclic.darken.dashed.decimal.decimal-leading-zero.default.default-button.dense.destination-atop.destination-in.destination-out.destination-over.devanagari.difference.disc.discard.disclosure-closed.disclosure-open.document.dot-dash.dot-dot-dash.dotted.double.down.drop-shadow.e-resize.ease.ease-in.ease-in-out.ease-out.element.ellipse.ellipsis.embed.end.ethiopic.ethiopic-abegede.ethiopic-abegede-am-et.ethiopic-abegede-gez.ethiopic-abegede-ti-er.ethiopic-abegede-ti-et.ethiopic-halehame-aa-er.ethiopic-halehame-aa-et.ethiopic-halehame-am-et.ethiopic-halehame-gez.ethiopic-halehame-om-et.ethiopic-halehame-sid-et.ethiopic-halehame-so-et.ethiopic-halehame-ti-er.ethiopic-halehame-ti-et.ethiopic-halehame-tig.ethiopic-numeric.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.georgian.grayscale.graytext.grid.groove.gujarati.gurmukhi.hand.hangul.hangul-consonant.hard-light.hebrew.help.hidden.hide.higher.highlight.highlighttext.hiragana.hiragana-iroha.horizontal.hsl.hsla.hue.hue-rotate.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.japanese-formal.japanese-informal.justify.kannada.katakana.katakana-iroha.keep-all.khmer.korean-hangul-formal.korean-hanja-formal.korean-hanja-informal.landscape.lao.large.larger.left.level.lighter.lighten.line-through.linear.linear-gradient.lines.list-item.listbox.listitem.local.logical.loud.lower.lower-alpha.lower-armenian.lower-greek.lower-hexadecimal.lower-latin.lower-norwegian.lower-roman.lowercase.ltr.luminosity.malayalam.manipulation.match.matrix.matrix3d.media-play-button.media-slider.media-sliderthumb.media-volume-slider.media-volume-sliderthumb.medium.menu.menulist.menulist-button.menutext.message-box.middle.min-intrinsic.mix.mongolian.monospace.move.multiple.multiple_mask_images.multiply.myanmar.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.octal.opacity.open-quote.optimizeLegibility.optimizeSpeed.oriya.oromo.outset.outside.outside-shape.overlay.overline.padding.padding-box.painted.page.paused.persian.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.repeating-conic-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.saturate.saturation.scale.scale3d.scaleX.scaleY.scaleZ.screen.scroll.scrollbar.scroll-position.se-resize.searchfield.searchfield-cancel-button.searchfield-decoration.searchfield-results-button.searchfield-results-decoration.self-start.self-end.semi-condensed.semi-expanded.separate.sepia.serif.show.sidama.simp-chinese-formal.simp-chinese-informal.single.skew.skewX.skewY.skip-white-space.slide.slider-horizontal.slider-vertical.sliderthumb-horizontal.sliderthumb-vertical.slow.small.small-caps.small-caption.smaller.soft-light.solid.somali.source-atop.source-in.source-out.source-over.space.space-around.space-between.space-evenly.spell-out.square.square-button.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.tamil.telugu.text.text-bottom.text-top.textarea.textfield.thai.thick.thin.threeddarkshadow.threedface.threedhighlight.threedlightshadow.threedshadow.tibetan.tigre.tigrinya-er.tigrinya-er-abegede.tigrinya-et.tigrinya-et-abegede.to.top.trad-chinese-formal.trad-chinese-informal.transform.translate.translate3d.translateX.translateY.translateZ.transparent.ultra-condensed.ultra-expanded.underline.unidirectional-pan.unset.up.upper-alpha.upper-armenian.upper-greek.upper-hexadecimal.upper-latin.upper-norwegian.upper-roman.uppercase.urdu.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`.split(`.`),y=keySet(v),b=t.concat(r).concat(a).concat(s).concat(l).concat(d).concat(g).concat(v);e.registerHelper(`hintWords`,`css`,b);function tokenCComment(e,t){for(var n=!1,r;(r=e.next())!=null;){if(n&&r==`/`){t.tokenize=null;break}n=r==`*`}return[`comment`,`comment`]}e.defineMIME(`text/css`,{documentTypes:n,mediaTypes:i,mediaFeatures:o,mediaValueKeywords:c,propertyKeywords:u,nonStandardPropertyKeywords:f,fontProperties:m,counterDescriptors:h,colorKeywords:_,valueKeywords:y,tokenHooks:{"/":function(e,t){return e.eat(`*`)?(t.tokenize=tokenCComment,tokenCComment(e,t)):!1}},name:`css`}),e.defineMIME(`text/x-scss`,{mediaTypes:i,mediaFeatures:o,mediaValueKeywords:c,propertyKeywords:u,nonStandardPropertyKeywords:f,colorKeywords:_,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:`//`,tokenHooks:{"/":function(e,t){return e.eat(`/`)?(e.skipToEnd(),[`comment`,`comment`]):e.eat(`*`)?(t.tokenize=tokenCComment,tokenCComment(e,t)):[`operator`,`operator`]},":":function(e){return e.match(/^\s*\{/,!1)?[null,null]:!1},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?[`variable-2`,`variable-definition`]:[`variable-2`,`variable`]},"#":function(e){return e.eat(`{`)?[null,`interpolation`]:!1}},name:`css`,helperType:`scss`}),e.defineMIME(`text/x-less`,{mediaTypes:i,mediaFeatures:o,mediaValueKeywords:c,propertyKeywords:u,nonStandardPropertyKeywords:f,colorKeywords:_,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:`//`,tokenHooks:{"/":function(e,t){return e.eat(`/`)?(e.skipToEnd(),[`comment`,`comment`]):e.eat(`*`)?(t.tokenize=tokenCComment,tokenCComment(e,t)):[`operator`,`operator`]},"@":function(e){return e.eat(`{`)?[null,`interpolation`]:e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?[`variable-2`,`variable-definition`]:[`variable-2`,`variable`])},"&":function(){return[`atom`,`atom`]}},name:`css`,helperType:`less`}),e.defineMIME(`text/x-gss`,{documentTypes:n,mediaTypes:i,mediaFeatures:o,propertyKeywords:u,nonStandardPropertyKeywords:f,fontProperties:m,counterDescriptors:h,colorKeywords:_,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return e.eat(`*`)?(t.tokenize=tokenCComment,tokenCComment(e,t)):!1}},name:`css`,helperType:`gss`})})})),m=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";e.defineMode(`ecl`,function(e){function words(e){for(var t={},n=e.split(` `),r=0;r<n.length;++r)t[n[r]]=!0;return t}function metaHook(e,t){return t.startOfLine?(e.skipToEnd(),`meta`):!1}var t=e.indentUnit,n=words(`abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode`),r=words(`apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait`),i=words(`__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath`),a=words(`ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode`),o=words(`checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when`),s=words(`catch class do else finally for if switch try while`),c=words(`true false null`),l={"#":metaHook},u=/[+\-*&%=<>!?|\/]/,d;function tokenBase(e,t){var f=e.next();if(l[f]){var m=l[f](e,t);if(m!==!1)return m}if(f==`"`||f==`'`)return t.tokenize=tokenString(f),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(f))return d=f,null;if(/\d/.test(f))return e.eatWhile(/[\w\.]/),`number`;if(f==`/`){if(e.eat(`*`))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat(`/`))return e.skipToEnd(),`comment`}if(u.test(f))return e.eatWhile(u),`operator`;e.eatWhile(/[\w\$_]/);var h=e.current().toLowerCase();if(n.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`keyword`;if(r.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`variable`;if(i.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`variable-2`;if(a.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`variable-3`;if(o.propertyIsEnumerable(h))return s.propertyIsEnumerable(h)&&(d=`newstatement`),`builtin`;for(var g=h.length-1;g>=0&&(!isNaN(h[g])||h[g]==`_`);)--g;if(g>0){var _=h.substr(0,g+1);if(a.propertyIsEnumerable(_))return s.propertyIsEnumerable(_)&&(d=`newstatement`),`variable-3`}return c.propertyIsEnumerable(h)?`atom`:null}function tokenString(e){return function(t,n){for(var r=!1,i,a=!1;(i=t.next())!=null;){if(i==e&&!r){a=!0;break}r=!r&&i==`\\`}return(a||!r)&&(n.tokenize=tokenBase),`string`}}function tokenComment(e,t){for(var n=!1,r;r=e.next();){if(r==`/`&&n){t.tokenize=tokenBase;break}n=r==`*`}return`comment`}function Context(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}function popContext(e){var t=e.context.type;return(t==`)`||t==`]`||t==`}`)&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new Context((e||0)-t,0,`top`,!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align??=!1,t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;d=null;var r=(t.tokenize||tokenBase)(e,t);if(r==`comment`||r==`meta`)return r;if(n.align??=!0,(d==`;`||d==`:`)&&n.type==`statement`)popContext(t);else if(d==`{`)pushContext(t,e.column(),`}`);else if(d==`[`)pushContext(t,e.column(),`]`);else if(d==`(`)pushContext(t,e.column(),`)`);else if(d==`}`){for(;n.type==`statement`;)n=popContext(t);for(n.type==`}`&&(n=popContext(t));n.type==`statement`;)n=popContext(t)}else d==n.type?popContext(t):(n.type==`}`||n.type==`top`||n.type==`statement`&&d==`newstatement`)&&pushContext(t,e.column(),`statement`);return t.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=tokenBase&&e.tokenize!=null)return 0;var r=e.context,i=n&&n.charAt(0);r.type==`statement`&&i==`}`&&(r=r.prev);var a=i==r.type;return r.type==`statement`?r.indented+(i==`{`?0:t):r.align?r.column+ +!a:r.indented+(a?0:t)},electricChars:`{}`}}),e.defineMIME(`text/x-ecl`,`ecl`)})})),h=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";var t={autoSelfClosers:{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},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{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}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode(`xml`,function(r,i){var a=r.indentUnit,o={},s=i.htmlMode?t:n;for(var c in s)o[c]=s[c];for(var c in i)o[c]=i[c];var l,u;function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();return n==`<`?e.eat(`!`)?e.eat(`[`)?e.match(`CDATA[`)?chain(inBlock(`atom`,`]]>`)):null:e.match(`--`)?chain(inBlock(`comment`,`-->`)):e.match(`DOCTYPE`,!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat(`?`)?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock(`meta`,`?>`),`meta`):(l=e.eat(`/`)?`closeTag`:`openTag`,t.tokenize=inTag,`tag bracket`):n==`&`?(e.eat(`#`)?e.eat(`x`)?e.eatWhile(/[a-fA-F\d]/)&&e.eat(`;`):e.eatWhile(/[\d]/)&&e.eat(`;`):e.eatWhile(/[\w\.\-:]/)&&e.eat(`;`))?`atom`:`error`:(e.eatWhile(/[^&<]/),null)}inText.isInText=!0;function inTag(e,t){var n=e.next();if(n==`>`||n==`/`&&e.eat(`>`))return t.tokenize=inText,l=n==`>`?`endTag`:`selfcloseTag`,`tag bracket`;if(n==`=`)return l=`equals`,null;if(n==`<`){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+` tag error`:`tag error`}else if(/[\'\"]/.test(n))return t.tokenize=inAttribute(n),t.stringStartCol=e.column(),t.tokenize(e,t);else return e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),`word`}function inAttribute(e){var closure=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return`string`};return closure.isInAttribute=!0,closure}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;(r=t.next())!=null;)if(r==`<`)return n.tokenize=doctype(e+1),n.tokenize(t,n);else if(r==`>`)if(e==1){n.tokenize=inText;break}else return n.tokenize=doctype(e-1),n.tokenize(t,n);return`meta`}}function lower(e){return e&&e.toLowerCase()}function Context(e,t,n){this.prev=e.context,this.tagName=t||``,this.indent=e.indented,this.startOfLine=n,(o.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function popContext(e){e.context&&=e.context.prev}function maybePopContext(e,t){for(var n;;){if(!e.context||(n=e.context.tagName,!o.contextGrabbers.hasOwnProperty(lower(n))||!o.contextGrabbers[lower(n)].hasOwnProperty(lower(t))))return;popContext(e)}}function baseState(e,t,n){return e==`openTag`?(n.tagStart=t.column(),tagNameState):e==`closeTag`?closeTagNameState:baseState}function tagNameState(e,t,n){return e==`word`?(n.tagName=t.current(),u=`tag`,attrState):o.allowMissingTagName&&e==`endTag`?(u=`tag bracket`,attrState(e,t,n)):(u=`error`,tagNameState)}function closeTagNameState(e,t,n){if(e==`word`){var r=t.current();return n.context&&n.context.tagName!=r&&o.implicitlyClosed.hasOwnProperty(lower(n.context.tagName))&&popContext(n),n.context&&n.context.tagName==r||o.matchClosing===!1?(u=`tag`,closeState):(u=`tag error`,closeStateErr)}else if(o.allowMissingTagName&&e==`endTag`)return u=`tag bracket`,closeState(e,t,n);else return u=`error`,closeStateErr}function closeState(e,t,n){return e==`endTag`?(popContext(n),baseState):(u=`error`,closeState)}function closeStateErr(e,t,n){return u=`error`,closeState(e,t,n)}function attrState(e,t,n){if(e==`word`)return u=`attribute`,attrEqState;if(e==`endTag`||e==`selfcloseTag`){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,e==`selfcloseTag`||o.autoSelfClosers.hasOwnProperty(lower(r))?maybePopContext(n,r):(maybePopContext(n,r),n.context=new Context(n,r,i==n.indented)),baseState}return u=`error`,attrState}function attrEqState(e,t,n){return e==`equals`?attrValueState:(o.allowMissing||(u=`error`),attrState(e,t,n))}function attrValueState(e,t,n){return e==`string`?attrContinuedState:e==`word`&&o.allowUnquoted?(u=`string`,attrState):(u=`error`,attrState(e,t,n))}function attrContinuedState(e,t,n){return e==`string`?attrContinuedState:attrState(e,t,n)}return{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return e!=null&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;l=null;var n=t.tokenize(e,t);return(n||l)&&n!=`comment`&&(u=null,t.state=t.state(l||n,e,t),u&&(n=u==`error`?n+` error`:u)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return o.multilineTagIndentPastTag===!1?t.tagStart+a*(o.multilineTagIndentFactor||1):t.tagStart+t.tagName.length+2;if(o.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;i;)if(i.tagName==s[2]){i=i.prev;break}else if(o.implicitlyClosed.hasOwnProperty(lower(i.tagName)))i=i.prev;else break;else if(s)for(;i;){var c=o.contextGrabbers[lower(i.tagName)];if(c&&c.hasOwnProperty(lower(s[2])))i=i.prev;else break}for(;i&&i.prev&&!i.startOfLine;)i=i.prev;return i?i.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:`<!--`,blockCommentEnd:`-->`,configuration:o.htmlMode?`html`:`xml`,helperType:o.htmlMode?`html`:`xml`,skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:e.type==`closeTag`}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)t.push(n.tagName);return t.reverse()}}}),e.defineMIME(`text/xml`,`xml`),e.defineMIME(`application/xml`,`xml`),e.mimeModes.hasOwnProperty(`text/html`)||e.defineMIME(`text/html`,{name:`xml`,htmlMode:!0})})})),g=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";e.modeInfo=[{name:`APL`,mime:`text/apl`,mode:`apl`,ext:[`dyalog`,`apl`]},{name:`PGP`,mimes:[`application/pgp`,`application/pgp-encrypted`,`application/pgp-keys`,`application/pgp-signature`],mode:`asciiarmor`,ext:[`asc`,`pgp`,`sig`]},{name:`ASN.1`,mime:`text/x-ttcn-asn`,mode:`asn.1`,ext:[`asn`,`asn1`]},{name:`Asterisk`,mime:`text/x-asterisk`,mode:`asterisk`,file:/^extensions\.conf$/i},{name:`Brainfuck`,mime:`text/x-brainfuck`,mode:`brainfuck`,ext:[`b`,`bf`]},{name:`C`,mime:`text/x-csrc`,mode:`clike`,ext:[`c`,`h`,`ino`]},{name:`C++`,mime:`text/x-c++src`,mode:`clike`,ext:[`cpp`,`c++`,`cc`,`cxx`,`hpp`,`h++`,`hh`,`hxx`],alias:[`cpp`]},{name:`Cobol`,mime:`text/x-cobol`,mode:`cobol`,ext:[`cob`,`cpy`,`cbl`]},{name:`C#`,mime:`text/x-csharp`,mode:`clike`,ext:[`cs`],alias:[`csharp`,`cs`]},{name:`Clojure`,mime:`text/x-clojure`,mode:`clojure`,ext:[`clj`,`cljc`,`cljx`]},{name:`ClojureScript`,mime:`text/x-clojurescript`,mode:`clojure`,ext:[`cljs`]},{name:`Closure Stylesheets (GSS)`,mime:`text/x-gss`,mode:`css`,ext:[`gss`]},{name:`CMake`,mime:`text/x-cmake`,mode:`cmake`,ext:[`cmake`,`cmake.in`],file:/^CMakeLists\.txt$/},{name:`CoffeeScript`,mimes:[`application/vnd.coffeescript`,`text/coffeescript`,`text/x-coffeescript`],mode:`coffeescript`,ext:[`coffee`],alias:[`coffee`,`coffee-script`]},{name:`Common Lisp`,mime:`text/x-common-lisp`,mode:`commonlisp`,ext:[`cl`,`lisp`,`el`],alias:[`lisp`]},{name:`Cypher`,mime:`application/x-cypher-query`,mode:`cypher`,ext:[`cyp`,`cypher`]},{name:`Cython`,mime:`text/x-cython`,mode:`python`,ext:[`pyx`,`pxd`,`pxi`]},{name:`Crystal`,mime:`text/x-crystal`,mode:`crystal`,ext:[`cr`]},{name:`CSS`,mime:`text/css`,mode:`css`,ext:[`css`]},{name:`CQL`,mime:`text/x-cassandra`,mode:`sql`,ext:[`cql`]},{name:`D`,mime:`text/x-d`,mode:`d`,ext:[`d`]},{name:`Dart`,mimes:[`application/dart`,`text/x-dart`],mode:`dart`,ext:[`dart`]},{name:`diff`,mime:`text/x-diff`,mode:`diff`,ext:[`diff`,`patch`]},{name:`Django`,mime:`text/x-django`,mode:`django`},{name:`Dockerfile`,mime:`text/x-dockerfile`,mode:`dockerfile`,file:/^Dockerfile$/},{name:`DTD`,mime:`application/xml-dtd`,mode:`dtd`,ext:[`dtd`]},{name:`Dylan`,mime:`text/x-dylan`,mode:`dylan`,ext:[`dylan`,`dyl`,`intr`]},{name:`EBNF`,mime:`text/x-ebnf`,mode:`ebnf`},{name:`ECL`,mime:`text/x-ecl`,mode:`ecl`,ext:[`ecl`]},{name:`edn`,mime:`application/edn`,mode:`clojure`,ext:[`edn`]},{name:`Eiffel`,mime:`text/x-eiffel`,mode:`eiffel`,ext:[`e`]},{name:`Elm`,mime:`text/x-elm`,mode:`elm`,ext:[`elm`]},{name:`Embedded JavaScript`,mime:`application/x-ejs`,mode:`htmlembedded`,ext:[`ejs`]},{name:`Embedded Ruby`,mime:`application/x-erb`,mode:`htmlembedded`,ext:[`erb`]},{name:`Erlang`,mime:`text/x-erlang`,mode:`erlang`,ext:[`erl`]},{name:`Esper`,mime:`text/x-esper`,mode:`sql`},{name:`Factor`,mime:`text/x-factor`,mode:`factor`,ext:[`factor`]},{name:`FCL`,mime:`text/x-fcl`,mode:`fcl`},{name:`Forth`,mime:`text/x-forth`,mode:`forth`,ext:[`forth`,`fth`,`4th`]},{name:`Fortran`,mime:`text/x-fortran`,mode:`fortran`,ext:[`f`,`for`,`f77`,`f90`,`f95`]},{name:`F#`,mime:`text/x-fsharp`,mode:`mllike`,ext:[`fs`],alias:[`fsharp`]},{name:`Gas`,mime:`text/x-gas`,mode:`gas`,ext:[`s`]},{name:`Gherkin`,mime:`text/x-feature`,mode:`gherkin`,ext:[`feature`]},{name:`GitHub Flavored Markdown`,mime:`text/x-gfm`,mode:`gfm`,file:/^(readme|contributing|history)\.md$/i},{name:`Go`,mime:`text/x-go`,mode:`go`,ext:[`go`]},{name:`Groovy`,mime:`text/x-groovy`,mode:`groovy`,ext:[`groovy`,`gradle`],file:/^Jenkinsfile$/},{name:`HAML`,mime:`text/x-haml`,mode:`haml`,ext:[`haml`]},{name:`Haskell`,mime:`text/x-haskell`,mode:`haskell`,ext:[`hs`]},{name:`Haskell (Literate)`,mime:`text/x-literate-haskell`,mode:`haskell-literate`,ext:[`lhs`]},{name:`Haxe`,mime:`text/x-haxe`,mode:`haxe`,ext:[`hx`]},{name:`HXML`,mime:`text/x-hxml`,mode:`haxe`,ext:[`hxml`]},{name:`ASP.NET`,mime:`application/x-aspx`,mode:`htmlembedded`,ext:[`aspx`],alias:[`asp`,`aspx`]},{name:`HTML`,mime:`text/html`,mode:`htmlmixed`,ext:[`html`,`htm`,`handlebars`,`hbs`],alias:[`xhtml`]},{name:`HTTP`,mime:`message/http`,mode:`http`},{name:`IDL`,mime:`text/x-idl`,mode:`idl`,ext:[`pro`]},{name:`Pug`,mime:`text/x-pug`,mode:`pug`,ext:[`jade`,`pug`],alias:[`jade`]},{name:`Java`,mime:`text/x-java`,mode:`clike`,ext:[`java`]},{name:`Java Server Pages`,mime:`application/x-jsp`,mode:`htmlembedded`,ext:[`jsp`],alias:[`jsp`]},{name:`JavaScript`,mimes:[`text/javascript`,`text/ecmascript`,`application/javascript`,`application/x-javascript`,`application/ecmascript`],mode:`javascript`,ext:[`js`],alias:[`ecmascript`,`js`,`node`]},{name:`JSON`,mimes:[`application/json`,`application/x-json`],mode:`javascript`,ext:[`json`,`map`],alias:[`json5`]},{name:`JSON-LD`,mime:`application/ld+json`,mode:`javascript`,ext:[`jsonld`],alias:[`jsonld`]},{name:`JSX`,mime:`text/jsx`,mode:`jsx`,ext:[`jsx`]},{name:`Jinja2`,mime:`text/jinja2`,mode:`jinja2`,ext:[`j2`,`jinja`,`jinja2`]},{name:`Julia`,mime:`text/x-julia`,mode:`julia`,ext:[`jl`],alias:[`jl`]},{name:`Kotlin`,mime:`text/x-kotlin`,mode:`clike`,ext:[`kt`]},{name:`LESS`,mime:`text/x-less`,mode:`css`,ext:[`less`]},{name:`LiveScript`,mime:`text/x-livescript`,mode:`livescript`,ext:[`ls`],alias:[`ls`]},{name:`Lua`,mime:`text/x-lua`,mode:`lua`,ext:[`lua`]},{name:`Markdown`,mime:`text/x-markdown`,mode:`markdown`,ext:[`markdown`,`md`,`mkd`]},{name:`mIRC`,mime:`text/mirc`,mode:`mirc`},{name:`MariaDB SQL`,mime:`text/x-mariadb`,mode:`sql`},{name:`Mathematica`,mime:`text/x-mathematica`,mode:`mathematica`,ext:[`m`,`nb`,`wl`,`wls`]},{name:`Modelica`,mime:`text/x-modelica`,mode:`modelica`,ext:[`mo`]},{name:`MUMPS`,mime:`text/x-mumps`,mode:`mumps`,ext:[`mps`]},{name:`MS SQL`,mime:`text/x-mssql`,mode:`sql`},{name:`mbox`,mime:`application/mbox`,mode:`mbox`,ext:[`mbox`]},{name:`MySQL`,mime:`text/x-mysql`,mode:`sql`},{name:`Nginx`,mime:`text/x-nginx-conf`,mode:`nginx`,file:/nginx.*\.conf$/i},{name:`NSIS`,mime:`text/x-nsis`,mode:`nsis`,ext:[`nsh`,`nsi`]},{name:`NTriples`,mimes:[`application/n-triples`,`application/n-quads`,`text/n-triples`],mode:`ntriples`,ext:[`nt`,`nq`]},{name:`Objective-C`,mime:`text/x-objectivec`,mode:`clike`,ext:[`m`],alias:[`objective-c`,`objc`]},{name:`Objective-C++`,mime:`text/x-objectivec++`,mode:`clike`,ext:[`mm`],alias:[`objective-c++`,`objc++`]},{name:`OCaml`,mime:`text/x-ocaml`,mode:`mllike`,ext:[`ml`,`mli`,`mll`,`mly`]},{name:`Octave`,mime:`text/x-octave`,mode:`octave`,ext:[`m`]},{name:`Oz`,mime:`text/x-oz`,mode:`oz`,ext:[`oz`]},{name:`Pascal`,mime:`text/x-pascal`,mode:`pascal`,ext:[`p`,`pas`]},{name:`PEG.js`,mime:`null`,mode:`pegjs`,ext:[`jsonld`]},{name:`Perl`,mime:`text/x-perl`,mode:`perl`,ext:[`pl`,`pm`]},{name:`PHP`,mimes:[`text/x-php`,`application/x-httpd-php`,`application/x-httpd-php-open`],mode:`php`,ext:[`php`,`php3`,`php4`,`php5`,`php7`,`phtml`]},{name:`Pig`,mime:`text/x-pig`,mode:`pig`,ext:[`pig`]},{name:`Plain Text`,mime:`text/plain`,mode:`null`,ext:[`txt`,`text`,`conf`,`def`,`list`,`log`]},{name:`PLSQL`,mime:`text/x-plsql`,mode:`sql`,ext:[`pls`]},{name:`PostgreSQL`,mime:`text/x-pgsql`,mode:`sql`},{name:`PowerShell`,mime:`application/x-powershell`,mode:`powershell`,ext:[`ps1`,`psd1`,`psm1`]},{name:`Properties files`,mime:`text/x-properties`,mode:`properties`,ext:[`properties`,`ini`,`in`],alias:[`ini`,`properties`]},{name:`ProtoBuf`,mime:`text/x-protobuf`,mode:`protobuf`,ext:[`proto`]},{name:`Python`,mime:`text/x-python`,mode:`python`,ext:[`BUILD`,`bzl`,`py`,`pyw`],file:/^(BUCK|BUILD)$/},{name:`Puppet`,mime:`text/x-puppet`,mode:`puppet`,ext:[`pp`]},{name:`Q`,mime:`text/x-q`,mode:`q`,ext:[`q`]},{name:`R`,mime:`text/x-rsrc`,mode:`r`,ext:[`r`,`R`],alias:[`rscript`]},{name:`reStructuredText`,mime:`text/x-rst`,mode:`rst`,ext:[`rst`],alias:[`rst`]},{name:`RPM Changes`,mime:`text/x-rpm-changes`,mode:`rpm`},{name:`RPM Spec`,mime:`text/x-rpm-spec`,mode:`rpm`,ext:[`spec`]},{name:`Ruby`,mime:`text/x-ruby`,mode:`ruby`,ext:[`rb`],alias:[`jruby`,`macruby`,`rake`,`rb`,`rbx`]},{name:`Rust`,mime:`text/x-rustsrc`,mode:`rust`,ext:[`rs`]},{name:`SAS`,mime:`text/x-sas`,mode:`sas`,ext:[`sas`]},{name:`Sass`,mime:`text/x-sass`,mode:`sass`,ext:[`sass`]},{name:`Scala`,mime:`text/x-scala`,mode:`clike`,ext:[`scala`]},{name:`Scheme`,mime:`text/x-scheme`,mode:`scheme`,ext:[`scm`,`ss`]},{name:`SCSS`,mime:`text/x-scss`,mode:`css`,ext:[`scss`]},{name:`Shell`,mimes:[`text/x-sh`,`application/x-sh`],mode:`shell`,ext:[`sh`,`ksh`,`bash`],alias:[`bash`,`sh`,`zsh`],file:/^PKGBUILD$/},{name:`Sieve`,mime:`application/sieve`,mode:`sieve`,ext:[`siv`,`sieve`]},{name:`Slim`,mimes:[`text/x-slim`,`application/x-slim`],mode:`slim`,ext:[`slim`]},{name:`Smalltalk`,mime:`text/x-stsrc`,mode:`smalltalk`,ext:[`st`]},{name:`Smarty`,mime:`text/x-smarty`,mode:`smarty`,ext:[`tpl`]},{name:`Solr`,mime:`text/x-solr`,mode:`solr`},{name:`SML`,mime:`text/x-sml`,mode:`mllike`,ext:[`sml`,`sig`,`fun`,`smackspec`]},{name:`Soy`,mime:`text/x-soy`,mode:`soy`,ext:[`soy`],alias:[`closure template`]},{name:`SPARQL`,mime:`application/sparql-query`,mode:`sparql`,ext:[`rq`,`sparql`],alias:[`sparul`]},{name:`Spreadsheet`,mime:`text/x-spreadsheet`,mode:`spreadsheet`,alias:[`excel`,`formula`]},{name:`SQL`,mime:`text/x-sql`,mode:`sql`,ext:[`sql`]},{name:`SQLite`,mime:`text/x-sqlite`,mode:`sql`},{name:`Squirrel`,mime:`text/x-squirrel`,mode:`clike`,ext:[`nut`]},{name:`Stylus`,mime:`text/x-styl`,mode:`stylus`,ext:[`styl`]},{name:`Swift`,mime:`text/x-swift`,mode:`swift`,ext:[`swift`]},{name:`sTeX`,mime:`text/x-stex`,mode:`stex`},{name:`LaTeX`,mime:`text/x-latex`,mode:`stex`,ext:[`text`,`ltx`,`tex`],alias:[`tex`]},{name:`SystemVerilog`,mime:`text/x-systemverilog`,mode:`verilog`,ext:[`v`,`sv`,`svh`]},{name:`Tcl`,mime:`text/x-tcl`,mode:`tcl`,ext:[`tcl`]},{name:`Textile`,mime:`text/x-textile`,mode:`textile`,ext:[`textile`]},{name:`TiddlyWiki`,mime:`text/x-tiddlywiki`,mode:`tiddlywiki`},{name:`Tiki wiki`,mime:`text/tiki`,mode:`tiki`},{name:`TOML`,mime:`text/x-toml`,mode:`toml`,ext:[`toml`]},{name:`Tornado`,mime:`text/x-tornado`,mode:`tornado`},{name:`troff`,mime:`text/troff`,mode:`troff`,ext:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`]},{name:`TTCN`,mime:`text/x-ttcn`,mode:`ttcn`,ext:[`ttcn`,`ttcn3`,`ttcnpp`]},{name:`TTCN_CFG`,mime:`text/x-ttcn-cfg`,mode:`ttcn-cfg`,ext:[`cfg`]},{name:`Turtle`,mime:`text/turtle`,mode:`turtle`,ext:[`ttl`]},{name:`TypeScript`,mime:`application/typescript`,mode:`javascript`,ext:[`ts`],alias:[`ts`]},{name:`TypeScript-JSX`,mime:`text/typescript-jsx`,mode:`jsx`,ext:[`tsx`],alias:[`tsx`]},{name:`Twig`,mime:`text/x-twig`,mode:`twig`},{name:`Web IDL`,mime:`text/x-webidl`,mode:`webidl`,ext:[`webidl`]},{name:`VB.NET`,mime:`text/x-vb`,mode:`vb`,ext:[`vb`]},{name:`VBScript`,mime:`text/vbscript`,mode:`vbscript`,ext:[`vbs`]},{name:`Velocity`,mime:`text/velocity`,mode:`velocity`,ext:[`vtl`]},{name:`Verilog`,mime:`text/x-verilog`,mode:`verilog`,ext:[`v`]},{name:`VHDL`,mime:`text/x-vhdl`,mode:`vhdl`,ext:[`vhd`,`vhdl`]},{name:`Vue.js Component`,mimes:[`script/x-vue`,`text/x-vue`],mode:`vue`,ext:[`vue`]},{name:`XML`,mimes:[`application/xml`,`text/xml`],mode:`xml`,ext:[`xml`,`xsl`,`xsd`,`svg`],alias:[`rss`,`wsdl`,`xsd`]},{name:`XQuery`,mime:`application/xquery`,mode:`xquery`,ext:[`xy`,`xquery`]},{name:`Yacas`,mime:`text/x-yacas`,mode:`yacas`,ext:[`ys`]},{name:`YAML`,mimes:[`text/x-yaml`,`text/yaml`],mode:`yaml`,ext:[`yaml`,`yml`],alias:[`yml`]},{name:`Z80`,mime:`text/x-z80`,mode:`z80`,ext:[`z80`]},{name:`mscgen`,mime:`text/x-mscgen`,mode:`mscgen`,ext:[`mscgen`,`mscin`,`msc`]},{name:`xu`,mime:`text/x-xu`,mode:`mscgen`,ext:[`xu`]},{name:`msgenny`,mime:`text/x-msgenny`,mode:`mscgen`,ext:[`msgenny`]},{name:`WebAssembly`,mime:`text/webassembly`,mode:`wast`,ext:[`wat`,`wast`]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes){for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}}if(/\+xml$/.test(t))return e.findModeByMIME(`application/xml`);if(/\+json$/.test(t))return e.findModeByMIME(`application/json`)},e.findModeByExtension=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext){for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf(`.`),a=i>-1&&t.substring(i+1,t.length);if(a)return e.findModeByExtension(a)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias){for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}}})})),_=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),h(),g()):n(CodeMirror)})(function(e){"use strict";e.defineMode(`markdown`,function(t,n){var r=e.getMode(t,`text/html`),i=r.name==`null`;function getMode(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return i.name==`null`?null:i}n.highlightFormatting===void 0&&(n.highlightFormatting=!1),n.maxBlockquoteDepth===void 0&&(n.maxBlockquoteDepth=0),n.taskLists===void 0&&(n.taskLists=!1),n.strikethrough===void 0&&(n.strikethrough=!1),n.emoji===void 0&&(n.emoji=!1),n.fencedCodeBlockHighlighting===void 0&&(n.fencedCodeBlockHighlighting=!0),n.fencedCodeBlockDefaultMode===void 0&&(n.fencedCodeBlockDefaultMode=`text/plain`),n.xml===void 0&&(n.xml=!0),n.tokenTypeOverrides===void 0&&(n.tokenTypeOverrides={});var a={header:`header`,code:`comment`,quote:`quote`,list1:`variable-2`,list2:`variable-3`,list3:`keyword`,hr:`hr`,image:`image`,imageAltText:`image-alt-text`,imageMarker:`image-marker`,formatting:`formatting`,linkInline:`link`,linkEmail:`link`,linkText:`link`,linkHref:`string`,em:`em`,strong:`strong`,strikethrough:`strikethrough`,emoji:`builtin`};for(var o in a)a.hasOwnProperty(o)&&n.tokenTypeOverrides[o]&&(a[o]=n.tokenTypeOverrides[o]);var s=/^([*\-_])(?:\s*\1){2,}\s*$/,c=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,l=/^\[(x| )\](?=\s)/i,u=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,d=/^ {0,3}(?:\={1,}|-{2,})\s*$/,f=/^[^#!\[\]*_\\<>` "'(~:]+/,m=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,h=/^\s*\[[^\]]+?\]:.*$/,g=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,_=` `;function switchInline(e,t,n){return t.f=t.inline=n,n(e,t)}function switchBlock(e,t,n){return t.f=t.block=n,n(e,t)}function lineIsEmpty(e){return!e||!/\S/.test(e.string)}function blankLine(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==htmlBlock){var n=i;if(!n){var a=e.innerMode(r,t.htmlState);n=a.mode.name==`xml`&&a.state.tagStart===null&&!a.state.context&&a.state.tokenize.isInText}n&&(t.f=inlineNormal,t.block=blockNormal,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function blockNormal(t,r){var i=t.column()===r.indentation,o=lineIsEmpty(r.prevLine.stream),f=r.indentedCode,g=r.prevLine.hr,_=r.list!==!1,v=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var y=r.indentation;if(r.indentationDiff===null&&(r.indentationDiff=r.indentation,_)){for(r.list=null;y<r.listStack[r.listStack.length-1];)r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;r.list!==!1&&(r.indentationDiff=y-r.listStack[r.listStack.length-1])}var b=!o&&!g&&!r.prevLine.header&&(!_||!f)&&!r.prevLine.fencedCodeEnd,x=(r.list===!1||g||o)&&r.indentation<=v&&t.match(s),S=null;if(r.indentationDiff>=4&&(f||r.prevLine.fencedCodeEnd||r.prevLine.header||o))return t.skipToEnd(),r.indentedCode=!0,a.code;if(t.eatSpace())return null;if(i&&r.indentation<=v&&(S=t.match(u))&&S[1].length<=6)return r.quote=0,r.header=S[1].length,r.thisLine.header=!0,n.highlightFormatting&&(r.formatting=`header`),r.f=r.inline,getType(r);if(r.indentation<=v&&t.eat(`>`))return r.quote=i?1:r.quote+1,n.highlightFormatting&&(r.formatting=`quote`),t.eatSpace(),getType(r);if(!x&&!r.setext&&i&&r.indentation<=v&&(S=t.match(c))){var C=S[1]?`ol`:`ul`;return r.indentation=y+t.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,n.taskLists&&t.match(l,!1)&&(r.taskList=!0),r.f=r.inline,n.highlightFormatting&&(r.formatting=[`list`,`list-`+C]),getType(r)}else if(i&&r.indentation<=v&&(S=t.match(m,!0)))return r.quote=0,r.fencedEndRE=RegExp(S[1]+`+ *$`),r.localMode=n.fencedCodeBlockHighlighting&&getMode(S[2]||n.fencedCodeBlockDefaultMode),r.localMode&&(r.localState=e.startState(r.localMode)),r.f=r.block=local,n.highlightFormatting&&(r.formatting=`code-block`),r.code=-1,getType(r);else if(r.setext||(!b||!_)&&!r.quote&&r.list===!1&&!r.code&&!x&&!h.test(t.string)&&(S=t.lookAhead(1))&&(S=S.match(d)))return r.setext?(r.header=r.setext,r.setext=0,t.skipToEnd(),n.highlightFormatting&&(r.formatting=`header`)):(r.header=S[0].charAt(0)==`=`?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,getType(r);else if(x)return t.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr;else if(t.peek()===`[`)return switchInline(t,r,footnoteLink);return switchInline(t,r,r.inline)}function htmlBlock(t,n){var a=r.token(t,n.htmlState);if(!i){var o=e.innerMode(r,n.htmlState);(o.mode.name==`xml`&&o.state.tagStart===null&&!o.state.context&&o.state.tokenize.isInText||n.md_inside&&t.current().indexOf(`>`)>-1)&&(n.f=inlineNormal,n.block=blockNormal,n.htmlState=null)}return a}function local(e,t){var r=t.listStack[t.listStack.length-1]||0,i=t.indentation<r,o=r+3;if(t.fencedEndRE&&t.indentation<=o&&(i||e.match(t.fencedEndRE))){n.highlightFormatting&&(t.formatting=`code-block`);var s;return i||(s=getType(t)),t.localMode=t.localState=null,t.block=blockNormal,t.f=inlineNormal,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,i?switchBlock(e,t,t.block):s}else if(t.localMode)return t.localMode.token(e,t.localState);else return e.skipToEnd(),a.code}function getType(e){var t=[];if(e.formatting){t.push(a.formatting),typeof e.formatting==`string`&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(a.formatting+`-`+e.formatting[r]),e.formatting[r]===`header`&&t.push(a.formatting+`-`+e.formatting[r]+`-`+e.header),e.formatting[r]===`quote`&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.formatting+`-`+e.formatting[r]+`-`+e.quote):t.push(`error`))}if(e.taskOpen)return t.push(`meta`),t.length?t.join(` `):null;if(e.taskClosed)return t.push(`property`),t.length?t.join(` `):null;if(e.linkHref?t.push(a.linkHref,`url`):(e.strong&&t.push(a.strong),e.em&&t.push(a.em),e.strikethrough&&t.push(a.strikethrough),e.emoji&&t.push(a.emoji),e.linkText&&t.push(a.linkText),e.code&&t.push(a.code),e.image&&t.push(a.image),e.imageAltText&&t.push(a.imageAltText,`link`),e.imageMarker&&t.push(a.imageMarker)),e.header&&t.push(a.header,a.header+`-`+e.header),e.quote&&(t.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.quote+`-`+e.quote):t.push(a.quote+`-`+n.maxBlockquoteDepth)),e.list!==!1){var i=(e.listStack.length-1)%3;i?i===1?t.push(a.list2):t.push(a.list3):t.push(a.list1)}return e.trailingSpaceNewLine?t.push(`trailing-space-new-line`):e.trailingSpace&&t.push(`trailing-space-`+(e.trailingSpace%2?`a`:`b`)),t.length?t.join(` `):null}function handleText(e,t){if(e.match(f,!0))return getType(t)}function inlineNormal(t,i){var o=i.text(t,i);if(o!==void 0)return o;if(i.list)return i.list=null,getType(i);if(i.taskList)return t.match(l,!0)[1]===` `?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting=`task`),i.taskList=!1,getType(i);if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting=`header`),getType(i);var s=t.next();if(i.linkTitle){i.linkTitle=!1;var c=s;s===`(`&&(c=`)`),c=(c+``).replace(/([.?*+^\[\]\\(){}|-])/g,`\\$1`);var u=`^\\s*(?:[^`+c+`\\\\]+|\\\\\\\\|\\\\.)`+c;if(t.match(new RegExp(u),!0))return a.linkHref}if(s==="`"){var d=i.formatting;n.highlightFormatting&&(i.formatting=`code`),t.eatWhile("`");var f=t.current().length;if(i.code==0&&(!i.quote||f==1))return i.code=f,getType(i);if(f==i.code){var m=getType(i);return i.code=0,m}else return i.formatting=d,getType(i)}else if(i.code)return getType(i);if(s===`\\`&&(t.next(),n.highlightFormatting)){var h=getType(i),_=a.formatting+`-escape`;return h?h+` `+_:_}if(s===`!`&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting=`image`),getType(i);if(s===`[`&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting=`image`),getType(i);if(s===`]`&&i.imageAltText){n.highlightFormatting&&(i.formatting=`image`);var h=getType(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=linkHref,h}if(s===`[`&&!i.image)return i.linkText&&t.match(/^.*?\]/)?getType(i):(i.linkText=!0,n.highlightFormatting&&(i.formatting=`link`),getType(i));if(s===`]`&&i.linkText){n.highlightFormatting&&(i.formatting=`link`);var h=getType(i);return i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,h}if(s===`<`&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=linkInline,n.highlightFormatting&&(i.formatting=`link`);var h=getType(i);return h?h+=` `:h=``,h+a.linkInline}if(s===`<`&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=linkInline,n.highlightFormatting&&(i.formatting=`link`);var h=getType(i);return h?h+=` `:h=``,h+a.linkEmail}if(n.xml&&s===`<`&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var v=t.string.indexOf(`>`,t.pos);if(v!=-1){var y=t.string.substring(t.start,v);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(y)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=e.startState(r),switchBlock(t,i,htmlBlock)}if(n.xml&&s===`<`&&t.match(/^\/\w*?>/))return i.md_inside=!1,`tag`;if(s===`*`||s===`_`){for(var b=1,x=t.pos==1?` `:t.string.charAt(t.pos-2);b<3&&t.eat(s);)b++;var S=t.peek()||` `,C=!/\s/.test(S)&&(!g.test(S)||/\s/.test(x)||g.test(x)),w=!/\s/.test(x)&&(!g.test(x)||/\s/.test(S)||g.test(S)),T=null,E=null;if(b%2&&(!i.em&&C&&(s===`*`||!w||g.test(x))?T=!0:i.em==s&&w&&(s===`*`||!C||g.test(S))&&(T=!1)),b>1&&(!i.strong&&C&&(s===`*`||!w||g.test(x))?E=!0:i.strong==s&&w&&(s===`*`||!C||g.test(S))&&(E=!1)),E!=null||T!=null){n.highlightFormatting&&(i.formatting=T==null?`strong`:E==null?`em`:`strong em`),T===!0&&(i.em=s),E===!0&&(i.strong=s);var m=getType(i);return T===!1&&(i.em=!1),E===!1&&(i.strong=!1),m}}else if(s===` `&&(t.eat(`*`)||t.eat(`_`))){if(t.peek()===` `)return getType(i);t.backUp(1)}if(n.strikethrough){if(s===`~`&&t.eatWhile(s)){if(i.strikethrough){n.highlightFormatting&&(i.formatting=`strikethrough`);var m=getType(i);return i.strikethrough=!1,m}else if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting=`strikethrough`),getType(i)}else if(s===` `&&t.match(`~~`,!0)){if(t.peek()===` `)return getType(i);t.backUp(2)}}if(n.emoji&&s===`:`&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,n.highlightFormatting&&(i.formatting=`emoji`);var D=getType(i);return i.emoji=!1,D}return s===` `&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),getType(i)}function linkInline(e,t){if(e.next()===`>`){t.f=t.inline=inlineNormal,n.highlightFormatting&&(t.formatting=`link`);var r=getType(t);return r?r+=` `:r=``,r+a.linkInline}return e.match(/^[^>]+/,!0),a.linkInline}function linkHref(e,t){if(e.eatSpace())return null;var r=e.next();return r===`(`||r===`[`?(t.f=t.inline=getLinkHrefInside(r===`(`?`)`:`]`),n.highlightFormatting&&(t.formatting=`link-string`),t.linkHref=!0,getType(t)):`error`}var v={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function getLinkHrefInside(e){return function(t,r){if(t.next()===e){r.f=r.inline=inlineNormal,n.highlightFormatting&&(r.formatting=`link-string`);var i=getType(r);return r.linkHref=!1,i}return t.match(v[e]),r.linkHref=!0,getType(r)}}function footnoteLink(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=footnoteLinkInside,e.next(),n.highlightFormatting&&(t.formatting=`link`),t.linkText=!0,getType(t)):switchInline(e,t,inlineNormal)}function footnoteLinkInside(e,t){if(e.match(`]:`,!0)){t.f=t.inline=footnoteUrl,n.highlightFormatting&&(t.formatting=`link`);var r=getType(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function footnoteUrl(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),e.peek()===void 0?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),t.f=t.inline=inlineNormal,a.linkHref+` url`)}var y={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return blankLine(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=htmlBlock)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,_).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==htmlBlock?{state:e.htmlState,mode:r}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:y}},indent:function(t,n,i){return t.block==htmlBlock&&r.indent?r.indent(t.htmlState,n,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},blankLine,getType,blockCommentStart:`<!--`,blockCommentEnd:`-->`,closeBrackets:`()[]{}''""\`\``,fold:`markdown`};return y},`xml`),e.defineMIME(`text/markdown`,`markdown`),e.defineMIME(`text/x-markdown`,`markdown`)})})),v=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";e.overlayMode=function(t,n,r){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:e.copyState(t,r.base),overlay:e.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(e,i){return(e!=i.streamSeen||Math.min(i.basePos,i.overlayPos)<e.start)&&(i.streamSeen=e,i.basePos=i.overlayPos=e.start),e.start==i.basePos&&(i.baseCur=t.token(e,i.base),i.basePos=e.pos),e.start==i.overlayPos&&(e.pos=e.start,i.overlayCur=n.token(e,i.overlay),i.overlayPos=e.pos),e.pos=Math.min(i.basePos,i.overlayPos),i.overlayCur==null?i.baseCur:i.baseCur!=null&&i.overlay.combineTokens||r&&i.overlay.combineTokens==null?i.baseCur+` `+i.overlayCur:i.overlayCur},indent:t.indent&&function(e,n,r){return t.indent(e.base,n,r)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var i,a;return t.blankLine&&(i=t.blankLine(e.base)),n.blankLine&&(a=n.blankLine(e.overlay)),a==null?i:r&&i!=null?i+` `+a:a}}}})})),y=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),_(),v()):n(CodeMirror)})(function(e){"use strict";var t=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode(`gfm`,function(n,r){var i=0;function blankLine(e){return e.code=!1,null}var a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if(e.peek()==="`"){e.next();var a=e.pos;e.eatWhile("`");var o=1+e.pos-a;return n.code?o===i&&(n.code=!1):(i=o,n.code=!0),null}else if(n.code)return e.next(),null;return e.eatSpace()?(n.ateSpace=!0,null):(e.sol()||n.ateSpace)&&(n.ateSpace=!1,r.gitHubSpice!==!1)&&(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/)||e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))||e.match(t)&&e.string.slice(e.start-2,e.start)!=`](`&&(e.start==0||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,`link`):(e.next(),null)},blankLine},o={taskLists:!0,strikethrough:!0,emoji:!0};for(var s in r)o[s]=r[s];return o.name=`markdown`,e.overlayMode(e.getMode(n,o),a)},`markdown`),e.defineMIME(`text/x-gfm`,`gfm`)})})),b=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";e.defineMode(`javascript`,function(t,n){var r=t.indentUnit,i=n.statementIndent,a=n.jsonld,o=n.json||a,s=n.trackScope!==!1,c=n.typescript,l=n.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:`keyword`}}var e=kw(`keyword a`),t=kw(`keyword b`),n=kw(`keyword c`),r=kw(`keyword d`),i=kw(`operator`),a={type:`atom`,style:`atom`};return{if:kw(`if`),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw(`new`),delete:n,void:n,throw:n,debugger:kw(`debugger`),var:kw(`var`),const:kw(`var`),let:kw(`var`),function:kw(`function`),catch:kw(`catch`),for:kw(`for`),switch:kw(`switch`),case:kw(`case`),default:kw(`default`),in:i,typeof:i,instanceof:i,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw(`this`),class:kw(`class`),super:kw(`atom`),yield:n,export:kw(`export`),import:kw(`import`),extends:n,await:n}}(),d=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function readRegexp(e){for(var t=!1,n,r=!1;(n=e.next())!=null;){if(!t){if(n==`/`&&!r)return;n==`[`?r=!0:r&&n==`]`&&(r=!1)}t=!t&&n==`\\`}}var m,h;function ret(e,t,n){return m=e,h=n,t}function tokenBase(e,t){var n=e.next();if(n==`"`||n==`'`)return t.tokenize=tokenString(n),t.tokenize(e,t);if(n==`.`&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return ret(`number`,`number`);if(n==`.`&&e.match(`..`))return ret(`spread`,`meta`);if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if(n==`=`&&e.eat(`>`))return ret(`=>`,`operator`);if(n==`0`&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return ret(`number`,`number`);if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),ret(`number`,`number`);if(n==`/`)return e.eat(`*`)?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat(`/`)?(e.skipToEnd(),ret(`comment`,`comment`)):expressionAllowed(e,t,1)?(readRegexp(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),ret(`regexp`,`string-2`)):(e.eat(`=`),ret(`operator`,`operator`,e.current()));if(n=="`")return t.tokenize=tokenQuasi,tokenQuasi(e,t);if(n==`#`&&e.peek()==`!`)return e.skipToEnd(),ret(`meta`,`meta`);if(n==`#`&&e.eatWhile(l))return ret(`variable`,`property`);if(n==`<`&&e.match(`!--`)||n==`-`&&e.match(`->`)&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),ret(`comment`,`comment`);if(d.test(n))return(n!=`>`||!t.lexical||t.lexical.type!=`>`)&&(e.eat(`=`)?(n==`!`||n==`=`)&&e.eat(`=`):/[<>*+\-|&?]/.test(n)&&(e.eat(n),n==`>`&&e.eat(n))),n==`?`&&e.eat(`.`)?ret(`.`):ret(`operator`,`operator`,e.current());if(l.test(n)){e.eatWhile(l);var r=e.current();if(t.lastType!=`.`){if(u.propertyIsEnumerable(r)){var i=u[r];return ret(i.type,i.style,r)}if(r==`async`&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return ret(`async`,`keyword`,r)}return ret(`variable`,`variable`,r)}}function tokenString(e){return function(t,n){var r=!1,i;if(a&&t.peek()==`@`&&t.match(f))return n.tokenize=tokenBase,ret(`jsonld-keyword`,`meta`);for(;(i=t.next())!=null&&!(i==e&&!r);)r=!r&&i==`\\`;return r||(n.tokenize=tokenBase),ret(`string`,`string`)}}function tokenComment(e,t){for(var n=!1,r;r=e.next();){if(r==`/`&&n){t.tokenize=tokenBase;break}n=r==`*`}return ret(`comment`,`comment`)}function tokenQuasi(e,t){for(var n=!1,r;(r=e.next())!=null;){if(!n&&(r=="`"||r==`$`&&e.eat(`{`))){t.tokenize=tokenBase;break}n=!n&&r==`\\`}return ret(`quasi`,`string-2`,e.current())}var g=`([{}])`;function findFatArrow(e,t){t.fatArrowAt&&=null;var n=e.string.indexOf(`=>`,e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,a=!1,o=n-1;o>=0;--o){var s=e.string.charAt(o),u=g.indexOf(s);if(u>=0&&u<3){if(!i){++o;break}if(--i==0){s==`(`&&(a=!0);break}}else if(u>=3&&u<6)++i;else if(l.test(s))a=!0;else if(/["'\/`]/.test(s))for(;;--o){if(o==0)return;if(e.string.charAt(o-1)==s&&e.string.charAt(o-2)!=`\\`){o--;break}}else if(a&&!i){++o;break}}a&&!i&&(t.fatArrowAt=o)}}var _={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function JSLexical(e,t,n,r,i,a){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=a,r!=null&&(this.align=r)}function inScope(e,t){if(!s)return!1;for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function parseJS(e,t,n,r,i){var a=e.cc;for(v.state=e,v.stream=i,v.marked=null,v.cc=a,v.style=t,e.lexical.hasOwnProperty(`align`)||(e.lexical.align=!0);;)if((a.length?a.pop():o?expression:statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return v.marked?v.marked:n==`variable`&&inScope(e,r)?`variable-2`:t}}var v={state:null,column:null,marked:null,cc:null};function pass(){for(var e=arguments.length-1;e>=0;e--)v.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function inList(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function register(e){var t=v.state;if(v.marked=`def`,s){if(t.context){if(t.lexical.info==`var`&&t.context&&t.context.block){var r=registerVarScoped(e,t.context);if(r!=null){t.context=r;return}}else if(!inList(e,t.localVars)){t.localVars=new Var(e,t.localVars);return}}n.globalVars&&!inList(e,t.globalVars)&&(t.globalVars=new Var(e,t.globalVars))}}function registerVarScoped(e,t){if(!t)return null;if(t.block){var n=registerVarScoped(e,t.prev);return n?n==t.prev?t:new Context(n,t.vars,!0):null}else if(inList(e,t.vars))return t;else return new Context(t.prev,new Var(e,t.vars),!1)}function isModifier(e){return e==`public`||e==`private`||e==`protected`||e==`abstract`||e==`readonly`}function Context(e,t,n){this.prev=e,this.vars=t,this.block=n}function Var(e,t){this.name=e,this.next=t}var y=new Var(`this`,new Var(`arguments`,null));function pushcontext(){v.state.context=new Context(v.state.context,v.state.localVars,!1),v.state.localVars=y}function pushblockcontext(){v.state.context=new Context(v.state.context,v.state.localVars,!0),v.state.localVars=null}pushcontext.lex=pushblockcontext.lex=!0;function popcontext(){v.state.localVars=v.state.context.vars,v.state.context=v.state.context.prev}popcontext.lex=!0;function pushlex(e,t){var result=function(){var n=v.state,r=n.indented;if(n.lexical.type==`stat`)r=n.lexical.indented;else for(var i=n.lexical;i&&i.type==`)`&&i.align;i=i.prev)r=i.indented;n.lexical=new JSLexical(r,v.stream.column(),e,null,n.lexical,t)};return result.lex=!0,result}function poplex(){var e=v.state;e.lexical.prev&&(e.lexical.type==`)`&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}poplex.lex=!0;function expect(e){function exp(t){return t==e?cont():e==`;`||t==`}`||t==`)`||t==`]`?pass():cont(exp)}return exp}function statement(e,t){return e==`var`?cont(pushlex(`vardef`,t),vardef,expect(`;`),poplex):e==`keyword a`?cont(pushlex(`form`),parenExpr,statement,poplex):e==`keyword b`?cont(pushlex(`form`),statement,poplex):e==`keyword d`?v.stream.match(/^\s*$/,!1)?cont():cont(pushlex(`stat`),maybeexpression,expect(`;`),poplex):e==`debugger`?cont(expect(`;`)):e==`{`?cont(pushlex(`}`),pushblockcontext,block,poplex,popcontext):e==`;`?cont():e==`if`?(v.state.lexical.info==`else`&&v.state.cc[v.state.cc.length-1]==poplex&&v.state.cc.pop()(),cont(pushlex(`form`),parenExpr,statement,poplex,maybeelse)):e==`function`?cont(functiondef):e==`for`?cont(pushlex(`form`),pushblockcontext,forspec,statement,popcontext,poplex):e==`class`||c&&t==`interface`?(v.marked=`keyword`,cont(pushlex(`form`,e==`class`?e:t),className,poplex)):e==`variable`?c&&t==`declare`?(v.marked=`keyword`,cont(statement)):c&&(t==`module`||t==`enum`||t==`type`)&&v.stream.match(/^\s*\w/,!1)?(v.marked=`keyword`,t==`enum`?cont(enumdef):t==`type`?cont(typename,expect(`operator`),typeexpr,expect(`;`)):cont(pushlex(`form`),pattern,expect(`{`),pushlex(`}`),block,poplex,poplex)):c&&t==`namespace`?(v.marked=`keyword`,cont(pushlex(`form`),expression,statement,poplex)):c&&t==`abstract`?(v.marked=`keyword`,cont(statement)):cont(pushlex(`stat`),maybelabel):e==`switch`?cont(pushlex(`form`),parenExpr,expect(`{`),pushlex(`}`,`switch`),pushblockcontext,block,poplex,poplex,popcontext):e==`case`?cont(expression,expect(`:`)):e==`default`?cont(expect(`:`)):e==`catch`?cont(pushlex(`form`),pushcontext,maybeCatchBinding,statement,poplex,popcontext):e==`export`?cont(pushlex(`stat`),afterExport,poplex):e==`import`?cont(pushlex(`stat`),afterImport,poplex):e==`async`?cont(statement):t==`@`?cont(expression,statement):pass(pushlex(`stat`),expression,expect(`;`),poplex)}function maybeCatchBinding(e){if(e==`(`)return cont(funarg,expect(`)`))}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return e==`(`?cont(pushlex(`)`),maybeexpression,expect(`)`),poplex):pass()}function expressionInner(e,t,n){if(v.state.fatArrowAt==v.stream.start){var r=n?arrowBodyNoComma:arrowBody;if(e==`(`)return cont(pushcontext,pushlex(`)`),commasep(funarg,`)`),poplex,expect(`=>`),r,popcontext);if(e==`variable`)return pass(pushcontext,pattern,expect(`=>`),r,popcontext)}var i=n?maybeoperatorNoComma:maybeoperatorComma;return _.hasOwnProperty(e)?cont(i):e==`function`?cont(functiondef,i):e==`class`||c&&t==`interface`?(v.marked=`keyword`,cont(pushlex(`form`),classExpression,poplex)):e==`keyword c`||e==`async`?cont(n?expressionNoComma:expression):e==`(`?cont(pushlex(`)`),maybeexpression,expect(`)`),poplex,i):e==`operator`||e==`spread`?cont(n?expressionNoComma:expression):e==`[`?cont(pushlex(`]`),arrayLiteral,poplex,i):e==`{`?contCommasep(objprop,`}`,null,i):e==`quasi`?pass(quasi,i):e==`new`?cont(maybeTarget(n)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return e==`,`?cont(maybeexpression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=n==0?maybeoperatorComma:maybeoperatorNoComma,i=n==0?expression:expressionNoComma;if(e==`=>`)return cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext);if(e==`operator`)return/\+\+|--/.test(t)||c&&t==`!`?cont(r):c&&t==`<`&&v.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?cont(pushlex(`>`),commasep(typeexpr,`>`),poplex,r):t==`?`?cont(expression,expect(`:`),i):cont(i);if(e==`quasi`)return pass(quasi,r);if(e!=`;`){if(e==`(`)return contCommasep(expressionNoComma,`)`,`call`,r);if(e==`.`)return cont(property,r);if(e==`[`)return cont(pushlex(`]`),maybeexpression,expect(`]`),poplex,r);if(c&&t==`as`)return v.marked=`keyword`,cont(typeexpr,r);if(e==`regexp`)return v.state.lastType=v.marked=`operator`,v.stream.backUp(v.stream.pos-v.stream.start-1),cont(i)}}function quasi(e,t){return e==`quasi`?t.slice(t.length-2)=="${"?cont(maybeexpression,continueQuasi):cont(quasi):pass()}function continueQuasi(e){if(e==`}`)return v.marked=`string-2`,v.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(v.stream,v.state),pass(e==`{`?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(v.stream,v.state),pass(e==`{`?statement:expressionNoComma)}function maybeTarget(e){return function(t){return t==`.`?cont(e?targetNoComma:target):t==`variable`&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}function target(e,t){if(t==`target`)return v.marked=`keyword`,cont(maybeoperatorComma)}function targetNoComma(e,t){if(t==`target`)return v.marked=`keyword`,cont(maybeoperatorNoComma)}function maybelabel(e){return e==`:`?cont(poplex,statement):pass(maybeoperatorComma,expect(`;`),poplex)}function property(e){if(e==`variable`)return v.marked=`property`,cont()}function objprop(e,t){if(e==`async`)return v.marked=`property`,cont(objprop);if(e==`variable`||v.style==`keyword`){if(v.marked=`property`,t==`get`||t==`set`)return cont(getterSetter);var n;return c&&v.state.fatArrowAt==v.stream.start&&(n=v.stream.match(/^\s*:\s*/,!1))&&(v.state.fatArrowAt=v.stream.pos+n[0].length),cont(afterprop)}else if(e==`number`||e==`string`)return v.marked=a?`property`:v.style+` property`,cont(afterprop);else if(e==`jsonld-keyword`)return cont(afterprop);else if(c&&isModifier(t))return v.marked=`keyword`,cont(objprop);else if(e==`[`)return cont(expression,maybetype,expect(`]`),afterprop);else if(e==`spread`)return cont(expressionNoComma,afterprop);else if(t==`*`)return v.marked=`keyword`,cont(objprop);else if(e==`:`)return pass(afterprop)}function getterSetter(e){return e==`variable`?(v.marked=`property`,cont(functiondef)):pass(afterprop)}function afterprop(e){if(e==`:`)return cont(expressionNoComma);if(e==`(`)return pass(functiondef)}function commasep(e,t,n){function proceed(r,i){if(n?n.indexOf(r)>-1:r==`,`){var a=v.state.lexical;return a.info==`call`&&(a.pos=(a.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||i==t?cont():n&&n.indexOf(`;`)>-1?pass(e):cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r<arguments.length;r++)v.cc.push(arguments[r]);return cont(pushlex(t,n),commasep(e,t),poplex)}function block(e){return e==`}`?cont():pass(statement,block)}function maybetype(e,t){if(c){if(e==`:`)return cont(typeexpr);if(t==`?`)return cont(maybetype)}}function maybetypeOrIn(e,t){if(c&&(e==`:`||t==`in`))return cont(typeexpr)}function mayberettype(e){if(c&&e==`:`)return v.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if(t==`is`)return v.marked=`keyword`,cont()}function typeexpr(e,t){if(t==`keyof`||t==`typeof`||t==`infer`||t==`readonly`)return v.marked=`keyword`,cont(t==`typeof`?expressionNoComma:typeexpr);if(e==`variable`||t==`void`)return v.marked=`type`,cont(afterType);if(t==`|`||t==`&`)return cont(typeexpr);if(e==`string`||e==`number`||e==`atom`)return cont(afterType);if(e==`[`)return cont(pushlex(`]`),commasep(typeexpr,`]`,`,`),poplex,afterType);if(e==`{`)return cont(pushlex(`}`),typeprops,poplex,afterType);if(e==`(`)return cont(commasep(typearg,`)`),maybeReturnType,afterType);if(e==`<`)return cont(commasep(typeexpr,`>`),typeexpr);if(e==`quasi`)return pass(quasiType,afterType)}function maybeReturnType(e){if(e==`=>`)return cont(typeexpr)}function typeprops(e){return e.match(/[\}\)\]]/)?cont():e==`,`||e==`;`?cont(typeprops):pass(typeprop,typeprops)}function typeprop(e,t){if(e==`variable`||v.style==`keyword`)return v.marked=`property`,cont(typeprop);if(t==`?`||e==`number`||e==`string`)return cont(typeprop);if(e==`:`)return cont(typeexpr);if(e==`[`)return cont(expect(`variable`),maybetypeOrIn,expect(`]`),typeprop);if(e==`(`)return pass(functiondecl,typeprop);if(!e.match(/[;\}\)\],]/))return cont()}function quasiType(e,t){return e==`quasi`?t.slice(t.length-2)=="${"?cont(typeexpr,continueQuasiType):cont(quasiType):pass()}function continueQuasiType(e){if(e==`}`)return v.marked=`string-2`,v.state.tokenize=tokenQuasi,cont(quasiType)}function typearg(e,t){return e==`variable`&&v.stream.match(/^\s*[?:]/,!1)||t==`?`?cont(typearg):e==`:`?cont(typeexpr):e==`spread`?cont(typearg):pass(typeexpr)}function afterType(e,t){if(t==`<`)return cont(pushlex(`>`),commasep(typeexpr,`>`),poplex,afterType);if(t==`|`||e==`.`||t==`&`)return cont(typeexpr);if(e==`[`)return cont(typeexpr,expect(`]`),afterType);if(t==`extends`||t==`implements`)return v.marked=`keyword`,cont(typeexpr);if(t==`?`)return cont(typeexpr,expect(`:`),typeexpr)}function maybeTypeArgs(e,t){if(t==`<`)return cont(pushlex(`>`),commasep(typeexpr,`>`),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if(t==`=`)return cont(typeexpr)}function vardef(e,t){return t==`enum`?(v.marked=`keyword`,cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){if(c&&isModifier(t))return v.marked=`keyword`,cont(pattern);if(e==`variable`)return register(t),cont();if(e==`spread`)return cont(pattern);if(e==`[`)return contCommasep(eltpattern,`]`);if(e==`{`)return contCommasep(proppattern,`}`)}function proppattern(e,t){return e==`variable`&&!v.stream.match(/^\s*:/,!1)?(register(t),cont(maybeAssign)):(e==`variable`&&(v.marked=`property`),e==`spread`?cont(pattern):e==`}`?pass():e==`[`?cont(expression,expect(`]`),expect(`:`),proppattern):cont(expect(`:`),pattern,maybeAssign))}function eltpattern(){return pass(pattern,maybeAssign)}function maybeAssign(e,t){if(t==`=`)return cont(expressionNoComma)}function vardefCont(e){if(e==`,`)return cont(vardef)}function maybeelse(e,t){if(e==`keyword b`&&t==`else`)return cont(pushlex(`form`,`else`),statement,poplex)}function forspec(e,t){if(t==`await`)return cont(forspec);if(e==`(`)return cont(pushlex(`)`),forspec1,poplex)}function forspec1(e){return e==`var`?cont(vardef,forspec2):e==`variable`?cont(forspec2):pass(forspec2)}function forspec2(e,t){return e==`)`?cont():e==`;`?cont(forspec2):t==`in`||t==`of`?(v.marked=`keyword`,cont(expression,forspec2)):pass(expression,forspec2)}function functiondef(e,t){if(t==`*`)return v.marked=`keyword`,cont(functiondef);if(e==`variable`)return register(t),cont(functiondef);if(e==`(`)return cont(pushcontext,pushlex(`)`),commasep(funarg,`)`),poplex,mayberettype,statement,popcontext);if(c&&t==`<`)return cont(pushlex(`>`),commasep(typeparam,`>`),poplex,functiondef)}function functiondecl(e,t){if(t==`*`)return v.marked=`keyword`,cont(functiondecl);if(e==`variable`)return register(t),cont(functiondecl);if(e==`(`)return cont(pushcontext,pushlex(`)`),commasep(funarg,`)`),poplex,mayberettype,popcontext);if(c&&t==`<`)return cont(pushlex(`>`),commasep(typeparam,`>`),poplex,functiondecl)}function typename(e,t){if(e==`keyword`||e==`variable`)return v.marked=`type`,cont(typename);if(t==`<`)return cont(pushlex(`>`),commasep(typeparam,`>`),poplex)}function funarg(e,t){return t==`@`&&cont(expression,funarg),e==`spread`?cont(funarg):c&&isModifier(t)?(v.marked=`keyword`,cont(funarg)):c&&e==`this`?cont(maybetype,maybeAssign):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return e==`variable`?className(e,t):classNameAfter(e,t)}function className(e,t){if(e==`variable`)return register(t),cont(classNameAfter)}function classNameAfter(e,t){if(t==`<`)return cont(pushlex(`>`),commasep(typeparam,`>`),poplex,classNameAfter);if(t==`extends`||t==`implements`||c&&e==`,`)return t==`implements`&&(v.marked=`keyword`),cont(c?typeexpr:expression,classNameAfter);if(e==`{`)return cont(pushlex(`}`),classBody,poplex)}function classBody(e,t){if(e==`async`||e==`variable`&&(t==`static`||t==`get`||t==`set`||c&&isModifier(t))&&v.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return v.marked=`keyword`,cont(classBody);if(e==`variable`||v.style==`keyword`)return v.marked=`property`,cont(classfield,classBody);if(e==`number`||e==`string`)return cont(classfield,classBody);if(e==`[`)return cont(expression,maybetype,expect(`]`),classfield,classBody);if(t==`*`)return v.marked=`keyword`,cont(classBody);if(c&&e==`(`)return pass(functiondecl,classBody);if(e==`;`||e==`,`)return cont(classBody);if(e==`}`)return cont();if(t==`@`)return cont(expression,classBody)}function classfield(e,t){if(t==`!`||t==`?`)return cont(classfield);if(e==`:`)return cont(typeexpr,maybeAssign);if(t==`=`)return cont(expressionNoComma);var n=v.state.lexical.prev;return pass(n&&n.info==`interface`?functiondecl:functiondef)}function afterExport(e,t){return t==`*`?(v.marked=`keyword`,cont(maybeFrom,expect(`;`))):t==`default`?(v.marked=`keyword`,cont(expression,expect(`;`))):e==`{`?cont(commasep(exportField,`}`),maybeFrom,expect(`;`)):pass(statement)}function exportField(e,t){if(t==`as`)return v.marked=`keyword`,cont(expect(`variable`));if(e==`variable`)return pass(expressionNoComma,exportField)}function afterImport(e){return e==`string`?cont():e==`(`?pass(expression):e==`.`?pass(maybeoperatorComma):pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return e==`{`?contCommasep(importSpec,`}`):(e==`variable`&&register(t),t==`*`&&(v.marked=`keyword`),cont(maybeAs))}function maybeMoreImports(e){if(e==`,`)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if(t==`as`)return v.marked=`keyword`,cont(importSpec)}function maybeFrom(e,t){if(t==`from`)return v.marked=`keyword`,cont(expression)}function arrayLiteral(e){return e==`]`?cont():pass(commasep(expressionNoComma,`]`))}function enumdef(){return pass(pushlex(`form`),pattern,expect(`{`),pushlex(`}`),commasep(enummember,`}`),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function isContinuedStatement(e,t){return e.lastType==`operator`||e.lastType==`,`||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||t.lastType==`quasi`&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return{startState:function(e){var t={tokenize:tokenBase,lastType:`sof`,cc:[],lexical:new JSLexical((e||0)-r,0,`block`,!1),localVars:n.localVars,context:n.localVars&&new Context(null,null,!1),indented:e||0};return n.globalVars&&typeof n.globalVars==`object`&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty(`align`)||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return m==`comment`?n:(t.lastType=m==`operator`&&(h==`++`||h==`--`)?`incdec`:m,parseJS(t,n,m,h,e))},indent:function(t,a){if(t.tokenize==tokenComment||t.tokenize==tokenQuasi)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o=a&&a.charAt(0),s=t.lexical,c;if(!/^\s*else\b/.test(a))for(var l=t.cc.length-1;l>=0;--l){var u=t.cc[l];if(u==poplex)s=s.prev;else if(u!=maybeelse&&u!=popcontext)break}for(;(s.type==`stat`||s.type==`form`)&&(o==`}`||(c=t.cc[t.cc.length-1])&&(c==maybeoperatorComma||c==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(a));)s=s.prev;i&&s.type==`)`&&s.prev.type==`stat`&&(s=s.prev);var d=s.type,f=o==d;return d==`vardef`?s.indented+(t.lastType==`operator`||t.lastType==`,`?s.info.length+1:0):d==`form`&&o==`{`?s.indented:d==`form`?s.indented+r:d==`stat`?s.indented+(isContinuedStatement(t,a)?i||r:0):s.info==`switch`&&!f&&n.doubleIndentSwitch!=0?s.indented+(/^(?:case|default)\b/.test(a)?r:2*r):s.align?s.column+ +!f:s.indented+(f?0:r)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:o?null:`/*`,blockCommentEnd:o?null:`*/`,blockCommentContinue:o?null:` * `,lineComment:o?null:`//`,fold:`brace`,closeBrackets:`()[]{}''""\`\``,helperType:o?`json`:`javascript`,jsonldMode:a,jsonMode:o,expressionAllowed,skipExpression:function(t){parseJS(t,`atom`,`atom`,`true`,new e.StringStream(``,2,null))}}}),e.registerHelper(`wordChars`,`javascript`,/[\w$]/),e.defineMIME(`text/javascript`,`javascript`),e.defineMIME(`text/ecmascript`,`javascript`),e.defineMIME(`application/javascript`,`javascript`),e.defineMIME(`application/x-javascript`,`javascript`),e.defineMIME(`application/ecmascript`,`javascript`),e.defineMIME(`application/json`,{name:`javascript`,json:!0}),e.defineMIME(`application/x-json`,{name:`javascript`,json:!0}),e.defineMIME(`application/manifest+json`,{name:`javascript`,json:!0}),e.defineMIME(`application/ld+json`,{name:`javascript`,jsonld:!0}),e.defineMIME(`text/typescript`,{name:`javascript`,typescript:!0}),e.defineMIME(`application/typescript`,{name:`javascript`,typescript:!0})})})),x=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),h(),b(),f()):n(CodeMirror)})(function(e){"use strict";var t={script:[[`lang`,/(javascript|babel)/i,`javascript`],[`type`,/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,`javascript`],[`type`,/./,`text/plain`],[null,null,`javascript`]],style:[[`lang`,/^css$/i,`css`],[`type`,/^(text\/)?(x-)?(stylesheet|css)$/i,`css`],[`type`,/./,`text/plain`],[null,null,`css`]]};function maybeBackup(e,t,n){var r=e.current(),i=r.search(t);return i>-1?e.backUp(r.length-i):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}var n={};function getAttrRegexp(e){return n[e]||(n[e]=RegExp(`\\s+`+e+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function getAttrValue(e,t){var n=e.match(getAttrRegexp(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:``}function getTagRegexp(e,t){return RegExp((t?`^`:``)+`</\\s*`+e+`\\s*>`,`i`)}function addTags(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),i=e[n],a=i.length-1;a>=0;a--)r.unshift(i[a])}function findMatchingMode(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(!r[0]||r[1].test(getAttrValue(t,r[0])))return r[2]}}e.defineMode(`htmlmixed`,function(n,r){var i=e.getMode(n,{name:`xml`,htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag,allowMissingTagName:r.allowMissingTagName}),a={},o=r&&r.tags,s=r&&r.scriptTypes;if(addTags(t,a),o&&addTags(o,a),s)for(var c=s.length-1;c>=0;c--)a.script.unshift([`type`,s[c].matches,s[c].mode]);function html(t,r){var o=i.token(t,r.htmlState),s=/\btag\b/.test(o),c;if(s&&!/[<>\s\/]/.test(t.current())&&(c=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(c))r.inTag=c+` `;else if(r.inTag&&s&&/>$/.test(t.current())){var l=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var u=t.current()==`>`&&findMatchingMode(a[l[1]],l[2]),d=e.getMode(n,u),f=getTagRegexp(l[1],!0),m=getTagRegexp(l[1],!1);r.token=function(e,t){return e.match(f,!1)?(t.token=html,t.localState=t.localMode=null,null):maybeBackup(e,m,t.localMode.token(e,t.localState))},r.localMode=d,r.localState=e.startState(d,i.indent(r.htmlState,``,``))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=` `));return o}return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(i)}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(i,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?i.indent(t.htmlState,n,r):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||i}}}},`xml`,`javascript`,`css`),e.defineMIME(`text/html`,`htmlmixed`)})})),S=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";e.defineMode(`sql`,function(r,i){var a=i.client||{},o=i.atoms||{false:!0,true:!0,null:!0},s=i.builtin||set(n),c=i.keywords||set(t),l=i.operatorChars||/^[*+\-%<>!=&|~^\/]/,u=i.support||{},d=i.hooks||{},f=i.dateSQL||{date:!0,time:!0,timestamp:!0},m=i.backslashStringEscapes!==!1,h=i.brackets||/^[\{}\(\)\[\]]/,g=i.punctuation||/^[;.,:]/;function tokenBase(e,t){var n=e.next();if(d[n]){var r=d[n](e,t);if(r!==!1)return r}if(u.hexNumber&&(n==`0`&&e.match(/^[xX][0-9a-fA-F]+/)||(n==`x`||n==`X`)&&e.match(/^'[0-9a-fA-F]*'/))||u.binaryNumber&&((n==`b`||n==`B`)&&e.match(/^'[01]*'/)||n==`0`&&e.match(/^b[01]+/)))return`number`;if(n.charCodeAt(0)>47&&n.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),u.decimallessFloat&&e.match(/^\.(?!\.)/),`number`;if(n==`?`&&(e.eatSpace()||e.eol()||e.eat(`;`)))return`variable-3`;if(n==`'`||n==`"`&&u.doubleQuote)return t.tokenize=tokenLiteral(n),t.tokenize(e,t);if((u.nCharCast&&(n==`n`||n==`N`)||u.charsetCast&&n==`_`&&e.match(/[a-z][a-z0-9]*/i))&&(e.peek()==`'`||e.peek()==`"`))return`keyword`;if(u.escapeConstant&&(n==`e`||n==`E`)&&(e.peek()==`'`||e.peek()==`"`&&u.doubleQuote))return t.tokenize=function(e,t){return(t.tokenize=tokenLiteral(e.next(),!0))(e,t)},`keyword`;if(u.commentSlashSlash&&n==`/`&&e.eat(`/`)||u.commentHash&&n==`#`||n==`-`&&e.eat(`-`)&&(!u.commentSpaceRequired||e.eat(` `)))return e.skipToEnd(),`comment`;if(n==`/`&&e.eat(`*`))return t.tokenize=tokenComment(1),t.tokenize(e,t);if(n==`.`){if(u.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return`number`;if(e.match(/^\.+/))return null;if(e.match(/^[\w\d_$#]+/))return`variable-2`}else if(l.test(n))return e.eatWhile(l),`operator`;else if(h.test(n))return`bracket`;else if(g.test(n))return e.eatWhile(g),`punctuation`;else if(n==`{`&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return`number`;else{e.eatWhile(/^[_\w\d]/);var i=e.current().toLowerCase();return f.hasOwnProperty(i)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?`number`:o.hasOwnProperty(i)?`atom`:s.hasOwnProperty(i)?`type`:c.hasOwnProperty(i)?`keyword`:a.hasOwnProperty(i)?`builtin`:null}}function tokenLiteral(e,t){return function(n,r){for(var i=!1,a;(a=n.next())!=null;){if(a==e&&!i){r.tokenize=tokenBase;break}i=(m||t)&&!i&&a==`\\`}return`string`}}function tokenComment(e){return function(t,n){var r=t.match(/^.*?(\/\*|\*\/)/);return r?r[1]==`/*`?n.tokenize=tokenComment(e+1):e>1?n.tokenize=tokenComment(e-1):n.tokenize=tokenBase:t.skipToEnd(),`comment`}}function pushContext(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}function popContext(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:tokenBase,context:null}},token:function(e,t){if(e.sol()&&t.context&&t.context.align==null&&(t.context.align=!1),t.tokenize==tokenBase&&e.eatSpace())return null;var n=t.tokenize(e,t);if(n==`comment`)return n;t.context&&t.context.align==null&&(t.context.align=!0);var r=e.current();return r==`(`?pushContext(e,t,`)`):r==`[`?pushContext(e,t,`]`):t.context&&t.context.type==r&&popContext(t),n},indent:function(t,n){var i=t.context;if(!i)return e.Pass;var a=n.charAt(0)==i.type;return i.align?i.col+ +!a:i.indent+(a?0:r.indentUnit)},blockCommentStart:`/*`,blockCommentEnd:`*/`,lineComment:u.commentSlashSlash?`//`:u.commentHash?`#`:`--`,closeBrackets:`()[]{}''""\`\``,config:i}});function hookIdentifier(e){for(var t;(t=e.next())!=null;)if(t=="`"&&!e.eat("`"))return`variable-2`;return e.backUp(e.current().length-1),e.eatWhile(/\w/)?`variable-2`:null}function hookIdentifierDoublequote(e){for(var t;(t=e.next())!=null;)if(t==`"`&&!e.eat(`"`))return`variable-2`;return e.backUp(e.current().length-1),e.eatWhile(/\w/)?`variable-2`:null}function hookVar(e){return e.eat(`@`)&&(e.match(`session.`),e.match(`local.`),e.match(`global.`)),e.eat(`'`)?(e.match(/^.*'/),`variable-2`):e.eat(`"`)?(e.match(/^.*"/),`variable-2`):e.eat("`")?(e.match(/^.*`/),`variable-2`):e.match(/^[0-9a-zA-Z$\.\_]+/)?`variable-2`:null}function hookClient(e){return e.eat(`N`)?`atom`:e.match(/^[a-zA-Z.#!?]/)?`variable-2`:null}var t=`alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit `;function set(e){for(var t={},n=e.split(` `),r=0;r<n.length;++r)t[n[r]]=!0;return t}var n=`bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric`;e.defineMIME(`text/x-sql`,{name:`sql`,keywords:set(t+`begin`),builtin:set(n),atoms:set(`false true null unknown`),dateSQL:set(`date time timestamp`),support:set(`doubleQuote binaryNumber hexNumber`)}),e.defineMIME(`text/x-mssql`,{name:`sql`,client:set(`$partition binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id`),keywords:set(t+`begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx updlock with`),builtin:set(`bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table `),atoms:set(`is not null like and or in left right between inner outer join all any some cross unpivot pivot exists`),operatorChars:/^[*+\-%<>!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:set(`date datetimeoffset datetime2 smalldatetime datetime time`),hooks:{"@":hookVar}}),e.defineMIME(`text/x-mysql`,{name:`sql`,client:set(`charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee`),keywords:set(t+`accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat`),builtin:set(`bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric`),atoms:set(`false true null unknown`),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set(`date time timestamp`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired`),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),e.defineMIME(`text/x-mariadb`,{name:`sql`,client:set(`charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee`),keywords:set(t+`accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat`),builtin:set(`bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric`),atoms:set(`false true null unknown`),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set(`date time timestamp`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired`),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),e.defineMIME(`text/x-sqlite`,{name:`sql`,client:set(`auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width`),keywords:set(t+`abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without`),builtin:set(`bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real`),atoms:set(`null current_date current_time current_timestamp`),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:set(`date time timestamp datetime`),support:set(`decimallessFloat zerolessFloat`),identifierQuote:`"`,hooks:{"@":hookVar,":":hookVar,"?":hookVar,$:hookVar,'"':hookIdentifierDoublequote,"`":hookIdentifier}}),e.defineMIME(`text/x-cassandra`,{name:`sql`,client:{},keywords:set(`add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime`),builtin:set(`ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint`),atoms:set(`false true infinity NaN`),operatorChars:/^[<>=]/,dateSQL:{},support:set(`commentSlashSlash decimallessFloat`),hooks:{}}),e.defineMIME(`text/x-plsql`,{name:`sql`,client:set(`appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap`),keywords:set(`abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work`),builtin:set(`abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml`),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:set(`date time timestamp`),support:set(`doubleQuote nCharCast zerolessFloat binaryNumber hexNumber`)}),e.defineMIME(`text/x-hive`,{name:`sql`,keywords:set(`select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year`),builtin:set(`bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar`),atoms:set(`false true null unknown`),operatorChars:/^[*+\-%<>!=]/,dateSQL:set(`date timestamp`),support:set(`doubleQuote binaryNumber hexNumber`)}),e.defineMIME(`text/x-pgsql`,{name:`sql`,client:set(`source`),keywords:set(t+`a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone`),builtin:set(`bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time zone timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml`),atoms:set(`false true null unknown`),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,identifierQuote:`"`,hooks:{'"':hookIdentifierDoublequote},dateSQL:set(`date time timestamp`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant`)}),e.defineMIME(`text/x-gql`,{name:`sql`,keywords:set(`ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where`),atoms:set(`false true`),builtin:set(`blob datetime first key __key__ string integer double boolean null`),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME(`text/x-gpsql`,{name:`sql`,client:set(`source`),keywords:set(`abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone`),builtin:set(`bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml`),atoms:set(`false true null unknown`),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set(`date time timestamp`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast`)}),e.defineMIME(`text/x-sparksql`,{name:`sql`,keywords:set(`add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with`),builtin:set(`abs acos acosh add_months aggregate and any approx_count_distinct approx_percentile array array_contains array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_repeat array_sort array_union arrays_overlap arrays_zip ascii asin asinh assert_true atan atan2 atanh avg base64 between bigint bin binary bit_and bit_count bit_get bit_length bit_or bit_xor bool_and bool_or boolean bround btrim cardinality case cast cbrt ceil ceiling char char_length character_length chr coalesce collect_list collect_set concat concat_ws conv corr cos cosh cot count count_if count_min_sketch covar_pop covar_samp crc32 cume_dist current_catalog current_database current_date current_timestamp current_timezone current_user date date_add date_format date_from_unix_date date_part date_sub date_trunc datediff day dayofmonth dayofweek dayofyear decimal decode degrees delimited dense_rank div double e element_at elt encode every exists exp explode explode_outer expm1 extract factorial filter find_in_set first first_value flatten float floor forall format_number format_string from_csv from_json from_unixtime from_utc_timestamp get_json_object getbit greatest grouping grouping_id hash hex hour hypot if ifnull in initcap inline inline_outer input_file_block_length input_file_block_start input_file_name inputformat instr int isnan isnotnull isnull java_method json_array_length json_object_keys json_tuple kurtosis lag last last_day last_value lcase lead least left length levenshtein like ln locate log log10 log1p log2 lower lpad ltrim make_date make_dt_interval make_interval make_timestamp make_ym_interval map map_concat map_entries map_filter map_from_arrays map_from_entries map_keys map_values map_zip_with max max_by md5 mean min min_by minute mod monotonically_increasing_id month months_between named_struct nanvl negative next_day not now nth_value ntile nullif nvl nvl2 octet_length or outputformat overlay parse_url percent_rank percentile percentile_approx pi pmod posexplode posexplode_outer position positive pow power printf quarter radians raise_error rand randn random rank rcfile reflect regexp regexp_extract regexp_extract_all regexp_like regexp_replace repeat replace reverse right rint rlike round row_number rpad rtrim schema_of_csv schema_of_json second sentences sequence sequencefile serde session_window sha sha1 sha2 shiftleft shiftright shiftrightunsigned shuffle sign signum sin sinh size skewness slice smallint some sort_array soundex space spark_partition_id split sqrt stack std stddev stddev_pop stddev_samp str_to_map string struct substr substring substring_index sum tan tanh textfile timestamp timestamp_micros timestamp_millis timestamp_seconds tinyint to_csv to_date to_json to_timestamp to_unix_timestamp to_utc_timestamp transform transform_keys transform_values translate trim trunc try_add try_divide typeof ucase unbase64 unhex uniontype unix_date unix_micros unix_millis unix_seconds unix_timestamp upper uuid var_pop var_samp variance version weekday weekofyear when width_bucket window xpath xpath_boolean xpath_double xpath_float xpath_int xpath_long xpath_number xpath_short xpath_string xxhash64 year zip_with`),atoms:set(`false true null`),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:set(`date time timestamp`),support:set(`doubleQuote zerolessFloat`)}),e.defineMIME(`text/x-esper`,{name:`sql`,client:set(`source`),keywords:set(`alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window`),builtin:{},atoms:set(`false true null`),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set(`time`),support:set(`decimallessFloat zerolessFloat binaryNumber hexNumber`)}),e.defineMIME(`text/x-trino`,{name:`sql`,keywords:set(`abs absent acos add admin after all all_match alter analyze and any any_match approx_distinct approx_most_frequent approx_percentile approx_set arbitrary array_agg array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_sort array_union arrays_overlap as asc asin at at_timezone atan atan2 authorization avg bar bernoulli beta_cdf between bing_tile bing_tile_at bing_tile_coordinates bing_tile_polygon bing_tile_quadkey bing_tile_zoom_level bing_tiles_around bit_count bitwise_and bitwise_and_agg bitwise_left_shift bitwise_not bitwise_or bitwise_or_agg bitwise_right_shift bitwise_right_shift_arithmetic bitwise_xor bool_and bool_or both by call cardinality cascade case cast catalogs cbrt ceil ceiling char2hexint checksum chr classify coalesce codepoint column columns combinations comment commit committed concat concat_ws conditional constraint contains contains_sequence convex_hull_agg copartition corr cos cosh cosine_similarity count count_if covar_pop covar_samp crc32 create cross cube cume_dist current current_catalog current_date current_groups current_path current_role current_schema current_time current_timestamp current_timezone current_user data date_add date_diff date_format date_parse date_trunc day day_of_month day_of_week day_of_year deallocate default define definer degrees delete dense_rank deny desc describe descriptor distinct distributed dow doy drop e element_at else empty empty_approx_set encoding end error escape evaluate_classifier_predictions every except excluding execute exists exp explain extract false features fetch filter final first first_value flatten floor following for format format_datetime format_number from from_base from_base32 from_base64 from_base64url from_big_endian_32 from_big_endian_64 from_encoded_polyline from_geojson_geometry from_hex from_ieee754_32 from_ieee754_64 from_iso8601_date from_iso8601_timestamp from_iso8601_timestamp_nanos from_unixtime from_unixtime_nanos from_utf8 full functions geometric_mean geometry_from_hadoop_shape geometry_invalid_reason geometry_nearest_points geometry_to_bing_tiles geometry_union geometry_union_agg grant granted grants graphviz great_circle_distance greatest group grouping groups hamming_distance hash_counts having histogram hmac_md5 hmac_sha1 hmac_sha256 hmac_sha512 hour human_readable_seconds if ignore in including index infinity initial inner input insert intersect intersection_cardinality into inverse_beta_cdf inverse_normal_cdf invoker io is is_finite is_infinite is_json_scalar is_nan isolation jaccard_index join json_array json_array_contains json_array_get json_array_length json_exists json_extract json_extract_scalar json_format json_object json_parse json_query json_size json_value keep key keys kurtosis lag last last_day_of_month last_value lateral lead leading learn_classifier learn_libsvm_classifier learn_libsvm_regressor learn_regressor least left length level levenshtein_distance like limit line_interpolate_point line_interpolate_points line_locate_point listagg ln local localtime localtimestamp log log10 log2 logical lower lpad ltrim luhn_check make_set_digest map_agg map_concat map_entries map_filter map_from_entries map_keys map_union map_values map_zip_with match match_recognize matched matches materialized max max_by md5 measures merge merge_set_digest millisecond min min_by minute mod month multimap_agg multimap_from_entries murmur3 nan natural next nfc nfd nfkc nfkd ngrams no none none_match normal_cdf normalize not now nth_value ntile null nullif nulls numeric_histogram object objectid_timestamp of offset omit on one only option or order ordinality outer output over overflow parse_data_size parse_datetime parse_duration partition partitions passing past path pattern per percent_rank permute pi position pow power preceding prepare privileges properties prune qdigest_agg quarter quotes radians rand random range rank read recursive reduce reduce_agg refresh regexp_count regexp_extract regexp_extract_all regexp_like regexp_position regexp_replace regexp_split regr_intercept regr_slope regress rename render repeat repeatable replace reset respect restrict returning reverse revoke rgb right role roles rollback rollup round row_number rows rpad rtrim running scalar schema schemas second security seek select sequence serializable session set sets sha1 sha256 sha512 show shuffle sign simplify_geometry sin skewness skip slice some soundex spatial_partitioning spatial_partitions split split_part split_to_map split_to_multimap spooky_hash_v2_32 spooky_hash_v2_64 sqrt st_area st_asbinary st_astext st_boundary st_buffer st_centroid st_contains st_convexhull st_coorddim st_crosses st_difference st_dimension st_disjoint st_distance st_endpoint st_envelope st_envelopeaspts st_equals st_exteriorring st_geometries st_geometryfromtext st_geometryn st_geometrytype st_geomfrombinary st_interiorringn st_interiorrings st_intersection st_intersects st_isclosed st_isempty st_isring st_issimple st_isvalid st_length st_linefromtext st_linestring st_multipoint st_numgeometries st_numinteriorring st_numpoints st_overlaps st_point st_pointn st_points st_polygon st_relate st_startpoint st_symdifference st_touches st_union st_within st_x st_xmax st_xmin st_y st_ymax st_ymin start starts_with stats stddev stddev_pop stddev_samp string strpos subset substr substring sum system table tables tablesample tan tanh tdigest_agg text then ties timestamp_objectid timezone_hour timezone_minute to to_base to_base32 to_base64 to_base64url to_big_endian_32 to_big_endian_64 to_char to_date to_encoded_polyline to_geojson_geometry to_geometry to_hex to_ieee754_32 to_ieee754_64 to_iso8601 to_milliseconds to_spherical_geography to_timestamp to_unixtime to_utf8 trailing transaction transform transform_keys transform_values translate trim trim_array true truncate try try_cast type typeof uescape unbounded uncommitted unconditional union unique unknown unmatched unnest update upper url_decode url_encode url_extract_fragment url_extract_host url_extract_parameter url_extract_path url_extract_port url_extract_protocol url_extract_query use user using utf16 utf32 utf8 validate value value_at_quantile values values_at_quantiles var_pop var_samp variance verbose version view week week_of_year when where width_bucket wilson_interval_lower wilson_interval_upper window with with_timezone within without word_stem work wrapper write xxhash64 year year_of_week yow zip zip_with`),builtin:set(`array bigint bingtile boolean char codepoints color date decimal double function geometry hyperloglog int integer interval ipaddress joniregexp json json2016 jsonpath kdbtree likepattern map model objectid p4hyperloglog precision qdigest re2jregexp real regressor row setdigest smallint sphericalgeography tdigest time timestamp tinyint uuid varbinary varchar zone`),atoms:set(`false true null unknown`),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:set(`date time timestamp zone`),support:set(`decimallessFloat zerolessFloat hexNumber`)})})})),C=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";e.defineMode(`yaml`,function(){var e=RegExp(`\\b((`+[`true`,`false`,`on`,`off`,`yes`,`no`].join(`)|(`)+`))$`,`i`);return{token:function(t,n){var r=t.peek(),i=n.escaped;if(n.escaped=!1,r==`#`&&(t.pos==0||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),`comment`;if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return`string`;if(n.literal&&t.indentation()>n.keyCol)return t.skipToEnd(),`string`;if(n.literal&&=!1,t.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,t.match(`---`)||t.match(`...`))return`def`;if(t.match(/\s*-\s+/))return`meta`}if(t.match(/^(\{|\}|\[|\])/))return r==`{`?n.inlinePairs++:r==`}`?n.inlinePairs--:r==`[`?n.inlineList++:n.inlineList--,`meta`;if(n.inlineList>0&&!i&&r==`,`)return t.next(),`meta`;if(n.inlinePairs>0&&!i&&r==`,`)return n.keyCol=0,n.pair=!1,n.pairStart=!1,t.next(),`meta`;if(n.pairStart){if(t.match(/^\s*(\||\>)\s*/))return n.literal=!0,`meta`;if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return`variable-2`;if(n.inlinePairs==0&&t.match(/^\s*-?[0-9\.\,]+\s?$/)||n.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return`number`;if(t.match(e))return`keyword`}return!n.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^\s,\[\]{}#&*!|>'"%@`])[^#:]*(?=:($|\s))/)?(n.pair=!0,n.keyCol=t.indentation(),`atom`):n.pair&&t.match(/^:\s*/)?(n.pairStart=!0,`meta`):(n.pairStart=!1,n.escaped=r==`\\`,t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:`#`,fold:`indent`}}),e.defineMIME(`text/x-yaml`,`yaml`),e.defineMIME(`text/yaml`,`yaml`)})}));f(),m(),h(),g(),_(),y(),b(),x(),S(),C();var w=__toESM(d(),1);w.default.defineMode(`dot`,function(e){let t=/--|->|=|;/,n=/[\[\]{}]/;return{startState(){return{indent_level:0}},token(e,r){switch(e.eatSpace(),r.looking_for){case`multiline-comment`:return e.match(/.*\*\//)?r.looking_for=null:e.skipToEnd(),`comment`;case`property`:return e.match(`=`)?`variable-3`:(e.match(/\w+/),r.looking_for=null,`string-2`);case`graphname`:if(r.looking_for=null,e.match(/{\W*$/))return r.indent_level+=1,`bracket`;if(e.match(`{`))return`bracket`;if(e.match(/[^\W]+/))return`variable-2`;default:return e.match(/{\W*$/)?(r.indent_level+=1,`bracket`):e.match(/}\W*$/)?(--r.indent_level,`bracket`):e.match(n)?`bracket`:e.match(/".*"/)?`string`:e.match(/\w+=[\"\w]+/,!1)?(r.looking_for=`property`,e.match(/[^=]+/),`attribute`):e.match(t)?`variable-3`:e.match(/(di)?graph[^{\w]+/)?(r.looking_for=`graphname`,`keyword`):e.match(/\/\/|#/)?(e.skipToEnd(),`comment`):e.match(/\/\*.*\*\//)?`comment`:e.match(`/*`)?(r.looking_for=`multiline-comment`,`comment`):(e.match(/\w+/)||e.skipToEnd(),`variable`)}},indent(t,n){return t.indent_level*(e.indentUnit||2)},closeBrackets:{pairs:`[]{}""`},lineComment:/(\/\/|#)/,blockCommentStart:`/*`,blockCommentEnd:`*/`}}),w.default.defineMIME(`text/x-dot`,`dot`),w.default.defineMode(`markdown`,function(e,t){var n=w.default.getMode(e,`text/html`),r=n.name==`null`;t.defaultMode===void 0&&(t.defaultMode=``);function getMode(n){if(n=n===``?t.defaultMode:n,w.default.findModeByName){var r=w.default.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=w.default.getMode(e,n);return i.name==`null`?null:i}t.highlightFormatting===void 0&&(t.highlightFormatting=!1),t.maxBlockquoteDepth===void 0&&(t.maxBlockquoteDepth=0),t.taskLists===void 0&&(t.taskLists=!1),t.strikethrough===void 0&&(t.strikethrough=!1),t.emoji===void 0&&(t.emoji=!1),t.fencedCodeBlockHighlighting===void 0&&(t.fencedCodeBlockHighlighting=!0),t.xml===void 0&&(t.xml=!0),t.tokenTypeOverrides===void 0&&(t.tokenTypeOverrides={});var i={header:`header`,code:`comment`,quote:`quote`,list1:`variable-2`,list2:`variable-3`,list3:`keyword`,hr:`hr`,image:`image`,imageAltText:`image-alt-text`,imageMarker:`image-marker`,formatting:`formatting`,linkInline:`link`,linkEmail:`link`,linkText:`link`,linkHref:`string`,em:`em`,strong:`strong`,strikethrough:`strikethrough`,emoji:`builtin`};for(var a in i)i.hasOwnProperty(a)&&t.tokenTypeOverrides[a]&&(i[a]=t.tokenTypeOverrides[a]);var o=/^([*\-_])(?:\s*\1){2,}\s*$/,s=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,c=/^\[(x| )\](?=\s)/i,l=t.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,u=/^ *(?:\={1,}|-{1,})\s*$/,d=/^[^#!\[\]*_\\<>` "'(~:]+/,f=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,m=/^\s*\[[^\]]+?\]:.*$/,h=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,g=` `;function switchInline(e,t,n){return t.f=t.inline=n,n(e,t)}function switchBlock(e,t,n){return t.f=t.block=n,n(e,t)}function lineIsEmpty(e){return!e||!/\S/.test(e.string)}function blankLine(e){if(e.linkTitle=!1,e.linkHref=!1,e.linkText=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,e.indentedCode=!1,e.f==htmlBlock){var t=r;if(!t){var i=w.default.innerMode(n,e.htmlState);t=i.mode.name==`xml`&&i.state.tagStart===null&&!i.state.context&&i.state.tokenize.isInText}t&&(e.f=inlineNormal,e.block=blockNormal,e.htmlState=null)}return e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.prevLine=e.thisLine,e.thisLine={stream:null},null}function blockNormal(e,n){var r=e.column()===n.indentation,a=lineIsEmpty(n.prevLine.stream),d=n.indentedCode,h=n.prevLine.hr,g=n.list!==!1,_=(n.listStack[n.listStack.length-1]||0)+3;n.indentedCode=!1;var v=n.indentation;if(n.indentationDiff===null&&(n.indentationDiff=n.indentation,g)){for(n.list=null;v<n.listStack[n.listStack.length-1];)n.listStack.pop(),n.listStack.length?n.indentation=n.listStack[n.listStack.length-1]:n.list=!1;n.list!==!1&&(n.indentationDiff=v-n.listStack[n.listStack.length-1])}var y=!a&&!h&&!n.prevLine.header&&(!g||!d)&&!n.prevLine.fencedCodeEnd,b=(n.list===!1||h||a)&&n.indentation<=_&&e.match(o),x=null;if(n.indentationDiff>=4&&(d||n.prevLine.fencedCodeEnd||n.prevLine.header||a))return e.skipToEnd(),n.indentedCode=!0,i.code;if(e.eatSpace())return null;if(r&&n.indentation<=_&&(x=e.match(l))&&x[1].length<=6)return n.quote=0,n.header=x[1].length,n.thisLine.header=!0,t.highlightFormatting&&(n.formatting=`header`),n.f=n.inline,getType(n);if(n.indentation<=_&&e.eat(`>`))return n.quote=r?1:n.quote+1,t.highlightFormatting&&(n.formatting=`quote`),e.eatSpace(),getType(n);if(!b&&!n.setext&&r&&n.indentation<=_&&(x=e.match(s))){var S=x[1]?`ol`:`ul`;return n.indentation=v+e.current().length,n.list=!0,n.quote=0,n.listStack.push(n.indentation),n.em=!1,n.strong=!1,n.code=!1,n.strikethrough=!1,t.taskLists&&e.match(c,!1)&&(n.taskList=!0),n.f=n.inline,t.highlightFormatting&&(n.formatting=[`list`,`list-`+S]),getType(n)}else if(r&&n.indentation<=_&&(x=e.match(f,!0)))return n.quote=0,n.fencedEndRE=RegExp(x[1]+`+ *$`),n.localMode=t.fencedCodeBlockHighlighting&&getMode(x[2]),n.localMode&&(n.localState=w.default.startState(n.localMode)),n.f=n.block=local,t.highlightFormatting&&(n.formatting=`code-block`),n.code=-1,getType(n);else if(n.setext||(!y||!g)&&!n.quote&&n.list===!1&&!n.code&&!b&&!m.test(e.string)&&(x=e.lookAhead(1))&&(x=x.match(u)))return n.setext?(n.header=n.setext,n.setext=0,e.skipToEnd(),t.highlightFormatting&&(n.formatting=`header`)):(n.header=x[0].charAt(0)==`=`?1:2,n.setext=n.header),n.thisLine.header=!0,n.f=n.inline,getType(n);else if(b)return e.skipToEnd(),n.hr=!0,n.thisLine.hr=!0,i.hr;else if(e.peek()===`[`)return switchInline(e,n,footnoteLink);return switchInline(e,n,n.inline)}function htmlBlock(e,t){var i=n.token(e,t.htmlState);if(!r){var a=w.default.innerMode(n,t.htmlState);(a.mode.name==`xml`&&a.state.tagStart===null&&!a.state.context&&a.state.tokenize.isInText||t.md_inside&&e.current().indexOf(`>`)>-1)&&(t.f=inlineNormal,t.block=blockNormal,t.htmlState=null)}return i}function local(e,n){var r=n.listStack[n.listStack.length-1]||0,a=n.indentation<r,o=r+3;if(n.fencedEndRE&&n.indentation<=o&&(a||e.match(n.fencedEndRE))){t.highlightFormatting&&(n.formatting=`code-block`);var s;return a||(s=getType(n)),n.localMode=n.localState=null,n.block=blockNormal,n.f=inlineNormal,n.fencedEndRE=null,n.code=0,n.thisLine.fencedCodeEnd=!0,a?switchBlock(e,n,n.block):s}else if(n.localMode)return n.localMode.token(e,n.localState);else return e.skipToEnd(),i.code}function getType(e){var n=[];if(e.formatting){n.push(i.formatting),typeof e.formatting==`string`&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)n.push(i.formatting+`-`+e.formatting[r]),e.formatting[r]===`header`&&n.push(i.formatting+`-`+e.formatting[r]+`-`+e.header),e.formatting[r]===`quote`&&(!t.maxBlockquoteDepth||t.maxBlockquoteDepth>=e.quote?n.push(i.formatting+`-`+e.formatting[r]+`-`+e.quote):n.push(`error`))}if(e.taskOpen)return n.push(`meta`),n.length?n.join(` `):null;if(e.taskClosed)return n.push(`property`),n.length?n.join(` `):null;if(e.linkHref?n.push(i.linkHref,`url`):(e.strong&&n.push(i.strong),e.em&&n.push(i.em),e.strikethrough&&n.push(i.strikethrough),e.emoji&&n.push(i.emoji),e.linkText&&n.push(i.linkText),e.code&&n.push(i.code),e.image&&n.push(i.image),e.imageAltText&&n.push(i.imageAltText,`link`),e.imageMarker&&n.push(i.imageMarker)),e.header&&n.push(i.header,i.header+`-`+e.header),e.quote&&(n.push(i.quote),!t.maxBlockquoteDepth||t.maxBlockquoteDepth>=e.quote?n.push(i.quote+`-`+e.quote):n.push(i.quote+`-`+t.maxBlockquoteDepth)),e.list!==!1){var a=(e.listStack.length-1)%3;a?a===1?n.push(i.list2):n.push(i.list3):n.push(i.list1)}return e.trailingSpaceNewLine?n.push(`trailing-space-new-line`):e.trailingSpace&&n.push(`trailing-space-`+(e.trailingSpace%2?`a`:`b`)),n.length?n.join(` `):null}function handleText(e,t){if(e.match(d,!0))return getType(t)}function inlineNormal(e,r){var a=r.text(e,r);if(a!==void 0)return a;if(r.list)return r.list=null,getType(r);if(r.taskList)return e.match(c,!0)[1]===` `?r.taskOpen=!0:r.taskClosed=!0,t.highlightFormatting&&(r.formatting=`task`),r.taskList=!1,getType(r);if(r.taskOpen=!1,r.taskClosed=!1,r.header&&e.match(/^#+$/,!0))return t.highlightFormatting&&(r.formatting=`header`),getType(r);var o=e.next();if(r.linkTitle){r.linkTitle=!1;var s=o;o===`(`&&(s=`)`),s=(s+``).replace(/([.?*+^\[\]\\(){}|-])/g,`\\$1`);var l=`^\\s*(?:[^`+s+`\\\\]+|\\\\\\\\|\\\\.)`+s;if(e.match(new RegExp(l),!0))return i.linkHref}if(o==="`"){var u=r.formatting;t.highlightFormatting&&(r.formatting=`code`),e.eatWhile("`");var d=e.current().length;if(r.code==0&&(!r.quote||d==1))return r.code=d,getType(r);if(d==r.code){var f=getType(r);return r.code=0,f}else return r.formatting=u,getType(r)}else if(r.code)return getType(r);if(o===`\\`&&(e.next(),t.highlightFormatting)){var m=getType(r),g=i.formatting+`-escape`;return m?m+` `+g:g}if(o===`!`&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,t.highlightFormatting&&(r.formatting=`image`),getType(r);if(o===`[`&&r.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,t.highlightFormatting&&(r.formatting=`image`),getType(r);if(o===`]`&&r.imageAltText){t.highlightFormatting&&(r.formatting=`image`);var m=getType(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=linkHref,m}if(o===`[`&&!r.image)return r.linkText&&e.match(/^.*?\]/)?getType(r):(r.linkText=!0,t.highlightFormatting&&(r.formatting=`link`),getType(r));if(o===`]`&&r.linkText){t.highlightFormatting&&(r.formatting=`link`);var m=getType(r);return r.linkText=!1,r.inline=r.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,m}if(o===`<`&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=linkInline,t.highlightFormatting&&(r.formatting=`link`);var m=getType(r);return m?m+=` `:m=``,m+i.linkInline}if(o===`<`&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=linkInline,t.highlightFormatting&&(r.formatting=`link`);var m=getType(r);return m?m+=` `:m=``,m+i.linkEmail}if(t.xml&&o===`<`&&e.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var _=e.string.indexOf(`>`,e.pos);if(_!=-1){var v=e.string.substring(e.start,_);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(v)&&(r.md_inside=!0)}return e.backUp(1),r.htmlState=w.default.startState(n),switchBlock(e,r,htmlBlock)}if(t.xml&&o===`<`&&e.match(/^\/\w*?>/))return r.md_inside=!1,`tag`;if(o===`*`||o===`_`){for(var y=1,b=e.pos==1?` `:e.string.charAt(e.pos-2);y<3&&e.eat(o);)y++;var x=e.peek()||` `,S=!/\s/.test(x)&&(!h.test(x)||/\s/.test(b)||h.test(b)),C=!/\s/.test(b)&&(!h.test(b)||/\s/.test(x)||h.test(x)),T=null,E=null;if(y%2&&(!r.em&&S&&(o===`*`||!C||h.test(b))?T=!0:r.em==o&&C&&(o===`*`||!S||h.test(x))&&(T=!1)),y>1&&(!r.strong&&S&&(o===`*`||!C||h.test(b))?E=!0:r.strong==o&&C&&(o===`*`||!S||h.test(x))&&(E=!1)),E!=null||T!=null){t.highlightFormatting&&(r.formatting=T==null?`strong`:E==null?`em`:`strong em`),T===!0&&(r.em=o),E===!0&&(r.strong=o);var f=getType(r);return T===!1&&(r.em=!1),E===!1&&(r.strong=!1),f}}else if(o===` `&&(e.eat(`*`)||e.eat(`_`))){if(e.peek()===` `)return getType(r);e.backUp(1)}if(t.strikethrough){if(o===`~`&&e.eatWhile(o)){if(r.strikethrough){t.highlightFormatting&&(r.formatting=`strikethrough`);var f=getType(r);return r.strikethrough=!1,f}else if(e.match(/^[^\s]/,!1))return r.strikethrough=!0,t.highlightFormatting&&(r.formatting=`strikethrough`),getType(r)}else if(o===` `&&e.match(/^~~/,!0)){if(e.peek()===` `)return getType(r);e.backUp(2)}}if(t.emoji&&o===`:`&&e.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){r.emoji=!0,t.highlightFormatting&&(r.formatting=`emoji`);var D=getType(r);return r.emoji=!1,D}return o===` `&&(e.match(/^ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),getType(r)}function linkInline(e,n){if(e.next()===`>`){n.f=n.inline=inlineNormal,t.highlightFormatting&&(n.formatting=`link`);var r=getType(n);return r?r+=` `:r=``,r+i.linkInline}return e.match(/^[^>]+/,!0),i.linkInline}function linkHref(e,n){if(e.eatSpace())return null;var r=e.next();return r===`(`||r===`[`?(n.f=n.inline=getLinkHrefInside(r===`(`?`)`:`]`),t.highlightFormatting&&(n.formatting=`link-string`),n.linkHref=!0,getType(n)):`error`}var _={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function getLinkHrefInside(e){return function(n,r){if(n.next()===e){r.f=r.inline=inlineNormal,t.highlightFormatting&&(r.formatting=`link-string`);var i=getType(r);return r.linkHref=!1,i}return n.match(_[e]),r.linkHref=!0,getType(r)}}function footnoteLink(e,n){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(n.f=footnoteLinkInside,e.next(),t.highlightFormatting&&(n.formatting=`link`),n.linkText=!0,getType(n)):switchInline(e,n,inlineNormal)}function footnoteLinkInside(e,n){if(e.match(/^\]:/,!0)){n.f=n.inline=footnoteUrl,t.highlightFormatting&&(n.formatting=`link`);var r=getType(n);return n.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),i.linkText}function footnoteUrl(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),e.peek()===void 0?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=inlineNormal,i.linkHref+` url`)}var v={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&w.default.copyState(n,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?w.default.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,linkHref:e.linkHref,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,emoji:e.emoji,header:e.header,setext:e.setext,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedEndRE:e.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return blankLine(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=htmlBlock)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,g).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==htmlBlock?{state:e.htmlState,mode:n}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:v}},indent:function(e,t,r){return e.block==htmlBlock&&n.indent?n.indent(e.htmlState,t,r):e.localState&&e.localMode.indent?e.localMode.indent(e.localState,t,r):w.default.Pass},blankLine,getType,blockCommentStart:`<!--`,blockCommentEnd:`-->`,closeBrackets:`()[]{}''""\`\``,fold:`markdown`};return v},`xml`),w.default.defineMIME(`text/markdown`,`markdown`),w.default.defineMIME(`text/x-markdown`,`markdown`);var T=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";function bracketFolding(t){return function(n,r){var i=r.line,a=n.getLine(i);function findOpening(t){for(var o,s=r.ch,c=0;;){var l=s<=0?-1:a.lastIndexOf(t[0],s-1);if(l==-1){if(c==1)break;c=1,s=a.length;continue}if(c==1&&l<r.ch)break;if(o=n.getTokenTypeAt(e.Pos(i,l+1)),!/^(comment|string)/.test(o))return{ch:l+1,tokenType:o,pair:t};s=l-1}}function findRange(t){var r=1,a=n.lastLine(),o,s=t.ch,c;outer:for(var l=i;l<=a;++l)for(var u=n.getLine(l),d=l==i?s:0;;){var f=u.indexOf(t.pair[0],d),m=u.indexOf(t.pair[1],d);if(f<0&&(f=u.length),m<0&&(m=u.length),d=Math.min(f,m),d==u.length)break;if(n.getTokenTypeAt(e.Pos(l,d+1))==t.tokenType){if(d==f)++r;else if(!--r){o=l,c=d;break outer}}++d}return o==null||i==o?null:{from:e.Pos(i,s),to:e.Pos(o,c)}}for(var o=[],s=0;s<t.length;s++){var c=findOpening(t[s]);c&&o.push(c)}o.sort(function(e,t){return e.ch-t.ch});for(var s=0;s<o.length;s++){var l=findRange(o[s]);if(l)return l}return null}}e.registerHelper(`fold`,`brace`,bracketFolding([[`{`,`}`],[`[`,`]`]])),e.registerHelper(`fold`,`brace-paren`,bracketFolding([[`{`,`}`],[`[`,`]`],[`(`,`)`]])),e.registerHelper(`fold`,`import`,function(t,n){function hasImport(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),r.type!=`keyword`||r.string!=`import`)return null;for(var i=n,a=Math.min(t.lastLine(),n+10);i<=a;++i){var o=t.getLine(i).indexOf(`;`);if(o!=-1)return{startCh:r.end,end:e.Pos(i,o)}}}var r=n.line,i=hasImport(r),a;if(!i||hasImport(r-1)||(a=hasImport(r-2))&&a.end.line==r-1)return null;for(var o=i.end;;){var s=hasImport(o.line+1);if(s==null)break;o=s.end}return{from:t.clipPos(e.Pos(r,i.startCh+1)),to:o}}),e.registerHelper(`fold`,`include`,function(t,n){function hasInclude(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),r.type==`meta`&&r.string.slice(0,8)==`#include`)return r.start+8}var r=n.line,i=hasInclude(r);if(i==null||hasInclude(r-1)!=null)return null;for(var a=r;hasInclude(a+1)!=null;)++a;return{from:e.Pos(r,i+1),to:t.clipPos(e.Pos(a))}})})})),E=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";e.registerGlobalHelper(`fold`,`comment`,function(e){return e.blockCommentStart&&e.blockCommentEnd},function(t,n){var r=t.getModeAt(n),i=r.blockCommentStart,a=r.blockCommentEnd;if(!(!i||!a)){for(var o=n.line,s=t.getLine(o),c,l=n.ch,u=0;;){var d=l<=0?-1:s.lastIndexOf(i,l-1);if(d==-1){if(u==1)return;u=1,l=s.length;continue}if(u==1&&d<n.ch)return;if(/comment/.test(t.getTokenTypeAt(e.Pos(o,d+1)))&&(d==0||s.slice(d-a.length,d)==a||!/comment/.test(t.getTokenTypeAt(e.Pos(o,d))))){c=d+i.length;break}l=d-1}var f=1,m=t.lastLine(),h,g;outer:for(var _=o;_<=m;++_)for(var v=t.getLine(_),y=_==o?c:0;;){var b=v.indexOf(i,y),x=v.indexOf(a,y);if(b<0&&(b=v.length),x<0&&(x=v.length),y=Math.min(b,x),y==v.length)break;if(y==b)++f;else if(!--f){h=_,g=y;break outer}++y}if(!(h==null||o==h&&g==c))return{from:e.Pos(o,c),to:e.Pos(h,g)}}})})})),D=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";function doFold(t,n,r,i){if(r&&r.call){var a=r;r=null}else var a=getOption(t,r,`rangeFinder`);typeof n==`number`&&(n=e.Pos(n,0));var o=getOption(t,r,`minFoldSize`);function getRange(e){var r=a(t,n);if(!r||r.to.line-r.from.line<o)return null;if(i===`fold`)return r;for(var s=t.findMarksAt(r.from),c=0;c<s.length;++c)if(s[c].__isFold){if(!e)return null;r.cleared=!0,s[c].clear()}return r}var s=getRange(!0);if(getOption(t,r,`scanUp`))for(;!s&&n.line>t.firstLine();)n=e.Pos(n.line-1,0),s=getRange(!1);if(!(!s||s.cleared||i===`unfold`)){var c=makeWidget(t,r,s);e.on(c,`mousedown`,function(t){l.clear(),e.e_preventDefault(t)});var l=t.markText(s.from,s.to,{replacedWith:c,clearOnEnter:getOption(t,r,`clearOnEnter`),__isFold:!0});l.on(`clear`,function(n,r){e.signal(t,`unfold`,t,n,r)}),e.signal(t,`fold`,t,s.from,s.to)}}function makeWidget(e,t,n){var r=getOption(e,t,`widget`);if(typeof r==`function`&&(r=r(n.from,n.to)),typeof r==`string`){var i=document.createTextNode(r);r=document.createElement(`span`),r.appendChild(i),r.className=`CodeMirror-foldmarker`}else r&&=r.cloneNode(!0);return r}e.newFoldFunction=function(e,t){return function(n,r){doFold(n,r,{rangeFinder:e,widget:t})}},e.defineExtension(`foldCode`,function(e,t,n){doFold(this,e,t,n)}),e.defineExtension(`isFolded`,function(e){for(var t=this.findMarksAt(e),n=0;n<t.length;++n)if(t[n].__isFold)return!0}),e.commands.toggleFold=function(e){e.foldCode(e.getCursor())},e.commands.fold=function(e){e.foldCode(e.getCursor(),null,`fold`)},e.commands.unfold=function(e){e.foldCode(e.getCursor(),{scanUp:!1},`unfold`)},e.commands.foldAll=function(t){t.operation(function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),{scanUp:!1},`fold`)})},e.commands.unfoldAll=function(t){t.operation(function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),{scanUp:!1},`unfold`)})},e.registerHelper(`fold`,`combine`,function(){var e=Array.prototype.slice.call(arguments,0);return function(t,n){for(var r=0;r<e.length;++r){var i=e[r](t,n);if(i)return i}}}),e.registerHelper(`fold`,`auto`,function(e,t){for(var n=e.getHelpers(t,`fold`),r=0;r<n.length;r++){var i=n[r](e,t);if(i)return i}});var t={rangeFinder:e.fold.auto,widget:`↔`,minFoldSize:0,scanUp:!1,clearOnEnter:!0};e.defineOption(`foldOptions`,null);function getOption(e,n,r){if(n&&n[r]!==void 0)return n[r];var i=e.options.foldOptions;return i&&i[r]!==void 0?i[r]:t[r]}e.defineExtension(`foldOption`,function(e,t){return getOption(this,e,t)})})})),O=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),D()):n(CodeMirror)})(function(e){"use strict";e.defineOption(`foldGutter`,!1,function(t,n,r){r&&r!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off(`gutterClick`,onGutterClick),t.off(`changes`,onChange),t.off(`viewportChange`,onViewportChange),t.off(`fold`,onFold),t.off(`unfold`,onFold),t.off(`swapDoc`,onChange),t.off(`optionChange`,optionChange)),n&&(t.state.foldGutter=new State(parseOptions(n)),updateInViewport(t),t.on(`gutterClick`,onGutterClick),t.on(`changes`,onChange),t.on(`viewportChange`,onViewportChange),t.on(`fold`,onFold),t.on(`unfold`,onFold),t.on(`swapDoc`,onChange),t.on(`optionChange`,optionChange))});var t=e.Pos;function State(e){this.options=e,this.from=this.to=0}function parseOptions(e){return e===!0&&(e={}),e.gutter??=`CodeMirror-foldgutter`,e.indicatorOpen??=`CodeMirror-foldgutter-open`,e.indicatorFolded??=`CodeMirror-foldgutter-folded`,e}function isFolded(e,n){for(var r=e.findMarks(t(n,0),t(n+1,0)),i=0;i<r.length;++i)if(r[i].__isFold){var a=r[i].find(-1);if(a&&a.line===n)return r[i]}}function marker(e){if(typeof e==`string`){var t=document.createElement(`div`);return t.className=e+` CodeMirror-guttermarker-subtle`,t}else return e.cloneNode(!0)}function updateFoldInfo(e,n,r){var i=e.state.foldGutter.options,a=n-1,o=e.foldOption(i,`minFoldSize`),s=e.foldOption(i,`rangeFinder`),c=typeof i.indicatorFolded==`string`&&classTest(i.indicatorFolded),l=typeof i.indicatorOpen==`string`&&classTest(i.indicatorOpen);e.eachLine(n,r,function(n){++a;var r=null,u=n.gutterMarkers;if(u&&=u[i.gutter],isFolded(e,a)){if(c&&u&&c.test(u.className))return;r=marker(i.indicatorFolded)}else{var d=t(a,0),f=s&&s(e,d);if(f&&f.to.line-f.from.line>=o){if(l&&u&&l.test(u.className))return;r=marker(i.indicatorOpen)}}!r&&!u||e.setGutterMarker(n,i.gutter,r)})}function classTest(e){return RegExp(`(^|\\s)`+e+`(?:$|\\s)\\s*`)}function updateInViewport(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation(function(){updateFoldInfo(e,t.from,t.to)}),n.from=t.from,n.to=t.to)}function onGutterClick(e,n,r){var i=e.state.foldGutter;if(i){var a=i.options;if(r==a.gutter){var o=isFolded(e,n);o?o.clear():e.foldCode(t(n,0),a)}}}function optionChange(e,t){t==`mode`&&onChange(e)}function onChange(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){updateInViewport(e)},n.foldOnChangeTimeSpan||600)}}function onViewportChange(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?updateInViewport(e):e.operation(function(){n.from<t.from&&(updateFoldInfo(e,n.from,t.from),t.from=n.from),n.to>t.to&&(updateFoldInfo(e,t.to,n.to),t.to=n.to)})},n.updateViewportTimeSpan||400)}}function onFold(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&r<n.to&&updateFoldInfo(e,r,r+1)}}})})),k=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";function lineIndent(t,n){var r=t.getLine(n),i=r.search(/\S/);return i==-1||/\bcomment\b/.test(t.getTokenTypeAt(e.Pos(n,i+1)))?-1:e.countColumn(r,null,t.getOption(`tabSize`))}e.registerHelper(`fold`,`indent`,function(t,n){var r=lineIndent(t,n.line);if(!(r<0)){for(var i=null,a=n.line+1,o=t.lastLine();a<=o;++a){var s=lineIndent(t,a);if(s!=-1)if(s>r)i=a;else break}if(i)return{from:e.Pos(n.line,t.getLine(n.line).length),to:e.Pos(i,t.getLine(i).length)}}})})})),A=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";var t=e.Pos;function cmp(e,t){return e.line-t.line||e.ch-t.ch}var n=`A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD`,r=n+`-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040`,i=RegExp(`<(/?)([`+n+`][`+r+`]*)`,`g`);function Iter(e,t,n,r){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=r?Math.max(r.from,e.firstLine()):e.firstLine(),this.max=r?Math.min(r.to-1,e.lastLine()):e.lastLine()}function tagAt(e,n){var r=e.cm.getTokenTypeAt(t(e.line,n));return r&&/\btag\b/.test(r)}function nextLine(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function prevLine(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function toTagEnd(e){for(;;){var t=e.text.indexOf(`>`,e.ch);if(t==-1){if(nextLine(e))continue;return}if(!tagAt(e,t+1)){e.ch=t+1;continue}var n=e.text.lastIndexOf(`/`,t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?`selfClose`:`regular`}}function toTagStart(e){for(;;){var t=e.ch?e.text.lastIndexOf(`<`,e.ch-1):-1;if(t==-1){if(prevLine(e))continue;return}if(!tagAt(e,t+1)){e.ch=t;continue}i.lastIndex=t,e.ch=t;var n=i.exec(e.text);if(n&&n.index==t)return n}}function toNextTag(e){for(;;){i.lastIndex=e.ch;var t=i.exec(e.text);if(!t){if(nextLine(e))continue;return}if(!tagAt(e,t.index+1)){e.ch=t.index+1;continue}return e.ch=t.index+t[0].length,t}}function toPrevTag(e){for(;;){var t=e.ch?e.text.lastIndexOf(`>`,e.ch-1):-1;if(t==-1){if(prevLine(e))continue;return}if(!tagAt(e,t+1)){e.ch=t;continue}var n=e.text.lastIndexOf(`/`,t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?`selfClose`:`regular`}}function findMatchingClose(e,n){for(var r=[];;){var i=toNextTag(e),a,o=e.line,s=e.ch-(i?i[0].length:0);if(!i||!(a=toTagEnd(e)))return;if(a!=`selfClose`)if(i[1]){for(var c=r.length-1;c>=0;--c)if(r[c]==i[2]){r.length=c;break}if(c<0&&(!n||n==i[2]))return{tag:i[2],from:t(o,s),to:t(e.line,e.ch)}}else r.push(i[2])}}function findMatchingOpen(e,n){for(var r=[];;){var i=toPrevTag(e);if(!i)return;if(i==`selfClose`){toTagStart(e);continue}var a=e.line,o=e.ch,s=toTagStart(e);if(!s)return;if(s[1])r.push(s[2]);else{for(var c=r.length-1;c>=0;--c)if(r[c]==s[2]){r.length=c;break}if(c<0&&(!n||n==s[2]))return{tag:s[2],from:t(e.line,e.ch),to:t(a,o)}}}}e.registerHelper(`fold`,`xml`,function(e,n){for(var r=new Iter(e,n.line,0);;){var i=toNextTag(r);if(!i||r.line!=n.line)return;var a=toTagEnd(r);if(!a)return;if(!i[1]&&a!=`selfClose`){var o=t(r.line,r.ch),s=findMatchingClose(r,i[2]);return s&&cmp(s.from,o)>0?{from:o,to:s.from}:null}}}),e.findMatchingTag=function(e,n,r){var i=new Iter(e,n.line,n.ch,r);if(!(i.text.indexOf(`>`)==-1&&i.text.indexOf(`<`)==-1)){var a=toTagEnd(i),o=a&&t(i.line,i.ch),s=a&&toTagStart(i);if(!(!a||!s||cmp(i,n)>0)){var c={from:t(i.line,i.ch),to:o,tag:s[2]};return a==`selfClose`?{open:c,close:null,at:`open`}:s[1]?{open:findMatchingOpen(i,s[2]),close:c,at:`close`}:(i=new Iter(e,o.line,o.ch,r),{open:c,close:findMatchingClose(i,s[2]),at:`open`})}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new Iter(e,t.line,t.ch,n);;){var a=findMatchingOpen(i,r);if(!a)break;var o=findMatchingClose(new Iter(e,t.line,t.ch,n),a.tag);if(o)return{open:a,close:o}}},e.scanForClosingTag=function(e,t,n,r){return findMatchingClose(new Iter(e,t.line,t.ch,r?{from:0,to:r}:null),n)}})}));v(),T(),E(),D(),O(),k(),A();var j=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){function dialogDiv(t,n,r){var i=t.getWrapperElement(),a=i.appendChild(document.createElement(`div`));return r?a.className=`CodeMirror-dialog CodeMirror-dialog-bottom`:a.className=`CodeMirror-dialog CodeMirror-dialog-top`,typeof n==`string`?a.innerHTML=n:a.appendChild(n),e.addClass(i,`dialog-opened`),a}function closeNotification(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension(`openDialog`,function(t,n,r){r||={},closeNotification(this,null);var i=dialogDiv(this,t,r.bottom),a=!1,o=this;function close(t){if(typeof t==`string`)s.value=t;else{if(a)return;a=!0,e.rmClass(i.parentNode,`dialog-opened`),i.parentNode.removeChild(i),o.focus(),r.onClose&&r.onClose(i)}}var s=i.getElementsByTagName(`input`)[0],c;return s?(s.focus(),r.value&&(s.value=r.value,r.selectValueOnOpen!==!1&&s.select()),r.onInput&&e.on(s,`input`,function(e){r.onInput(e,s.value,close)}),r.onKeyUp&&e.on(s,`keyup`,function(e){r.onKeyUp(e,s.value,close)}),e.on(s,`keydown`,function(t){r&&r.onKeyDown&&r.onKeyDown(t,s.value,close)||((t.keyCode==27||r.closeOnEnter!==!1&&t.keyCode==13)&&(s.blur(),e.e_stop(t),close()),t.keyCode==13&&n(s.value,t))}),r.closeOnBlur!==!1&&e.on(i,`focusout`,function(e){e.relatedTarget!==null&&close()})):(c=i.getElementsByTagName(`button`)[0])&&(e.on(c,`click`,function(){close(),o.focus()}),r.closeOnBlur!==!1&&e.on(c,`blur`,close),c.focus()),close}),e.defineExtension(`openConfirm`,function(t,n,r){closeNotification(this,null);var i=dialogDiv(this,t,r&&r.bottom),a=i.getElementsByTagName(`button`),o=!1,s=this,c=1;function close(){o||(o=!0,e.rmClass(i.parentNode,`dialog-opened`),i.parentNode.removeChild(i),s.focus())}a[0].focus();for(var l=0;l<a.length;++l){var u=a[l];(function(t){e.on(u,`click`,function(n){e.e_preventDefault(n),close(),t&&t(s)})})(n[l]),e.on(u,`blur`,function(){--c,setTimeout(function(){c<=0&&close()},200)}),e.on(u,`focus`,function(){++c})}}),e.defineExtension(`openNotification`,function(t,n){closeNotification(this,close);var r=dialogDiv(this,t,n&&n.bottom),i=!1,a,o=n&&n.duration!==void 0?n.duration:5e3;function close(){i||(i=!0,clearTimeout(a),e.rmClass(r.parentNode,`dialog-opened`),r.parentNode.removeChild(r))}return e.on(r,`click`,function(t){e.e_preventDefault(t),close()}),o&&(a=setTimeout(close,o)),close})})})),M=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),j()):n(CodeMirror)})(function(e){"use strict";e.defineOption(`search`,{bottom:!1});function dialog(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}function getJumpDialog(e){return e.phrase(`Jump to line:`)+` <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">`+e.phrase(`(Use line:column or scroll% syntax)`)+`</span>`}function interpretLine(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var t=e.getCursor();dialog(e,getJumpDialog(e),e.phrase(`Jump to line:`),t.line+1+`:`+t.ch,function(n){if(n){var r;if(r=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(n))e.setCursor(interpretLine(e,r[1]),Number(r[2]));else if(r=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(n)){var i=Math.round(e.lineCount()*Number(r[1])/100);/^[-+]/.test(r[1])&&(i=t.line+i+1),e.setCursor(i-1,t.ch)}else (r=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(n))&&e.setCursor(interpretLine(e,r[1]),t.ch)}})},e.keyMap.default[`Alt-G`]=`jumpToLine`})})),N=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";var t=e.Pos;function regexpFlags(e){return e.flags??(e.ignoreCase?`i`:``)+(e.global?`g`:``)+(e.multiline?`m`:``)}function ensureFlags(e,t){for(var n=regexpFlags(e),r=n,i=0;i<t.length;i++)r.indexOf(t.charAt(i))==-1&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function maybeMultiline(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function searchRegexpForward(e,n,r){n=ensureFlags(n,`g`);for(var i=r.line,a=r.ch,o=e.lastLine();i<=o;i++,a=0){n.lastIndex=a;var s=e.getLine(i),c=n.exec(s);if(c)return{from:t(i,c.index),to:t(i,c.index+c[0].length),match:c}}}function searchRegexpForwardMultiline(e,n,r){if(!maybeMultiline(n))return searchRegexpForward(e,n,r);n=ensureFlags(n,`gm`);for(var i,a=1,o=r.line,s=e.lastLine();o<=s;){for(var c=0;c<a&&!(o>s);c++){var l=e.getLine(o++);i=i==null?l:i+`
25
25
  `+l}a*=2,n.lastIndex=r.ch;var u=n.exec(i);if(u){var d=i.slice(0,u.index).split(`
26
26
  `),f=u[0].split(`
27
27
  `),m=r.line+d.length-1,h=d[d.length-1].length;return{from:t(m,h),to:t(m+f.length-1,f.length==1?h+f[0].length:f[f.length-1].length),match:u}}}}function lastMatchIn(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var a=t.exec(e);if(!a)break;var o=a.index+a[0].length;if(o>e.length-n)break;(!r||o>r.index+r[0].length)&&(r=a),i=a.index+1}return r}function searchRegexpBackward(e,n,r){n=ensureFlags(n,`g`);for(var i=r.line,a=r.ch,o=e.firstLine();i>=o;i--,a=-1){var s=e.getLine(i),c=lastMatchIn(s,n,a<0?0:s.length-a);if(c)return{from:t(i,c.index),to:t(i,c.index+c[0].length),match:c}}}function searchRegexpBackwardMultiline(e,n,r){if(!maybeMultiline(n))return searchRegexpBackward(e,n,r);n=ensureFlags(n,`gm`);for(var i,a=1,o=e.getLine(r.line).length-r.ch,s=r.line,c=e.firstLine();s>=c;){for(var l=0;l<a&&s>=c;l++){var u=e.getLine(s--);i=i==null?u:u+`
28
28
  `+i}a*=2;var d=lastMatchIn(i,n,o);if(d){var f=i.slice(0,d.index).split(`
29
29
  `),m=d[0].split(`
30
- `),h=s+f.length,g=f[f.length-1].length;return{from:t(h,g),to:t(h+m.length-1,m.length==1?g+m[0].length:m[m.length-1].length),match:d}}}}var doFold,noFold;String.prototype.normalize?(doFold=function(e){return e.normalize(`NFD`).toLowerCase()},noFold=function(e){return e.normalize(`NFD`)}):(doFold=function(e){return e.toLowerCase()},noFold=function(e){return e});function adjustPos(e,t,n,r){if(e.length==t.length)return n;for(var i=0,a=n+Math.max(0,e.length-t.length);;){if(i==a)return i;var o=i+a>>1,s=r(e.slice(0,o)).length;if(s==n)return o;s>n?a=o:i=o+1}}function searchStringForward(e,n,r,i){if(!n.length)return null;var a=i?doFold:noFold,o=a(n).split(/\r|\n\r?/);search:for(var s=r.line,c=r.ch,l=e.lastLine()+1-o.length;s<=l;s++,c=0){var u=e.getLine(s).slice(c),d=a(u);if(o.length==1){var f=d.indexOf(o[0]);if(f==-1)continue search;var r=adjustPos(u,d,f,a)+c;return{from:t(s,adjustPos(u,d,f,a)+c),to:t(s,adjustPos(u,d,f+o[0].length,a)+c)}}else{var m=d.length-o[0].length;if(d.slice(m)!=o[0])continue search;for(var h=1;h<o.length-1;h++)if(a(e.getLine(s+h))!=o[h])continue search;var g=e.getLine(s+o.length-1),_=a(g),v=o[o.length-1];if(_.slice(0,v.length)!=v)continue search;return{from:t(s,adjustPos(u,d,m,a)+c),to:t(s+o.length-1,adjustPos(g,_,v.length,a))}}}}function searchStringBackward(e,n,r,i){if(!n.length)return null;var a=i?doFold:noFold,o=a(n).split(/\r|\n\r?/);search:for(var s=r.line,c=r.ch,l=e.firstLine()-1+o.length;s>=l;s--,c=-1){var u=e.getLine(s);c>-1&&(u=u.slice(0,c));var d=a(u);if(o.length==1){var f=d.lastIndexOf(o[0]);if(f==-1)continue search;return{from:t(s,adjustPos(u,d,f,a)),to:t(s,adjustPos(u,d,f+o[0].length,a))}}else{var m=o[o.length-1];if(d.slice(0,m.length)!=m)continue search;for(var h=1,r=s-o.length+1;h<o.length-1;h++)if(a(e.getLine(r+h))!=o[h])continue search;var g=e.getLine(s+1-o.length),_=a(g);if(_.slice(_.length-o[0].length)!=o[0])continue search;return{from:t(s+1-o.length,adjustPos(g,_,g.length-o[0].length,a)),to:t(s,adjustPos(u,d,m.length,a))}}}}function SearchCursor(e,n,r,i){this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,r=r?e.clipPos(r):t(0,0),this.pos={from:r,to:r};var a;typeof i==`object`?a=i.caseFold:(a=i,i=null),typeof n==`string`?(a??=!1,this.matches=function(t,r){return(t?searchStringBackward:searchStringForward)(e,n,r,a)}):(n=ensureFlags(n,`gm`),!i||i.multiline!==!1?this.matches=function(t,r){return(t?searchRegexpBackwardMultiline:searchRegexpForwardMultiline)(e,n,r)}:this.matches=function(t,r){return(t?searchRegexpBackward:searchRegexpForward)(e,n,r)})}SearchCursor.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(n){var r=this.doc.clipPos(n?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(r=t(r.line,r.ch),n?(r.ch--,r.ch<0&&(r.line--,r.ch=(this.doc.getLine(r.line)||``).length)):(r.ch++,r.ch>(this.doc.getLine(r.line)||``).length&&(r.ch=0,r.line++)),e.cmpPos(r,this.doc.clipPos(r))!=0))return this.atOccurrence=!1;var i=this.matches(n,r);if(this.afterEmptyMatch=i&&e.cmpPos(i.from,i.to)==0,i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var a=t(n?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:a,to:a},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(n,r){if(this.atOccurrence){var i=e.splitLines(n);this.doc.replaceRange(i,this.pos.from,this.pos.to,r),this.pos.to=t(this.pos.from.line+i.length-1,i[i.length-1].length+(i.length==1?this.pos.from.ch:0))}}},e.defineExtension(`getSearchCursor`,function(e,t,n){return new SearchCursor(this.doc,e,t,n)}),e.defineDocExtension(`getSearchCursor`,function(e,t,n){return new SearchCursor(this,e,t,n)}),e.defineExtension(`selectMatches`,function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor(`from`),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor(`to`))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)})})})),P=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),N(),j()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`,`./searchcursor`,`../dialog/dialog`],n):n(CodeMirror)})(function(e){"use strict";e.defineOption(`search`,{bottom:!1});function searchOverlay(e,t){return typeof e==`string`?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),t?`gi`:`g`):e.global||(e=new RegExp(e.source,e.ignoreCase?`gi`:`g`)),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,`searching`;n?t.pos=n.index:t.skipToEnd()}}}function SearchState(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function getSearchState(e){return e.state.search||(e.state.search=new SearchState)}function queryCaseInsensitive(e){return typeof e==`string`&&e==e.toLowerCase()}function getSearchCursor(e,t,n){return e.getSearchCursor(t,n,{caseFold:queryCaseInsensitive(t),multiline:!0})}function persistentDialog(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){clearSearch(e)},onKeyDown:i,bottom:e.options.search.bottom})}function dialog(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}function confirmDialog(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}function parseString(e){return e.replace(/\\([nrt\\])/g,function(e,t){return t==`n`?`
31
- `:t==`r`?`\r`:t==`t`?` `:t==`\\`?`\\`:e})}function parseQuery(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],t[2].indexOf(`i`)==-1?``:`i`)}catch{}else e=parseString(e);return(typeof e==`string`?e==``:e.test(``))&&(e=/x^/),e}function startSearch(e,t,n){t.queryText=n,t.query=parseQuery(n),e.removeOverlay(t.overlay,queryCaseInsensitive(t.query)),t.overlay=searchOverlay(t.query,queryCaseInsensitive(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&=(t.annotate.clear(),null),t.annotate=e.showMatchesOnScrollbar(t.query,queryCaseInsensitive(t.query)))}function doSearch(t,n,r,i){var a=getSearchState(t);if(a.query)return findNext(t,n);var o=t.getSelection()||a.lastQuery;if(o instanceof RegExp&&o.source==`x^`&&(o=null),r&&t.openDialog){var s=null,searchNext=function(n,r){e.e_stop(r),n&&(n!=a.queryText&&(startSearch(t,a,n),a.posFrom=a.posTo=t.getCursor()),s&&(s.style.opacity=1),findNext(t,r.shiftKey,function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(`.CodeMirror-dialog`))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,`window`).top&&((s=r).style.opacity=.4)}))};persistentDialog(t,getQueryDialog(t),o,searchNext,function(n,r){var i=e.keyName(n),a=t.getOption(`extraKeys`),o=a&&a[i]||e.keyMap[t.getOption(`keyMap`)][i];o==`findNext`||o==`findPrev`||o==`findPersistentNext`||o==`findPersistentPrev`?(e.e_stop(n),startSearch(t,getSearchState(t),r),t.execCommand(o)):(o==`find`||o==`findPersistent`)&&(e.e_stop(n),searchNext(r,n))}),i&&o&&(startSearch(t,a,o),findNext(t,n))}else dialog(t,getQueryDialog(t),`Search for:`,o,function(e){e&&!a.query&&t.operation(function(){startSearch(t,a,e),a.posFrom=a.posTo=t.getCursor(),findNext(t,n)})})}function findNext(t,n,r){t.operation(function(){var i=getSearchState(t),a=getSearchCursor(t,i.query,n?i.posFrom:i.posTo);!a.find(n)&&(a=getSearchCursor(t,i.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0)),!a.find(n))||(t.setSelection(a.from(),a.to()),t.scrollIntoView({from:a.from(),to:a.to()},20),i.posFrom=a.from(),i.posTo=a.to(),r&&r(a.from(),a.to()))})}function clearSearch(e){e.operation(function(){var t=getSearchState(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&=(t.annotate.clear(),null))})}function el(e,t){var n=e?document.createElement(e):document.createDocumentFragment();for(var r in t)n[r]=t[r];for(var i=2;i<arguments.length;i++){var a=arguments[i];n.appendChild(typeof a==`string`?document.createTextNode(a):a)}return n}function getQueryDialog(e){var t=el(`label`,{className:`CodeMirror-search-label`},e.phrase(`Search:`),el(`input`,{type:`text`,style:`width: 10em`,className:`CodeMirror-search-field`,id:`CodeMirror-search-field`}));return t.setAttribute(`for`,`CodeMirror-search-field`),el(``,null,t,` `,el(`span`,{style:`color: #666`,className:`CodeMirror-search-hint`},e.phrase(`(Use /re/ syntax for regexp search)`)))}function getReplaceQueryDialog(e){return el(``,null,` `,el(`input`,{type:`text`,style:`width: 10em`,className:`CodeMirror-search-field`}),` `,el(`span`,{style:`color: #666`,className:`CodeMirror-search-hint`},e.phrase(`(Use /re/ syntax for regexp search)`)))}function getReplacementQueryDialog(e){return el(``,null,el(`span`,{className:`CodeMirror-search-label`},e.phrase(`With:`)),` `,el(`input`,{type:`text`,style:`width: 10em`,className:`CodeMirror-search-field`}))}function getDoReplaceConfirm(e){return el(``,null,el(`span`,{className:`CodeMirror-search-label`},e.phrase(`Replace?`)),` `,el(`button`,{},e.phrase(`Yes`)),` `,el(`button`,{},e.phrase(`No`)),` `,el(`button`,{},e.phrase(`All`)),` `,el(`button`,{},e.phrase(`Stop`)))}function replaceAll(e,t,n){e.operation(function(){for(var r=getSearchCursor(e,t);r.findNext();)if(typeof t!=`string`){var i=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,function(e,t){return i[t]}))}else r.replace(n)})}function replace(e,t){if(!e.getOption(`readOnly`)){var n=e.getSelection()||getSearchState(e).lastQuery,r=t?e.phrase(`Replace all:`):e.phrase(`Replace:`);dialog(e,el(``,null,el(`span`,{className:`CodeMirror-search-label`},r),getReplaceQueryDialog(e)),r,n,function(n){n&&(n=parseQuery(n),dialog(e,getReplacementQueryDialog(e),e.phrase(`Replace with:`),``,function(r){if(r=parseString(r),t)replaceAll(e,n,r);else{clearSearch(e);var i=getSearchCursor(e,n,e.getCursor(`from`)),advance=function(){var t=i.from(),a;!(a=i.findNext())&&(i=getSearchCursor(e,n),!(a=i.findNext())||t&&i.from().line==t.line&&i.from().ch==t.ch)||(e.setSelection(i.from(),i.to()),e.scrollIntoView({from:i.from(),to:i.to()}),confirmDialog(e,getDoReplaceConfirm(e),e.phrase(`Replace?`),[function(){doReplace(a)},advance,function(){replaceAll(e,n,r)}]))},doReplace=function(e){i.replace(typeof n==`string`?r:r.replace(/\$(\d)/g,function(t,n){return e[n]})),advance()};advance()}}))})}}e.commands.find=function(e){clearSearch(e),doSearch(e)},e.commands.findPersistent=function(e){clearSearch(e),doSearch(e,!1,!0)},e.commands.findPersistentNext=function(e){doSearch(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){doSearch(e,!0,!0,!0)},e.commands.findNext=doSearch,e.commands.findPrev=function(e){doSearch(e,!0)},e.commands.clearSearch=clearSearch,e.commands.replace=replace,e.commands.replaceAll=function(e){replace(e,!0)}})})),F=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d()):typeof define==`function`&&define.amd?define([`../../lib/codemirror`],n):n(CodeMirror)})(function(e){"use strict";var t=`CodeMirror-hint`,n=`CodeMirror-hint-active`;e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension(`showHint`,function(t){t=parseOptions(this,this.getCursor(`start`),t);var n=this.listSelections();if(!(n.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var r=0;r<n.length;r++)if(n[r].head.line!=n[r].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var i=this.state.completionActive=new Completion(this,t);i.options.hint&&(e.signal(this,`startCompletion`,this),i.update(!0))}}),e.defineExtension(`closeHint`,function(){this.state.completionActive&&this.state.completionActive.close()});function Completion(e,t){if(this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(`start`),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var n=this;e.on(`cursorActivity`,this.activityFunc=function(){n.cursorActivity()})}}var r=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},i=window.cancelAnimationFrame||clearTimeout;Completion.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off(`cursorActivity`,this.activityFunc),this.widget&&this.data&&e.signal(this.data,`close`),this.widget&&this.widget.close(),e.signal(this.cm,`endCompletion`,this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],i=this;this.cm.operation(function(){r.hint?r.hint(i.cm,t,r):i.cm.replaceRange(getText(r),r.from||t.from,r.to||t.to,`complete`),e.signal(t,`pick`,r),i.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&=(i(this.debounce),0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),n=this.cm.getLine(t.line);if(t.line!=this.startPos.line||n.length-t.ch!=this.startLen-this.startPos.ch||t.ch<e.ch||this.cm.somethingSelected()||!t.ch||this.options.closeCharacters.test(n.charAt(t.ch-1)))this.close();else{var a=this;this.debounce=r(function(){a.update()}),this.widget&&this.widget.disable()}},update:function(e){if(this.tick!=null){var t=this,n=++this.tick;fetchHints(this.options.hint,this.cm,this.options,function(r){t.tick==n&&t.finishUpdate(r,e)})}},finishUpdate:function(t,n){this.data&&e.signal(this.data,`update`);var r=this.widget&&this.widget.picked||n&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(r&&t.list.length==1?this.pick(t,0):(this.widget=new Widget(this,t),e.signal(t,`shown`)))}};function parseOptions(e,t,n){var r=e.options.hintOptions,i={};for(var o in a)i[o]=a[o];if(r)for(var o in r)r[o]!==void 0&&(i[o]=r[o]);if(n)for(var o in n)n[o]!==void 0&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}function getText(e){return typeof e==`string`?e:e.text}function buildKeyMap(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(-t.menuSize()+1,!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n[`Ctrl-P`]=function(){t.moveFocus(-1)},n[`Ctrl-N`]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function addBinding(e,r){i[e]=typeof r==`string`?n.hasOwnProperty(r)?n[r]:r:function(e){return r(e,t)}}if(r)for(var a in r)r.hasOwnProperty(a)&&addBinding(a,r[a]);var o=e.options.extraKeys;if(o)for(var a in o)o.hasOwnProperty(a)&&addBinding(a,o[a]);return i}function getHintElement(e,t){for(;t&&t!=e;){if(t.nodeName.toUpperCase()===`LI`&&t.parentNode==e)return t;t=t.parentNode}}function Widget(r,i){this.id=`cm-complete-`+Math.floor(Math.random(1e6)),this.completion=r,this.data=i,this.picked=!1;var a=this,o=r.cm,s=o.getInputField().ownerDocument,c=s.defaultView||s.parentWindow,l=this.hints=s.createElement(`ul`);l.setAttribute(`role`,`listbox`),l.setAttribute(`aria-expanded`,`true`),l.id=this.id,l.className=`CodeMirror-hints `+r.cm.options.theme,this.selectedHint=i.selectedHint||0;for(var u=i.list,d=0;d<u.length;++d){var f=l.appendChild(s.createElement(`li`)),m=u[d],h=t+(d==this.selectedHint?` `+n:``);m.className!=null&&(h=m.className+` `+h),f.className=h,d==this.selectedHint&&f.setAttribute(`aria-selected`,`true`),f.id=this.id+`-`+d,f.setAttribute(`role`,`option`),m.render?m.render(f,i,m):f.appendChild(s.createTextNode(m.displayText||getText(m))),f.hintId=d}var g=r.options.container||s.body,_=o.cursorCoords(r.options.alignWithWord?i.from:null),v=_.left,y=_.bottom,b=!0,x=0,S=0;if(g!==s.body){var C=[`absolute`,`relative`,`fixed`].indexOf(c.getComputedStyle(g).position)===-1?g.offsetParent:g,w=C.getBoundingClientRect(),T=s.body.getBoundingClientRect();x=w.left-T.left-C.scrollLeft,S=w.top-T.top-C.scrollTop}l.style.left=v-x+`px`,l.style.top=y-S+`px`;var E=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),D=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);g.appendChild(l),o.getInputField().setAttribute(`aria-autocomplete`,`list`),o.getInputField().setAttribute(`aria-owns`,this.id),o.getInputField().setAttribute(`aria-activedescendant`,this.id+`-`+this.selectedHint);var O=r.options.moveOnOverlap?l.getBoundingClientRect():new DOMRect,k=r.options.paddingForScrollbar?l.scrollHeight>l.clientHeight+1:!1,A;if(setTimeout(function(){A=o.getScrollInfo()}),O.bottom-D>0){var j=O.bottom-O.top,M=O.top-(_.bottom-_.top)-2;D-O.top<M?(j>M&&(l.style.height=(j=M)+`px`),l.style.top=(y=_.top-j)-S+`px`,b=!1):l.style.height=D-O.top-2+`px`}var N=O.right-E;if(k&&(N+=o.display.nativeBarWidth),N>0&&(O.right-O.left>E&&(l.style.width=E-5+`px`,N-=O.right-O.left-E),l.style.left=(v=Math.max(_.left-N-x,0))+`px`),k)for(var P=l.firstChild;P;P=P.nextSibling)P.style.paddingRight=o.display.nativeBarWidth+`px`;if(o.addKeyMap(this.keyMap=buildKeyMap(r,{moveFocus:function(e,t){a.changeActive(a.selectedHint+e,t)},setFocus:function(e){a.changeActive(e)},menuSize:function(){return a.screenAmount()},length:u.length,close:function(){r.close()},pick:function(){a.pick()},data:i})),r.options.closeOnUnfocus){var F;o.on(`blur`,this.onBlur=function(){F=setTimeout(function(){r.close()},100)}),o.on(`focus`,this.onFocus=function(){clearTimeout(F)})}o.on(`scroll`,this.onScroll=function(){var e=o.getScrollInfo(),t=o.getWrapperElement().getBoundingClientRect();A||=o.getScrollInfo();var n=y+A.top-e.top,i=n-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(b||(i+=l.offsetHeight),i<=t.top||i>=t.bottom)return r.close();l.style.top=n+`px`,l.style.left=v+A.left-e.left+`px`}),e.on(l,`dblclick`,function(e){var t=getHintElement(l,e.target||e.srcElement);t&&t.hintId!=null&&(a.changeActive(t.hintId),a.pick())}),e.on(l,`click`,function(e){var t=getHintElement(l,e.target||e.srcElement);t&&t.hintId!=null&&(a.changeActive(t.hintId),r.options.completeOnSingleClick&&a.pick())}),e.on(l,`mousedown`,function(){setTimeout(function(){o.focus()},20)});var I=this.getSelectedHintRange();return(I.from!==0||I.to!==0)&&this.scrollToActive(),e.signal(i,`select`,u[this.selectedHint],l.childNodes[this.selectedHint]),!0}Widget.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm.getInputField();e.removeAttribute(`aria-activedescendant`),e.removeAttribute(`aria-owns`);var t=this.completion.cm;this.completion.options.closeOnUnfocus&&(t.off(`blur`,this.onBlur),t.off(`focus`,this.onFocus)),t.off(`scroll`,this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,r){if(t>=this.data.list.length?t=r?this.data.list.length-1:0:t<0&&(t=r?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(` `+n,``),i.removeAttribute(`aria-selected`)),i=this.hints.childNodes[this.selectedHint=t],i.className+=` `+n,i.setAttribute(`aria-selected`,`true`),this.completion.cm.getInputField().setAttribute(`aria-activedescendant`,i.id),this.scrollToActive(),e.signal(this.data,`select`,this.data.list[this.selectedHint],i)}},scrollToActive:function(){var e=this.getSelectedHintRange(),t=this.hints.childNodes[e.from],n=this.hints.childNodes[e.to],r=this.hints.firstChild;t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=t.offsetTop-r.offsetTop:n.offsetTop+n.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var e=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-e),to:Math.min(this.data.list.length-1,this.selectedHint+e)}}};function applicableHelpers(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r<t.length;r++)t[r].supportsSelection&&n.push(t[r]);return n}function fetchHints(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}function resolveAutoHints(t,n){var r=t.getHelpers(n,`hint`),i;if(r.length){var resolved=function(e,t,n){var i=applicableHelpers(e,r);function run(r){if(r==i.length)return t(null);fetchHints(i[r],e,n,function(e){e&&e.list.length>0?t(e):run(r+1)})}run(0)};return resolved.async=!0,resolved.supportsSelection=!0,resolved}else if(i=t.getHelper(t.getCursor(),`hintWords`))return function(t){return e.hint.fromList(t,{words:i})};else if(e.hint.anyword)return function(t,n){return e.hint.anyword(t,n)};else return function(){}}e.registerHelper(`hint`,`auto`,{resolve:resolveAutoHints}),e.registerHelper(`hint`,`fromList`,function(t,n){var r=t.getCursor(),i=t.getTokenAt(r),a,o=e.Pos(r.line,i.start),s=r;i.start<r.ch&&/\w/.test(i.string.charAt(r.ch-i.start-1))?a=i.string.substr(0,r.ch-i.start):(a=``,o=r);for(var c=[],l=0;l<n.words.length;l++){var u=n.words[l];u.slice(0,a.length)==a&&c.push(u)}if(c.length)return{list:c,from:o,to:s}}),e.commands.autocomplete=e.showHint;var a={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};e.defineOption(`hintOptions`,null)})}));j(),M(),N(),P(),F();var Editor=class extends t.HTMLWidget{_codemirror;_markedText=[];_initialText=``;options(){return{gutters:this.guttersOption(),readOnly:this.readOnly(),lineNumbers:!0,tabSize:2}}_options=new Map;option(e,t){if(this._codemirror)return arguments.length<2?this._codemirror.getOption(e):(this._codemirror.setOption(e,t),this);if(arguments.length<2)return this._options.get(e);this._options.set(e,t)}guttersOption(){let e=[`CodeMirror-linenumbers`];return this.gutterMarkerWidth()>0&&e.unshift({className:`CodeMirror-guttermarker`,style:`width:${this.gutterMarkerWidth()}px;`}),e}addGutterMarker(e,n,r=null,i=null,a=null,o=()=>{},s=()=>{},c=e=>{}){let l=this._codemirror.getLineHandle(e),u=document.createElement(`div`);u.textContent=n,u.style.paddingLeft=`3px`,u.style.paddingRight=`3px`,u.style.color=t.Palette.textColor(r),i!==null&&(u.style.fontFamily=i),a!==null&&(u.style.fontSize=a),u.style.backgroundColor=r,u.style.textAlign=this.markerTextAlign(),this._codemirror.setGutterMarker(l,`CodeMirror-guttermarker`,u),u.onmouseenter=o,u.onmouseleave=s,u.onclick=c}removeGutterMarker(e){let t=this._codemirror.getLineHandle(e);this._codemirror.setGutterMarker(t,`CodeMirror-guttermarker`,null)}hasFocus(){return this._codemirror.hasFocus()}text(e){if(this._codemirror){let t=this._codemirror.getDoc();return arguments.length?(t.setValue(e),this):t.getValue()}return arguments.length?(this._initialText=e,this):this._initialText}highlight(e,t,n=`cm-marked-text`){return typeof e==`number`&&(e=this.positionAt(e)),typeof t==`number`&&(t=this.positionAt(t)),this._codemirror&&this._markedText.push(this._codemirror.markText(e,t,{className:n})),this}highlightInfo(e,t){return this.highlight(e,t,`cm-marked-info`),this}highlightWarning(e,t){return this.highlight(e,t,`cm-marked-warning`),this}highlightError(e,t){return this.highlight(e,t,`cm-marked-error`),this}addLineClass(e){return this._codemirror.addLineClass(this._codemirror.getLineHandle(e.lineNum),e.where??`background`,e.cssClass),this}removeLineClass(e){return this._codemirror.removeLineClass(this._codemirror.getLineHandle(e.lineNum),e.where??`background`,e.cssClass),this}removeAllHighlight(){for(let e of this._markedText)e.clear();return this._markedText=[],this}positionAt(e){return this._codemirror.posFromIndex(e)}getLineLength(e){return this._codemirror.doc.getLine(e)?.length||0}highlightSubstring(e){let t=this.text().split(e).slice(0,-1),n=0;t.forEach(t=>{n+=t.length,this.highlight(this.positionAt(n),this.positionAt(n+e.length)),n+=e.length})}setCursor(e,t,n=!0){this._codemirror.setCursor(e,t),n&&setTimeout(()=>{this._codemirror.focus()},0)}enter(e,t){super.enter(e,t),this._codemirror=w.default.fromTextArea(t.append(`textarea`).node(),this.options()),this._codemirror.on(`changes`,(e,t)=>{this.changes(t)}),this._options.forEach((e,t)=>{this._codemirror.setOption(t,e)}),this.text(this._initialText)}update(e,t){super.update(e,t);let n=this._codemirror.getOption(`extraKeys`)??{};this.showHints()?n[`Ctrl-Space`]=`autocomplete`:delete n[`Ctrl-Space`],this._codemirror.setOption(`readOnly`,this.readOnly()),this._codemirror.setOption(`gutters`,this.guttersOption()),this._codemirror.setOption(`extraKeys`,n),this._codemirror.setOption(`hintOptions`,this.showHints()?{hint:(e,t)=>this.fetchHints(e,t)}:{}),this._codemirror.setSize(this.width()-2,this.height()-2),this._codemirror.refresh()}changes(e){}fetchHints(e,t){return Promise.resolve(null)}setOption(e,t){this._codemirror.setOption(e,t)}};Editor.prototype._class+=` codemirror_Editor`,Editor.prototype.publish(`markerTextAlign`,`right`,`string`,`Gutter marker text alignment`,[`left`,`center`,`right`]),Editor.prototype.publish(`readOnly`,!1,`boolean`,`If true, the contents will be uneditable`),Editor.prototype.publish(`gutterMarkerWidth`,0,`number`,`Width of gutter marker column displayed to the left of line numbers (pixels)`),Editor.prototype.publish(`showHints`,!1,`boolean`,`Show autocomplete hints on ctrl+space`);var CSSEditor=class extends Editor{options(){return{...super.options(),mode:`text/css`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}css(e){return arguments.length?(this.text(e),this):this.text()}};CSSEditor.prototype._class+=` codemirror_CSSEditor`;var DOTEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-dot`}}dot(e){return arguments.length?(this.text(e),this):this.text()}};DOTEditor.prototype._class+=` codemirror_DOTEditor`;var ECLEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-ecl`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}ecl(e){return arguments.length?(this.text(e),this):this.text()}};ECLEditor.prototype._class+=` codemirror_ECLEditor`;var HTMLEditor=class extends Editor{options(){return{...super.options(),mode:`htmlmixed`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}html(e){return arguments.length?(this.text(e),this):this.text()}};HTMLEditor.prototype._class+=` codemirror_HTMLEditor`;var JSEditor=class extends Editor{options(){return{...super.options(),mode:`text/javascript`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}javascript(e){return arguments.length?(this.text(e),this):this.text()}};JSEditor.prototype._class+=` codemirror_JSEditor`;var JSONEditor=class extends Editor{options(){return{...super.options(),mode:`application/json`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}json(e){return arguments.length?(this.text(JSON.stringify(e,null,` `)),this):JSON.parse(this.text())}};JSONEditor.prototype._class+=` codemirror_JSONEditor`;var MarkdownEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-gfm`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}markdown(e){return arguments.length?(this.text(e),this):this.text()}};MarkdownEditor.prototype._class+=` codemirror_MarkdownEditor`;var ObservableMarkdownEditor=class extends MarkdownEditor{options(){return{...super.options(),mode:{name:`text/x-gfm`,defaultMode:`javascript`}}}};ObservableMarkdownEditor.prototype._class+=` codemirror_ObservableMarkdownEditor`;var XMLEditor=class extends Editor{options(){return{...super.options(),mode:`application/xml`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}xml(e){return arguments.length?(this.text(e),this):this.text()}};XMLEditor.prototype._class+=` codemirror_XMLEditor`;var SQLEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-pgsql`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}sql(e){return arguments.length?(this.text(e),this):this.text()}};SQLEditor.prototype._class+=` codemirror_SQLEditor`;var YAMLEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-yaml`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}yaml(e){return arguments.length?(this.text(e),this):this.text()}};YAMLEditor.prototype._class+=` codemirror_YAMLEditor`,e.BUILD_VERSION=u,e.CSSEditor=CSSEditor,e.DOTEditor=DOTEditor,e.ECLEditor=ECLEditor,e.Editor=Editor,e.HTMLEditor=HTMLEditor,e.JSEditor=JSEditor,e.JSONEditor=JSONEditor,e.MarkdownEditor=MarkdownEditor,e.ObservableMarkdownEditor=ObservableMarkdownEditor,e.PKG_NAME=c,e.PKG_VERSION=l,e.SQLEditor=SQLEditor,e.XMLEditor=XMLEditor,e.YAMLEditor=YAMLEditor});
30
+ `),h=s+f.length,g=f[f.length-1].length;return{from:t(h,g),to:t(h+m.length-1,m.length==1?g+m[0].length:m[m.length-1].length),match:d}}}}var doFold,noFold;String.prototype.normalize?(doFold=function(e){return e.normalize(`NFD`).toLowerCase()},noFold=function(e){return e.normalize(`NFD`)}):(doFold=function(e){return e.toLowerCase()},noFold=function(e){return e});function adjustPos(e,t,n,r){if(e.length==t.length)return n;for(var i=0,a=n+Math.max(0,e.length-t.length);;){if(i==a)return i;var o=i+a>>1,s=r(e.slice(0,o)).length;if(s==n)return o;s>n?a=o:i=o+1}}function searchStringForward(e,n,r,i){if(!n.length)return null;var a=i?doFold:noFold,o=a(n).split(/\r|\n\r?/);search:for(var s=r.line,c=r.ch,l=e.lastLine()+1-o.length;s<=l;s++,c=0){var u=e.getLine(s).slice(c),d=a(u);if(o.length==1){var f=d.indexOf(o[0]);if(f==-1)continue search;var r=adjustPos(u,d,f,a)+c;return{from:t(s,adjustPos(u,d,f,a)+c),to:t(s,adjustPos(u,d,f+o[0].length,a)+c)}}else{var m=d.length-o[0].length;if(d.slice(m)!=o[0])continue search;for(var h=1;h<o.length-1;h++)if(a(e.getLine(s+h))!=o[h])continue search;var g=e.getLine(s+o.length-1),_=a(g),v=o[o.length-1];if(_.slice(0,v.length)!=v)continue search;return{from:t(s,adjustPos(u,d,m,a)+c),to:t(s+o.length-1,adjustPos(g,_,v.length,a))}}}}function searchStringBackward(e,n,r,i){if(!n.length)return null;var a=i?doFold:noFold,o=a(n).split(/\r|\n\r?/);search:for(var s=r.line,c=r.ch,l=e.firstLine()-1+o.length;s>=l;s--,c=-1){var u=e.getLine(s);c>-1&&(u=u.slice(0,c));var d=a(u);if(o.length==1){var f=d.lastIndexOf(o[0]);if(f==-1)continue search;return{from:t(s,adjustPos(u,d,f,a)),to:t(s,adjustPos(u,d,f+o[0].length,a))}}else{var m=o[o.length-1];if(d.slice(0,m.length)!=m)continue search;for(var h=1,r=s-o.length+1;h<o.length-1;h++)if(a(e.getLine(r+h))!=o[h])continue search;var g=e.getLine(s+1-o.length),_=a(g);if(_.slice(_.length-o[0].length)!=o[0])continue search;return{from:t(s+1-o.length,adjustPos(g,_,g.length-o[0].length,a)),to:t(s,adjustPos(u,d,m.length,a))}}}}function SearchCursor(e,n,r,i){this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,r=r?e.clipPos(r):t(0,0),this.pos={from:r,to:r};var a;typeof i==`object`?a=i.caseFold:(a=i,i=null),typeof n==`string`?(a??=!1,this.matches=function(t,r){return(t?searchStringBackward:searchStringForward)(e,n,r,a)}):(n=ensureFlags(n,`gm`),!i||i.multiline!==!1?this.matches=function(t,r){return(t?searchRegexpBackwardMultiline:searchRegexpForwardMultiline)(e,n,r)}:this.matches=function(t,r){return(t?searchRegexpBackward:searchRegexpForward)(e,n,r)})}SearchCursor.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(n){var r=this.doc.clipPos(n?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(r=t(r.line,r.ch),n?(r.ch--,r.ch<0&&(r.line--,r.ch=(this.doc.getLine(r.line)||``).length)):(r.ch++,r.ch>(this.doc.getLine(r.line)||``).length&&(r.ch=0,r.line++)),e.cmpPos(r,this.doc.clipPos(r))!=0))return this.atOccurrence=!1;var i=this.matches(n,r);if(this.afterEmptyMatch=i&&e.cmpPos(i.from,i.to)==0,i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var a=t(n?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:a,to:a},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(n,r){if(this.atOccurrence){var i=e.splitLines(n);this.doc.replaceRange(i,this.pos.from,this.pos.to,r),this.pos.to=t(this.pos.from.line+i.length-1,i[i.length-1].length+(i.length==1?this.pos.from.ch:0))}}},e.defineExtension(`getSearchCursor`,function(e,t,n){return new SearchCursor(this.doc,e,t,n)}),e.defineDocExtension(`getSearchCursor`,function(e,t,n){return new SearchCursor(this,e,t,n)}),e.defineExtension(`selectMatches`,function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor(`from`),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor(`to`))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)})})})),P=__commonJSMin(((e,t)=>{(function(n){typeof e==`object`&&typeof t==`object`?n(d(),N(),j()):n(CodeMirror)})(function(e){"use strict";e.defineOption(`search`,{bottom:!1});function searchOverlay(e,t){return typeof e==`string`?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),t?`gi`:`g`):e.global||(e=new RegExp(e.source,e.ignoreCase?`gi`:`g`)),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,`searching`;n?t.pos=n.index:t.skipToEnd()}}}function SearchState(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function getSearchState(e){return e.state.search||(e.state.search=new SearchState)}function queryCaseInsensitive(e){return typeof e==`string`&&e==e.toLowerCase()}function getSearchCursor(e,t,n){return e.getSearchCursor(t,n,{caseFold:queryCaseInsensitive(t),multiline:!0})}function persistentDialog(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){clearSearch(e)},onKeyDown:i,bottom:e.options.search.bottom})}function dialog(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}function confirmDialog(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}function parseString(e){return e.replace(/\\([nrt\\])/g,function(e,t){return t==`n`?`
31
+ `:t==`r`?`\r`:t==`t`?` `:t==`\\`?`\\`:e})}function parseQuery(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],t[2].indexOf(`i`)==-1?``:`i`)}catch{}else e=parseString(e);return(typeof e==`string`?e==``:e.test(``))&&(e=/x^/),e}function startSearch(e,t,n){t.queryText=n,t.query=parseQuery(n),e.removeOverlay(t.overlay,queryCaseInsensitive(t.query)),t.overlay=searchOverlay(t.query,queryCaseInsensitive(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&=(t.annotate.clear(),null),t.annotate=e.showMatchesOnScrollbar(t.query,queryCaseInsensitive(t.query)))}function doSearch(t,n,r,i){var a=getSearchState(t);if(a.query)return findNext(t,n);var o=t.getSelection()||a.lastQuery;if(o instanceof RegExp&&o.source==`x^`&&(o=null),r&&t.openDialog){var s=null,searchNext=function(n,r){e.e_stop(r),n&&(n!=a.queryText&&(startSearch(t,a,n),a.posFrom=a.posTo=t.getCursor()),s&&(s.style.opacity=1),findNext(t,r.shiftKey,function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(`.CodeMirror-dialog`))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,`window`).top&&((s=r).style.opacity=.4)}))};persistentDialog(t,getQueryDialog(t),o,searchNext,function(n,r){var i=e.keyName(n),a=t.getOption(`extraKeys`),o=a&&a[i]||e.keyMap[t.getOption(`keyMap`)][i];o==`findNext`||o==`findPrev`||o==`findPersistentNext`||o==`findPersistentPrev`?(e.e_stop(n),startSearch(t,getSearchState(t),r),t.execCommand(o)):(o==`find`||o==`findPersistent`)&&(e.e_stop(n),searchNext(r,n))}),i&&o&&(startSearch(t,a,o),findNext(t,n))}else dialog(t,getQueryDialog(t),`Search for:`,o,function(e){e&&!a.query&&t.operation(function(){startSearch(t,a,e),a.posFrom=a.posTo=t.getCursor(),findNext(t,n)})})}function findNext(t,n,r){t.operation(function(){var i=getSearchState(t),a=getSearchCursor(t,i.query,n?i.posFrom:i.posTo);!a.find(n)&&(a=getSearchCursor(t,i.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0)),!a.find(n))||(t.setSelection(a.from(),a.to()),t.scrollIntoView({from:a.from(),to:a.to()},20),i.posFrom=a.from(),i.posTo=a.to(),r&&r(a.from(),a.to()))})}function clearSearch(e){e.operation(function(){var t=getSearchState(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&=(t.annotate.clear(),null))})}function el(e,t){var n=e?document.createElement(e):document.createDocumentFragment();for(var r in t)n[r]=t[r];for(var i=2;i<arguments.length;i++){var a=arguments[i];n.appendChild(typeof a==`string`?document.createTextNode(a):a)}return n}function getQueryDialog(e){var t=el(`label`,{className:`CodeMirror-search-label`},e.phrase(`Search:`),el(`input`,{type:`text`,style:`width: 10em`,className:`CodeMirror-search-field`,id:`CodeMirror-search-field`}));return t.setAttribute(`for`,`CodeMirror-search-field`),el(``,null,t,` `,el(`span`,{style:`color: #666`,className:`CodeMirror-search-hint`},e.phrase(`(Use /re/ syntax for regexp search)`)))}function getReplaceQueryDialog(e){return el(``,null,` `,el(`input`,{type:`text`,style:`width: 10em`,className:`CodeMirror-search-field`}),` `,el(`span`,{style:`color: #666`,className:`CodeMirror-search-hint`},e.phrase(`(Use /re/ syntax for regexp search)`)))}function getReplacementQueryDialog(e){return el(``,null,el(`span`,{className:`CodeMirror-search-label`},e.phrase(`With:`)),` `,el(`input`,{type:`text`,style:`width: 10em`,className:`CodeMirror-search-field`}))}function getDoReplaceConfirm(e){return el(``,null,el(`span`,{className:`CodeMirror-search-label`},e.phrase(`Replace?`)),` `,el(`button`,{},e.phrase(`Yes`)),` `,el(`button`,{},e.phrase(`No`)),` `,el(`button`,{},e.phrase(`All`)),` `,el(`button`,{},e.phrase(`Stop`)))}function replaceAll(e,t,n){e.operation(function(){for(var r=getSearchCursor(e,t);r.findNext();)if(typeof t!=`string`){var i=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,function(e,t){return i[t]}))}else r.replace(n)})}function replace(e,t){if(!e.getOption(`readOnly`)){var n=e.getSelection()||getSearchState(e).lastQuery,r=t?e.phrase(`Replace all:`):e.phrase(`Replace:`);dialog(e,el(``,null,el(`span`,{className:`CodeMirror-search-label`},r),getReplaceQueryDialog(e)),r,n,function(n){n&&(n=parseQuery(n),dialog(e,getReplacementQueryDialog(e),e.phrase(`Replace with:`),``,function(r){if(r=parseString(r),t)replaceAll(e,n,r);else{clearSearch(e);var i=getSearchCursor(e,n,e.getCursor(`from`)),advance=function(){var t=i.from(),a;!(a=i.findNext())&&(i=getSearchCursor(e,n),!(a=i.findNext())||t&&i.from().line==t.line&&i.from().ch==t.ch)||(e.setSelection(i.from(),i.to()),e.scrollIntoView({from:i.from(),to:i.to()}),confirmDialog(e,getDoReplaceConfirm(e),e.phrase(`Replace?`),[function(){doReplace(a)},advance,function(){replaceAll(e,n,r)}]))},doReplace=function(e){i.replace(typeof n==`string`?r:r.replace(/\$(\d)/g,function(t,n){return e[n]})),advance()};advance()}}))})}}e.commands.find=function(e){clearSearch(e),doSearch(e)},e.commands.findPersistent=function(e){clearSearch(e),doSearch(e,!1,!0)},e.commands.findPersistentNext=function(e){doSearch(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){doSearch(e,!0,!0,!0)},e.commands.findNext=doSearch,e.commands.findPrev=function(e){doSearch(e,!0)},e.commands.clearSearch=clearSearch,e.commands.replace=replace,e.commands.replaceAll=function(e){replace(e,!0)}})})),F=__commonJSMin(((e,t)=>{(function(n){n(typeof e==`object`&&typeof t==`object`?d():CodeMirror)})(function(e){"use strict";var t=`CodeMirror-hint`,n=`CodeMirror-hint-active`;e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension(`showHint`,function(t){t=parseOptions(this,this.getCursor(`start`),t);var n=this.listSelections();if(!(n.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var r=0;r<n.length;r++)if(n[r].head.line!=n[r].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var i=this.state.completionActive=new Completion(this,t);i.options.hint&&(e.signal(this,`startCompletion`,this),i.update(!0))}}),e.defineExtension(`closeHint`,function(){this.state.completionActive&&this.state.completionActive.close()});function Completion(e,t){if(this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(`start`),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var n=this;e.on(`cursorActivity`,this.activityFunc=function(){n.cursorActivity()})}}var r=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},i=window.cancelAnimationFrame||clearTimeout;Completion.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off(`cursorActivity`,this.activityFunc),this.widget&&this.data&&e.signal(this.data,`close`),this.widget&&this.widget.close(),e.signal(this.cm,`endCompletion`,this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],i=this;this.cm.operation(function(){r.hint?r.hint(i.cm,t,r):i.cm.replaceRange(getText(r),r.from||t.from,r.to||t.to,`complete`),e.signal(t,`pick`,r),i.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&=(i(this.debounce),0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),n=this.cm.getLine(t.line);if(t.line!=this.startPos.line||n.length-t.ch!=this.startLen-this.startPos.ch||t.ch<e.ch||this.cm.somethingSelected()||!t.ch||this.options.closeCharacters.test(n.charAt(t.ch-1)))this.close();else{var a=this;this.debounce=r(function(){a.update()}),this.widget&&this.widget.disable()}},update:function(e){if(this.tick!=null){var t=this,n=++this.tick;fetchHints(this.options.hint,this.cm,this.options,function(r){t.tick==n&&t.finishUpdate(r,e)})}},finishUpdate:function(t,n){this.data&&e.signal(this.data,`update`);var r=this.widget&&this.widget.picked||n&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(r&&t.list.length==1?this.pick(t,0):(this.widget=new Widget(this,t),e.signal(t,`shown`)))}};function parseOptions(e,t,n){var r=e.options.hintOptions,i={};for(var o in a)i[o]=a[o];if(r)for(var o in r)r[o]!==void 0&&(i[o]=r[o]);if(n)for(var o in n)n[o]!==void 0&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}function getText(e){return typeof e==`string`?e:e.text}function buildKeyMap(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(-t.menuSize()+1,!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n[`Ctrl-P`]=function(){t.moveFocus(-1)},n[`Ctrl-N`]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function addBinding(e,r){i[e]=typeof r==`string`?n.hasOwnProperty(r)?n[r]:r:function(e){return r(e,t)}}if(r)for(var a in r)r.hasOwnProperty(a)&&addBinding(a,r[a]);var o=e.options.extraKeys;if(o)for(var a in o)o.hasOwnProperty(a)&&addBinding(a,o[a]);return i}function getHintElement(e,t){for(;t&&t!=e;){if(t.nodeName.toUpperCase()===`LI`&&t.parentNode==e)return t;t=t.parentNode}}function Widget(r,i){this.id=`cm-complete-`+Math.floor(Math.random(1e6)),this.completion=r,this.data=i,this.picked=!1;var a=this,o=r.cm,s=o.getInputField().ownerDocument,c=s.defaultView||s.parentWindow,l=this.hints=s.createElement(`ul`);l.setAttribute(`role`,`listbox`),l.setAttribute(`aria-expanded`,`true`),l.id=this.id,l.className=`CodeMirror-hints `+r.cm.options.theme,this.selectedHint=i.selectedHint||0;for(var u=i.list,d=0;d<u.length;++d){var f=l.appendChild(s.createElement(`li`)),m=u[d],h=t+(d==this.selectedHint?` `+n:``);m.className!=null&&(h=m.className+` `+h),f.className=h,d==this.selectedHint&&f.setAttribute(`aria-selected`,`true`),f.id=this.id+`-`+d,f.setAttribute(`role`,`option`),m.render?m.render(f,i,m):f.appendChild(s.createTextNode(m.displayText||getText(m))),f.hintId=d}var g=r.options.container||s.body,_=o.cursorCoords(r.options.alignWithWord?i.from:null),v=_.left,y=_.bottom,b=!0,x=0,S=0;if(g!==s.body){var C=[`absolute`,`relative`,`fixed`].indexOf(c.getComputedStyle(g).position)===-1?g.offsetParent:g,w=C.getBoundingClientRect(),T=s.body.getBoundingClientRect();x=w.left-T.left-C.scrollLeft,S=w.top-T.top-C.scrollTop}l.style.left=v-x+`px`,l.style.top=y-S+`px`;var E=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),D=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);g.appendChild(l),o.getInputField().setAttribute(`aria-autocomplete`,`list`),o.getInputField().setAttribute(`aria-owns`,this.id),o.getInputField().setAttribute(`aria-activedescendant`,this.id+`-`+this.selectedHint);var O=r.options.moveOnOverlap?l.getBoundingClientRect():new DOMRect,k=r.options.paddingForScrollbar?l.scrollHeight>l.clientHeight+1:!1,A;if(setTimeout(function(){A=o.getScrollInfo()}),O.bottom-D>0){var j=O.bottom-O.top,M=O.top-(_.bottom-_.top)-2;D-O.top<M?(j>M&&(l.style.height=(j=M)+`px`),l.style.top=(y=_.top-j)-S+`px`,b=!1):l.style.height=D-O.top-2+`px`}var N=O.right-E;if(k&&(N+=o.display.nativeBarWidth),N>0&&(O.right-O.left>E&&(l.style.width=E-5+`px`,N-=O.right-O.left-E),l.style.left=(v=Math.max(_.left-N-x,0))+`px`),k)for(var P=l.firstChild;P;P=P.nextSibling)P.style.paddingRight=o.display.nativeBarWidth+`px`;if(o.addKeyMap(this.keyMap=buildKeyMap(r,{moveFocus:function(e,t){a.changeActive(a.selectedHint+e,t)},setFocus:function(e){a.changeActive(e)},menuSize:function(){return a.screenAmount()},length:u.length,close:function(){r.close()},pick:function(){a.pick()},data:i})),r.options.closeOnUnfocus){var F;o.on(`blur`,this.onBlur=function(){F=setTimeout(function(){r.close()},100)}),o.on(`focus`,this.onFocus=function(){clearTimeout(F)})}o.on(`scroll`,this.onScroll=function(){var e=o.getScrollInfo(),t=o.getWrapperElement().getBoundingClientRect();A||=o.getScrollInfo();var n=y+A.top-e.top,i=n-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(b||(i+=l.offsetHeight),i<=t.top||i>=t.bottom)return r.close();l.style.top=n+`px`,l.style.left=v+A.left-e.left+`px`}),e.on(l,`dblclick`,function(e){var t=getHintElement(l,e.target||e.srcElement);t&&t.hintId!=null&&(a.changeActive(t.hintId),a.pick())}),e.on(l,`click`,function(e){var t=getHintElement(l,e.target||e.srcElement);t&&t.hintId!=null&&(a.changeActive(t.hintId),r.options.completeOnSingleClick&&a.pick())}),e.on(l,`mousedown`,function(){setTimeout(function(){o.focus()},20)});var I=this.getSelectedHintRange();return(I.from!==0||I.to!==0)&&this.scrollToActive(),e.signal(i,`select`,u[this.selectedHint],l.childNodes[this.selectedHint]),!0}Widget.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm.getInputField();e.removeAttribute(`aria-activedescendant`),e.removeAttribute(`aria-owns`);var t=this.completion.cm;this.completion.options.closeOnUnfocus&&(t.off(`blur`,this.onBlur),t.off(`focus`,this.onFocus)),t.off(`scroll`,this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,r){if(t>=this.data.list.length?t=r?this.data.list.length-1:0:t<0&&(t=r?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(` `+n,``),i.removeAttribute(`aria-selected`)),i=this.hints.childNodes[this.selectedHint=t],i.className+=` `+n,i.setAttribute(`aria-selected`,`true`),this.completion.cm.getInputField().setAttribute(`aria-activedescendant`,i.id),this.scrollToActive(),e.signal(this.data,`select`,this.data.list[this.selectedHint],i)}},scrollToActive:function(){var e=this.getSelectedHintRange(),t=this.hints.childNodes[e.from],n=this.hints.childNodes[e.to],r=this.hints.firstChild;t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=t.offsetTop-r.offsetTop:n.offsetTop+n.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var e=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-e),to:Math.min(this.data.list.length-1,this.selectedHint+e)}}};function applicableHelpers(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r<t.length;r++)t[r].supportsSelection&&n.push(t[r]);return n}function fetchHints(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}function resolveAutoHints(t,n){var r=t.getHelpers(n,`hint`),i;if(r.length){var resolved=function(e,t,n){var i=applicableHelpers(e,r);function run(r){if(r==i.length)return t(null);fetchHints(i[r],e,n,function(e){e&&e.list.length>0?t(e):run(r+1)})}run(0)};return resolved.async=!0,resolved.supportsSelection=!0,resolved}else if(i=t.getHelper(t.getCursor(),`hintWords`))return function(t){return e.hint.fromList(t,{words:i})};else if(e.hint.anyword)return function(t,n){return e.hint.anyword(t,n)};else return function(){}}e.registerHelper(`hint`,`auto`,{resolve:resolveAutoHints}),e.registerHelper(`hint`,`fromList`,function(t,n){var r=t.getCursor(),i=t.getTokenAt(r),a,o=e.Pos(r.line,i.start),s=r;i.start<r.ch&&/\w/.test(i.string.charAt(r.ch-i.start-1))?a=i.string.substr(0,r.ch-i.start):(a=``,o=r);for(var c=[],l=0;l<n.words.length;l++){var u=n.words[l];u.slice(0,a.length)==a&&c.push(u)}if(c.length)return{list:c,from:o,to:s}}),e.commands.autocomplete=e.showHint;var a={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};e.defineOption(`hintOptions`,null)})}));j(),M(),N(),P(),F();var Editor=class extends t.HTMLWidget{_codemirror;_markedText=[];_initialText=``;options(){return{gutters:this.guttersOption(),readOnly:this.readOnly(),lineNumbers:!0,tabSize:2}}_options=new Map;option(e,t){if(this._codemirror)return arguments.length<2?this._codemirror.getOption(e):(this._codemirror.setOption(e,t),this);if(arguments.length<2)return this._options.get(e);this._options.set(e,t)}guttersOption(){let e=[`CodeMirror-linenumbers`];return this.gutterMarkerWidth()>0&&e.unshift({className:`CodeMirror-guttermarker`,style:`width:${this.gutterMarkerWidth()}px;`}),e}addGutterMarker(e,n,r=null,i=null,a=null,o=()=>{},s=()=>{},c=e=>{}){let l=this._codemirror.getLineHandle(e),u=document.createElement(`div`);u.textContent=n,u.style.paddingLeft=`3px`,u.style.paddingRight=`3px`,u.style.color=t.Palette.textColor(r),i!==null&&(u.style.fontFamily=i),a!==null&&(u.style.fontSize=a),u.style.backgroundColor=r,u.style.textAlign=this.markerTextAlign(),this._codemirror.setGutterMarker(l,`CodeMirror-guttermarker`,u),u.onmouseenter=o,u.onmouseleave=s,u.onclick=c}removeGutterMarker(e){let t=this._codemirror.getLineHandle(e);this._codemirror.setGutterMarker(t,`CodeMirror-guttermarker`,null)}hasFocus(){return this._codemirror.hasFocus()}text(e){if(this._codemirror){let t=this._codemirror.getDoc();return arguments.length?(t.setValue(e),this):t.getValue()}return arguments.length?(this._initialText=e,this):this._initialText}highlight(e,t,n=`cm-marked-text`){return typeof e==`number`&&(e=this.positionAt(e)),typeof t==`number`&&(t=this.positionAt(t)),this._codemirror&&this._markedText.push(this._codemirror.markText(e,t,{className:n})),this}highlightInfo(e,t){return this.highlight(e,t,`cm-marked-info`),this}highlightWarning(e,t){return this.highlight(e,t,`cm-marked-warning`),this}highlightError(e,t){return this.highlight(e,t,`cm-marked-error`),this}addLineClass(e){return this._codemirror.addLineClass(this._codemirror.getLineHandle(e.lineNum),e.where??`background`,e.cssClass),this}removeLineClass(e){return this._codemirror.removeLineClass(this._codemirror.getLineHandle(e.lineNum),e.where??`background`,e.cssClass),this}removeAllHighlight(){for(let e of this._markedText)e.clear();return this._markedText=[],this}positionAt(e){return this._codemirror.posFromIndex(e)}getLineLength(e){return this._codemirror.doc.getLine(e)?.length||0}highlightSubstring(e){let t=this.text().split(e).slice(0,-1),n=0;t.forEach(t=>{n+=t.length,this.highlight(this.positionAt(n),this.positionAt(n+e.length)),n+=e.length})}setCursor(e,t,n=!0){this._codemirror.setCursor(e,t),n&&setTimeout(()=>{this._codemirror.focus()},0)}enter(e,t){super.enter(e,t),this._codemirror=w.default.fromTextArea(t.append(`textarea`).node(),this.options()),this._codemirror.on(`changes`,(e,t)=>{this.changes(t)}),this._options.forEach((e,t)=>{this._codemirror.setOption(t,e)}),this.text(this._initialText)}update(e,t){super.update(e,t);let n=this._codemirror.getOption(`extraKeys`)??{};this.showHints()?n[`Ctrl-Space`]=`autocomplete`:delete n[`Ctrl-Space`],this._codemirror.setOption(`readOnly`,this.readOnly()),this._codemirror.setOption(`gutters`,this.guttersOption()),this._codemirror.setOption(`extraKeys`,n),this._codemirror.setOption(`hintOptions`,this.showHints()?{hint:(e,t)=>this.fetchHints(e,t)}:{}),this._codemirror.setSize(this.width()-2,this.height()-2),this._codemirror.refresh()}changes(e){}fetchHints(e,t){return Promise.resolve(null)}setOption(e,t){this._codemirror.setOption(e,t)}};Editor.prototype._class+=` codemirror_Editor`,Editor.prototype.publish(`markerTextAlign`,`right`,`string`,`Gutter marker text alignment`,[`left`,`center`,`right`]),Editor.prototype.publish(`readOnly`,!1,`boolean`,`If true, the contents will be uneditable`),Editor.prototype.publish(`gutterMarkerWidth`,0,`number`,`Width of gutter marker column displayed to the left of line numbers (pixels)`),Editor.prototype.publish(`showHints`,!1,`boolean`,`Show autocomplete hints on ctrl+space`);var CSSEditor=class extends Editor{options(){return{...super.options(),mode:`text/css`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}css(e){return arguments.length?(this.text(e),this):this.text()}};CSSEditor.prototype._class+=` codemirror_CSSEditor`;var DOTEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-dot`}}dot(e){return arguments.length?(this.text(e),this):this.text()}};DOTEditor.prototype._class+=` codemirror_DOTEditor`;var ECLEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-ecl`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}ecl(e){return arguments.length?(this.text(e),this):this.text()}};ECLEditor.prototype._class+=` codemirror_ECLEditor`;var HTMLEditor=class extends Editor{options(){return{...super.options(),mode:`htmlmixed`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}html(e){return arguments.length?(this.text(e),this):this.text()}};HTMLEditor.prototype._class+=` codemirror_HTMLEditor`;var JSEditor=class extends Editor{options(){return{...super.options(),mode:`text/javascript`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}javascript(e){return arguments.length?(this.text(e),this):this.text()}};JSEditor.prototype._class+=` codemirror_JSEditor`;var JSONEditor=class extends Editor{options(){return{...super.options(),mode:`application/json`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}json(e){return arguments.length?(this.text(JSON.stringify(e,null,` `)),this):JSON.parse(this.text())}};JSONEditor.prototype._class+=` codemirror_JSONEditor`;var MarkdownEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-gfm`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}markdown(e){return arguments.length?(this.text(e),this):this.text()}};MarkdownEditor.prototype._class+=` codemirror_MarkdownEditor`;var ObservableMarkdownEditor=class extends MarkdownEditor{options(){return{...super.options(),mode:{name:`text/x-gfm`,defaultMode:`javascript`}}}};ObservableMarkdownEditor.prototype._class+=` codemirror_ObservableMarkdownEditor`;var XMLEditor=class extends Editor{options(){return{...super.options(),mode:`application/xml`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}xml(e){return arguments.length?(this.text(e),this):this.text()}};XMLEditor.prototype._class+=` codemirror_XMLEditor`;var SQLEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-pgsql`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}sql(e){return arguments.length?(this.text(e),this):this.text()}};SQLEditor.prototype._class+=` codemirror_SQLEditor`;var YAMLEditor=class extends Editor{options(){return{...super.options(),mode:`text/x-yaml`,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`]}}yaml(e){return arguments.length?(this.text(e),this):this.text()}};YAMLEditor.prototype._class+=` codemirror_YAMLEditor`,e.BUILD_VERSION=u,e.CSSEditor=CSSEditor,e.DOTEditor=DOTEditor,e.ECLEditor=ECLEditor,e.Editor=Editor,e.HTMLEditor=HTMLEditor,e.JSEditor=JSEditor,e.JSONEditor=JSONEditor,e.MarkdownEditor=MarkdownEditor,e.ObservableMarkdownEditor=ObservableMarkdownEditor,e.PKG_NAME=c,e.PKG_VERSION=l,e.SQLEditor=SQLEditor,e.XMLEditor=XMLEditor,e.YAMLEditor=YAMLEditor});
32
32
  //# sourceMappingURL=index.umd.cjs.map
33
33
  (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.CodeMirror{color:#000;direction:ltr;height:300px;font-family:monospace}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{white-space:nowrap;background-color:#f7f7f7;border-right:1px solid #ddd}.CodeMirror-linenumber{text-align:right;color:#999;white-space:nowrap;min-width:20px;padding:0 3px 0 5px}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;width:auto;border:0!important}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection{background:0 0}.cm-fat-cursor .CodeMirror-line>span::selection{background:0 0}.cm-fat-cursor .CodeMirror-line>span>span::selection{background:0 0}.cm-fat-cursor .CodeMirror-line::-moz-selection{background:0 0}.cm-fat-cursor .CodeMirror-line>span::-moz-selection{background:0 0}.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:0 0}.cm-fat-cursor{caret-color:#0000}@keyframes blink{0%{}50%{background-color:#0000}to{}}.cm-tab{-webkit-text-decoration:inherit;text-decoration:inherit;display:inline-block}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute;top:0;bottom:0}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;position:relative;overflow:hidden}.CodeMirror-scroll{z-index:0;outline:none;height:100%;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;position:relative;overflow:scroll!important}.CodeMirror-sizer{border-right:50px solid #0000;position:relative}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{z-index:6;outline:none;display:none;position:absolute}.CodeMirror-vscrollbar{top:0;right:0;overflow:hidden scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow:scroll hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{z-index:3;min-height:100%;position:absolute;top:0;left:0}.CodeMirror-gutter{white-space:normal;vertical-align:top;height:100%;margin-bottom:-50px;display:inline-block}.CodeMirror-gutter-wrapper{z-index:4;position:absolute;background:0 0!important;border:none!important}.CodeMirror-gutter-background{z-index:4;position:absolute;top:0;bottom:0}.CodeMirror-gutter-elt{cursor:default;z-index:4;position:absolute}.CodeMirror-gutter-wrapper ::selection{background-color:#0000}.CodeMirror-gutter-wrapper ::selection{background-color:#0000}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{font-family:inherit;font-size:inherit;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;background:0 0;border-width:0;border-radius:0;margin:0;position:relative;overflow:visible}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{z-index:0;position:absolute;inset:0}.CodeMirror-linewidget{z-index:2;padding:.1px;position:relative}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{visibility:hidden;width:100%;height:0;position:absolute;overflow:hidden}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;z-index:3;position:relative}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection{background:#d7d4f0}.CodeMirror-line>span::selection{background:#d7d4f0}.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection{background:#d7d4f0}.CodeMirror-line>span::-moz-selection{background:#d7d4f0}.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:0 0}.CodeMirror-foldmarker{color:#00f;text-shadow:1px 1px 2px #b9f,-1px -1px 2px #b9f,1px -1px 2px #b9f,-1px 1px 2px #b9f;cursor:pointer;font-family:arial;line-height:.3}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-open,.CodeMirror-foldgutter-folded{cursor:pointer}.CodeMirror-foldgutter-open:after{content:"▾"}.CodeMirror-foldgutter-folded:after{content:"▸"}.CodeMirror-dialog{background:inherit;z-index:15;color:inherit;padding:.1em .8em;position:absolute;left:0;right:0;overflow:hidden}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{width:20em;color:inherit;background:0 0;border:none;outline:none;font-family:monospace}.CodeMirror-dialog button{font-size:70%}.CodeMirror-hints{z-index:10;box-sizing:border-box;background:#fff;border:1px solid silver;border-radius:3px;max-height:20em;margin:0;padding:2px;font-family:monospace;font-size:90%;list-style:none;position:absolute;overflow:hidden auto;box-shadow:2px 3px 5px #0003}.CodeMirror-hint{white-space:pre;color:#000;cursor:pointer;border-radius:2px;margin:0;padding:0 4px}li.CodeMirror-hint-active{color:#fff;background:#08f}.codemirror_Editor{border:1px solid #d3d3d3}.codemirror_Editor .cm-marked-text{background-color:#ff0}.codemirror_Editor .cm-marked-info,.codemirror_Editor .cm-marked-error,.codemirror_Editor .cm-marked-warning{background-position:0 100%;background-repeat:repeat-x;display:inline-block;position:relative}.codemirror_Editor .cm-marked-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHElEQVQYV2NkgIP//xkYGBkZIXwIB0SDCQgHAgDEXAgCKU2DPwAAAABJRU5ErkJggg==)}.codemirror_Editor .cm-marked-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/DAz/GRkYGBlBfBgHTMM4MJUAzFoIAuwf4BEAAAAASUVORK5CYII=)}.codemirror_Editor .cm-marked-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/Sxn+M0YzMDKC+DAOmIZxYCoBKQkLp8ga+UwAAAAASUVORK5CYII=)}.codemirror_ECLEditor .cm-s-default span.cm-comment{color:green}.codemirror_ECLEditor .cm-s-default span.cm-keyword{color:#00f}.codemirror_ECLEditor .cm-s-default span.cm-variable{color:navy;font-weight:700}.codemirror_ECLEditor .cm-s-default span.cm-variable-2,.codemirror_ECLEditor .cm-s-default span.cm-variable-3{color:maroon}.codemirror_ECLEditor .cm-s-default span.cm-builtin{color:purple}.codemirror_ECLEditor .cm-s-default span.cm-string{color:gray}.codemirror_ECLEditor .cm-s-default span.cm-number,.cm-s-default span.cm-atom{color:#000}.codemirror_ECLEditor .cm-s-default span.cm-meta{color:#004080}.codemirror_ECLEditor .ErrorLine{color:#fff!important;background:#c00!important}.codemirror_ECLEditor .WarningLine{background:#ff9!important}.codemirror_ECLEditor .highlightline{background:#e8f2ff!important}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();