@readme/markdown 6.65.0 → 6.65.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.
Files changed (2) hide show
  1. package/dist/main.js +1 -1
  2. package/package.json +3 -7
package/dist/main.js CHANGED
@@ -8454,7 +8454,7 @@ if (true) {
8454
8454
  /***/ 3752:
8455
8455
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
8456
8456
 
8457
- var _typeof=__webpack_require__(8698);/*! For license information please see index.js.LICENSE.txt */(function(){var e={9338:function _(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(9074)),o=r(4201);function a(e,t){var r,n,i=e.levels;return((i&&0!==i.length?i[i.length-1]-((null===(r=this.electricInput)||void 0===r?void 0:r.test(t))?1:0):e.indentLevel)||0)*((null===(n=this.config)||void 0===n?void 0:n.indentUnit)||0);}i.default.defineMode("graphql",function(e){var t=o.onlineParser({eatWhitespace:function eatWhitespace(e){return e.eatWhile(o.isIgnored);},lexRules:o.LexRules,parseRules:o.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}};});},2661:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.registerHelper("fold","brace",function(t,r){var n,i=r.line,o=t.getLine(i);function a(a){for(var s=r.ch,l=0;;){var c=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=c){if(1==l&&c<r.ch)break;if(n=t.getTokenTypeAt(e.Pos(i,c+1)),!/^(comment|string)/.test(n))return c+1;s=c-1;}else{if(1==l)break;l=1,s=o.length;}}}var s="{",l="}",c=a("{");if(null==c&&(s="[",l="]",c=a("[")),null!=c){var u,d,p=1,f=t.lastLine();e:for(var m=i;m<=f;++m){for(var h=t.getLine(m),g=m==i?c:0;;){var y=h.indexOf(s,g),v=h.indexOf(l,g);if(y<0&&(y=h.length),v<0&&(v=h.length),(g=Math.min(y,v))==h.length)break;if(t.getTokenTypeAt(e.Pos(m,g+1))==n)if(g==y)++p;else if(! --p){u=m,d=g;break e;}++g;}}if(null!=u&&i!=u)return{from:e.Pos(i,c),to:e.Pos(u,d)};}}),e.registerHelper("fold","import",function(t,r){function n(r){if(r<t.firstLine()||r>t.lastLine())return null;var n=t.getTokenAt(e.Pos(r,1));if(/\S/.test(n.string)||(n=t.getTokenAt(e.Pos(r,n.end+1))),"keyword"!=n.type||"import"!=n.string)return null;for(var i=r,o=Math.min(t.lastLine(),r+10);i<=o;++i){var a=t.getLine(i).indexOf(";");if(-1!=a)return{startCh:n.end,end:e.Pos(i,a)};}}var i,o=r.line,a=n(o);if(!a||n(o-1)||(i=n(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=n(s.line+1);if(null==l)break;s=l.end;}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s};}),e.registerHelper("fold","include",function(t,r){function n(r){if(r<t.firstLine()||r>t.lastLine())return null;var n=t.getTokenAt(e.Pos(r,1));return /\S/.test(n.string)||(n=t.getTokenAt(e.Pos(r,n.end+1))),"meta"==n.type&&"#include"==n.string.slice(0,8)?n.start+8:void 0;}var i=r.line,o=n(i);if(null==o||null!=n(i-1))return null;for(var a=i;null!=n(a+1);){++a;}return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))};});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},2313:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(t,r,i,o){if(i&&i.call){var a=i;i=null;}else a=n(t,i,"rangeFinder");"number"==typeof r&&(r=e.Pos(r,0));var s=n(t,i,"minFoldSize");function l(e){var n=a(t,r);if(!n||n.to.line-n.from.line<s)return null;for(var i=t.findMarksAt(n.from),l=0;l<i.length;++l){if(i[l].__isFold&&"fold"!==o){if(!e)return null;n.cleared=!0,i[l].clear();}}return n;}var c=l(!0);if(n(t,i,"scanUp"))for(;!c&&r.line>t.firstLine();){r=e.Pos(r.line-1,0),c=l(!1);}if(c&&!c.cleared&&"unfold"!==o){var u=function(e,t,r){var i=n(e,t,"widget");if("function"==typeof i&&(i=i(r.from,r.to)),"string"==typeof i){var o=document.createTextNode(i);(i=document.createElement("span")).appendChild(o),i.className="CodeMirror-foldmarker";}else i&&(i=i.cloneNode(!0));return i;}(t,i,c);e.on(u,"mousedown",function(t){d.clear(),e.e_preventDefault(t);});var d=t.markText(c.from,c.to,{replacedWith:u,clearOnEnter:n(t,i,"clearOnEnter"),__isFold:!0});d.on("clear",function(r,n){e.signal(t,"unfold",t,r,n);}),e.signal(t,"fold",t,c.from,c.to);}}e.newFoldFunction=function(e,r){return function(n,i){t(n,i,{rangeFinder:e,widget:r});};},e.defineExtension("foldCode",function(e,r,n){t(this,e,r,n);}),e.defineExtension("isFolded",function(e){for(var t=this.findMarksAt(e),r=0;r<t.length;++r){if(t[r].__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(),null,"unfold");},e.commands.foldAll=function(t){t.operation(function(){for(var r=t.firstLine(),n=t.lastLine();r<=n;r++){t.foldCode(e.Pos(r,0),null,"fold");}});},e.commands.unfoldAll=function(t){t.operation(function(){for(var r=t.firstLine(),n=t.lastLine();r<=n;r++){t.foldCode(e.Pos(r,0),null,"unfold");}});},e.registerHelper("fold","combine",function(){var e=Array.prototype.slice.call(arguments,0);return function(t,r){for(var n=0;n<e.length;++n){var i=e[n](t,r);if(i)return i;}};}),e.registerHelper("fold","auto",function(e,t){for(var r=e.getHelpers(t,"fold"),n=0;n<r.length;n++){var i=r[n](e,t);if(i)return i;}});var r={rangeFinder:e.fold.auto,widget:"↔",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function n(e,t,n){if(t&&void 0!==t[n])return t[n];var i=e.options.foldOptions;return i&&void 0!==i[n]?i[n]:r[n];}e.defineOption("foldOptions",null),e.defineExtension("foldOption",function(e,t){return n(this,e,t);});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5365:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineOption("foldGutter",!1,function(t,n,i){var o;i&&i!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off("gutterClick",l),t.off("changes",c),t.off("viewportChange",u),t.off("fold",d),t.off("unfold",d),t.off("swapDoc",c)),n&&(t.state.foldGutter=new r((!0===(o=n)&&(o={}),null==o.gutter&&(o.gutter="CodeMirror-foldgutter"),null==o.indicatorOpen&&(o.indicatorOpen="CodeMirror-foldgutter-open"),null==o.indicatorFolded&&(o.indicatorFolded="CodeMirror-foldgutter-folded"),o)),s(t),t.on("gutterClick",l),t.on("changes",c),t.on("viewportChange",u),t.on("fold",d),t.on("unfold",d),t.on("swapDoc",c));});var t=e.Pos;function r(e){this.options=e,this.from=this.to=0;}function n(e,r){for(var n=e.findMarks(t(r,0),t(r+1,0)),i=0;i<n.length;++i){if(n[i].__isFold){var o=n[i].find(-1);if(o&&o.line===r)return n[i];}}}function i(e){if("string"==typeof e){var t=document.createElement("div");return t.className=e+" CodeMirror-guttermarker-subtle",t;}return e.cloneNode(!0);}function o(e,r,o){var s=e.state.foldGutter.options,l=r-1,c=e.foldOption(s,"minFoldSize"),u=e.foldOption(s,"rangeFinder"),d="string"==typeof s.indicatorFolded&&a(s.indicatorFolded),p="string"==typeof s.indicatorOpen&&a(s.indicatorOpen);e.eachLine(r,o,function(r){++l;var o=null,a=r.gutterMarkers;if(a&&(a=a[s.gutter]),n(e,l)){if(d&&a&&d.test(a.className))return;o=i(s.indicatorFolded);}else{var f=t(l,0),m=u&&u(e,f);if(m&&m.to.line-m.from.line>=c){if(p&&a&&p.test(a.className))return;o=i(s.indicatorOpen);}}(o||a)&&e.setGutterMarker(r,s.gutter,o);});}function a(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*");}function s(e){var t=e.getViewport(),r=e.state.foldGutter;r&&(e.operation(function(){o(e,t.from,t.to);}),r.from=t.from,r.to=t.to);}function l(e,r,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=n(e,r);s?s.clear():e.foldCode(t(r,0),a);}}}function c(e){var t=e.state.foldGutter;if(t){var r=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){s(e);},r.foldOnChangeTimeSpan||600);}}function u(e){var t=e.state.foldGutter;if(t){var r=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){var r=e.getViewport();t.from==t.to||r.from-t.to>20||t.from-r.to>20?s(e):e.operation(function(){r.from<t.from&&(o(e,r.from,t.from),t.from=r.from),r.to>t.to&&(o(e,t.to,r.to),t.to=r.to);});},r.updateViewportTimeSpan||400);}}function d(e,t){var r=e.state.foldGutter;if(r){var n=t.line;n>=r.from&&n<r.to&&o(e,n,n+1);}}},"object"==s(t)&&"object"==s(e)?a(r(9074),r(2313)):(i=[r(9074),r(2313)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},3740:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode");}function r(e,t){if(!e)return /(?:)/;var r="";return e instanceof RegExp?(e.ignoreCase&&(r="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",r);}function n(e,n){(e.next||e.push)&&t(n,e.next||e.push),this.regex=r(e.regex),this.token=function(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],r=0;r<e.length;r++){t.push(e[r]&&e[r].replace(/\./g," "));}return t;}(e.token),this.data=e;}function i(e,t){return function(r,n){if(n.pending){var i=n.pending.shift();return 0==n.pending.length&&(n.pending=null),r.pos+=i.text.length,i.token;}if(n.local){if(n.local.end&&r.match(n.local.end)){var o=n.local.endToken||null;return n.local=n.localState=null,o;}var s;return o=n.local.mode.token(r,n.localState),n.local.endScan&&(s=n.local.endScan.exec(r.current()))&&(r.pos=r.start+s.index),o;}for(var l=e[n.state],c=0;c<l.length;c++){var u=l[c],d=(!u.data.sol||r.sol())&&r.match(u.regex);if(d){u.data.next?n.state=u.data.next:u.data.push?((n.stack||(n.stack=[])).push(n.state),n.state=u.data.push):u.data.pop&&n.stack&&n.stack.length&&(n.state=n.stack.pop()),u.data.mode&&a(t,n,u.data.mode,u.token),u.data.indent&&n.indent.push(r.indentation()+t.indentUnit),u.data.dedent&&n.indent.pop();var p=u.token;if(p&&p.apply&&(p=p(d)),d.length>2&&u.token&&"string"!=typeof u.token){n.pending=[];for(var f=2;f<d.length;f++){d[f]&&n.pending.push({text:d[f],token:u.token[f-1]});}return r.backUp(d[0].length-(d[1]?d[1].length:0)),p[0];}return p&&p.join?p[0]:p;}}return r.next(),null;};}function o(e,t){if(e===t)return!0;if(!e||"object"!=s(e)||!t||"object"!=s(t))return!1;var r=0;for(var n in e){if(e.hasOwnProperty(n)){if(!t.hasOwnProperty(n)||!o(e[n],t[n]))return!1;r++;}}for(var n in t){t.hasOwnProperty(n)&&r--;}return 0==r;}function a(t,n,i,a){var s;if(i.persistent)for(var l=n.persistentStates;l&&!s;l=l.next){(i.spec?o(i.spec,l.spec):i.mode==l.mode)&&(s=l);}var c=s?s.mode:i.mode||e.getMode(t,i.spec),u=s?s.state:e.startState(c);i.persistent&&!s&&(n.persistentStates={mode:c,spec:i.spec,state:u,next:n.persistentStates}),n.localState=u,n.local={mode:c,end:i.end&&r(i.end),endScan:i.end&&!1!==i.forceEnd&&r(i.end,!1),endToken:a&&a.join?a[a.length-1]:a};}function l(t,r){return function(n,i,o){if(n.local&&n.local.mode.indent)return n.local.mode.indent(n.localState,i,o);if(null==n.indent||n.local||r.dontIndentStates&&function(e,t){for(var r=0;r<t.length;r++){if(t[r]===e)return!0;}}(n.state,r.dontIndentStates)>-1)return e.Pass;var a=n.indent.length-1,s=t[n.state];e:for(;;){for(var l=0;l<s.length;l++){var c=s[l];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var u=c.regex.exec(i);if(u&&u[0]){a--,(c.next||c.push)&&(s=t[c.next||c.push]),i=i.slice(u[0].length);continue e;}}}break;}return a<0?0:n.indent[a];};}e.defineSimpleMode=function(t,r){e.defineMode(t,function(t){return e.simpleMode(t,r);});},e.simpleMode=function(r,o){t(o,"start");var a={},s=o.meta||{},c=!1;for(var u in o){if(u!=s&&o.hasOwnProperty(u))for(var d=a[u]=[],p=o[u],f=0;f<p.length;f++){var m=p[f];d.push(new n(m,o)),(m.indent||m.dedent)&&(c=!0);}}var h={startState:function startState(){return{state:"start",pending:null,local:null,localState:null,indent:c?[]:null};},copyState:function copyState(t){var r={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(r.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(r.stack=t.stack.slice(0));for(var n=t.persistentStates;n;n=n.next){r.persistentStates={mode:n.mode,spec:n.spec,state:n.state==t.localState?r.localState:e.copyState(n.mode,n.state),next:r.persistentStates};}return r;},token:i(a,r),innerMode:function innerMode(e){return e.local&&{mode:e.local.mode,state:e.localState};},indent:l(a,s)};if(s)for(var g in s){s.hasOwnProperty(g)&&(h[g]=s[g]);}return h;};},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},622:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.runMode=function(t,r,n,i){var o=e.getMode(e.defaults,r),a=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<9);if(n.appendChild){var s=i&&i.tabSize||e.defaults.tabSize,l=n,c=0;l.innerHTML="",n=function n(e,t){if("\n"==e)return l.appendChild(document.createTextNode(a?"\r":e)),void(c=0);for(var r="",n=0;;){var i=e.indexOf("\t",n);if(-1==i){r+=e.slice(n),c+=e.length-n;break;}c+=i-n,r+=e.slice(n,i);var o=s-c%s;c+=o;for(var u=0;u<o;++u){r+=" ";}n=i+1;}if(t){var d=l.appendChild(document.createElement("span"));d.className="cm-"+t.replace(/ +/g," cm-"),d.appendChild(document.createTextNode(r));}else l.appendChild(document.createTextNode(r));};}for(var u=e.splitLines(t),d=i&&i.state||e.startState(o),p=0,f=u.length;p<f;++p){p&&n("\n");var m=new e.StringStream(u[p],null,{lookAhead:function lookAhead(e){return u[p+e];},baseToken:function baseToken(){}});for(!m.string&&o.blankLine&&o.blankLine(d);!m.eol();){var h=o.token(m,d);n(m.current(),h,p,m.start,d),m.start=m.pos;}}};},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},7650:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(t,r,n){this.orientation=r,this.scroll=n,this.screen=this.total=this.size=1,this.pos=0,this.node=document.createElement("div"),this.node.className=t+"-"+r,this.inner=this.node.appendChild(document.createElement("div"));var i=this;function o(t){var r=e.wheelEventPixels(t)["horizontal"==i.orientation?"x":"y"],n=i.pos;i.moveTo(i.pos+r),i.pos!=n&&e.e_preventDefault(t);}e.on(this.inner,"mousedown",function(t){if(1==t.which){e.e_preventDefault(t);var r="horizontal"==i.orientation?"pageX":"pageY",n=t[r],o=i.pos;e.on(document,"mousemove",s),e.on(document,"mouseup",a);}function a(){e.off(document,"mousemove",s),e.off(document,"mouseup",a);}function s(e){if(1!=e.which)return a();i.moveTo(o+(e[r]-n)*(i.total/i.size));}}),e.on(this.node,"click",function(t){e.e_preventDefault(t);var r,n=i.inner.getBoundingClientRect();r="horizontal"==i.orientation?t.clientX<n.left?-1:t.clientX>n.right?1:0:t.clientY<n.top?-1:t.clientY>n.bottom?1:0,i.moveTo(i.pos+r*i.screen);}),e.on(this.node,"mousewheel",o),e.on(this.node,"DOMMouseScroll",o);}function r(e,r,n){this.addClass=e,this.horiz=new t(e,"horizontal",n),r(this.horiz.node),this.vert=new t(e,"vertical",n),r(this.vert.node),this.width=null;}t.prototype.setPos=function(e,t){return e<0&&(e=0),e>this.total-this.screen&&(e=this.total-this.screen),!(!t&&e==this.pos||(this.pos=e,this.inner.style["horizontal"==this.orientation?"left":"top"]=e*(this.size/this.total)+"px",0));},t.prototype.moveTo=function(e){this.setPos(e)&&this.scroll(e,this.orientation);},t.prototype.update=function(e,t,r){var n=this.screen!=t||this.total!=e||this.size!=r;n&&(this.screen=t,this.total=e,this.size=r);var i=this.screen*(this.size/this.total);i<10&&(this.size-=10-i,i=10),this.inner.style["horizontal"==this.orientation?"width":"height"]=i+"px",this.setPos(this.pos,n);},r.prototype.update=function(e){if(null==this.width){var t=window.getComputedStyle?window.getComputedStyle(this.horiz.node):this.horiz.node.currentStyle;t&&(this.width=parseInt(t.height));}var r=this.width||0,n=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1;return this.vert.node.style.display=i?"block":"none",this.horiz.node.style.display=n?"block":"none",i&&(this.vert.update(e.scrollHeight,e.clientHeight,e.viewHeight-(n?r:0)),this.vert.node.style.bottom=n?r+"px":"0"),n&&(this.horiz.update(e.scrollWidth,e.clientWidth,e.viewWidth-(i?r:0)-e.barLeft),this.horiz.node.style.right=i?r+"px":"0",this.horiz.node.style.left=e.barLeft+"px"),{right:i?r:0,bottom:n?r:0};},r.prototype.setScrollTop=function(e){this.vert.setPos(e);},r.prototype.setScrollLeft=function(e){this.horiz.setPos(e);},r.prototype.clear=function(){var e=this.horiz.node.parentNode;e.removeChild(this.horiz.node),e.removeChild(this.vert.node);},e.scrollbarModel.simple=function(e,t){return new r("CodeMirror-simplescroll",e,t);},e.scrollbarModel.overlay=function(e,t){return new r("CodeMirror-overlayscroll",e,t);};},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},9074:function _(e,t,r){var n,i,o;function a(e){return a="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},a(e);}o=function o(){"use strict";var e=navigator.userAgent,t=navigator.platform,r=/gecko\/\d/i.test(e),n=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),s=n||i||o,l=s&&(n?document.documentMode||6:+(o||i)[1]),c=!o&&/WebKit\//.test(e),u=c&&/Qt\/\d+\.\d+/.test(e),d=!o&&/Chrome\//.test(e),p=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),m=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),g=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),y=/Android/.test(e),v=g||y||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=g||/Mac/.test(t),x=/\bCrOS\b/.test(e),k=/win/i.test(t),w=p&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(p=!1,c=!0);var _=b&&(u||p&&(null==w||w<12.11)),S=r||s&&l>=9;function C(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*");}var T,M=function M(e,t){var r=e.className,n=C(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"");}};function E(e){for(var t=e.childNodes.length;t>0;--t){e.removeChild(e.firstChild);}return e;}function L(e,t){return E(e).appendChild(t);}function z(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o){i.appendChild(t[o]);}return i;}function O(e,t,r,n){var i=z(e,t,r,n);return i.setAttribute("role","presentation"),i;}function A(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0;}while(t=t.parentNode);}function N(){var e;try{e=document.activeElement;}catch(t){e=document.body||null;}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;){e=e.shadowRoot.activeElement;}return e;}function I(e,t){var r=e.className;C(t).test(r)||(e.className+=(r?" ":"")+t);}function D(e,t){for(var r=e.split(" "),n=0;n<r.length;n++){r[n]&&!C(r[n]).test(t)&&(t+=" "+r[n]);}return t;}T=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i;}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode);}catch(e){return n;}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n;};var P=function P(e){e.select();};function j(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t);};}function q(e,t,r){for(var n in t||(t={}),e){!e.hasOwnProperty(n)||!1===r&&t.hasOwnProperty(n)||(t[n]=e[n]);}return t;}function F(e,t,r,n,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=n||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=r-a%r,o=s+1;}}g?P=function P(e){e.selectionStart=0,e.selectionEnd=e.value.length;}:s&&(P=function P(e){try{e.select();}catch(e){}});var R=function R(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this);};function W(e,t){for(var r=0;r<e.length;++r){if(e[r]==t)return r;}return-1;}R.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date()?e.f():setTimeout(e.handler,e.time-+new Date());},R.prototype.set=function(e,t){this.f=t;var r=+new Date()+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r);};var $=50,U={toString:function toString(){return"CodeMirror.Pass";}},H={scroll:!1},B={origin:"*mouse"},V={origin:"+move"};function G(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);-1==o&&(o=e.length);var a=o-n;if(o==e.length||i+a>=t)return n+Math.min(a,t-i);if(i+=o-n,n=o+1,(i+=r-i%r)>=t)return n;}}var K=[""];function Z(e){for(;K.length<=e;){K.push(X(K)+" ");}return K[e];}function X(e){return e[e.length-1];}function Y(e,t){for(var r=[],n=0;n<e.length;n++){r[n]=t(e[n],n);}return r;}function Q(){}function J(e,t){var r;return Object.create?r=Object.create(e):(Q.prototype=e,r=new Q()),t&&q(t,r),r;}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return /\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e));}function re(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e);}function ne(e){for(var t in e){if(e.hasOwnProperty(t)&&e[t])return!1;}return!0;}var ie=/[\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 oe(e){return e.charCodeAt(0)>=768&&ie.test(e);}function ae(e,t,r){for(;(r<0?t>0:t<e.length)&&oe(e.charAt(t));){t+=r;}return t;}function se(e,t,r){for(var n=t>r?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n;}}var le=null;function ce(e,t,r){var n;le=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==r?n=i:le=i),o.from==t&&(o.from!=o.to&&"before"!=r?n=i:le=i);}return null!=n?n:le;}var ue=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,r=/[LRr]/,n=/[Lb1n]/,i=/[1n]/;function o(e,t,r){this.level=e,this.from=t,this.to=r;}return function(a,s){var l="ltr"==s?"L":"R";if(0==a.length||"ltr"==s&&!e.test(a))return!1;for(var c,u=a.length,d=[],p=0;p<u;++p){d.push((c=a.charCodeAt(p))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(c):1424<=c&&c<=1524?"R":1536<=c&&c<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(c-1536):1774<=c&&c<=2220?"r":8192<=c&&c<=8203?"w":8204==c?"b":"L");}for(var f=0,m=l;f<u;++f){var h=d[f];"m"==h?d[f]=m:m=h;}for(var g=0,y=l;g<u;++g){var v=d[g];"1"==v&&"r"==y?d[g]="n":r.test(v)&&(y=v,"r"==v&&(d[g]="R"));}for(var b=1,x=d[0];b<u-1;++b){var k=d[b];"+"==k&&"1"==x&&"1"==d[b+1]?d[b]="1":","!=k||x!=d[b+1]||"1"!=x&&"n"!=x||(d[b]=x),x=k;}for(var w=0;w<u;++w){var _=d[w];if(","==_)d[w]="N";else if("%"==_){var S=void 0;for(S=w+1;S<u&&"%"==d[S];++S){;}for(var C=w&&"!"==d[w-1]||S<u&&"1"==d[S]?"1":"N",T=w;T<S;++T){d[T]=C;}w=S-1;}}for(var M=0,E=l;M<u;++M){var L=d[M];"L"==E&&"1"==L?d[M]="L":r.test(L)&&(E=L);}for(var z=0;z<u;++z){if(t.test(d[z])){var O=void 0;for(O=z+1;O<u&&t.test(d[O]);++O){;}for(var A="L"==(z?d[z-1]:l),N=A==("L"==(O<u?d[O]:l))?A?"L":"R":l,I=z;I<O;++I){d[I]=N;}z=O-1;}}for(var D,P=[],j=0;j<u;){if(n.test(d[j])){var q=j;for(++j;j<u&&n.test(d[j]);++j){;}P.push(new o(0,q,j));}else{var F=j,R=P.length,W="rtl"==s?1:0;for(++j;j<u&&"L"!=d[j];++j){;}for(var $=F;$<j;){if(i.test(d[$])){F<$&&(P.splice(R,0,new o(1,F,$)),R+=W);var U=$;for(++$;$<j&&i.test(d[$]);++$){;}P.splice(R,0,new o(2,U,$)),R+=W,F=$;}else++$;}F<j&&P.splice(R,0,new o(1,F,j));}}return"ltr"==s&&(1==P[0].level&&(D=a.match(/^\s+/))&&(P[0].from=D[0].length,P.unshift(new o(0,0,D[0].length))),1==X(P).level&&(D=a.match(/\s+$/))&&(X(P).to-=D[0].length,P.push(new o(0,u-D[0].length,u)))),"rtl"==s?P.reverse():P;};}();function de(e,t){var r=e.order;return null==r&&(r=e.order=ue(e.text,t)),r;}var pe=[],fe=function fe(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||pe).concat(r);}};function me(e,t){return e._handlers&&e._handlers[t]||pe;}function he(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var o=W(i,r);o>-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)));}}}function ge(e,t){var r=me(e,t);if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i){r[i].apply(null,n);}}function ye(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function preventDefault(){this.defaultPrevented=!0;}}),ge(e,r||t.type,e,t),_e(t)||t.codemirrorIgnore;}function ve(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n){-1==W(r,t[n])&&r.push(t[n]);}}function be(e,t){return me(e,t).length>0;}function xe(e){e.prototype.on=function(e,t){fe(this,e,t);},e.prototype.off=function(e,t){he(this,e,t);};}function ke(e){e.preventDefault?e.preventDefault():e.returnValue=!1;}function we(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0;}function _e(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue;}function Se(e){ke(e),we(e);}function Ce(e){return e.target||e.srcElement;}function Te(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),b&&e.ctrlKey&&1==t&&(t=3),t;}var Me,Ee,Le=function(){if(s&&l<9)return!1;var e=z("div");return"draggable"in e||"dragDrop"in e;}();function ze(e){if(null==Me){var t=z("span","​");L(e,z("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Me=t.offsetWidth<=1&&t.offsetHeight>2&&!(s&&l<8));}var r=Me?z("span","​"):z("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r;}function Oe(e){if(null!=Ee)return Ee;var t=L(e,document.createTextNode("AخA")),r=T(t,0,1).getBoundingClientRect(),n=T(t,1,2).getBoundingClientRect();return E(e),!(!r||r.left==r.right)&&(Ee=n.right-r.right<3);}var Ae,Ne=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(r.push(o.slice(0,a)),t+=a+1):(r.push(o),t=i+1);}return r;}:function(e){return e.split(/\r\n?|\n/);},Ie=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd;}catch(e){return!1;}}:function(e){var t;try{t=e.ownerDocument.selection.createRange();}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t);},De="oncopy"in(Ae=z("div"))||(Ae.setAttribute("oncopy","return;"),"function"==typeof Ae.oncopy),Pe=null,je={},qe={};function Fe(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),je[e]=t;}function Re(e){if("string"==typeof e&&qe.hasOwnProperty(e))e=qe[e];else if(e&&"string"==typeof e.name&&qe.hasOwnProperty(e.name)){var t=qe[e.name];"string"==typeof t&&(t={name:t}),(e=J(t,e)).name=t.name;}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Re("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Re("application/json");}return"string"==typeof e?{name:e}:e||{name:"null"};}function We(e,t){t=Re(t);var r=je[t.name];if(!r)return We(e,"text/plain");var n=r(e,t);if($e.hasOwnProperty(t.name)){var i=$e[t.name];for(var o in i){i.hasOwnProperty(o)&&(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o]);}}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var a in t.modeProps){n[a]=t.modeProps[a];}return n;}var $e={};function Ue(e,t){q(t,$e.hasOwnProperty(e)?$e[e]:$e[e]={});}function He(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i;}return r;}function Be(e,t){for(var r;e.innerMode&&(r=e.innerMode(t))&&r.mode!=e;){t=r.state,e=r.mode;}return r||{mode:e,state:t};}function Ve(e,t,r){return!e.startState||e.startState(t,r);}var Ge=function Ge(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r;};function Ke(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;){for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break;}t-=o;}}return r.lines[t];}function Ze(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,function(e){var o=e.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i;}),n;}function Xe(e,t,r){var n=[];return e.iter(t,r,function(e){n.push(e.text);}),n;}function Ye(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent){n.height+=r;}}function Qe(e){if(null==e.parent)return null;for(var t=e.parent,r=W(t.lines,e),n=t.parent;n;t=n,n=n.parent){for(var i=0;n.children[i]!=t;++i){r+=n.children[i].chunkSize();}}return r+t.first;}function Je(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e;}t-=o,r+=i.chunkSize();}return r;}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s;}return r+a;}function et(e,t){return t>=e.first&&t<e.first+e.size;}function tt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber));}function rt(e,t,r){if(void 0===r&&(r=null),!(this instanceof rt))return new rt(e,t,r);this.line=e,this.ch=t,this.sticky=r;}function nt(e,t){return e.line-t.line||e.ch-t.ch;}function it(e,t){return e.sticky==t.sticky&&0==nt(e,t);}function ot(e){return rt(e.line,e.ch);}function at(e,t){return nt(e,t)<0?t:e;}function st(e,t){return nt(e,t)<0?e:t;}function lt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1));}function ct(e,t){if(t.line<e.first)return rt(e.first,0);var r=e.first+e.size-1;return t.line>r?rt(r,Ke(e,r).text.length):function(e,t){var r=e.ch;return null==r||r>t?rt(e.line,t):r<0?rt(e.line,0):e;}(t,Ke(e,t.line).text.length);}function ut(e,t){for(var r=[],n=0;n<t.length;n++){r[n]=ct(e,t[n]);}return r;}Ge.prototype.eol=function(){return this.pos>=this.string.length;},Ge.prototype.sol=function(){return this.pos==this.lineStart;},Ge.prototype.peek=function(){return this.string.charAt(this.pos)||void 0;},Ge.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++);},Ge.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t;},Ge.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e);){;}return this.pos>t;},Ge.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));){++this.pos;}return this.pos>e;},Ge.prototype.skipToEnd=function(){this.pos=this.string.length;},Ge.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0;},Ge.prototype.backUp=function(e){this.pos-=e;},Ge.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=F(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0);},Ge.prototype.indentation=function(){return F(this.string,null,this.tabSize)-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0);},Ge.prototype.match=function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n);}var i=function i(e){return r?e.toLowerCase():e;};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0;},Ge.prototype.current=function(){return this.string.slice(this.start,this.pos);},Ge.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t();}finally{this.lineStart-=e;}},Ge.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e);},Ge.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos);};var dt=function dt(e,t){this.state=e,this.lookAhead=t;},pt=function pt(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1;};function ft(e,t,r,n){var i=[e.state.modeGen],o={};wt(e,t.text,e.doc.mode,r,function(e,t){return i.push(e,t);},o,n);for(var a=r.state,s=function s(n){r.baseTokens=i;var s=e.state.overlays[n],l=1,c=0;r.state=!0,wt(e,t.text,s.mode,r,function(e,t){for(var r=l;c<e;){var n=i[l];n>e&&i.splice(l,1,e,i[l+1],n),l+=2,c=Math.min(e,n);}if(t)if(s.opaque)i.splice(r,l-r,e,"overlay "+t),l=r+2;else for(;r<l;r+=2){var o=i[r+1];i[r+1]=(o?o+" ":"")+"overlay "+t;}},o),r.state=a,r.baseTokens=null,r.baseTokenPos=1;},l=0;l<e.state.overlays.length;++l){s(l);}return{styles:i,classes:o.bgClass||o.textClass?o:null};}function mt(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=ht(e,Qe(t)),i=t.text.length>e.options.maxHighlightLength&&He(e.doc.mode,n.state),o=ft(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier));}return t.styles;}function ht(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new pt(n,!0,t);var o=function(e,t,r){for(var n,i,o=e.doc,a=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ke(o,s-1),c=l.stateAfter;if(c&&(!r||s+(c instanceof dt?c.lookAhead:0)<=o.modeFrontier))return s;var u=F(l.text,null,e.options.tabSize);(null==i||n>u)&&(i=s-1,n=u);}return i;}(e,t,r),a=o>n.first&&Ke(n,o-1).stateAfter,s=a?pt.fromSaved(n,a,o):new pt(n,Ve(n.mode),o);return n.iter(o,t,function(r){gt(e,r.text,s);var n=s.line;r.stateAfter=n==t-1||n%5==0||n>=i.viewFrom&&n<i.viewTo?s.save():null,s.nextLine();}),r&&(n.modeFrontier=s.line),s;}function gt(e,t,r,n){var i=e.doc.mode,o=new Ge(t,e.options.tabSize,r);for(o.start=o.pos=n||0,""==t&&yt(i,r.state);!o.eol();){vt(i,o,r.state),o.start=o.pos;}}function yt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=Be(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0;}}function vt(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=Be(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o;}throw new Error("Mode "+e.name+" failed to advance stream.");}pt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t;},pt.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};},pt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--;},pt.fromSaved=function(e,t,r){return t instanceof dt?new pt(e,He(e.mode,t.state),r,t.lookAhead):new pt(e,He(e.mode,t),r);},pt.prototype.save=function(e){var t=!1!==e?He(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new dt(t,this.maxLookAhead):t;};var bt=function bt(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r;};function xt(e,t,r,n){var i,o,a=e.doc,s=a.mode,l=Ke(a,(t=ct(a,t)).line),c=ht(e,t.line,r),u=new Ge(l.text,e.options.tabSize,c);for(n&&(o=[]);(n||u.pos<t.ch)&&!u.eol();){u.start=u.pos,i=vt(s,u,c.state),n&&o.push(new bt(u,i,He(a.mode,c.state)));}return n?o:new bt(u,i,c.state);}function kt(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";null==t[n]?t[n]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+r[2]);}return e;}function wt(e,t,r,n,i,o,a){var s=r.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,d=new Ge(t,e.options.tabSize,n),p=e.options.addModeClass&&[null];for(""==t&&kt(yt(r,n.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&gt(e,t,n,d.pos),d.pos=t.length,l=null):l=kt(vt(r,d,n.state,p),o),p){var f=p[0].name;f&&(l="m-"+(l?f+" "+l:f));}if(!s||u!=l){for(;c<d.start;){i(c=Math.min(d.start,c+5e3),u);}u=l;}d.start=d.pos;}for(;c<d.pos;){var m=Math.min(d.pos,c+5e3);i(m,u),c=m;}}var _t=!1,St=!1;function Ct(e,t,r){this.marker=e,this.from=t,this.to=r;}function Tt(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n;}}function Mt(e,t){for(var r,n=0;n<e.length;++n){e[n]!=t&&(r||(r=[])).push(e[n]);}return r;}function Et(e,t){if(t.full)return null;var r=et(e,t.from.line)&&Ke(e,t.from.line).markedSpans,n=et(e,t.to.line)&&Ke(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,o=t.to.ch,a=0==nt(t.from,t.to),s=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!r||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new Ct(a,o.from,s?null:o.to));}}return n;}(r,i,a),l=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!r||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new Ct(a,s?null:o.from-t,null==o.to?null:o.to-t));}}return n;}(n,o,a),c=1==t.text.length,u=X(t.text).length+(c?i:0);if(s)for(var d=0;d<s.length;++d){var p=s[d];if(null==p.to){var f=Tt(l,p.marker);f?c&&(p.to=null==f.to?null:f.to+u):p.to=i;}}if(l)for(var m=0;m<l.length;++m){var h=l[m];null!=h.to&&(h.to+=u),null==h.from?Tt(s,h.marker)||(h.from=u,c&&(s||(s=[])).push(h)):(h.from+=u,c&&(s||(s=[])).push(h));}s&&(s=Lt(s)),l&&l!=s&&(l=Lt(l));var g=[s];if(!c){var y,v=t.text.length-2;if(v>0&&s)for(var b=0;b<s.length;++b){null==s[b].to&&(y||(y=[])).push(new Ct(s[b].marker,null,null));}for(var x=0;x<v;++x){g.push(y);}g.push(l);}return g;}function Lt(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1);}return e.length?e:null;}function zt(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r){t[r].marker.detachLine(e);}e.markedSpans=null;}}function Ot(e,t){if(t){for(var r=0;r<t.length;++r){t[r].marker.attachLine(e);}e.markedSpans=t;}}function At(e){return e.inclusiveLeft?-1:0;}function Nt(e){return e.inclusiveRight?1:0;}function It(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var n=e.find(),i=t.find(),o=nt(n.from,i.from)||At(e)-At(t);if(o)return-o;var a=nt(n.to,i.to)||Nt(e)-Nt(t);return a||t.id-e.id;}function Dt(e,t){var r,n=St&&e.markedSpans;if(n)for(var i=void 0,o=0;o<n.length;++o){(i=n[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!r||It(r,i.marker)<0)&&(r=i.marker);}return r;}function Pt(e){return Dt(e,!0);}function jt(e){return Dt(e,!1);}function qt(e,t){var r,n=St&&e.markedSpans;if(n)for(var i=0;i<n.length;++i){var o=n[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!r||It(r,o.marker)<0)&&(r=o.marker);}return r;}function Ft(e,t,r,n,i){var o=Ke(e,t),a=St&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=nt(c.from,r)||At(l.marker)-At(i),d=nt(c.to,n)||Nt(l.marker)-Nt(i);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?nt(c.to,r)>=0:nt(c.to,r)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?nt(c.from,n)<=0:nt(c.from,n)<0)))return!0;}}}function Rt(e){for(var t;t=Pt(e);){e=t.find(-1,!0).line;}return e;}function Wt(e,t){var r=Ke(e,t),n=Rt(r);return r==n?t:Qe(n);}function $t(e,t){if(t>e.lastLine())return t;var r,n=Ke(e,t);if(!Ut(e,n))return t;for(;r=jt(n);){n=r.find(1,!0).line;}return Qe(n)+1;}function Ut(e,t){var r=St&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i){if((n=r[i]).marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&Ht(e,t,n))return!0;}}}function Ht(e,t,r){if(null==r.to){var n=r.marker.find(1,!0);return Ht(e,n.line,Tt(n.line.markedSpans,r.marker));}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o){if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&Ht(e,t,i))return!0;}}function Bt(e){for(var t=0,r=(e=Rt(e)).parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height;}for(var o=r.parent;o;o=(r=o).parent){for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==r)break;t+=s.height;}}return t;}function Vt(e){if(0==e.height)return 0;for(var t,r=e.text.length,n=e;t=Pt(n);){var i=t.find(0,!0);n=i.from.line,r+=i.from.ch-i.to.ch;}for(n=e;t=jt(n);){var o=t.find(0,!0);r-=n.text.length-o.from.ch,r+=(n=o.to.line).text.length-o.to.ch;}return r;}function Gt(e){var t=e.display,r=e.doc;t.maxLine=Ke(r,r.first),t.maxLineLength=Vt(t.maxLine),t.maxLineChanged=!0,r.iter(function(e){var r=Vt(e);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e);});}var Kt=function Kt(e,t,r){this.text=e,Ot(this,t),this.height=r?r(this):1;};function Zt(e){e.parent=null,zt(e);}Kt.prototype.lineNo=function(){return Qe(this);},xe(Kt);var Xt={},Yt={};function Qt(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?Yt:Xt;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"));}function Jt(e,t){var r=O("span",null,null,c?"padding-right: .1px":null),n={pre:O("pre",[r],"CodeMirror-line"),content:r,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 o=i?t.rest[i-1]:t.line,a=void 0;n.pos=0,n.addToken=tr,Oe(e.display.measure)&&(a=de(o,e.doc.direction))&&(n.addToken=rr(n.addToken,a)),n.map=[],ir(o,n,mt(e,o,t!=e.display.externalMeasured&&Qe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=D(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=D(o.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(ze(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}));}if(c){var s=n.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack");}return ge(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=D(n.pre.className,n.textClass||"")),n;}function er(e){var t=z("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t;}function tr(e,t,r,n,i,o,a){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),n+=o,r=" "==o;}return n;}(t,e.trailingSpace):t,d=e.cm.state.specialChars,p=!1;if(d.test(t)){c=document.createDocumentFragment();for(var f=0;;){d.lastIndex=f;var m=d.exec(t),h=m?m.index-f:t.length-f;if(h){var g=document.createTextNode(u.slice(f,f+h));s&&l<9?c.appendChild(z("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+h,g),e.col+=h,e.pos+=h;}if(!m)break;f+=h+1;var y=void 0;if("\t"==m[0]){var v=e.cm.options.tabSize,b=v-e.col%v;(y=c.appendChild(z("span",Z(b),"cm-tab"))).setAttribute("role","presentation"),y.setAttribute("cm-text","\t"),e.col+=b;}else"\r"==m[0]||"\n"==m[0]?((y=c.appendChild(z("span","\r"==m[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",m[0]),e.col+=1):((y=e.cm.options.specialCharPlaceholder(m[0])).setAttribute("cm-text",m[0]),s&&l<9?c.appendChild(z("span",[y])):c.appendChild(y),e.col+=1);e.map.push(e.pos,e.pos+1,y),e.pos++;}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),s&&l<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),r||n||i||p||o){var x=r||"";n&&(x+=n),i&&(x+=i);var k=z("span",[c],x,o);if(a)for(var w in a){a.hasOwnProperty(w)&&"style"!=w&&"class"!=w&&k.setAttribute(w,a[w]);}return e.content.appendChild(k);}e.content.appendChild(c);}}function rr(e,t){return function(r,n,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=r.pos,u=c+n.length;;){for(var d=void 0,p=0;p<t.length&&!((d=t[p]).to>c&&d.from<=c);p++){;}if(d.to>=u)return e(r,n,i,o,a,s,l);e(r,n.slice(0,d.to-c),i,o,null,s,l),o=null,n=n.slice(d.to-c),c=d.to;}};}function nr(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1;}function ir(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var a,s,l,c,u,d,p,f=i.length,m=0,h=1,g="",y=0;;){if(y==m){l=c=u=s="",p=null,d=null,y=1/0;for(var v=[],b=void 0,x=0;x<n.length;++x){var k=n[x],w=k.marker;if("bookmark"==w.type&&k.from==m&&w.widgetNode)v.push(w);else if(k.from<=m&&(null==k.to||k.to>m||w.collapsed&&k.to==m&&k.from==m)){if(null!=k.to&&k.to!=m&&y>k.to&&(y=k.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&k.from==m&&(u+=" "+w.startStyle),w.endStyle&&k.to==y&&(b||(b=[])).push(w.endStyle,k.to),w.title&&((p||(p={})).title=w.title),w.attributes)for(var _ in w.attributes){(p||(p={}))[_]=w.attributes[_];}w.collapsed&&(!d||It(d.marker,w)<0)&&(d=k);}else k.from>m&&y>k.from&&(y=k.from);}if(b)for(var S=0;S<b.length;S+=2){b[S+1]==y&&(c+=" "+b[S]);}if(!d||d.from==m)for(var C=0;C<v.length;++C){nr(t,0,v[C]);}if(d&&(d.from||0)==m){if(nr(t,(null==d.to?f+1:d.to)-m,d.marker,null==d.from),null==d.to)return;d.to==m&&(d=!1);}}if(m>=f)break;for(var T=Math.min(f,y);;){if(g){var M=m+g.length;if(!d){var E=M>T?g.slice(0,T-m):g;t.addToken(t,E,a?a+l:l,u,m+E.length==y?c:"",s,p);}if(M>=T){g=g.slice(T-m),m=T;break;}m=M,u="";}g=i.slice(o,o=r[h++]),a=Qt(r[h++],t.cm.options);}}else for(var L=1;L<r.length;L+=2){t.addToken(t,i.slice(o,o=r[L]),Qt(r[L+1],t.cm.options));}}function or(e,t,r){this.line=t,this.rest=function(e){for(var t,r;t=jt(e);){e=t.find(1,!0).line,(r||(r=[])).push(e);}return r;}(t),this.size=this.rest?Qe(X(this.rest))-r+1:1,this.node=this.text=null,this.hidden=Ut(e,t);}function ar(e,t,r){for(var n,i=[],o=t;o<r;o=n){var a=new or(e.doc,Ke(e.doc,o),o);n=o+a.size,i.push(a);}return i;}var sr=null,lr=null;function cr(e,t){var r=me(e,t);if(r.length){var n,i=Array.prototype.slice.call(arguments,2);sr?n=sr.delayedCallbacks:lr?n=lr:(n=lr=[],setTimeout(ur,0));for(var o=function o(e){n.push(function(){return r[e].apply(null,i);});},a=0;a<r.length;++a){o(a);}}}function ur(){var e=lr;lr=null;for(var t=0;t<e.length;++t){e[t]();}}function dr(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?mr(e,t):"gutter"==o?gr(e,t,r,n):"class"==o?hr(e,t):"widget"==o&&yr(e,t,n);}t.changes=null;}function pr(e){return e.node==e.text&&(e.node=z("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),s&&l<8&&(e.node.style.zIndex=2)),e.node;}function fr(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):Jt(e,t);}function mr(e,t){var r=t.text.className,n=fr(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,hr(e,t)):r&&(t.text.className=r);}function hr(e,t){!function(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var n=pr(t);t.background=n.insertBefore(z("div",null,r),n.firstChild),e.display.input.setUneditable(t.background);}}(e,t),t.line.wrapClass?pr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||"";}function gr(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=pr(t);t.gutterBackground=z("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text);}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=pr(t),s=t.gutter=z("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(z("div",tt(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(z("div",[u],"CodeMirror-gutter-elt","left: "+n.gutterLeft[c]+"px; width: "+n.gutterWidth[c]+"px"));}}}function yr(e,t,r){t.alignable&&(t.alignable=null);for(var n=C("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o){o=i.nextSibling,n.test(i.className)&&t.node.removeChild(i);}br(e,t,r);}function vr(e,t,r,n){var i=fr(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),hr(e,t),gr(e,t,r,n),br(e,t,n),t.node;}function br(e,t,r){if(xr(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++){xr(e,t.rest[n],t,r,!1);}}function xr(e,t,r,n,i){if(t.widgets)for(var o=pr(r),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=z("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),kr(l,c,r,n),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,r.gutter||r.text):o.appendChild(c),cr(l,"redraw");}}function kr(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px";}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"));}function wr(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!A(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),L(t.display.measure,z("div",[e.node],null,r));}return e.height=e.node.parentNode.offsetHeight;}function _r(e,t){for(var r=Ce(t);r!=e.wrapper;r=r.parentNode){if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0;}}function Sr(e){return e.lineSpace.offsetTop;}function Cr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight;}function Tr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=L(e.measure,z("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n;}function Mr(e){return $-e.display.nativeBarWidth;}function Er(e){return e.display.scroller.clientWidth-Mr(e)-e.display.barWidth;}function Lr(e){return e.display.scroller.clientHeight-Mr(e)-e.display.barHeight;}function zr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++){if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};}for(var i=0;i<e.rest.length;i++){if(Qe(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0};}}function Or(e,t,r,n){return Ir(e,Nr(e,t),r,n);}function Ar(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[pn(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0;}function Nr(e,t){var r=Qe(t),n=Ar(e,r);n&&!n.text?n=null:n&&n.changes&&(dr(e,n,r,sn(e)),e.curOp.forceUpdate=!0),n||(n=function(e,t){var r=Qe(t=Rt(t)),n=e.display.externalMeasured=new or(e.doc,t,r);n.lineN=r;var i=n.built=Jt(e,n);return n.text=i.pre,L(e.display.lineMeasure,i.pre),n;}(e,t));var i=zr(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1};}function Ir(e,t,r,n,i){t.before&&(r=-1);var o,a=r+(n||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,r){var n=e.options.lineWrapping,i=n&&Er(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-r.top);}}o.push(r.bottom-r.top);}}(e,t.view,t.rect),t.hasHeights=!0),o=function(e,t,r,n){var i,o=jr(t.map,r,n),a=o.node,c=o.start,u=o.end,d=o.collapse;if(3==a.nodeType){for(var p=0;p<4;p++){for(;c&&oe(t.line.text.charAt(o.coverStart+c));){--c;}for(;o.coverStart+u<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+u));){++u;}if((i=s&&l<9&&0==c&&u==o.coverEnd-o.coverStart?a.parentNode.getBoundingClientRect():qr(T(a,c,u).getClientRects(),n)).left||i.right||0==c)break;u=c,c-=1,d="right";}s&&l<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Pe)return Pe;var t=L(e,z("span","x")),r=t.getBoundingClientRect(),n=T(t,0,1).getBoundingClientRect();return Pe=Math.abs(r.left-n.left)>1;}(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n};}(e.display.measure,i));}else{var f;c>0&&(d=n="right"),i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==n?f.length-1:0]:a.getBoundingClientRect();}if(s&&l<9&&!c&&(!i||!i.left&&!i.right)){var m=a.parentNode.getClientRects()[0];i=m?{left:m.left,right:m.left+an(e.display),top:m.top,bottom:m.bottom}:Pr;}for(var h=i.top-t.rect.top,g=i.bottom-t.rect.top,y=(h+g)/2,v=t.view.measure.heights,b=0;b<v.length-1&&!(y<v[b]);b++){;}var x=b?v[b-1]:0,k=v[b],w={left:("right"==d?i.right:i.left)-t.rect.left,right:("left"==d?i.left:i.right)-t.rect.left,top:x,bottom:k};return i.left||i.right||(w.bogus=!0),e.options.singleCursorHeightPerLine||(w.rtop=h,w.rbottom=g),w;}(e,t,r,n),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom};}var Dr,Pr={left:0,right:0,top:0,bottom:0};function jr(e,t,r){for(var n,i,o,a,s,l,c=0;c<e.length;c+=3){if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a="right")),null!=i){if(n=e[c+2],s==l&&r==(n.insertLeft?"left":"right")&&(a=r),"left"==r&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;){n=e[2+(c-=3)],a="left";}if("right"==r&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;){n=e[(c+=3)+2],a="right";}break;}}return{node:n,start:i,end:o,collapse:a,coverStart:s,coverEnd:l};}function qr(e,t){var r=Pr;if("left"==t)for(var n=0;n<e.length&&(r=e[n]).left==r.right;n++){;}else for(var i=e.length-1;i>=0&&(r=e[i]).left==r.right;i--){;}return r;}function Fr(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++){e.measure.caches[t]={};}}function Rr(e){e.display.externalMeasure=null,E(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++){Fr(e.display.view[t]);}}function Wr(e){Rr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null;}function $r(){return d&&y?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft;}function Ur(){return d&&y?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop;}function Hr(e){var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;++r){e.widgets[r].above&&(t+=wr(e.widgets[r]));}return t;}function Br(e,t,r,n,i){if(!i){var o=Hr(t);r.top+=o,r.bottom+=o;}if("line"==n)return r;n||(n="local");var a=Bt(t);if("local"==n?a+=Sr(e.display):a-=e.display.viewOffset,"page"==n||"window"==n){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==n?0:Ur());var l=s.left+("window"==n?0:$r());r.left+=l,r.right+=l;}return r.top+=a,r.bottom+=a,r;}function Vr(e,t,r){if("div"==r)return t;var n=t.left,i=t.top;if("page"==r)n-=$r(),i-=Ur();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left,i+=o.top;}var a=e.display.lineSpace.getBoundingClientRect();return{left:n-a.left,top:i-a.top};}function Gr(e,t,r,n,i){return n||(n=Ke(e.doc,t.line)),Br(e,n,Or(e,n,t.ch,i),r);}function Kr(e,t,r,n,i,o){function a(t,a){var s=Ir(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,Br(e,n,s,r);}n=n||Ke(e.doc,t.line),i||(i=Nr(e,n));var s=de(n,e.doc.direction),l=t.ch,c=t.sticky;if(l>=n.text.length?(l=n.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,r){return a(r?e-1:e,1==s[t].level!=r);}var d=ce(s,l,c),p=le,f=u(l,d,"before"==c);return null!=p&&(f.other=u(l,p,"before"!=c)),f;}function Zr(e,t){var r=0;t=ct(e.doc,t),e.options.lineWrapping||(r=an(e.display)*t.ch);var n=Ke(e.doc,t.line),i=Bt(n)+Sr(e.display);return{left:r,right:r,top:i,bottom:i+n.height};}function Xr(e,t,r,n,i){var o=rt(e,t,r);return o.xRel=i,n&&(o.outside=n),o;}function Yr(e,t,r){var n=e.doc;if((r+=e.display.viewOffset)<0)return Xr(n.first,0,null,-1,-1);var i=Je(n,r),o=n.first+n.size-1;if(i>o)return Xr(n.first+n.size-1,Ke(n,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ke(n,i);;){var s=tn(e,a,i,t,r),l=qt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ke(n,i=c.line);}}function Qr(e,t,r,n){n-=Hr(t);var i=t.text.length,o=se(function(t){return Ir(e,r,t-1).bottom<=n;},i,0);return{begin:o,end:i=se(function(t){return Ir(e,r,t).top>n;},o,i)};}function Jr(e,t,r,n){return r||(r=Nr(e,t)),Qr(e,t,r,Br(e,t,Ir(e,r,n),"line").top);}function en(e,t,r,n){return!(e.bottom<=r)&&(e.top>r||(n?e.left:e.right)>t);}function tn(e,t,r,n,i){i-=Bt(t);var o=Nr(e,t),a=Hr(t),s=0,l=t.text.length,c=!0,u=de(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?nn:rn)(e,t,r,o,u,n,i);s=(c=1!=d.level)?d.from:d.to-1,l=c?d.to:d.from-1;}var p,f,m=null,h=null,g=se(function(t){var r=Ir(e,o,t);return r.top+=a,r.bottom+=a,!!en(r,n,i,!1)&&(r.top<=i&&r.left<=n&&(m=t,h=r),!0);},s,l),y=!1;if(h){var v=n-h.left<h.right-n,b=v==c;g=m+(b?0:1),f=b?"after":"before",p=v?h.left:h.right;}else{c||g!=l&&g!=s||g++,f=0==g?"after":g==t.text.length?"before":Ir(e,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var x=Kr(e,rt(r,g,f),"line",t,o);p=x.left,y=i<x.top?-1:i>=x.bottom?1:0;}return Xr(r,g=ae(t.text,g,1),f,y,n-p);}function rn(e,t,r,n,i,o,a){var s=se(function(s){var l=i[s],c=1!=l.level;return en(Kr(e,rt(r,c?l.to:l.from,c?"before":"after"),"line",t,n),o,a,!0);},0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Kr(e,rt(r,c?l.from:l.to,c?"after":"before"),"line",t,n);en(u,o,a,!0)&&u.top>a&&(l=i[s-1]);}return l;}function nn(e,t,r,n,i,o,a){var s=Qr(e,t,n,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,p=0;p<i.length;p++){var f=i[p];if(!(f.from>=c||f.to<=l)){var m=Ir(e,n,1!=f.level?Math.min(c,f.to)-1:Math.max(l,f.from)).right,h=m<o?o-m+1e9:m-o;(!u||d>h)&&(u=f,d=h);}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u;}function on(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Dr){Dr=z("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t){Dr.appendChild(document.createTextNode("x")),Dr.appendChild(z("br"));}Dr.appendChild(document.createTextNode("x"));}L(e.measure,Dr);var r=Dr.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),E(e.measure),r||1;}function an(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=z("span","xxxxxxxxxx"),r=z("pre",[t],"CodeMirror-line-like");L(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10;}function sn(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;r[s]=o.offsetLeft+o.clientLeft+i,n[s]=o.clientWidth;}return{fixedPos:ln(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth};}function ln(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left;}function cn(e){var t=on(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/an(e.display)-3);return function(i){if(Ut(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++){i.widgets[a].height&&(o+=i.widgets[a].height);}return r?o+(Math.ceil(i.text.length/n)||1)*t:o+t;};}function un(e){var t=e.doc,r=cn(e);t.iter(function(e){var t=r(e);t!=e.height&&Ye(e,t);});}function dn(e,t,r,n){var i=e.display;if(!r&&"true"==Ce(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top;}catch(t){return null;}var l,c=Yr(e,o,a);if(n&&c.xRel>0&&(l=Ke(e.doc,c.line).text).length==c.ch){var u=F(l,l.length,e.options.tabSize)-l.length;c=rt(c.line,Math.max(0,Math.round((o-Tr(e.display).left)/an(e.display))-u));}return c;}function pn(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var r=e.display.view,n=0;n<r.length;n++){if((t-=r[n].size)<0)return n;}}function fn(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)St&&Wt(e.doc,t)<i.viewTo&&hn(e);else if(r<=i.viewFrom)St&&$t(e.doc,r+n)>i.viewFrom?hn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)hn(e);else if(t<=i.viewFrom){var o=gn(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):hn(e);}else if(r>=i.viewTo){var a=gn(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):hn(e);}else{var s=gn(e,t,t,-1),l=gn(e,r,r+n,1);s&&l?(i.view=i.view.slice(0,s.index).concat(ar(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=n):hn(e);}var c=i.externalMeasured;c&&(r<c.lineN?c.lineN+=n:t<c.lineN+c.size&&(i.externalMeasured=null));}function mn(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var o=n.view[pn(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==W(a,r)&&a.push(r);}}}function hn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0;}function gn(e,t,r,n){var i,o=pn(e,t),a=e.display.view;if(!St||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var s=e.display.viewFrom,l=0;l<o;l++){s+=a[l].size;}if(s!=t){if(n>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++;}else i=s-t;t+=i,r+=i;}for(;Wt(e.doc,r)!=r;){if(o==(n<0?0:a.length-1))return null;r+=n*a[o-(n<0?1:0)].size,o+=n;}return{index:o,lineN:r};}function yn(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];i.hidden||i.node&&!i.changes||++r;}return r;}function vn(e){e.display.input.showSelection(e.display.input.prepareSelection());}function bn(e,t){void 0===t&&(t=!0);for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),a=0;a<r.sel.ranges.length;a++){if(t||a!=r.sel.primIndex){var s=r.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&xn(e,s.head,i),l||wn(e,s,o);}}}return n;}function xn(e,t,r){var n=Kr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(z("div"," ","CodeMirror-cursor"));if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var o=r.appendChild(z("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=n.other.left+"px",o.style.top=n.other.top+"px",o.style.height=.85*(n.other.bottom-n.other.top)+"px";}}function kn(e,t){return e.top-t.top||e.left-t.left;}function wn(e,t,r){var n=e.display,i=e.doc,o=document.createDocumentFragment(),a=Tr(e.display),s=a.left,l=Math.max(n.sizerWidth,Er(e)-n.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,r,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),o.appendChild(z("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?l-e:r)+"px;\n height: "+(n-t)+"px"));}function d(t,r,n){var o,a,d=Ke(i,t),p=d.text.length;function f(r,n){return Gr(e,rt(t,r),"div",d,n);}function m(t,r,n){var i=Jr(e,d,null,t),o="ltr"==r==("after"==n)?"left":"right";return f("after"==n?i.begin:i.end-(/\s/.test(d.text.charAt(i.end-1))?2:1),o)[o];}var h=de(d,i.direction);return function(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<r&&a.to>t||t==r&&a.to==t)&&(n(Math.max(a.from,t),Math.min(a.to,r),1==a.level?"rtl":"ltr",o),i=!0);}i||n(t,r,"ltr");}(h,r||0,null==n?p:n,function(e,t,i,d){var g="ltr"==i,y=f(e,g?"left":"right"),v=f(t-1,g?"right":"left"),b=null==r&&0==e,x=null==n&&t==p,k=0==d,w=!h||d==h.length-1;if(v.top-y.top<=3){var _=(c?x:b)&&w,S=(c?b:x)&&k?s:(g?y:v).left,C=_?l:(g?v:y).right;u(S,y.top,C-S,y.bottom);}else{var T,M,E,L;g?(T=c&&b&&k?s:y.left,M=c?l:m(e,i,"before"),E=c?s:m(t,i,"after"),L=c&&x&&w?l:v.right):(T=c?m(e,i,"before"):s,M=!c&&b&&k?l:y.right,E=!c&&x&&w?s:v.left,L=c?m(t,i,"after"):l),u(T,y.top,M-T,y.bottom),y.bottom<v.top&&u(s,y.bottom,null,v.top),u(E,v.top,L-E,v.bottom);}(!o||kn(y,o)<0)&&(o=y),kn(v,o)<0&&(o=v),(!a||kn(y,a)<0)&&(a=y),kn(v,a)<0&&(a=v);}),{start:o,end:a};}var p=t.from(),f=t.to();if(p.line==f.line)d(p.line,p.ch,f.ch);else{var m=Ke(i,p.line),h=Ke(i,f.line),g=Rt(m)==Rt(h),y=d(p.line,p.ch,g?m.text.length+1:null).end,v=d(f.line,g?0:null,f.ch).start;g&&(y.top<v.top-2?(u(y.right,y.top,null,y.bottom),u(s,v.top,v.left,v.bottom)):u(y.right,y.top,v.left-y.right,y.bottom)),y.bottom<v.top&&u(s,y.bottom,null,v.top);}r.appendChild(o);}function _n(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(r=!r)?"":"hidden";},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden");}}function Sn(e){e.state.focused||(e.display.input.focus(),Tn(e));}function Cn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Mn(e));},100);}function Tn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ge(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),c&&setTimeout(function(){return e.display.input.reset(!0);},20)),e.display.input.receivedFocus()),_n(e));}function Mn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,t),e.state.focused=!1,M(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1);},150));}function En(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],o=e.options.lineWrapping,a=void 0,c=0;if(!i.hidden){if(s&&l<8){var u=i.node.offsetTop+i.node.offsetHeight;a=u-r,r=u;}else{var d=i.node.getBoundingClientRect();a=d.bottom-d.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-d.left-1);}var p=i.line.height-a;if((p>.005||p<-.005)&&(Ye(i.line,a),Ln(i.line),i.rest))for(var f=0;f<i.rest.length;f++){Ln(i.rest[f]);}if(c>e.display.sizerWidth){var m=Math.ceil(c/an(e.display));m>e.display.maxLineLength&&(e.display.maxLineLength=m,e.display.maxLine=i.line,e.display.maxLineChanged=!0);}}}}function Ln(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;n&&(r.height=n.offsetHeight);}}function zn(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Sr(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=Je(t,n),a=Je(t,i);if(r&&r.ensure){var s=r.ensure.from.line,l=r.ensure.to.line;s<o?(o=s,a=Je(t,Bt(Ke(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=Je(t,Bt(Ke(t,l))-e.wrapper.clientHeight),a=l);}return{from:o,to:Math.max(a,o+1)};}function On(e,t){var r=e.display,n=on(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,o=Lr(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Cr(r),l=t.top<n,c=t.bottom>s-n;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u);}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft,p=Er(e)-(e.options.fixedGutter?r.gutters.offsetWidth:0),f=t.right-t.left>p;return f&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left-(f?0:10)):t.right>p+d-3&&(a.scrollLeft=t.right+(f?0:10)-p),a;}function An(e,t){null!=t&&(Dn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t);}function Nn(e){Dn(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin};}function In(e,t,r){null==t&&null==r||Dn(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r);}function Dn(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Pn(e,Zr(e,t.from),Zr(e,t.to),t.margin));}function Pn(e,t,r,n){var i=On(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});In(e,i.scrollLeft,i.scrollTop);}function jn(e,t){Math.abs(e.doc.scrollTop-t)<2||(r||ui(e,{top:t}),qn(e,t,!0),r&&ui(e),oi(e,100));}function qn(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t));}function Fn(e,t,r,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,fi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t));}function Rn(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+Cr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Mr(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r};}var Wn=function Wn(e,t,r){this.cm=r;var n=this.vert=z("div",[z("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=z("div",[z("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),fe(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical");}),fe(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal");}),this.checkedZeroWidth=!1,s&&l<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px");};Wn.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px";}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px";}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0};},Wn.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz");},Wn.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert");},Wn.prototype.zeroWidthHack=function(){var e=b&&!m?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new R(),this.disableVert=new R();},Wn.prototype.enableZeroWidthBar=function(e,t,r){e.style.pointerEvents="auto",t.set(1e3,function n(){var i=e.getBoundingClientRect();("vert"==r?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,n);});},Wn.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert);};var $n=function $n(){};function Un(e,t){t||(t=Rn(e));var r=e.display.barWidth,n=e.display.barHeight;Hn(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++){r!=e.display.barWidth&&e.options.lineWrapping&&En(e),Hn(e,Rn(e)),r=e.display.barWidth,n=e.display.barHeight;}}function Hn(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display="";}$n.prototype.update=function(){return{bottom:0,right:0};},$n.prototype.setScrollLeft=function(){},$n.prototype.setScrollTop=function(){},$n.prototype.clear=function(){};var Bn={native:Wn,null:$n};function Vn(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&M(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Bn[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus();},0);}),t.setAttribute("cm-not-content","true");},function(t,r){"horizontal"==r?Fn(e,t):jn(e,t);},e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass);}var Gn=0;function Kn(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Gn},t=e.curOp,sr?sr.ops.push(t):t.ownsGroup=sr={ops:[t],delayedCallbacks:[]};}function Zn(e){var t=e.curOp;t&&function(e,t){var r=e.ownsGroup;if(r)try{!function(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++){t[r].call(null);}for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;){i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm);}}}while(r<t.length);}(r);}finally{sr=null,t(r);}}(t,function(e){for(var t=0;t<e.ops.length;t++){e.ops[t].cm.curOp=null;}!function(e){for(var t=e.ops,r=0;r<t.length;r++){Xn(t[r]);}for(var n=0;n<t.length;n++){Yn(t[n]);}for(var i=0;i<t.length;i++){Qn(t[i]);}for(var o=0;o<t.length;o++){Jn(t[o]);}for(var a=0;a<t.length;a++){ei(t[a]);}}(e);});}function Xn(e){var t=e.cm,r=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Mr(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Mr(e)+"px",t.scrollbarsClipped=!0);}(t),e.updateMaxLine&&Gt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new si(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate);}function Yn(e){e.updatedDisplay=e.mustUpdate&&li(e.cm,e.update);}function Qn(e){var t=e.cm,r=t.display;e.updatedDisplay&&En(t),e.barMeasure=Rn(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Or(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Mr(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Er(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection());}function Jn(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Fn(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==N();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Un(t,e.barMeasure),e.updatedDisplay&&pi(t,e.barMeasure),e.selectionChanged&&_n(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&Sn(e.cm);}function ei(e){var t=e.cm,r=t.display,n=t.doc;if(e.updatedDisplay&&ci(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&qn(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Fn(t,e.scrollLeft,!0,!0),e.scrollToPos){var i=function(e,t,r,n){var i;null==n&&(n=0),e.options.lineWrapping||t!=r||(r="before"==(t=t.ch?rt(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?rt(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=Kr(e,t),l=r&&r!=t?Kr(e,r):s,c=On(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-n,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+n}),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(jn(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Fn(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break;}return i;}(t,ct(n,e.scrollToPos.from),ct(n,e.scrollToPos.to),e.scrollToPos.margin);!function(e,t){if(!ye(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=z("div","​",null,"position: absolute;\n top: "+(t.top-r.viewOffset-Sr(e.display))+"px;\n height: "+(t.bottom-t.top+Mr(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o);}}}(t,i);}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s){o[s].lines.length||ge(o[s],"hide");}if(a)for(var l=0;l<a.length;++l){a[l].lines.length&&ge(a[l],"unhide");}r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ge(t,"changes",t,e.changeObjs),e.update&&e.update.finish();}function ti(e,t){if(e.curOp)return t();Kn(e);try{return t();}finally{Zn(e);}}function ri(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Kn(e);try{return t.apply(e,arguments);}finally{Zn(e);}};}function ni(e){return function(){if(this.curOp)return e.apply(this,arguments);Kn(this);try{return e.apply(this,arguments);}finally{Zn(this);}};}function ii(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Kn(t);try{return e.apply(this,arguments);}finally{Zn(t);}};}function oi(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,j(ai,e));}function ai(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var r=+new Date()+e.options.workTime,n=ht(e,t.highlightFrontier),i=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(n.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?He(t.mode,n.state):null,l=ft(e,o,n,!0);s&&(n.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!d&&p<a.length;++p){d=a[p]!=o.styles[p];}d&&i.push(n.line),o.stateAfter=n.save(),n.nextLine();}else o.text.length<=e.options.maxHighlightLength&&gt(e,o.text,n),o.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date()>r)return oi(e,e.options.workDelay),!0;}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&ti(e,function(){for(var t=0;t<i.length;t++){mn(e,i[t],"text");}});}}var si=function si(e,t,r){var n=e.display;this.viewport=t,this.visible=zn(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Er(e),this.force=r,this.dims=sn(e),this.events=[];};function li(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden)return hn(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==yn(e))return!1;mi(e)&&(hn(e),t.dims=sn(e));var i=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFrom<o&&o-r.viewFrom<20&&(o=Math.max(n.first,r.viewFrom)),r.viewTo>a&&r.viewTo-a<20&&(a=Math.min(i,r.viewTo)),St&&(o=Wt(e.doc,o),a=$t(e.doc,a));var s=o!=r.viewFrom||a!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;!function(e,t,r){var n=e.display;0==n.view.length||t>=n.viewTo||r<=n.viewFrom?(n.view=ar(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=ar(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(pn(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(ar(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,pn(e,r)))),n.viewTo=r;}(e,o,a),r.viewOffset=Bt(Ke(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var l=yn(e);if(!s&&0==l&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=N();if(!t||!A(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&A(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset);}return r;}(e);return l>4&&(r.lineDiv.style.display="none"),function(e,t,r){var n=e.display,i=e.options.lineNumbers,o=n.lineDiv,a=o.firstChild;function s(t){var r=t.nextSibling;return c&&b&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r;}for(var l=n.view,u=n.viewFrom,d=0;d<l.length;d++){var p=l[d];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;){a=s(a);}var f=i&&null!=t&&t<=u&&p.lineNumber;p.changes&&(W(p.changes,"gutter")>-1&&(f=!1),dr(e,p,u,r)),f&&(E(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(tt(e.options,u)))),a=p.node.nextSibling;}else{var m=vr(e,p,u,r);o.insertBefore(m,a);}u+=p.size;}for(;a;){a=s(a);}}(e,r.updateLineNumbers,t.dims),l>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,function(e){if(e&&e.activeElt&&e.activeElt!=N()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&A(document.body,e.anchorNode)&&A(document.body,e.focusNode))){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset);}}(u),E(r.cursorDiv),E(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,oi(e,400)),r.updateLineNumbers=null,!0;}function ci(e,t){for(var r=t.viewport,n=!0;;n=!1){if(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Er(e))n&&(t.visible=zn(e.display,e.doc,r));else if(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Cr(e.display)-Lr(e),r.top)}),t.visible=zn(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!li(e,t))break;En(e);var i=Rn(e);vn(e),Un(e,i),pi(e,i),t.force=!1;}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo);}function ui(e,t){var r=new si(e,t);if(li(e,r)){En(e),ci(e,r);var n=Rn(e);vn(e),Un(e,n),pi(e,n),r.finish();}}function di(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px";}function pi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Mr(e)+"px";}function fi(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=ln(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",a=0;a<r.length;a++){if(!r[a].hidden){e.options.fixedGutter&&(r[a].gutter&&(r[a].gutter.style.left=o),r[a].gutterBackground&&(r[a].gutterBackground.style.left=o));var s=r[a].alignable;if(s)for(var l=0;l<s.length;l++){s[l].style.left=o;}}}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px");}}function mi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=tt(e.options,t.first+t.size-1),n=e.display;if(r.length!=n.lineNumChars){var i=n.measure.appendChild(z("div",[z("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-a)+1,n.lineNumWidth=n.lineNumInnerWidth+a,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",di(e.display),!0;}return!1;}function hi(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;n=!0;}r.push({className:o,style:a});}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r;}function gi(e){var t=e.gutters,r=e.gutterSpecs;E(t),e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n],o=i.className,a=i.style,s=t.appendChild(z("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px");}t.style.display=r.length?"":"none",di(e);}function yi(e){gi(e.display),fn(e),fi(e);}function vi(e,t,n,i){var o=this;this.input=n,o.scrollbarFiller=z("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=z("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=O("div",null,"CodeMirror-code"),o.selectionDiv=z("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=z("div",null,"CodeMirror-cursors"),o.measure=z("div",null,"CodeMirror-measure"),o.lineMeasure=z("div",null,"CodeMirror-measure"),o.lineSpace=O("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var a=O("div",[o.lineSpace],"CodeMirror-lines");o.mover=z("div",[a],null,"position: relative"),o.sizer=z("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=z("div",null,null,"position: absolute; height: "+$+"px; width: 1px;"),o.gutters=z("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=z("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=z("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),s&&l<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),c||r&&v||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=hi(i.gutters,i.lineNumbers),gi(o),n.init(o);}si.prototype.signal=function(e,t){be(e,t)&&this.events.push(arguments);},si.prototype.finish=function(){for(var e=0;e<this.events.length;e++){ge.apply(null,this.events[e]);}};var bi=0,xi=null;function ki(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r};}function wi(e){var t=ki(e);return t.x*=xi,t.y*=xi,t;}function _i(e,t){var n=ki(t),i=n.x,o=n.y,a=e.display,s=a.scroller,l=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&l||o&&u){if(o&&b&&c)e:for(var d=t.target,f=a.view;d!=s;d=d.parentNode){for(var m=0;m<f.length;m++){if(f[m].node==d){e.display.currentWheelTarget=d;break e;}}}if(i&&!r&&!p&&null!=xi)return o&&u&&jn(e,Math.max(0,s.scrollTop+o*xi)),Fn(e,Math.max(0,s.scrollLeft+i*xi)),(!o||o&&u)&&ke(t),void(a.wheelStartX=null);if(o&&null!=xi){var h=o*xi,g=e.doc.scrollTop,y=g+a.wrapper.clientHeight;h<0?g=Math.max(0,g+h-50):y=Math.min(e.doc.height,y+h+50),ui(e,{top:g,bottom:y});}bi<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout(function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,r=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,r&&(xi=(xi*bi+r)/(bi+1),++bi);}},200)):(a.wheelDX+=i,a.wheelDY+=o));}}s?xi=-.53:r?xi=15:d?xi=-.7:f&&(xi=-1/3);var Si=function Si(e,t){this.ranges=e,this.primIndex=t;};Si.prototype.primary=function(){return this.ranges[this.primIndex];},Si.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!it(r.anchor,n.anchor)||!it(r.head,n.head))return!1;}return!0;},Si.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++){e[t]=new Ci(ot(this.ranges[t].anchor),ot(this.ranges[t].head));}return new Si(e,this.primIndex);},Si.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++){if(!this.ranges[e].empty())return!0;}return!1;},Si.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(nt(t,n.from())>=0&&nt(e,n.to())<=0)return r;}return-1;};var Ci=function Ci(e,t){this.anchor=e,this.head=t;};function Ti(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort(function(e,t){return nt(e.from(),t.from());}),r=W(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=nt(s.to(),a.from());if(n&&!a.empty()?l>0:l>=0){var c=st(s.from(),a.from()),u=at(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;o<=r&&--r,t.splice(--o,2,new Ci(d?u:c,d?c:u));}}return new Si(t,r);}function Mi(e,t){return new Si([new Ci(e,t||e)],0);}function Ei(e){return e.text?rt(e.from.line+e.text.length-1,X(e.text).length+(1==e.text.length?e.from.ch:0)):e.to;}function Li(e,t){if(nt(e,t.from)<0)return e;if(nt(e,t.to)<=0)return Ei(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Ei(t).ch-t.to.ch),rt(r,n);}function zi(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new Ci(Li(i.anchor,t),Li(i.head,t)));}return Ti(e.cm,r,e.sel.primIndex);}function Oi(e,t,r){return e.line==t.line?rt(r.line,e.ch-t.ch+r.ch):rt(r.line+(e.line-t.line),e.ch);}function Ai(e){e.doc.mode=We(e.options,e.doc.modeOption),Ni(e);}function Ni(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null);}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,oi(e,100),e.state.modeGen++,e.curOp&&fn(e);}function Ii(e,t){return 0==t.from.ch&&0==t.to.ch&&""==X(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore);}function Di(e,t,r,n){function i(e){return r?r[e]:null;}function o(e,r,i){!function(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),zt(e),Ot(e,r);var i=n?n(e):1;i!=e.height&&Ye(e,i);}(e,r,i,n),cr(e,"change",e,t);}function a(e,t){for(var r=[],o=e;o<t;++o){r.push(new Kt(c[o],i(o),n));}return r;}var s=t.from,l=t.to,c=t.text,u=Ke(e,s.line),d=Ke(e,l.line),p=X(c),f=i(c.length-1),m=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Ii(e,t)){var h=a(0,c.length-1);o(d,d.text,f),m&&e.remove(s.line,m),h.length&&e.insert(s.line,h);}else if(u==d){if(1==c.length)o(u,u.text.slice(0,s.ch)+p+u.text.slice(l.ch),f);else{var g=a(1,c.length-1);g.push(new Kt(p+u.text.slice(l.ch),f,n)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,g);}}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+d.text.slice(l.ch),i(0)),e.remove(s.line+1,m);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(d,p+d.text.slice(l.ch),f);var y=a(1,c.length-1);m>1&&e.remove(s.line+1,m-1),e.insert(s.line+1,y);}cr(e,"change",e,t);}function Pi(e,t,r){!function e(n,i,o){if(n.linked)for(var a=0;a<n.linked.length;++a){var s=n.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;r&&!l||(t(s.doc,l),e(s.doc,n,l));}}}(e,null,!0);}function ji(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,un(e),Ai(e),qi(e),e.options.lineWrapping||Gt(e),e.options.mode=t.modeOption,fn(e);}function qi(e){("rtl"==e.doc.direction?I:M)(e.display.lineDiv,"CodeMirror-rtl");}function Fi(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1;}function Ri(e,t){var r={from:ot(t.from),to:Ei(t),text:Ze(e,t.from,t.to)};return Bi(e,r,t.from.line,t.to.line+1),Pi(e,function(e){return Bi(e,r,t.from.line,t.to.line+1);},!0),r;}function Wi(e){for(;e.length&&X(e).ranges;){e.pop();}}function $i(e,t,r,n){var i=e.history;i.undone.length=0;var o,a,s=+new Date();if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Wi(e.done),X(e.done)):e.done.length&&!X(e.done).ranges?X(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),X(e.done)):void 0;}(i,i.lastOp==n)))a=X(o.changes),0==nt(t.from,t.to)&&0==nt(t.from,a.to)?a.to=Ei(t):o.changes.push(Ri(e,t));else{var l=X(i.done);for(l&&l.ranges||Hi(e.sel,i.done),o={changes:[Ri(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;){i.done.shift(),i.done[0].ranges||i.done.shift();}}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,a||ge(e,"historyAdded");}function Ui(e,t,r,n){var i=e.history,o=n&&n.origin;r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,r,n){var i=t.charAt(0);return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date()-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500);}(e,o,X(i.done),t))?i.done[i.done.length-1]=t:Hi(t,i.done),i.lastSelTime=+new Date(),i.lastSelOrigin=o,i.lastSelOp=r,n&&!1!==n.clearRedo&&Wi(i.undone);}function Hi(e,t){var r=X(t);r&&r.ranges&&r.equals(e)||t.push(e);}function Bi(e,t,r,n){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=r.markedSpans),++o;});}function Vi(e){if(!e)return null;for(var t,r=0;r<e.length;++r){e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);}return t?t.length?t:null:e;}function Gi(e,t){var r=function(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i){n.push(Vi(r[i]));}return n;}(e,t),n=Et(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var o=r[i],a=n[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c){if(o[c].marker==l.marker)continue e;}o.push(l);}else a&&(r[i]=a);}return r;}function Ki(e,t,r){for(var n=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)n.push(r?Si.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];n.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var d in c){(u=d.match(/^spans_(\d+)$/))&&W(t,Number(u[1]))>-1&&(X(s)[d]=c[d],delete c[d]);}}}}return n;}function Zi(e,t,r,n){if(n){var i=e.anchor;if(r){var o=nt(t,i)<0;o!=nt(r,i)<0?(i=t,t=r):o!=nt(t,r)<0&&(t=r);}return new Ci(i,t);}return new Ci(r||t,t);}function Xi(e,t,r,n,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),to(e,new Si([Zi(e.sel.primary(),t,r,i)],0),n);}function Yi(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++){n[o]=Zi(e.sel.ranges[o],t[o],null,i);}to(e,Ti(e.cm,n,e.sel.primIndex),r);}function Qi(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,to(e,Ti(e.cm,i,e.sel.primIndex),n);}function Ji(e,t,r,n){to(e,Mi(t,r),n);}function eo(e,t,r){var n=e.history.done,i=X(n);i&&i.ranges?(n[n.length-1]=t,ro(e,t,r)):to(e,t,r);}function to(e,t,r){ro(e,t,r),Ui(e,e.sel,e.cm?e.cm.curOp.id:NaN,r);}function ro(e,t,r){(be(e,"beforeSelectionChange")||e.cm&&be(e.cm,"beforeSelectionChange"))&&(t=function(e,t,r){var n={ranges:t.ranges,update:function update(t){this.ranges=[];for(var r=0;r<t.length;r++){this.ranges[r]=new Ci(ct(e,t[r].anchor),ct(e,t[r].head));}},origin:r&&r.origin};return ge(e,"beforeSelectionChange",e,n),e.cm&&ge(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?Ti(e.cm,n.ranges,n.ranges.length-1):t;}(e,t,r));var n=r&&r.bias||(nt(t.primary().head,e.sel.primary().head)<0?-1:1);no(e,oo(e,t,n,!0)),r&&!1===r.scroll||!e.cm||Nn(e.cm);}function no(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ve(e.cm)),cr(e,"cursorActivity",e));}function io(e){no(e,oo(e,e.sel,null,!1));}function oo(e,t,r,n){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=so(e,a.anchor,s&&s.anchor,r,n),c=so(e,a.head,s&&s.head,r,n);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new Ci(l,c));}return i?Ti(e.cm,i,t.primIndex):t;}function ao(e,t,r,n,i){var o=Ke(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(ge(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue;}break;}if(!l.atomic)continue;if(r){var d=l.find(n<0?1:-1),p=void 0;if((n<0?u:c)&&(d=lo(e,d,-n,d&&d.line==t.line?o:null)),d&&d.line==t.line&&(p=nt(d,r))&&(n<0?p<0:p>0))return ao(e,d,t,n,i);}var f=l.find(n<0?-1:1);return(n<0?c:u)&&(f=lo(e,f,n,f.line==t.line?o:null)),f?ao(e,f,t,n,i):null;}}return t;}function so(e,t,r,n,i){var o=n||1,a=ao(e,t,r,o,i)||!i&&ao(e,t,r,o,!0)||ao(e,t,r,-o,i)||!i&&ao(e,t,r,-o,!0);return a||(e.cantEdit=!0,rt(e.first,0));}function lo(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?ct(e,rt(t.line-1)):null:r>0&&t.ch==(n||Ke(e,t.line)).text.length?t.line<e.first+e.size-1?rt(t.line+1,0):null:new rt(t.line,t.ch+r);}function co(e){e.setSelection(rt(e.firstLine(),0),rt(e.lastLine()),H);}function uo(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function cancel(){return n.canceled=!0;}};return r&&(n.update=function(t,r,i,o){t&&(n.from=ct(e,t)),r&&(n.to=ct(e,r)),i&&(n.text=i),void 0!==o&&(n.origin=o);}),ge(e,"beforeChange",e,n),e.cm&&ge(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin};}function po(e,t,r){if(e.cm){if(!e.cm.curOp)return ri(e.cm,po)(e,t,r);if(e.cm.state.suppressEdits)return;}if(!(be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"))||(t=uo(e,t,!0))){var n=_t&&!r&&function(e,t,r){var n=null;if(e.iter(t.line,r.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||n&&-1!=W(n,r)||(n||(n=[])).push(r);}}),!n)return null;for(var i=[{from:t,to:r}],o=0;o<n.length;++o){for(var a=n[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(nt(c.to,s.from)<0||nt(c.from,s.to)>0)){var u=[l,1],d=nt(c.from,s.from),p=nt(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3;}}}return i;}(e,t.from,t.to);if(n)for(var i=n.length-1;i>=0;--i){fo(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});}else fo(e,t);}}function fo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=nt(t.from,t.to)){var r=zi(e,t);$i(e,t,r,e.cm?e.cm.curOp.id:NaN),go(e,t,r,Et(e,t));var n=[];Pi(e,function(e,r){r||-1!=W(n,e.history)||(xo(e.history,t),n.push(e.history)),go(e,t,null,Et(e,t));});}}function mo(e,t,r){var n=e.cm&&e.cm.state.suppressEdits;if(!n||r){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],r?!i.ranges||i.equals(e.sel):i.ranges);c++){;}if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(n)return void s.push(i);break;}if(Hi(i,l),r&&!i.equals(e.sel))return void to(e,i,{clearRedo:!1});a=i;}var u=[];Hi(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var d=be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"),p=function p(r){var n=i.changes[r];if(n.origin=t,d&&!uo(e,n,!1))return s.length=0,{};u.push(Ri(e,n));var o=r?zi(e,n):X(s);go(e,n,o,Gi(e,n)),!r&&e.cm&&e.cm.scrollIntoView({from:n.from,to:Ei(n)});var a=[];Pi(e,function(e,t){t||-1!=W(a,e.history)||(xo(e.history,n),a.push(e.history)),go(e,n,null,Gi(e,n));});},f=i.changes.length-1;f>=0;--f){var m=p(f);if(m)return m.v;}}}}function ho(e,t){if(0!=t&&(e.first+=t,e.sel=new Si(Y(e.sel.ranges,function(e){return new Ci(rt(e.anchor.line+t,e.anchor.ch),rt(e.head.line+t,e.head.ch));}),e.sel.primIndex),e.cm)){fn(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++){mn(e.cm,n,"gutter");}}}function go(e,t,r,n){if(e.cm&&!e.cm.curOp)return ri(e.cm,go)(e,t,r,n);if(t.to.line<e.first)ho(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ho(e,i),t={from:rt(e.first,0),to:rt(t.to.line+i,t.to.ch),text:[X(t.text)],origin:t.origin};}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:rt(o,Ke(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ze(e,t.from,t.to),r||(r=zi(e,t)),e.cm?function(e,t,r){var n=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Qe(Rt(Ke(n,o.line))),n.iter(l,a.line+1,function(e){if(e==i.maxLine)return s=!0,!0;})),n.sel.contains(t.from,t.to)>-1&&ve(e),Di(n,t,r,cn(e)),e.options.lineWrapping||(n.iter(l,o.line+t.text.length,function(e){var t=Vt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1);}),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,n=t-1;n>r;n--){var i=Ke(e,n).stateAfter;if(i&&(!(i instanceof dt)||n+i.lookAhead<t)){r=n+1;break;}}e.highlightFrontier=Math.min(e.highlightFrontier,r);}}(n,o.line),oi(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?fn(e):o.line!=a.line||1!=t.text.length||Ii(e.doc,t)?fn(e,o.line,a.line+1,c):mn(e,o.line,"text");var u=be(e,"changes"),d=be(e,"change");if(d||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&cr(e,"change",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p);}e.display.selForContextMenu=null;}(e.cm,t,n):Di(e,t,n),ro(e,r,H),e.cantEdit&&so(e,rt(e.firstLine(),0))&&(e.cantEdit=!1);}}function yo(e,t,r,n,i){var o;n||(n=r),nt(n,r)<0&&(r=(o=[n,r])[0],n=o[1]),"string"==typeof t&&(t=e.splitLines(t)),po(e,{from:r,to:n,text:t,origin:i});}function vo(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0);}function bo(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++){vo(o.ranges[s].anchor,t,r,n),vo(o.ranges[s].head,t,r,n);}}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(r<c.from.line)c.from=rt(c.from.line+n,c.from.ch),c.to=rt(c.to.line+n,c.to.ch);else if(t<=c.to.line){a=!1;break;}}a||(e.splice(0,i+1),i=0);}}}function xo(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;bo(e.done,r,n,i),bo(e.undone,r,n,i);}function ko(e,t,r,n){var i=t,o=t;return"number"==typeof t?o=Ke(e,lt(e,t)):i=Qe(t),null==i?null:(n(o,i)&&e.cm&&mn(e.cm,i,r),o);}function wo(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r){e[r].parent=this,t+=e[r].height;}this.height=t;}function _o(e){this.children=e;for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize(),r+=i.height,i.parent=this;}this.size=t,this.height=r,this.parent=null;}Ci.prototype.from=function(){return st(this.anchor,this.head);},Ci.prototype.to=function(){return at(this.anchor,this.head);},Ci.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch;},wo.prototype={chunkSize:function chunkSize(){return this.lines.length;},removeInner:function removeInner(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r];this.height-=i.height,Zt(i),cr(i,"delete");}this.lines.splice(e,t);},collapse:function collapse(e){e.push.apply(e,this.lines);},insertInner:function insertInner(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n){t[n].parent=this;}},iterN:function iterN(e,t,r){for(var n=e+t;e<n;++e){if(r(this.lines[e]))return!0;}}},_o.prototype={chunkSize:function chunkSize(){return this.size;},removeInner:function removeInner(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var o=Math.min(t,i-e),a=n.height;if(n.removeInner(e,o),this.height-=a-n.height,i==o&&(this.children.splice(r--,1),n.parent=null),0==(t-=o))break;e=0;}else e-=i;}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof wo))){var s=[];this.collapse(s),this.children=[new wo(s)],this.children[0].parent=this;}},collapse:function collapse(e){for(var t=0;t<this.children.length;++t){this.children[t].collapse(e);}},insertInner:function insertInner(e,t,r){this.size+=t.length,this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new wo(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++n,0,l),l.parent=this;}i.lines=i.lines.slice(0,a),this.maybeSpill();}break;}e-=o;}},maybeSpill:function maybeSpill(){if(!(this.children.length<=10)){var e=this;do{var t=new _o(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var r=W(e.parent.children,e);e.parent.children.splice(r+1,0,t);}else{var n=new _o(e.children);n.parent=e,e.children=[n,t],e=n;}t.parent=e.parent;}while(e.children.length>10);e.parent.maybeSpill();}},iterN:function iterN(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,r))return!0;if(0==(t-=a))break;e=0;}else e-=o;}}};var So=function So(e,t,r){if(r)for(var n in r){r.hasOwnProperty(n)&&(this[n]=r[n]);}this.doc=e,this.node=t;};function Co(e,t,r){Bt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&An(e,r);}So.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=Qe(r);if(null!=n&&t){for(var i=0;i<t.length;++i){t[i]==this&&t.splice(i--,1);}t.length||(r.widgets=null);var o=wr(this);Ye(r,Math.max(0,r.height-o)),e&&(ti(e,function(){Co(e,r,-o),mn(e,n,"widget");}),cr(e,"lineWidgetCleared",e,this,n));}},So.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=wr(this)-t;i&&(Ut(this.doc,n)||Ye(n,n.height+i),r&&ti(r,function(){r.curOp.forceUpdate=!0,Co(r,n,i),cr(r,"lineWidgetChanged",r,e,Qe(n));}));},xe(So);var To=0,Mo=function Mo(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++To;};function Eo(e,t,r,n,i){if(n&&n.shared)return function(e,t,r,n,i){(n=q(n)).shared=!1;var o=[Eo(e,t,r,n,i)],a=o[0],s=n.widgetNode;return Pi(e,function(e){s&&(n.widgetNode=s.cloneNode(!0)),o.push(Eo(e,ct(e,t),ct(e,r),n,i));for(var l=0;l<e.linked.length;++l){if(e.linked[l].isParent)return;}a=X(o);}),new Lo(o,a);}(e,t,r,n,i);if(e.cm&&!e.cm.curOp)return ri(e.cm,Eo)(e,t,r,n,i);var o=new Mo(e,i),a=nt(t,r);if(n&&q(n,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=O("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Ft(e,t.line,t,r,o)||t.line!=r.line&&Ft(e,r.line,t,r,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");St=!0;}o.addToHistory&&$i(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,r.line+1,function(e){c&&o.collapsed&&!c.options.lineWrapping&&Rt(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ye(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e);}(e,new Ct(o,l==t.line?t.ch:null,l==r.line?r.ch:null)),++l;}),o.collapsed&&e.iter(t.line,r.line+1,function(t){Ut(e,t)&&Ye(t,0);}),o.clearOnEnter&&fe(o,"beforeCursorEnter",function(){return o.clear();}),o.readOnly&&(_t=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++To,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)fn(c,t.line,r.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=r.line;u++){mn(c,u,"text");}o.atomic&&io(c.doc),cr(c,"markerAdded",c,o);}return o;}Mo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Kn(e),be(this,"clear")){var r=this.find();r&&cr(this,"clear",r.from,r.to);}for(var n=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Tt(a.markedSpans,this);e&&!this.collapsed?mn(e,Qe(a),"text"):e&&(null!=s.to&&(i=Qe(a)),null!=s.from&&(n=Qe(a))),a.markedSpans=Mt(a.markedSpans,s),null==s.from&&this.collapsed&&!Ut(this.doc,a)&&e&&Ye(a,on(e.display));}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Rt(this.lines[l]),u=Vt(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0);}null!=n&&e&&this.collapsed&&fn(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&io(e.doc)),e&&cr(e,"markerCleared",e,this,n,i),t&&Zn(e),this.parent&&this.parent.clear();}},Mo.prototype.find=function(e,t){var r,n;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Tt(o.markedSpans,this);if(null!=a.from&&(r=rt(t?o:Qe(o),a.from),-1==e))return r;if(null!=a.to&&(n=rt(t?o:Qe(o),a.to),1==e))return n;}return r&&{from:r,to:n};},Mo.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,n=this.doc.cm;t&&n&&ti(n,function(){var i=t.line,o=Qe(t.line),a=Ar(n,o);if(a&&(Fr(a),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Ut(r.doc,i)&&null!=r.height){var s=r.height;r.height=null;var l=wr(r)-s;l&&Ye(i,i.height+l);}cr(n,"markerChanged",n,e);});},Mo.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=W(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this);}this.lines.push(e);},Mo.prototype.detachLine=function(e){if(this.lines.splice(W(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this);}},xe(Mo);var Lo=function Lo(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r){e[r].parent=this;}};function zo(e){return e.findMarks(rt(e.first,0),e.clipPos(rt(e.lastLine())),function(e){return e.parent;});}function Oo(e){for(var t=function t(_t2){var r=e[_t2],n=[r.primary.doc];Pi(r.primary.doc,function(e){return n.push(e);});for(var i=0;i<r.markers.length;i++){var o=r.markers[i];-1==W(n,o.doc)&&(o.parent=null,r.markers.splice(i--,1));}},r=0;r<e.length;r++){t(r);}}Lo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e){this.markers[e].clear();}cr(this,"clear");}},Lo.prototype.find=function(e,t){return this.primary.find(e,t);},xe(Lo);var Ao=0,No=function e(t,r,n,i,o){if(!(this instanceof e))return new e(t,r,n,i,o);null==n&&(n=0),_o.call(this,[new wo([new Kt("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var a=rt(n,0);this.sel=Mi(a),this.history=new Fi(null),this.id=++Ao,this.modeOption=r,this.lineSep=i,this.direction="rtl"==o?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Di(this,{from:a,to:a,text:t}),to(this,Mi(a),H);};No.prototype=J(_o.prototype,{constructor:No,iter:function iter(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e);},insert:function insert(e,t){for(var r=0,n=0;n<t.length;++n){r+=t[n].height;}this.insertInner(e-this.first,t,r);},remove:function remove(e,t){this.removeInner(e-this.first,t);},getValue:function getValue(e){var t=Xe(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator());},setValue:ii(function(e){var t=rt(this.first,0),r=this.first+this.size-1;po(this,{from:t,to:rt(r,Ke(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&In(this.cm,0,0),to(this,Mi(t),H);}),replaceRange:function replaceRange(e,t,r,n){yo(this,e,t=ct(this,t),r=r?ct(this,r):t,n);},getRange:function getRange(e,t,r){var n=Ze(this,ct(this,e),ct(this,t));return!1===r?n:n.join(r||this.lineSeparator());},getLine:function getLine(e){var t=this.getLineHandle(e);return t&&t.text;},getLineHandle:function getLineHandle(e){if(et(this,e))return Ke(this,e);},getLineNumber:function getLineNumber(e){return Qe(e);},getLineHandleVisualStart:function getLineHandleVisualStart(e){return"number"==typeof e&&(e=Ke(this,e)),Rt(e);},lineCount:function lineCount(){return this.size;},firstLine:function firstLine(){return this.first;},lastLine:function lastLine(){return this.first+this.size-1;},clipPos:function clipPos(e){return ct(this,e);},getCursor:function getCursor(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from();},listSelections:function listSelections(){return this.sel.ranges;},somethingSelected:function somethingSelected(){return this.sel.somethingSelected();},setCursor:ii(function(e,t,r){Ji(this,ct(this,"number"==typeof e?rt(e,t||0):e),null,r);}),setSelection:ii(function(e,t,r){Ji(this,ct(this,e),ct(this,t||e),r);}),extendSelection:ii(function(e,t,r){Xi(this,ct(this,e),t&&ct(this,t),r);}),extendSelections:ii(function(e,t){Yi(this,ut(this,e),t);}),extendSelectionsBy:ii(function(e,t){Yi(this,ut(this,Y(this.sel.ranges,e)),t);}),setSelections:ii(function(e,t,r){if(e.length){for(var n=[],i=0;i<e.length;i++){n[i]=new Ci(ct(this,e[i].anchor),ct(this,e[i].head));}null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),to(this,Ti(this.cm,n,t),r);}}),addSelection:ii(function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new Ci(ct(this,e),ct(this,t||e))),to(this,Ti(this.cm,n,n.length-1),r);}),getSelection:function getSelection(e){for(var t,r=this.sel.ranges,n=0;n<r.length;n++){var i=Ze(this,r[n].from(),r[n].to());t=t?t.concat(i):i;}return!1===e?t:t.join(e||this.lineSeparator());},getSelections:function getSelections(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=Ze(this,r[n].from(),r[n].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[n]=i;}return t;},replaceSelection:function replaceSelection(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++){n[i]=e;}this.replaceSelections(n,t,r||"+input");},replaceSelections:ii(function(e,t,r){for(var n=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];n[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:r};}for(var s=t&&"end"!=t&&function(e,t,r){for(var n=[],i=rt(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Oi(s.from,i,o),c=Oi(Ei(s),i,o);if(i=s.to,o=c,"around"==r){var u=e.sel.ranges[a],d=nt(u.head,u.anchor)<0;n[a]=new Ci(d?c:l,d?l:c);}else n[a]=new Ci(l,l);}return new Si(n,e.sel.primIndex);}(this,n,t),l=n.length-1;l>=0;l--){po(this,n[l]);}s?eo(this,s):this.cm&&Nn(this.cm);}),undo:ii(function(){mo(this,"undo");}),redo:ii(function(){mo(this,"redo");}),undoSelection:ii(function(){mo(this,"undo",!0);}),redoSelection:ii(function(){mo(this,"redo",!0);}),setExtending:function setExtending(e){this.extend=e;},getExtending:function getExtending(){return this.extend;},historySize:function historySize(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++){e.done[n].ranges||++t;}for(var i=0;i<e.undone.length;i++){e.undone[i].ranges||++r;}return{undo:t,redo:r};},clearHistory:function clearHistory(){var e=this;this.history=new Fi(this.history.maxGeneration),Pi(this,function(t){return t.history=e.history;},!0);},markClean:function markClean(){this.cleanGeneration=this.changeGeneration(!0);},changeGeneration:function changeGeneration(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation;},isClean:function isClean(e){return this.history.generation==(e||this.cleanGeneration);},getHistory:function getHistory(){return{done:Ki(this.history.done),undone:Ki(this.history.undone)};},setHistory:function setHistory(e){var t=this.history=new Fi(this.history.maxGeneration);t.done=Ki(e.done.slice(0),null,!0),t.undone=Ki(e.undone.slice(0),null,!0);},setGutterMarker:ii(function(e,t,r){return ko(this,e,"gutter",function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&ne(n)&&(e.gutterMarkers=null),!0;});}),clearGutter:ii(function(e){var t=this;this.iter(function(r){r.gutterMarkers&&r.gutterMarkers[e]&&ko(t,r,"gutter",function(){return r.gutterMarkers[e]=null,ne(r.gutterMarkers)&&(r.gutterMarkers=null),!0;});});}),lineInfo:function lineInfo(e){var t;if("number"==typeof e){if(!et(this,e))return null;if(t=e,!(e=Ke(this,e)))return null;}else if(null==(t=Qe(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets};},addLineClass:ii(function(e,t,r){return ko(this,e,"gutter"==t?"gutter":"class",function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[n]){if(C(r).test(e[n]))return!1;e[n]+=" "+r;}else e[n]=r;return!0;});}),removeLineClass:ii(function(e,t,r){return ko(this,e,"gutter"==t?"gutter":"class",function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[n];if(!i)return!1;if(null==r)e[n]=null;else{var o=i.match(C(r));if(!o)return!1;var a=o.index+o[0].length;e[n]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null;}return!0;});}),addLineWidget:ii(function(e,t,r){return function(e,t,r,n){var i=new So(e,r,n),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),ko(e,t,"widget",function(t){var r=t.widgets||(t.widgets=[]);if(null==i.insertAt?r.push(i):r.splice(Math.min(r.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!Ut(e,t)){var n=Bt(t)<e.scrollTop;Ye(t,t.height+wr(i)),n&&An(o,i.height),o.curOp.forceUpdate=!0;}return!0;}),o&&cr(o,"lineWidgetAdded",o,i,"number"==typeof t?t:Qe(t)),i;}(this,e,t,r);}),removeLineWidget:function removeLineWidget(e){e.clear();},markText:function markText(e,t,r){return Eo(this,ct(this,e),ct(this,t),r,r&&r.type||"range");},setBookmark:function setBookmark(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return Eo(this,e=ct(this,e),e,r,"bookmark");},findMarksAt:function findMarksAt(e){var t=[],r=Ke(this,(e=ct(this,e)).line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker);}return t;},findMarks:function findMarks(e,t,r){e=ct(this,e),t=ct(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||r&&!r(l.marker)||n.push(l.marker.parent||l.marker);}++i;}),n;},getAllMarks:function getAllMarks(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;n<r.length;++n){null!=r[n].from&&e.push(r[n].marker);}}),e;},posFromIndex:function posFromIndex(e){var t,r=this.first,n=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+n;if(o>e)return t=e,!0;e-=o,++r;}),ct(this,rt(r,t));},indexFromPos:function indexFromPos(e){var t=(e=ct(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+r;}),t;},copy:function copy(e){var t=new No(Xe(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t;},linkedDoc:function linkedDoc(e){e||(e={});var t=this.first,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var n=new No(Xe(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(nt(o,a)){var s=Eo(e,o,a,n.primary,n.primary.type);n.markers.push(s),s.parent=n;}}}(n,zo(this)),n;},unlinkDoc:function unlinkDoc(e){if(e instanceof La&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Oo(zo(this));break;}}if(e.history==this.history){var r=[e.id];Pi(e,function(e){return r.push(e.id);},!0),e.history=new Fi(null),e.history.done=Ki(this.history.done,r),e.history.undone=Ki(this.history.undone,r);}},iterLinkedDocs:function iterLinkedDocs(e){Pi(this,e);},getMode:function getMode(){return this.mode;},getEditor:function getEditor(){return this.cm;},splitLines:function splitLines(e){return this.lineSep?e.split(this.lineSep):Ne(e);},lineSeparator:function lineSeparator(){return this.lineSep||"\n";},setDirection:ii(function(e){var t;"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(e){return e.order=null;}),this.cm&&ti(t=this.cm,function(){qi(t),fn(t);}));})}),No.prototype.eachLine=No.prototype.iter;var Io=0;function Do(e){var t=this;if(Po(t),!ye(t,e)&&!_r(t.display,e)){ke(e),s&&(Io=+new Date());var r=dn(t,e,!0),n=e.dataTransfer.files;if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),a=0,l=function l(){++a==i&&ri(t,function(){var e={from:r=ct(t.doc,r),to:r,text:t.doc.splitLines(o.filter(function(e){return null!=e;}).join(t.doc.lineSeparator())),origin:"paste"};po(t.doc,e),eo(t.doc,Mi(ct(t.doc,r),ct(t.doc,Ei(e))));})();},c=function c(e,r){if(t.options.allowDropFileTypes&&-1==W(t.options.allowDropFileTypes,e.type))l();else{var n=new FileReader();n.onerror=function(){return l();},n.onload=function(){var e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[r]=e),l();},n.readAsText(e);}},u=0;u<n.length;u++){c(n[u],u);}else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus();},20);try{var d=e.dataTransfer.getData("Text");if(d){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),ro(t.doc,Mi(r,r)),p)for(var f=0;f<p.length;++f){yo(t.doc,"",p[f].anchor,p[f].head,"drag");}t.replaceSelection(d,"around","paste"),t.display.input.focus();}}catch(e){}}}}function Po(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null);}function jo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&r.push(i);}r.length&&r[0].operation(function(){for(var t=0;t<r.length;t++){e(r[t]);}});}}var qo=!1;function Fo(){var e;qo||(fe(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,jo(Ro);},100));}),fe(window,"blur",function(){return jo(Mn);}),qo=!0);}function Ro(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize();}for(var Wo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},$o=0;$o<10;$o++){Wo[$o+48]=Wo[$o+96]=String($o);}for(var Uo=65;Uo<=90;Uo++){Wo[Uo]=String.fromCharCode(Uo);}for(var Ho=1;Ho<=12;Ho++){Wo[Ho+111]=Wo[Ho+63235]="F"+Ho;}var Bo={};function Vo(e){var t,r,n,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);n=!0;}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),n&&(e="Shift-"+e),e;}function Go(e){var t={};for(var r in e){if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue;}for(var i=Y(r.split(" "),Vo),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=n):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s);}else t[s]=a;}delete e[r];}}for(var c in t){e[c]=t[c];}return e;}function Ko(e,t,r,n){var i=(t=Qo(t)).call?t.call(e,n):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&r(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Ko(e,t.fallthrough,r,n);for(var o=0;o<t.fallthrough.length;o++){var a=Ko(e,t.fallthrough[o],r,n);if(a)return a;}}}function Zo(e){var t="string"==typeof e?e:Wo[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t;}function Xo(e,t,r){var n=e;return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(_?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(_?t.ctrlKey:t.metaKey)&&"Cmd"!=n&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e;}function Yo(e,t){if(p&&34==e.keyCode&&e.char)return!1;var r=Wo[e.keyCode];return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),Xo(r,e,t));}function Qo(e){return"string"==typeof e?Bo[e]:e;}function Jo(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){for(var o=t(r[i]);n.length&&nt(o.from,X(n).to)<=0;){var a=n.pop();if(nt(a.from,o.from)<0){o.from=a.from;break;}}n.push(o);}ti(e,function(){for(var t=n.length-1;t>=0;t--){yo(e.doc,"",n[t].from,n[t].to,"+delete");}Nn(e);});}function ea(e,t,r){var n=ae(e.text,t+r,r);return n<0||n>e.text.length?null:n;}function ta(e,t,r){var n=ea(e,t.ch,r);return null==n?null:new rt(t.line,n,r<0?"after":"before");}function ra(e,t,r,n,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=de(r,t.doc.direction);if(o){var a,s=i<0?X(o):o[0],l=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=Nr(t,r);a=i<0?r.text.length-1:0;var u=Ir(t,c,a).top;a=se(function(e){return Ir(t,c,e).top==u;},i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=ea(r,a,1));}else a=i<0?s.to:s.from;return new rt(n,a,l);}}return new rt(n,i<0?r.text.length:0,i<0?"before":"after");}Bo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Bo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Bo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Bo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Bo.default=b?Bo.macDefault:Bo.pcDefault;var na={selectAll:co,singleSelection:function singleSelection(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H);},killLine:function killLine(e){return Jo(e,function(t){if(t.empty()){var r=Ke(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:rt(t.head.line+1,0)}:{from:t.head,to:rt(t.head.line,r)};}return{from:t.from(),to:t.to()};});},deleteLine:function deleteLine(e){return Jo(e,function(t){return{from:rt(t.from().line,0),to:ct(e.doc,rt(t.to().line+1,0))};});},delLineLeft:function delLineLeft(e){return Jo(e,function(e){return{from:rt(e.from().line,0),to:e.from()};});},delWrappedLineLeft:function delWrappedLineLeft(e){return Jo(e,function(t){var r=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:r},"div"),to:t.from()};});},delWrappedLineRight:function delWrappedLineRight(e){return Jo(e,function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:n};});},undo:function undo(e){return e.undo();},redo:function redo(e){return e.redo();},undoSelection:function undoSelection(e){return e.undoSelection();},redoSelection:function redoSelection(e){return e.redoSelection();},goDocStart:function goDocStart(e){return e.extendSelection(rt(e.firstLine(),0));},goDocEnd:function goDocEnd(e){return e.extendSelection(rt(e.lastLine()));},goLineStart:function goLineStart(e){return e.extendSelectionsBy(function(t){return ia(e,t.head.line);},{origin:"+move",bias:1});},goLineStartSmart:function goLineStartSmart(e){return e.extendSelectionsBy(function(t){return oa(e,t.head);},{origin:"+move",bias:1});},goLineEnd:function goLineEnd(e){return e.extendSelectionsBy(function(t){return function(e,t){var r=Ke(e.doc,t),n=function(e){for(var t;t=jt(e);){e=t.find(1,!0).line;}return e;}(r);return n!=r&&(t=Qe(n)),ra(!0,e,r,t,-1);}(e,t.head.line);},{origin:"+move",bias:-1});},goLineRight:function goLineRight(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");},V);},goLineLeft:function goLineLeft(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div");},V);},goLineLeftSmart:function goLineLeftSmart(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return n.ch<e.getLine(n.line).search(/\S/)?oa(e,t.head):n;},V);},goLineUp:function goLineUp(e){return e.moveV(-1,"line");},goLineDown:function goLineDown(e){return e.moveV(1,"line");},goPageUp:function goPageUp(e){return e.moveV(-1,"page");},goPageDown:function goPageDown(e){return e.moveV(1,"page");},goCharLeft:function goCharLeft(e){return e.moveH(-1,"char");},goCharRight:function goCharRight(e){return e.moveH(1,"char");},goColumnLeft:function goColumnLeft(e){return e.moveH(-1,"column");},goColumnRight:function goColumnRight(e){return e.moveH(1,"column");},goWordLeft:function goWordLeft(e){return e.moveH(-1,"word");},goGroupRight:function goGroupRight(e){return e.moveH(1,"group");},goGroupLeft:function goGroupLeft(e){return e.moveH(-1,"group");},goWordRight:function goWordRight(e){return e.moveH(1,"word");},delCharBefore:function delCharBefore(e){return e.deleteH(-1,"char");},delCharAfter:function delCharAfter(e){return e.deleteH(1,"char");},delWordBefore:function delWordBefore(e){return e.deleteH(-1,"word");},delWordAfter:function delWordAfter(e){return e.deleteH(1,"word");},delGroupBefore:function delGroupBefore(e){return e.deleteH(-1,"group");},delGroupAfter:function delGroupAfter(e){return e.deleteH(1,"group");},indentAuto:function indentAuto(e){return e.indentSelection("smart");},indentMore:function indentMore(e){return e.indentSelection("add");},indentLess:function indentLess(e){return e.indentSelection("subtract");},insertTab:function insertTab(e){return e.replaceSelection("\t");},insertSoftTab:function insertSoftTab(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var o=r[i].from(),a=F(e.getLine(o.line),o.ch,n);t.push(Z(n-a%n));}e.replaceSelections(t);},defaultTab:function defaultTab(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab");},transposeChars:function transposeChars(e){return ti(e,function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++){if(t[n].empty()){var i=t[n].head,o=Ke(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new rt(i.line,i.ch-1)),i.ch>0)i=new rt(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),rt(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Ke(e.doc,i.line-1).text;a&&(i=new rt(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),rt(i.line-1,a.length-1),i,"+transpose"));}r.push(new Ci(i,i));}}e.setSelections(r);});},newlineAndIndent:function newlineAndIndent(e){return ti(e,function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--){e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");}t=e.listSelections();for(var n=0;n<t.length;n++){e.indentLine(t[n].from().line,null,!0);}Nn(e);});},openLine:function openLine(e){return e.replaceSelection("\n","start");},toggleOverwrite:function toggleOverwrite(e){return e.toggleOverwrite();}};function ia(e,t){var r=Ke(e.doc,t),n=Rt(r);return n!=r&&(t=Qe(n)),ra(!0,e,n,t,1);}function oa(e,t){var r=ia(e,t.line),n=Ke(e.doc,r.line),i=de(n,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(r.ch,n.text.search(/\S/)),a=t.line==r.line&&t.ch<=o&&t.ch;return rt(r.line,a?0:o,r.sticky);}return r;}function aa(e,t,r){if("string"==typeof t&&!(t=na[t]))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=U;}finally{e.display.shift=n,e.state.suppressEdits=!1;}return i;}var sa=new R();function la(e,t,r,n){var i=e.state.keySeq;if(i){if(Zo(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:sa.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset());}),ca(e,i+" "+t,r,n))return!0;}return ca(e,t,r,n);}function ca(e,t,r,n){var i=function(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=Ko(t,e.state.keyMaps[n],r,e);if(i)return i;}return e.options.extraKeys&&Ko(t,e.options.extraKeys,r,e)||Ko(t,e.options.keyMap,r,e);}(e,t,n);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&cr(e,"keyHandled",e,t,r),"handled"!=i&&"multi"!=i||(ke(r),_n(e)),!!i;}function ua(e,t){var r=Yo(t,!0);return!!r&&(t.shiftKey&&!e.state.keySeq?la(e,"Shift-"+r,t,function(t){return aa(e,t,!0);})||la(e,r,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return aa(e,t);}):la(e,r,t,function(t){return aa(e,t);}));}var da=null;function pa(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=N(),ye(t,e)))){s&&l<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var i=ua(t,e);p&&(da=i?n:null,i||88!=n||De||!(b?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),r&&!b&&!i&&46==n&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function r(e){18!=e.keyCode&&e.altKey||(M(t,"CodeMirror-crosshair"),he(document,"keyup",r),he(document,"mouseover",r));}I(t,"CodeMirror-crosshair"),fe(document,"keyup",r),fe(document,"mouseover",r);}(t);}}function fa(e){16==e.keyCode&&(this.doc.sel.shift=!1),ye(this,e);}function ma(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||_r(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||b&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(p&&r==da)return da=null,void ke(e);if(!p||e.which&&!(e.which<10)||!ua(t,e)){var i=String.fromCharCode(null==n?r:n);"\b"!=i&&(function(e,t,r){return la(e,"'"+r+"'",t,function(t){return aa(e,t,!0);});}(t,e,i)||t.display.input.onKeyPress(e));}}}var ha,ga,ya=function ya(e,t,r){this.time=e,this.pos=t,this.button=r;};function va(e){var t=this,r=t.display;if(!(ye(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,_r(r,e))c||(r.scroller.draggable=!1,setTimeout(function(){return r.scroller.draggable=!0;},100));else if(!ka(t,e)){var n=dn(t,e),i=Te(e),o=n?function(e,t){var r=+new Date();return ga&&ga.compare(r,e,t)?(ha=ga=null,"triple"):ha&&ha.compare(r,e,t)?(ga=new ya(r,e,t),ha=null,"double"):(ha=new ya(r,e,t),ga=null,"single");}(n,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),n&&function(e,t,r,n,i){var o="Click";return"double"==n?o="Double"+o:"triple"==n&&(o="Triple"+o),la(e,Xo(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,function(t){if("string"==typeof t&&(t=na[t]),!t)return!1;var n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n=t(e,r)!=U;}finally{e.state.suppressEdits=!1;}return n;});}(t,i,n,o,e)||(1==i?n?function(e,t,r,n){s?setTimeout(j(Sn,e),0):e.curOp.focus=N();var i,o=function(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(null==i.unit){var o=x?r.shiftKey&&r.metaKey:r.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line";}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey),null==i.addNew&&(i.addNew=b?r.metaKey:r.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(b?r.altKey:r.ctrlKey)),i;}(e,r,n),a=e.doc.sel;e.options.dragDrop&&Le&&!e.isReadOnly()&&"single"==r&&(i=a.contains(t))>-1&&(nt((i=a.ranges[i]).from(),t)<0||t.xRel>0)&&(nt(i.to(),t)>0||t.xRel<0)?function(e,t,r,n){var i=e.display,o=!1,a=ri(e,function(t){c&&(i.scroller.draggable=!1),e.state.draggingText=!1,he(i.wrapper.ownerDocument,"mouseup",a),he(i.wrapper.ownerDocument,"mousemove",u),he(i.scroller,"dragstart",d),he(i.scroller,"drop",a),o||(ke(t),n.addNew||Xi(e.doc,r,null,null,n.extend),c&&!f||s&&9==l?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus();},20):i.input.focus());}),u=function u(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10;},d=function d(){return o=!0;};c&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=!n.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),fe(i.wrapper.ownerDocument,"mouseup",a),fe(i.wrapper.ownerDocument,"mousemove",u),fe(i.scroller,"dragstart",d),fe(i.scroller,"drop",a),Cn(e),setTimeout(function(){return i.input.focus();},20);}(e,n,t,o):function(e,t,r,n){var i=e.display,o=e.doc;ke(t);var a,s,l=o.sel,c=l.ranges;if(n.addNew&&!n.extend?(s=o.sel.contains(r),a=s>-1?c[s]:new Ci(r,r)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==n.unit)n.addNew||(a=new Ci(r,r)),r=dn(e,t,!0,!0),s=-1;else{var u=ba(e,r,n.unit);a=n.extend?Zi(a,u.anchor,u.head,n.extend):u;}n.addNew?-1==s?(s=c.length,to(o,Ti(e,c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==n.unit&&!n.extend?(to(o,Ti(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):Qi(o,s,a,B):(s=0,to(o,new Si([a],0),B),l=o.sel);var d=r;function p(t){if(0!=nt(d,t))if(d=t,"rectangle"==n.unit){for(var i=[],c=e.options.tabSize,u=F(Ke(o,r.line).text,r.ch,c),p=F(Ke(o,t.line).text,t.ch,c),f=Math.min(u,p),m=Math.max(u,p),h=Math.min(r.line,t.line),g=Math.min(e.lastLine(),Math.max(r.line,t.line));h<=g;h++){var y=Ke(o,h).text,v=G(y,f,c);f==m?i.push(new Ci(rt(h,v),rt(h,v))):y.length>v&&i.push(new Ci(rt(h,v),rt(h,G(y,m,c))));}i.length||i.push(new Ci(r,r)),to(o,Ti(e,l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t);}else{var b,x=a,k=ba(e,t,n.unit),w=x.anchor;nt(k.anchor,w)>0?(b=k.head,w=st(x.from(),k.anchor)):(b=k.anchor,w=at(x.to(),k.head));var _=l.ranges.slice(0);_[s]=function(e,t){var r=t.anchor,n=t.head,i=Ke(e.doc,r.line);if(0==nt(r,n)&&r.sticky==n.sticky)return t;var o=de(i);if(!o)return t;var a=ce(o,r.ch,r.sticky),s=o[a];if(s.from!=r.ch&&s.to!=r.ch)return t;var l,c=a+(s.from==r.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(n.line!=r.line)l=(n.line-r.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ce(o,n.ch,n.sticky),d=u-a||(n.ch-r.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0;}var p=o[c+(l?-1:0)],f=l==(1==p.level),m=f?p.from:p.to,h=f?"after":"before";return r.ch==m&&r.sticky==h?t:new Ci(new rt(r.line,m,h),n);}(e,new Ci(ct(o,w),b)),to(o,Ti(e,_,s),B);}}var f=i.wrapper.getBoundingClientRect(),m=0;function h(t){var r=++m,a=dn(e,t,!0,"rectangle"==n.unit);if(a)if(0!=nt(a,d)){e.curOp.focus=N(),p(a);var s=zn(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(ri(e,function(){m==r&&h(t);}),150);}else{var l=t.clientY<f.top?-20:t.clientY>f.bottom?20:0;l&&setTimeout(ri(e,function(){m==r&&(i.scroller.scrollTop+=l,h(t));}),50);}}function g(t){e.state.selectingText=!1,m=1/0,t&&(ke(t),i.input.focus()),he(i.wrapper.ownerDocument,"mousemove",y),he(i.wrapper.ownerDocument,"mouseup",v),o.history.lastSelOrigin=null;}var y=ri(e,function(e){0!==e.buttons&&Te(e)?h(e):g(e);}),v=ri(e,g);e.state.selectingText=v,fe(i.wrapper.ownerDocument,"mousemove",y),fe(i.wrapper.ownerDocument,"mouseup",v);}(e,n,t,o);}(t,n,o,e):Ce(e)==r.scroller&&ke(e):2==i?(n&&Xi(t.doc,n),setTimeout(function(){return r.input.focus();},20)):3==i&&(S?t.display.input.onContextMenu(e):Cn(t)));}}function ba(e,t,r){if("char"==r)return new Ci(t,t);if("word"==r)return e.findWordAt(t);if("line"==r)return new Ci(rt(t.line,0),ct(e.doc,rt(t.line+1,0)));var n=r(e,t);return new Ci(n.from,n.to);}function xa(e,t,r,n){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY;}catch(t){return!1;}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&ke(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!be(e,r))return _e(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return ge(e,r,e,Je(e.doc,o),e.display.gutterSpecs[l].className,t),_e(t);}}function ka(e,t){return xa(e,t,"gutterClick",!0);}function wa(e,t){_r(e.display,t)||function(e,t){return!!be(e,"gutterContextMenu")&&xa(e,t,"gutterContextMenu",!1);}(e,t)||ye(e,t,"contextmenu")||S||e.display.input.onContextMenu(t);}function _a(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Wr(e);}ya.prototype.compare=function(e,t,r){return this.time+400>e&&0==nt(t,this.pos)&&r==this.button;};var Sa={toString:function toString(){return"CodeMirror.Init";}},Ca={},Ta={};function Ma(e,t,r){if(!t!=!(r&&r!=Sa)){var n=e.display.dragFunctions,i=t?fe:he;i(e.display.scroller,"dragstart",n.start),i(e.display.scroller,"dragenter",n.enter),i(e.display.scroller,"dragover",n.over),i(e.display.scroller,"dragleave",n.leave),i(e.display.scroller,"drop",n.drop);}}function Ea(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(M(e.display.wrapper,"CodeMirror-wrap"),Gt(e)),un(e),fn(e),Wr(e),setTimeout(function(){return Un(e);},100);}function La(e,t){var r=this;if(!(this instanceof La))return new La(e,t);this.options=t=t?q(t):{},q(Ca,t,!1);var n=t.value;"string"==typeof n?n=new No(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new La.inputStyles[t.inputStyle](this),o=this.display=new vi(e,n,i,t);for(var a in o.wrapper.CodeMirror=this,_a(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Vn(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new R(),keySeq:null,specialChars:null},t.autofocus&&!v&&o.input.focus(),s&&l<11&&setTimeout(function(){return r.display.input.reset(!0);},20),function(e){var t=e.display;fe(t.scroller,"mousedown",ri(e,va)),fe(t.scroller,"dblclick",s&&l<11?ri(e,function(t){if(!ye(e,t)){var r=dn(e,t);if(r&&!ka(e,t)&&!_r(e.display,t)){ke(t);var n=e.findWordAt(r);Xi(e.doc,n.anchor,n.head);}}}):function(t){return ye(e,t)||ke(t);}),fe(t.scroller,"contextmenu",function(t){return wa(e,t);}),fe(t.input.getField(),"contextmenu",function(r){t.scroller.contains(r.target)||wa(e,r);});var r,n={end:0};function i(){t.activeTouch&&(r=setTimeout(function(){return t.activeTouch=null;},1e3),(n=t.activeTouch).end=+new Date());}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1;}function a(e,t){if(null==t.left)return!0;var r=t.left-e.left,n=t.top-e.top;return r*r+n*n>400;}fe(t.scroller,"touchstart",function(i){if(!ye(e,i)&&!o(i)&&!ka(e,i)){t.input.ensurePolled(),clearTimeout(r);var a=+new Date();t.activeTouch={start:a,moved:!1,prev:a-n.end<=300?n:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY);}}),fe(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0);}),fe(t.scroller,"touchend",function(r){var n=t.activeTouch;if(n&&!_r(t,r)&&null!=n.left&&!n.moved&&new Date()-n.start<300){var o,s=e.coordsChar(t.activeTouch,"page");o=!n.prev||a(n,n.prev)?new Ci(s,s):!n.prev.prev||a(n,n.prev.prev)?e.findWordAt(s):new Ci(rt(s.line,0),ct(e.doc,rt(s.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),ke(r);}i();}),fe(t.scroller,"touchcancel",i),fe(t.scroller,"scroll",function(){t.scroller.clientHeight&&(jn(e,t.scroller.scrollTop),Fn(e,t.scroller.scrollLeft,!0),ge(e,"scroll",e));}),fe(t.scroller,"mousewheel",function(t){return _i(e,t);}),fe(t.scroller,"DOMMouseScroll",function(t){return _i(e,t);}),fe(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0;}),t.dragFunctions={enter:function enter(t){ye(e,t)||Se(t);},over:function over(t){ye(e,t)||(function(e,t){var r=dn(e,t);if(r){var n=document.createDocumentFragment();xn(e,r,n),e.display.dragCursor||(e.display.dragCursor=z("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),L(e.display.dragCursor,n);}}(e,t),Se(t));},start:function start(t){return function(e,t){if(s&&(!e.state.draggingText||+new Date()-Io<100))Se(t);else if(!ye(e,t)&&!_r(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f)){var r=z("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",p&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),p&&r.parentNode.removeChild(r);}}(e,t);},drop:ri(e,Do),leave:function leave(t){ye(e,t)||Po(e);}};var c=t.input.getField();fe(c,"keyup",function(t){return fa.call(e,t);}),fe(c,"keydown",ri(e,pa)),fe(c,"keypress",ri(e,ma)),fe(c,"focus",function(t){return Tn(e,t);}),fe(c,"blur",function(t){return Mn(e,t);});}(this),Fo(),Kn(this),this.curOp.forceUpdate=!0,ji(this,n),t.autofocus&&!v||this.hasFocus()?setTimeout(j(Tn,this),20):Mn(this),Ta){Ta.hasOwnProperty(a)&&Ta[a](this,t[a],Sa);}mi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<za.length;++u){za[u](this);}Zn(this),c&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto");}La.defaults=Ca,La.optionHandlers=Ta;var za=[];function Oa(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=ht(e,t).state:r="prev");var a=e.options.tabSize,s=Ke(o,t),l=F(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==r&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==U||c>150)){if(!n)return;r="prev";}}else c=0,r="not";"prev"==r?c=t>o.first?F(Ke(o,t-1).text,null,a):0:"add"==r?c=l+e.options.indentUnit:"subtract"==r?c=l-e.options.indentUnit:"number"==typeof r&&(c=l+r),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f){p+=a,d+="\t";}if(p<c&&(d+=Z(c-p)),d!=u)return yo(o,d,rt(t,0),rt(t,u.length),"+input"),s.stateAfter=null,!0;for(var m=0;m<o.sel.ranges.length;m++){var h=o.sel.ranges[m];if(h.head.line==t&&h.head.ch<u.length){var g=rt(t,u.length);Qi(o,m,new Ci(g,g));break;}}}La.defineInitHook=function(e){return za.push(e);};var Aa=null;function Na(e){Aa=e;}function Ia(e,t,r,n,i){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var a=+new Date()-200,s="paste"==i||e.state.pasteIncoming>a,l=Ne(t),c=null;if(s&&n.ranges.length>1)if(Aa&&Aa.text.join("\n")==t){if(n.ranges.length%Aa.text.length==0){c=[];for(var u=0;u<Aa.text.length;u++){c.push(o.splitLines(Aa.text[u]));}}}else l.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,function(e){return[e];}));for(var d=e.curOp.updateInput,p=n.ranges.length-1;p>=0;p--){var f=n.ranges[p],m=f.from(),h=f.to();f.empty()&&(r&&r>0?m=rt(m.line,m.ch-r):e.state.overwrite&&!s?h=rt(h.line,Math.min(Ke(o,h.line).text.length,h.ch+X(l).length)):s&&Aa&&Aa.lineWise&&Aa.text.join("\n")==t&&(m=h=rt(m.line,0)));var g={from:m,to:h,text:c?c[p%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};po(e.doc,g),cr(e,"inputRead",e,g);}t&&!s&&Pa(e,t),Nn(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1;}function Da(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||ti(t,function(){return Ia(t,r,0,null,"paste");}),!0;}function Pa(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++){if(t.indexOf(o.electricChars.charAt(s))>-1){a=Oa(e,i.head.line,"smart");break;}}}else o.electricInput&&o.electricInput.test(Ke(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Oa(e,i.head.line,"smart"));a&&cr(e,"electricInput",e,i.head.line);}}}function ja(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,o={anchor:rt(i,0),head:rt(i+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head));}return{text:t,ranges:r};}function qa(e,t,r,n){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t);}function Fa(){var e=z("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=z("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return c?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),qa(e),t;}function Ra(e,t,r,n,i){var o=t,a=r,s=Ke(e,t.line),l=i&&"rtl"==e.direction?-r:r;function c(n){var o,a;if(o=i?function(e,t,r,n){var i=de(t,e.doc.direction);if(!i)return ta(t,r,n);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var o=ce(i,r.ch,r.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(n>0?a.to>r.ch:a.from<r.ch))return ta(t,r,n);var s,l=function l(e,r){return ea(t,e instanceof rt?e.ch:e,r);},c=function c(r){return e.options.lineWrapping?(s=s||Nr(e,t),Jr(e,t,s,r)):{begin:0,end:t.text.length};},u=c("before"==r.sticky?l(r,-1):r.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==n<0,p=l(r,d?1:-1);if(null!=p&&(d?p<=a.to&&p<=u.end:p>=a.from&&p>=u.begin)){var f=d?"before":"after";return new rt(r.line,p,f);}}var m=function m(e,t,n){for(var o=function o(e,t){return t?new rt(r.line,l(e,1),"before"):new rt(r.line,e,"after");};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?n.begin:l(n.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),n.begin<=c&&c<n.end)return o(c,s);}},h=m(o+n,n,u);if(h)return h;var g=n>0?u.end:l(u.begin,-1);return null==g||n>0&&g==t.text.length||!(h=m(n>0?0:i.length-1,n,c(g)))?null:h;}(e.cm,s,t,r):ta(s,t,r),null==o){if(n||(a=t.line+l)<e.first||a>=e.first+e.size||(t=new rt(a,t.ch,t.sticky),!(s=Ke(e,a))))return!1;t=ra(i,e.cm,s,t.line,l);}else t=o;return!0;}if("char"==n)c();else if("column"==n)c(!0);else if("word"==n||"group"==n)for(var u=null,d="group"==n,p=e.cm&&e.cm.getHelper(t,"wordChars"),f=!0;!(r<0)||c(!f);f=!1){var m=s.text.charAt(t.ch)||"\n",h=re(m,p)?"w":d&&"\n"==m?"n":!d||/\s/.test(m)?null:"p";if(!d||f||h||(h="s"),u&&u!=h){r<0&&(r=1,c(),t.sticky="after");break;}if(h&&(u=h),r>0&&!c(!f))break;}var g=so(e,t,o,a,!0);return it(o,g)&&(g.hitSide=!0),g;}function Wa(e,t,r,n){var i,o,a=e.doc,s=t.left;if("page"==n){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*on(e.display),3);i=(r>0?t.bottom:t.top)+r*c;}else"line"==n&&(i=r>0?t.bottom+3:t.top-3);for(;(o=Yr(e,s,i)).outside;){if(r<0?i<=0:i>=a.height){o.hitSide=!0;break;}i+=5*r;}return o;}var $a=function $a(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new R(),this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null;};function Ua(e,t){var r=Ar(e,t.line);if(!r||r.hidden)return null;var n=Ke(e.doc,t.line),i=zr(r,n,t.line),o=de(n,e.doc.direction),a="left";o&&(a=ce(o,t.ch)%2?"right":"left");var s=jr(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s;}function Ha(e,t){return t&&(e.bad=!0),e;}function Ba(e,t,r){var n;if(t==e.display.lineDiv){if(!(n=e.display.lineDiv.childNodes[r]))return Ha(e.clipPos(rt(e.display.viewTo-1)),!0);t=null,r=0;}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break;}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n)return Va(o,t,r);}}function Va(e,t,r){var n=e.text.firstChild,i=!1;if(!t||!A(n,t))return Ha(rt(Qe(e.line),0),!0);if(t==n&&(i=!0,t=n.childNodes[r],r=0,!t)){var o=e.rest?X(e.rest):e.line;return Ha(rt(Qe(o),o.text.length),i);}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,r&&(r=a.nodeValue.length));s.parentNode!=n;){s=s.parentNode;}var l=e.measure,c=l.maps;function u(t,r,n){for(var i=-1;i<(c?c.length:0);i++){for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==r){var u=Qe(i<0?e.line:e.rest[i]),d=o[a]+n;return(n<0||s!=t)&&(d=o[a+(n?1:0)]),rt(u,d);}}}}var d=u(a,s,r);if(d)return Ha(d,i);for(var p=s.nextSibling,f=a?a.nodeValue.length-r:0;p;p=p.nextSibling){if(d=u(p,p.firstChild,0))return Ha(rt(d.line,d.ch-f),i);f+=p.textContent.length;}for(var m=s.previousSibling,h=r;m;m=m.previousSibling){if(d=u(m,m.firstChild,-1))return Ha(rt(d.line,d.ch+h),i);h+=m.textContent.length;}}$a.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break;}return!1;}function a(e){if(o(e)&&!ye(n,e)){if(n.somethingSelected())Na({lineWise:!1,text:n.getSelections()}),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=ja(n);Na({lineWise:!0,text:t.text}),"cut"==e.type&&n.operation(function(){n.setSelections(t.ranges,0,H),n.replaceSelection("",null,"cut");});}if(e.clipboardData){e.clipboardData.clearData();var a=Aa.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault();}var s=Fa(),l=s.firstChild;n.display.lineSpace.insertBefore(s,n.display.lineSpace.firstChild),l.value=Aa.text.join("\n");var c=document.activeElement;P(l),setTimeout(function(){n.display.lineSpace.removeChild(s),c.focus(),c==i&&r.showPrimarySelection();},50);}}qa(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize),fe(i,"paste",function(e){!o(e)||ye(n,e)||Da(e,n)||l<=11&&setTimeout(ri(n,function(){return t.updateFromDOM();}),20);}),fe(i,"compositionstart",function(e){t.composing={data:e.data,done:!1};}),fe(i,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1});}),fe(i,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0);}),fe(i,"touchstart",function(){return r.forceCompositionEnd();}),fe(i,"input",function(){t.composing||t.readFromDOMSoon();}),fe(i,"copy",a),fe(i,"cut",a);},$a.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label");},$a.prototype.prepareSelection=function(){var e=bn(this.cm,!1);return e.focus=document.activeElement==this.div,e;},$a.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e));},$a.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection();},$a.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),i=n.from(),o=n.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=Ba(t,e.anchorNode,e.anchorOffset),s=Ba(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=nt(st(a,s),i)||0!=nt(at(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Ua(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Ua(t,o);if(!u){var d=l[l.length-1].measure,p=d.maps?d.maps[d.maps.length-1]:d.map;u={node:p[p.length-1],offset:p[p.length-2]-p[p.length-3]};}if(c&&u){var f,m=e.rangeCount&&e.getRangeAt(0);try{f=T(c.node,c.offset,u.offset,u.node);}catch(e){}f&&(!r&&t.state.focused?(e.collapse(c.node,c.offset),f.collapsed||(e.removeAllRanges(),e.addRange(f))):(e.removeAllRanges(),e.addRange(f)),m&&null==e.anchorNode?e.addRange(m):r&&this.startGracePeriod()),this.rememberSelection();}else e.removeAllRanges();}}},$a.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0;});},20);},$a.prototype.showMultipleSelections=function(e){L(this.cm.display.cursorDiv,e.cursors),L(this.cm.display.selectionDiv,e.selection);},$a.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset;},$a.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return A(this.div,t);},$a.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus());},$a.prototype.blur=function(){this.div.blur();},$a.prototype.getField=function(){return this.div;},$a.prototype.supportsTouch=function(){return!0;},$a.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():ti(this.cm,function(){return e.cm.curOp.selectionChanged=!0;}),this.polling.set(this.cm.options.pollInterval,function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t));});},$a.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset;},$a.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(y&&d&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode){if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;}return!1;}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var r=Ba(t,e.anchorNode,e.anchorOffset),n=Ba(t,e.focusNode,e.focusOffset);r&&n&&ti(t,function(){to(t.doc,Mi(r,n),H),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0);});}}},$a.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,r,n=this.cm,i=n.display,o=n.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>n.firstLine()&&(a=rt(a.line-1,Ke(n.doc,a.line-1).length)),s.ch==Ke(n.doc,s.line).text.length&&s.line<n.lastLine()&&(s=rt(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=pn(n,a.line))?(t=Qe(i.view[0].line),r=i.view[0].node):(t=Qe(i.view[e].line),r=i.view[e-1].node.nextSibling);var l,c,u=pn(n,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=Qe(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!r)return!1;for(var d=n.doc.splitLines(function(e,t,r,n,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e;};}function u(){a&&(o+=s,l&&(o+=s),a=l=!1);}function d(e){e&&(u(),o+=e);}function p(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(r)return void d(r);var o,f=t.getAttribute("cm-marker");if(f){var m=e.findMarks(rt(n,0),rt(i+1,0),c(+f));return void(m.length&&(o=m[0].find(0))&&d(Ze(e.doc,o.from,o.to).join(s)));}if("false"==t.getAttribute("contenteditable"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&u();for(var g=0;g<t.childNodes.length;g++){p(t.childNodes[g]);}/^(pre|p)$/i.test(t.nodeName)&&(l=!0),h&&(a=!0);}else 3==t.nodeType&&d(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));}for(;p(t),t!=r;){t=t.nextSibling,l=!1;}return o;}(n,r,c,t,l)),p=Ze(n.doc,rt(t,0),rt(l,Ke(n.doc,l).text.length));d.length>1&&p.length>1;){if(X(d)==X(p))d.pop(),p.pop(),l--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),t++;}}for(var f=0,m=0,h=d[0],g=p[0],y=Math.min(h.length,g.length);f<y&&h.charCodeAt(f)==g.charCodeAt(f);){++f;}for(var v=X(d),b=X(p),x=Math.min(v.length-(1==d.length?f:0),b.length-(1==p.length?f:0));m<x&&v.charCodeAt(v.length-m-1)==b.charCodeAt(b.length-m-1);){++m;}if(1==d.length&&1==p.length&&t==a.line)for(;f&&f>a.ch&&v.charCodeAt(v.length-m-1)==b.charCodeAt(b.length-m-1);){f--,m++;}d[d.length-1]=v.slice(0,v.length-m).replace(/^\u200b+/,""),d[0]=d[0].slice(f).replace(/\u200b+$/,"");var k=rt(t,f),w=rt(l,p.length?X(p).length-m:0);return d.length>1||d[0]||nt(k,w)?(yo(n.doc,d,k,w,"+input"),!0):void 0;},$a.prototype.ensurePolled=function(){this.forceCompositionEnd();},$a.prototype.reset=function(){this.forceCompositionEnd();},$a.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus());},$a.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null;}e.updateFromDOM();},80));},$a.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||ti(this.cm,function(){return fn(e.cm);});},$a.prototype.setUneditable=function(e){e.contentEditable="false";},$a.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ri(this.cm,Ia)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0));},$a.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e);},$a.prototype.onContextMenu=function(){},$a.prototype.resetPosition=function(){},$a.prototype.needsContentAttribute=!0;var Ga=function Ga(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new R(),this.hasSelection=!1,this.composing=null;};Ga.prototype.init=function(e){var t=this,r=this,n=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ye(n,e)){if(n.somethingSelected())Na({lineWise:!1,text:n.getSelections()});else{if(!n.options.lineWiseCopyCut)return;var t=ja(n);Na({lineWise:!0,text:t.text}),"cut"==e.type?n.setSelections(t.ranges,null,H):(r.prevInput="",i.value=t.text.join("\n"),P(i));}"cut"==e.type&&(n.state.cutIncoming=+new Date());}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),fe(i,"input",function(){s&&l>=9&&t.hasSelection&&(t.hasSelection=null),r.poll();}),fe(i,"paste",function(e){ye(n,e)||Da(e,n)||(n.state.pasteIncoming=+new Date(),r.fastPoll());}),fe(i,"cut",o),fe(i,"copy",o),fe(e.scroller,"paste",function(t){if(!_r(e,t)&&!ye(n,t)){if(!i.dispatchEvent)return n.state.pasteIncoming=+new Date(),void r.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o);}}),fe(e.lineSpace,"selectstart",function(t){_r(e,t)||ke(t);}),fe(i,"compositionstart",function(){var e=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})};}),fe(i,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null);});},Ga.prototype.createField=function(e){this.wrapper=Fa(),this.textarea=this.wrapper.firstChild;},Ga.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label");},Ga.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=bn(e);if(e.options.moveInputWithCursor){var i=Kr(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left));}return n;},Ga.prototype.showSelection=function(e){var t=this.cm.display;L(t.cursorDiv,e.cursors),L(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px");},Ga.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&P(this.textarea),s&&l>=9&&(this.hasSelection=r);}else e||(this.prevInput=this.textarea.value="",s&&l>=9&&(this.hasSelection=null));}},Ga.prototype.getField=function(){return this.textarea;},Ga.prototype.supportsTouch=function(){return!1;},Ga.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||N()!=this.textarea))try{this.textarea.focus();}catch(e){}},Ga.prototype.blur=function(){this.textarea.blur();},Ga.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0;},Ga.prototype.receivedFocus=function(){this.slowPoll();},Ga.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll();});},Ga.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function r(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,r));});},Ga.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ie(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(s&&l>=9&&this.hasSelection===i||b&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||n||(n="​"),8666==o)return this.reset(),this.cm.execCommand("undo");}for(var a=0,c=Math.min(n.length,i.length);a<c&&n.charCodeAt(a)==i.charCodeAt(a);){++a;}return ti(t,function(){Ia(t,i.slice(a),n.length-a,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?r.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;},Ga.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1);},Ga.prototype.onKeyPress=function(){s&&l>=9&&(this.hasSelection=null),this.fastPoll();},Ga.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=dn(r,e),a=n.scroller.scrollTop;if(o&&!p){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(o)&&ri(r,to)(r.doc,Mi(o),H);var u,d=i.style.cssText,f=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(s?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",c&&(u=window.scrollY),n.input.focus(),c&&window.scrollTo(null,u),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=g,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),s&&l>=9&&h(),S?(Se(e),fe(window,"mouseup",function e(){he(window,"mouseup",e),setTimeout(g,20);})):setTimeout(g,50);}function h(){if(null!=i.selectionStart){var e=r.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,n.selForContextMenu=r.doc.sel;}}function g(){if(t.contextMenuPending==g&&(t.contextMenuPending=!1,t.wrapper.style.cssText=f,i.style.cssText=d,s&&l<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=a),null!=i.selectionStart)){(!s||s&&l<9)&&h();var e=0;n.detectingSelectAll=setTimeout(function o(){n.selForContextMenu==r.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?ri(r,co)(r):e++<10?n.detectingSelectAll=setTimeout(o,500):(n.selForContextMenu=null,n.input.reset());},200);}}},Ga.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e;},Ga.prototype.setUneditable=function(){},Ga.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function r(r,n,i,o){e.defaults[r]=n,i&&(t[r]=o?function(e,t,r){r!=Sa&&i(e,t,r);}:i);}e.defineOption=r,e.Init=Sa,r("value","",function(e,t){return e.setValue(t);},!0),r("mode",null,function(e,t){e.doc.modeOption=t,Ai(e);},!0),r("indentUnit",2,Ai,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,function(e){Ni(e),Wr(e),fn(e);},!0),r("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,r.push(rt(n,o));}n++;});for(var i=r.length-1;i>=0;i--){yo(e.doc,t,r[i],rt(r[i].line,r[i].ch+t.length));}}}),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=Sa&&e.refresh();}),r("specialCharPlaceholder",er,function(e){return e.refresh();},!0),r("electricChars",!0),r("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor");},!0),r("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t;},!0),r("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t;},!0),r("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t;},!0),r("rtlMoveVisually",!k),r("wholeLineUpdateBefore",!0),r("theme","default",function(e){_a(e),yi(e);},!0),r("keyMap","default",function(e,t,r){var n=Qo(t),i=r!=Sa&&Qo(r);i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null);}),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Ea,!0),r("gutters",[],function(e,t){e.display.gutterSpecs=hi(t,e.options.lineNumbers),yi(e);},!0),r("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?ln(e.display)+"px":"0",e.refresh();},!0),r("coverGutterNextToScrollbar",!1,function(e){return Un(e);},!0),r("scrollbarStyle","native",function(e){Vn(e),Un(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft);},!0),r("lineNumbers",!1,function(e,t){e.display.gutterSpecs=hi(e.options.gutters,t),yi(e);},!0),r("firstLineNumber",1,yi,!0),r("lineNumberFormatter",function(e){return e;},yi,!0),r("showCursorWhenSelecting",!1,vn,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,function(e,t){"nocursor"==t&&(Mn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t);}),r("screenReaderLabel",null,function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t);}),r("disableInput",!1,function(e,t){t||e.display.input.reset();},!0),r("dragDrop",!0,Ma),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,vn,!0),r("singleCursorHeightPerLine",!0,vn,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,Ni,!0),r("addModeClass",!1,Ni,!0),r("pollInterval",100),r("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t;}),r("historyEventDelay",1250),r("viewportMargin",10,function(e){return e.refresh();},!0),r("maxHighlightLength",1e4,Ni,!0),r("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition();}),r("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||"";}),r("autofocus",null),r("direction","ltr",function(e,t){return e.doc.setDirection(t);},!0),r("phrases",null);}(La),function(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function focus(){window.focus(),this.display.input.focus();},setOption:function setOption(e,r){var n=this.options,i=n[e];n[e]==r&&"mode"!=e||(n[e]=r,t.hasOwnProperty(e)&&ri(this,t[e])(this,r,i),ge(this,"optionChange",this,e));},getOption:function getOption(e){return this.options[e];},getDoc:function getDoc(){return this.doc;},addKeyMap:function addKeyMap(e,t){this.state.keyMaps[t?"push":"unshift"](Qo(e));},removeKeyMap:function removeKeyMap(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r){if(t[r]==e||t[r].name==e)return t.splice(r,1),!0;}},addOverlay:ni(function(t,r){var n=t.token?t:e.getMode(this.options,t);if(n.startState)throw new Error("Overlays may not be stateful.");!function(e,t,r){for(var n=0,i=r(t);n<e.length&&r(e[n])<=i;){n++;}e.splice(n,0,t);}(this.state.overlays,{mode:n,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},function(e){return e.priority;}),this.state.modeGen++,fn(this);}),removeOverlay:ni(function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var n=t[r].modeSpec;if(n==e||"string"==typeof e&&n.name==e)return t.splice(r,1),this.state.modeGen++,void fn(this);}}),indentLine:ni(function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),et(this.doc,e)&&Oa(this,e,t,r);}),indentSelection:ni(function(e){for(var t=this.doc.sel.ranges,r=-1,n=0;n<t.length;n++){var i=t[n];if(i.empty())i.head.line>r&&(Oa(this,i.head.line,e,!0),r=i.head.line,n==this.doc.sel.primIndex&&Nn(this));else{var o=i.from(),a=i.to(),s=Math.max(r,o.line);r=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<r;++l){Oa(this,l,e);}var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[n].from().ch>0&&Qi(this.doc,n,new Ci(o,c[n].to()),H);}}}),getTokenAt:function getTokenAt(e,t){return xt(this,e,t);},getLineTokens:function getLineTokens(e,t){return xt(this,rt(e),t,!0);},getTokenTypeAt:function getTokenTypeAt(e){e=ct(this.doc,e);var t,r=mt(this,Ke(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var a=n+i>>1;if((a?r[2*a-1]:0)>=o)i=a;else{if(!(r[2*a+1]<o)){t=r[2*a+2];break;}n=a+1;}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1);},getModeAt:function getModeAt(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r;},getHelper:function getHelper(e,t){return this.getHelpers(e,t)[0];},getHelpers:function getHelpers(e,t){var n=[];if(!r.hasOwnProperty(t))return n;var i=r[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&n.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&n.push(s);}else o.helperType&&i[o.helperType]?n.push(i[o.helperType]):i[o.name]&&n.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==W(n,c.val)&&n.push(c.val);}return n;},getStateAfter:function getStateAfter(e,t){var r=this.doc;return ht(this,(e=lt(r,null==e?r.first+r.size-1:e))+1,t).state;},cursorCoords:function cursorCoords(e,t){var r=this.doc.sel.primary();return Kr(this,null==e?r.head:"object"==a(e)?ct(this.doc,e):e?r.from():r.to(),t||"page");},charCoords:function charCoords(e,t){return Gr(this,ct(this.doc,e),t||"page");},coordsChar:function coordsChar(e,t){return Yr(this,(e=Vr(this,e,t||"page")).left,e.top);},lineAtHeight:function lineAtHeight(e,t){return e=Vr(this,{top:e,left:0},t||"page").top,Je(this.doc,e+this.display.viewOffset);},heightAtLine:function heightAtLine(e,t,r){var n,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),n=Ke(this.doc,e);}else n=e;return Br(this,n,{top:0,left:0},t||"page",r||i).top+(i?this.doc.height-Bt(n):0);},defaultTextHeight:function defaultTextHeight(){return on(this.display);},defaultCharWidth:function defaultCharWidth(){return an(this.display);},getViewport:function getViewport(){return{from:this.display.viewFrom,to:this.display.viewTo};},addWidget:function addWidget(e,t,r,n,i){var o,a,s,l=this.display,c=(e=Kr(this,ct(this.doc,e))).bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==n)c=e.top;else if("above"==n||"near"==n){var d=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>d)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=d&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth);}t.style.top=c+"px",t.style.left=t.style.right="","right"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?u=0:"middle"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),r&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=On(o,a)).scrollTop&&jn(o,s.scrollTop),null!=s.scrollLeft&&Fn(o,s.scrollLeft));},triggerOnKeyDown:ni(pa),triggerOnKeyPress:ni(ma),triggerOnKeyUp:fa,triggerOnMouseDown:ni(va),execCommand:function execCommand(e){if(na.hasOwnProperty(e))return na[e].call(null,this);},triggerElectric:ni(function(e){Pa(this,e);}),findPosH:function findPosH(e,t,r,n){var i=1;t<0&&(i=-1,t=-t);for(var o=ct(this.doc,e),a=0;a<t&&!(o=Ra(this.doc,o,i,r,n)).hitSide;++a){;}return o;},moveH:ni(function(e,t){var r=this;this.extendSelectionsBy(function(n){return r.display.shift||r.doc.extend||n.empty()?Ra(r.doc,n.head,e,t,r.options.rtlMoveVisually):e<0?n.from():n.to();},V);}),deleteH:ni(function(e,t){var r=this.doc.sel,n=this.doc;r.somethingSelected()?n.replaceSelection("",null,"+delete"):Jo(this,function(r){var i=Ra(n,r.head,e,t,!1);return e<0?{from:i,to:r.head}:{from:r.head,to:i};});}),findPosV:function findPosV(e,t,r,n){var i=1,o=n;t<0&&(i=-1,t=-t);for(var a=ct(this.doc,e),s=0;s<t;++s){var l=Kr(this,a,"div");if(null==o?o=l.left:l.left=o,(a=Wa(this,l,i,r)).hitSide)break;}return a;},moveV:ni(function(e,t){var r=this,n=this.doc,i=[],o=!this.display.shift&&!n.extend&&n.sel.somethingSelected();if(n.extendSelectionsBy(function(a){if(o)return e<0?a.from():a.to();var s=Kr(r,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Wa(r,s,e,t);return"page"==t&&a==n.sel.primary()&&An(r,Gr(r,l,"div").top-s.top),l;},V),i.length)for(var a=0;a<n.sel.ranges.length;a++){n.sel.ranges[a].goalColumn=i[a];}}),findWordAt:function findWordAt(e){var t=Ke(this.doc,e.line).text,r=e.ch,n=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&n!=t.length||!r?++n:--r;for(var o=t.charAt(r),a=re(o,i)?function(e){return re(e,i);}:/\s/.test(o)?function(e){return /\s/.test(e);}:function(e){return!/\s/.test(e)&&!re(e);};r>0&&a(t.charAt(r-1));){--r;}for(;n<t.length&&a(t.charAt(n));){++n;}}return new Ci(rt(e.line,r),rt(e.line,n));},toggleOverwrite:function toggleOverwrite(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?I(this.display.cursorDiv,"CodeMirror-overwrite"):M(this.display.cursorDiv,"CodeMirror-overwrite"),ge(this,"overwriteToggle",this,this.state.overwrite));},hasFocus:function hasFocus(){return this.display.input.getField()==N();},isReadOnly:function isReadOnly(){return!(!this.options.readOnly&&!this.doc.cantEdit);},scrollTo:ni(function(e,t){In(this,e,t);}),getScrollInfo:function getScrollInfo(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Mr(this)-this.display.barHeight,width:e.scrollWidth-Mr(this)-this.display.barWidth,clientHeight:Lr(this),clientWidth:Er(this)};},scrollIntoView:ni(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:rt(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Dn(e),e.curOp.scrollToPos=t;}(this,e):Pn(this,e.from,e.to,e.margin);}),setSize:ni(function(e,t){var r=this,n=function n(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e;};null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&Rr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++){if(e.widgets[t].noHScroll){mn(r,i,"widget");break;}}++i;}),this.curOp.forceUpdate=!0,ge(this,"refresh",this);}),operation:function operation(e){return ti(this,e);},startOperation:function startOperation(){return Kn(this);},endOperation:function endOperation(){return Zn(this);},refresh:ni(function(){var e=this.display.cachedTextHeight;fn(this),this.curOp.forceUpdate=!0,Wr(this),In(this,this.doc.scrollLeft,this.doc.scrollTop),di(this.display),(null==e||Math.abs(e-on(this.display))>.5||this.options.lineWrapping)&&un(this),ge(this,"refresh",this);}),swapDoc:ni(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),ji(this,e),Wr(this),this.display.input.reset(),In(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,cr(this,"swapDoc",this,t),t;}),phrase:function phrase(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e;},getInputField:function getInputField(){return this.display.input.getField();},getWrapperElement:function getWrapperElement(){return this.display.wrapper;},getScrollerElement:function getScrollerElement(){return this.display.scroller;},getGutterElement:function getGutterElement(){return this.display.gutters;}},xe(e),e.registerHelper=function(t,n,i){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][n]=i;},e.registerGlobalHelper=function(t,n,i,o){e.registerHelper(t,n,o),r[t]._global.push({pred:i,val:o});};}(La);var Ka="iter insert remove copy getEditor constructor".split(" ");for(var Za in No.prototype){No.prototype.hasOwnProperty(Za)&&W(Ka,Za)<0&&(La.prototype[Za]=function(e){return function(){return e.apply(this.doc,arguments);};}(No.prototype[Za]));}return xe(No),La.inputStyles={textarea:Ga,contenteditable:$a},La.defineMode=function(e){La.defaults.mode||"null"==e||(La.defaults.mode=e),Fe.apply(this,arguments);},La.defineMIME=function(e,t){qe[e]=t;},La.defineMode("null",function(){return{token:function token(e){return e.skipToEnd();}};}),La.defineMIME("text/plain","null"),La.defineExtension=function(e,t){La.prototype[e]=t;},La.defineDocExtension=function(e,t){No.prototype[e]=t;},La.fromTextArea=function(e,t){if((t=t?q(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=N();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body;}function n(){e.value=s.getValue();}var i;if(e.form&&(fe(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=a;};}catch(e){}}t.finishInit=function(r){r.save=n,r.getTextArea=function(){return e;},r.toTextArea=function(){r.toTextArea=isNaN,n(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(he(e.form,"submit",n),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i));};},e.style.display="none";var s=La(function(t){return e.parentNode.insertBefore(t,e.nextSibling);},t);return s;},function(e){e.off=he,e.on=fe,e.wheelEventPixels=wi,e.Doc=No,e.splitLines=Ne,e.countColumn=F,e.findColumn=G,e.isWordChar=te,e.Pass=U,e.signal=ge,e.Line=Kt,e.changeEnd=Ei,e.scrollbarModel=Bn,e.Pos=rt,e.cmpPos=nt,e.modes=je,e.mimeModes=qe,e.resolveMode=Re,e.getMode=We,e.modeExtensions=$e,e.extendMode=Ue,e.copyState=He,e.startState=Ve,e.innerMode=Be,e.commands=na,e.keyMap=Bo,e.keyName=Yo,e.isModifierKey=Zo,e.lookupKey=Ko,e.normalizeKeyMap=Go,e.StringStream=Ge,e.SharedTextMarker=Lo,e.TextMarker=Mo,e.LineWidget=So,e.e_preventDefault=ke,e.e_stopPropagation=we,e.e_stop=Se,e.addClass=I,e.contains=A,e.rmClass=M,e.keyNames=Wo;}(La),La.version="5.54.0",La;},"object"===a(t)?e.exports=o():void 0===(i="function"==typeof(n=o)?n.call(t,r,t,e):n)||(e.exports=i);},1736:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.info=n,this.align=i,this.prev=o;}function r(e,r,n,i){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new t(o,r,n,i,null,e.context);}function n(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}function i(e,t,r){return"variable"==t.prevToken||"type"==t.prevToken||!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,r))||!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0;}function o(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev;}}function a(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}function s(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t);}e.defineMode("clike",function(a,l){var c,u,d=a.indentUnit,p=l.statementIndentUnit||d,f=l.dontAlignCalls,m=l.keywords||{},h=l.types||{},g=l.builtin||{},y=l.blockKeywords||{},v=l.defKeywords||{},b=l.atoms||{},x=l.hooks||{},k=l.multiLineStrings,w=!1!==l.indentStatements,_=!1!==l.indentSwitch,S=l.namespaceSeparator,C=l.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,T=l.numberStart||/[\d\.]/,M=l.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,E=l.isOperatorChar||/[+\-*&%=<>!?|\/]/,L=l.isIdentifierChar||/[\w\$_\xa1-\uffff]/,z=l.isReservedIdentifier||!1;function O(e,t){var r,n=e.next();if(x[n]){var i=x[n](e,t);if(!1!==i)return i;}if('"'==n||"'"==n)return t.tokenize=(r=n,function(e,t){for(var n,i=!1,o=!1;null!=(n=e.next());){if(n==r&&!i){o=!0;break;}i=!i&&"\\"==n;}return(o||!i&&!k)&&(t.tokenize=null),"string";}),t.tokenize(e,t);if(C.test(n))return c=n,null;if(T.test(n)){if(e.backUp(1),e.match(M))return"number";e.next();}if("/"==n){if(e.eat("*"))return t.tokenize=A,A(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";}if(E.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(E);){;}return"operator";}if(e.eatWhile(L),S)for(;e.match(S);){e.eatWhile(L);}var o=e.current();return s(m,o)?(s(y,o)&&(c="newstatement"),s(v,o)&&(u=!0),"keyword"):s(h,o)?"type":s(g,o)||z&&z(o)?(s(y,o)&&(c="newstatement"),"builtin"):s(b,o)?"atom":"variable";}function A(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break;}n="*"==r;}return"comment";}function N(e,t){l.typeFirstDefinitions&&e.eol()&&o(t.context)&&(t.typeAtEndOfLine=i(e,t,e.pos));}return{startState:function startState(e){return{tokenize:null,context:new t((e||0)-d,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null};},token:function token(e,t){var a=t.context;if(e.sol()&&(null==a.align&&(a.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return N(e,t),null;c=u=null;var s=(t.tokenize||O)(e,t);if("comment"==s||"meta"==s)return s;if(null==a.align&&(a.align=!0),";"==c||":"==c||","==c&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;){n(t);}else if("{"==c)r(t,e.column(),"}");else if("["==c)r(t,e.column(),"]");else if("("==c)r(t,e.column(),")");else if("}"==c){for(;"statement"==a.type;){a=n(t);}for("}"==a.type&&(a=n(t));"statement"==a.type;){a=n(t);}}else c==a.type?n(t):w&&(("}"==a.type||"top"==a.type)&&";"!=c||"statement"==a.type&&"newstatement"==c)&&r(t,e.column(),"statement",e.current());if("variable"==s&&("def"==t.prevToken||l.typeFirstDefinitions&&i(e,t,e.start)&&o(t.context)&&e.match(/^\s*\(/,!1))&&(s="def"),x.token){var d=x.token(e,t,s);void 0!==d&&(s=d);}return"def"==s&&!1===l.styleDefs&&(s="variable"),t.startOfLine=!1,t.prevToken=u?"def":s||c,N(e,t),s;},indent:function indent(t,r){if(t.tokenize!=O&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var n=t.context,i=r&&r.charAt(0),o=i==n.type;if("statement"==n.type&&"}"==i&&(n=n.prev),l.dontIndentStatements)for(;"statement"==n.type&&l.dontIndentStatements.test(n.info);){n=n.prev;}if(x.indent){var a=x.indent(t,n,r,d);if("number"==typeof a)return a;}var s=n.prev&&"switch"==n.prev.info;if(l.allmanIndentation&&/[{(]/.test(i)){for(;"top"!=n.type&&"}"!=n.type;){n=n.prev;}return n.indented;}return"statement"==n.type?n.indented+("{"==i?0:p):!n.align||f&&")"==n.type?")"!=n.type||o?n.indented+(o?0:d)+(o||!s||/^(?:case|default)\b/.test(r)?0:d):n.indented+p:n.column+(o?0:1);},electricInput:_?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"};});var l="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",c="alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq",u="bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available",d="FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT",p=a("int long char short double float unsigned signed void bool"),f=a("SEL instancetype id Class Protocol BOOL");function m(e){return s(p,e)||/.+_t$/.test(e);}function h(e){return m(e)||s(f,e);}var g="case do else for if switch while struct enum union",y="struct enum union";function v(e,t){if(!t.startOfLine)return!1;for(var r,n=null;r=e.peek();){if("\\"==r&&e.match(/^.$/)){n=v;break;}if("/"==r&&e.match(/^\/[\/\*]/,!1))break;e.next();}return t.tokenize=n,"meta";}function b(e,t){return"type"==t.prevToken&&"type";}function x(e){return!(!e||e.length<2||"_"!=e[0]||"_"!=e[1]&&e[1]===e[1].toLowerCase());}function k(e){return e.eatWhile(/[\w\.']/),"number";}function w(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var r=e.match(/"([^\s\\()]{0,16})\(/);return!!r&&(t.cpp11RawStringDelim=r[1],t.tokenize=C,C(e,t));}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1);}function _(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2];}function S(e,t){for(var r;null!=(r=e.next());){if('"'==r&&!e.eat('"')){t.tokenize=null;break;}}return"string";}function C(e,t){var r=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+r+'"'))?t.tokenize=null:e.skipToEnd(),"string";}function T(t,r){"string"==typeof t&&(t=[t]);var n=[];function i(e){if(e)for(var t in e){e.hasOwnProperty(t)&&n.push(t);}}i(r.keywords),i(r.types),i(r.builtin),i(r.atoms),n.length&&(r.helperType=t[0],e.registerHelper("hintWords",t[0],n));for(var o=0;o<t.length;++o){e.defineMIME(t[o],r);}}function M(e,t){for(var r=!1;!e.eol();){if(!r&&e.match('"""')){t.tokenize=null;break;}r="\\"==e.next()&&!r;}return"string";}function E(e){return function(t,r){for(var n;n=t.next();){if("*"==n&&t.eat("/")){if(1==e){r.tokenize=null;break;}return r.tokenize=E(e-1),r.tokenize(t,r);}if("/"==n&&t.eat("*"))return r.tokenize=E(e+1),r.tokenize(t,r);}return"comment";};}T(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:a(l),types:m,blockKeywords:a(g),defKeywords:a(y),typeFirstDefinitions:!0,atoms:a("NULL true false"),isReservedIdentifier:x,hooks:{"#":v,"*":b},modeProps:{fold:["brace","include"]}}),T(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:a(l+" "+c),types:m,blockKeywords:a(g+" class try catch"),defKeywords:a(y+" class namespace"),typeFirstDefinitions:!0,atoms:a("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:x,hooks:{"#":v,"*":b,u:w,U:w,L:w,R:w,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function token(e,t,r){if("variable"==r&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&_(e.current()))return"def";}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),T("text/x-java",{name:"clike",keywords:a("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:a("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:a("catch class do else finally for if switch try while"),defKeywords:a("class interface enum @interface"),typeFirstDefinitions:!0,atoms:a("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function _(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta");}},modeProps:{fold:["brace","import"]}}),T("text/x-csharp",{name:"clike",keywords:a("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:a("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:a("catch class do else finally for foreach if struct switch try while"),defKeywords:a("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"@":function _(e,t){return e.eat('"')?(t.tokenize=S,S(e,t)):(e.eatWhile(/[\w\$_]/),"meta");}}}),T("text/x-scala",{name:"clike",keywords:a("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:a("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:a("catch class enum do else finally for forSome if match switch try while"),defKeywords:a("class enum def object package trait type val var"),atoms:a("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function _(e){return e.eatWhile(/[\w\$_]/),"meta";},'"':function _(e,t){return!!e.match('""')&&(t.tokenize=M,t.tokenize(e,t));},"'":function _(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom";},"=":function _(e,r){var n=r.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(r.context=new t(n.indented,n.column,n.type,n.info,null,n.prev),"operator");},"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=E(1),t.tokenize(e,t));}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),T("text/x-kotlin",{name:"clike",keywords:a("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:a("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:a("catch class do else finally for if where try while enum"),defKeywords:a("class val var object interface fun"),atoms:a("true false null this"),hooks:{"@":function _(e){return e.eatWhile(/[\w\$_]/),"meta";},"*":function _(e,t){return"."==t.prevToken?"variable":"operator";},'"':function _(e,t){var r;return t.tokenize=(r=e.match('""'),function(e,t){for(var n,i=!1,o=!1;!e.eol();){if(!r&&!i&&e.match('"')){o=!0;break;}if(r&&e.match('"""')){o=!0;break;}n=e.next(),!i&&"$"==n&&e.match("{")&&e.skipTo("}"),i=!i&&"\\"==n&&!r;}return!o&&r||(t.tokenize=null),"string";}),t.tokenize(e,t);},"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=E(1),t.tokenize(e,t));},indent:function indent(e,t,r,n){var i=r&&r.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=r?"operator"==e.prevToken&&"}"!=r&&"}"!=e.context.type||"variable"==e.prevToken&&"."==i||("}"==e.prevToken||")"==e.prevToken)&&"."==i?2*n+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(r||"").charAt(0)?0:n):void 0:e.indented;}},modeProps:{closeBrackets:{triples:'"'}}}),T(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:a("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:a("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:a("for while do if else struct"),builtin:a("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:a("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":v},modeProps:{fold:["brace","include"]}}),T("text/x-nesc",{name:"clike",keywords:a(l+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:m,blockKeywords:a(g),atoms:a("null true false"),hooks:{"#":v},modeProps:{fold:["brace","include"]}}),T("text/x-objectivec",{name:"clike",keywords:a(l+" "+u),types:h,builtin:a(d),blockKeywords:a(g+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:a(y+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:a("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:x,hooks:{"#":v,"*":b},modeProps:{fold:["brace","include"]}}),T("text/x-objectivec++",{name:"clike",keywords:a(l+" "+u+" "+c),types:h,builtin:a(d),blockKeywords:a(g+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:a(y+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:a("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:x,hooks:{"#":v,"*":b,u:w,U:w,L:w,R:w,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function token(e,t,r){if("variable"==r&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&_(e.current()))return"def";}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),T("text/x-squirrel",{name:"clike",keywords:a("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:m,blockKeywords:a("case catch class else for foreach if switch try while"),defKeywords:a("function local class"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"#":v},modeProps:{fold:["brace","include"]}});var L=null;function z(e){return function(t,r){for(var n,i=!1,o=!1;!t.eol();){if(!i&&t.match('"')&&("single"==e||t.match('""'))){o=!0;break;}if(!i&&t.match("``")){L=z(e),o=!0;break;}n=t.next(),i="single"==e&&!i&&"\\"==n;}return o&&(r.tokenize=null),"string";};}T("text/x-ceylon",{name:"clike",keywords:a("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function types(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase();},blockKeywords:a("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:a("class dynamic function interface module object package value"),builtin:a("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:a("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function _(e){return e.eatWhile(/[\w\$_]/),"meta";},'"':function _(e,t){return t.tokenize=z(e.match('""')?"triple":"single"),t.tokenize(e,t);},"`":function _(e,t){return!(!L||!e.match("`"))&&(t.tokenize=L,L=null,t.tokenize(e,t));},"'":function _(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom";},token:function token(e,t,r){if(("variable"==r||"type"==r)&&"."==t.prevToken)return"variable-2";}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},742:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("clojure",function(t){var r=["false","nil","true"],n=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],i=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"];e.registerHelper("hintWords","clojure",[].concat(r,n,i));var o=g(r),a=g(n),s=g(i),l=g(["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"]),c=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,u=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,d=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,p=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function f(e,t){if(e.eatSpace()||e.eat(","))return["space",null];if(e.match(u))return[null,"number"];if(e.match(d))return[null,"string-2"];if(e.eat(/^"/))return(t.tokenize=m)(e,t);if(e.eat(/^[(\[{]/))return["open","bracket"];if(e.eat(/^[)\]}]/))return["close","bracket"];if(e.eat(/^;/))return e.skipToEnd(),["space","comment"];if(e.eat(/^[#'@^`~]/))return[null,"meta"];var r=e.match(p),n=r&&r[0];return n?"comment"===n&&"("===t.lastToken?(t.tokenize=h)(e,t):y(n,o)||":"===n.charAt(0)?["symbol","atom"]:y(n,a)||y(n,s)?["symbol","keyword"]:"("===t.lastToken?["symbol","builtin"]:["symbol","variable"]:(e.next(),e.eatWhile(function(e){return!y(e,c);}),[null,"error"]);}function m(e,t){for(var r,n=!1;r=e.next();){if('"'===r&&!n){t.tokenize=f;break;}n=!n&&"\\"===r;}return[null,"string"];}function h(e,t){for(var r,n=1;r=e.next();){if(")"===r&&n--,"("===r&&n++,0===n){e.backUp(1),t.tokenize=f;break;}}return["space","comment"];}function g(e){for(var t={},r=0;r<e.length;++r){t[e[r]]=!0;}return t;}function y(e,t){return t instanceof RegExp?t.test(e):t instanceof Object?t.propertyIsEnumerable(e):void 0;}return{startState:function startState(){return{ctx:{prev:null,start:0,indentTo:0},lastToken:null,tokenize:f};},token:function token(e,r){e.sol()&&"number"!=typeof r.ctx.indentTo&&(r.ctx.indentTo=r.ctx.start+1);var n=r.tokenize(e,r),i=n[0],o=n[1],a=e.current();return"space"!==i&&("("===r.lastToken&&null===r.ctx.indentTo?"symbol"===i&&y(a,l)?r.ctx.indentTo=r.ctx.start+t.indentUnit:r.ctx.indentTo="next":"next"===r.ctx.indentTo&&(r.ctx.indentTo=e.column()),r.lastToken=a),"open"===i?r.ctx={prev:r.ctx,start:e.column(),indentTo:null}:"close"===i&&(r.ctx=r.ctx.prev||r.ctx),o;},indent:function indent(e){var t=e.ctx.indentTo;return"number"==typeof t?t:e.ctx.start+1;},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"};}),e.defineMIME("text/x-clojure","clojure"),e.defineMIME("text/x-clojurescript","clojure"),e.defineMIME("application/edn","clojure");},"object"===s(t)&&"object"===s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5239:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t={},r=0;r<e.length;++r){t[e[r].toLowerCase()]=!0;}return t;}e.defineMode("css",function(t,r){var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var i,o,a=t.indentUnit,l=r.tokenHooks,c=r.documentTypes||{},u=r.mediaTypes||{},d=r.mediaFeatures||{},p=r.mediaValueKeywords||{},f=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},h=r.fontProperties||{},g=r.counterDescriptors||{},y=r.colorKeywords||{},v=r.valueKeywords||{},b=r.allowNested,x=r.lineComment,k=!0===r.supportsAtComponent;function w(e,t){return i=t,e;}function _(e,t){var r=e.next();if(l[r]){var n=l[r](e,t);if(!1!==n)return n;}return"@"==r?(e.eatWhile(/[\w\\\-]/),w("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?w(null,"compare"):'"'==r||"'"==r?(t.tokenize=S(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),w("atom","hash")):"!"==r?(e.match(/^\s*\w*/),w("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),w("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?w(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?w("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?w(null,r):e.match(/[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/.test(e.current().toLowerCase())&&(t.tokenize=C),w("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),w("property","word")):w(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),w("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?w("variable-2","variable-definition"):w("variable-2","variable")):e.match(/^\w+-/)?w("meta","meta"):void 0;}function S(e){return function(t,r){for(var n,i=!1;null!=(n=t.next());){if(n==e&&!i){")"==e&&t.backUp(1);break;}i=!i&&"\\"==n;}return(n==e||!i&&")"!=e)&&(r.tokenize=null),w("string","string");};}function C(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=S(")"),w(null,"(");}function T(e,t,r){this.type=e,this.indent=t,this.prev=r;}function M(e,t,r,n){return e.context=new T(r,t.indentation()+(!1===n?0:a),e.context),r;}function E(e){return e.context.prev&&(e.context=e.context.prev),e.context.type;}function L(e,t,r){return A[r.context.type](e,t,r);}function z(e,t,r,n){for(var i=n||1;i>0;i--){r.context=r.context.prev;}return L(e,t,r);}function O(e){var t=e.current().toLowerCase();o=v.hasOwnProperty(t)?"atom":y.hasOwnProperty(t)?"keyword":"variable";}var A={top:function top(e,t,r){if("{"==e)return M(r,t,"block");if("}"==e&&r.context.prev)return E(r);if(k&&/@component/i.test(e))return M(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return M(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return M(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return M(r,t,"at");if("hash"==e)o="builtin";else if("word"==e)o="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return M(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return M(r,t,"parens");}return r.context.type;},block:function block(e,t,r){if("word"==e){var n=t.current().toLowerCase();return f.hasOwnProperty(n)?(o="property","maybeprop"):m.hasOwnProperty(n)?(o="string-2","maybeprop"):b?(o=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(o+=" error","maybeprop");}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?A.top(e,t,r):(o="error","block");},maybeprop:function maybeprop(e,t,r){return":"==e?M(r,t,"prop"):L(e,t,r);},prop:function prop(e,t,r){if(";"==e)return E(r);if("{"==e&&b)return M(r,t,"propBlock");if("}"==e||"{"==e)return z(e,t,r);if("("==e)return M(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)O(t);else if("interpolation"==e)return M(r,t,"interpolation");}else o+=" error";return"prop";},propBlock:function propBlock(e,t,r){return"}"==e?E(r):"word"==e?(o="property","maybeprop"):r.context.type;},parens:function parens(e,t,r){return"{"==e||"}"==e?z(e,t,r):")"==e?E(r):"("==e?M(r,t,"parens"):"interpolation"==e?M(r,t,"interpolation"):("word"==e&&O(t),"parens");},pseudo:function pseudo(e,t,r){return"meta"==e?"pseudo":"word"==e?(o="variable-3",r.context.type):L(e,t,r);},documentTypes:function documentTypes(e,t,r){return"word"==e&&c.hasOwnProperty(t.current())?(o="tag",r.context.type):A.atBlock(e,t,r);},atBlock:function atBlock(e,t,r){if("("==e)return M(r,t,"atBlock_parens");if("}"==e||";"==e)return z(e,t,r);if("{"==e)return E(r)&&M(r,t,b?"block":"top");if("interpolation"==e)return M(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();o="only"==n||"not"==n||"and"==n||"or"==n?"keyword":u.hasOwnProperty(n)?"attribute":d.hasOwnProperty(n)?"property":p.hasOwnProperty(n)?"keyword":f.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":v.hasOwnProperty(n)?"atom":y.hasOwnProperty(n)?"keyword":"error";}return r.context.type;},atComponentBlock:function atComponentBlock(e,t,r){return"}"==e?z(e,t,r):"{"==e?E(r)&&M(r,t,b?"block":"top",!1):("word"==e&&(o="error"),r.context.type);},atBlock_parens:function atBlock_parens(e,t,r){return")"==e?E(r):"{"==e||"}"==e?z(e,t,r,2):A.atBlock(e,t,r);},restricted_atBlock_before:function restricted_atBlock_before(e,t,r){return"{"==e?M(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(o="variable","restricted_atBlock_before"):L(e,t,r);},restricted_atBlock:function restricted_atBlock(e,t,r){return"}"==e?(r.stateArg=null,E(r)):"word"==e?(o="@font-face"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock";},keyframes:function keyframes(e,t,r){return"word"==e?(o="variable","keyframes"):"{"==e?M(r,t,"top"):L(e,t,r);},at:function at(e,t,r){return";"==e?E(r):"{"==e||"}"==e?z(e,t,r):("word"==e?o="tag":"hash"==e&&(o="builtin"),"at");},interpolation:function interpolation(e,t,r){return"}"==e?E(r):"{"==e||";"==e?z(e,t,r):("word"==e?o="variable":"variable"!=e&&"("!=e&&")"!=e&&(o="error"),"interpolation");}};return{startState:function startState(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new T(n?"block":"top",e||0,null)};},token:function token(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||_)(e,t);return r&&"object"==s(r)&&(i=r[1],r=r[0]),o=r,"comment"!=i&&(t.state=A[t.state](i,e,t)),o;},indent:function indent(e,t){var r=e.context,n=t&&t.charAt(0),i=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(i=Math.max(0,r.indent-a)):i=(r=r.prev).indent),i;},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:x,fold:"brace"};});var r=["domain","regexp","url","url-prefix"],n=t(r),i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=t(i),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"],l=t(a),c=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],u=t(c),d=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","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-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","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","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","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"],p=t(d),f=["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","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","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"],m=t(f),h=t(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),g=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),y=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],v=t(y),b=["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","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","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","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","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","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","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","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","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","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","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","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","sub","subpixel-antialiased","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","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","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"],x=t(b),k=r.concat(i).concat(a).concat(c).concat(d).concat(f).concat(y).concat(b);function w(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break;}n="*"==r;}return["comment","comment"];}e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:n,mediaTypes:o,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:p,nonStandardPropertyKeywords:m,fontProperties:h,counterDescriptors:g,colorKeywords:v,valueKeywords:x,tokenHooks:{"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t));}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:p,nonStandardPropertyKeywords:m,colorKeywords:v,valueKeywords:x,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function _(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"];},":":function _(e){return!!e.match(/\s*\{/,!1)&&[null,null];},$:function $(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"];},"#":function _(e){return!!e.eat("{")&&[null,"interpolation"];}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:p,nonStandardPropertyKeywords:m,colorKeywords:v,valueKeywords:x,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function _(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(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)&&(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:o,mediaFeatures:l,propertyKeywords:p,nonStandardPropertyKeywords:m,fontProperties:h,counterDescriptors:g,colorKeywords:v,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t));}},name:"css",helperType:"gss"});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},6461:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}e.defineMode("d",function(t,r){var n,i=t.indentUnit,o=r.statementIndentUnit||i,a=r.keywords||{},s=r.builtin||{},l=r.blockKeywords||{},c=r.atoms||{},u=r.hooks||{},d=r.multiLineStrings,p=/[+\-*&%=<>!?|\/]/;function f(e,t){var r,i=e.next();if(u[i]){var o=u[i](e,t);if(!1!==o)return o;}if('"'==i||"'"==i||"`"==i)return t.tokenize=(r=i,function(e,t){for(var n,i=!1,o=!1;null!=(n=e.next());){if(n==r&&!i){o=!0;break;}i=!i&&"\\"==n;}return(o||!i&&!d)&&(t.tokenize=null),"string";}),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(i))return n=i,null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if("/"==i){if(e.eat("+"))return t.tokenize=h,h(e,t);if(e.eat("*"))return t.tokenize=m,m(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";}if(p.test(i))return e.eatWhile(p),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var f=e.current();return a.propertyIsEnumerable(f)?(l.propertyIsEnumerable(f)&&(n="newstatement"),"keyword"):s.propertyIsEnumerable(f)?(l.propertyIsEnumerable(f)&&(n="newstatement"),"builtin"):c.propertyIsEnumerable(f)?"atom":"variable";}function m(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break;}n="*"==r;}return"comment";}function h(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break;}n="+"==r;}return"comment";}function g(e,t,r,n,i){this.indented=e,this.column=t,this.type=r,this.align=n,this.prev=i;}function y(e,t,r){var n=e.indented;return e.context&&"statement"==e.context.type&&(n=e.context.indented),e.context=new g(n,t,r,null,e.context);}function v(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}return{startState:function startState(e){return{tokenize:null,context:new g((e||0)-i,0,"top",!1),indented:0,startOfLine:!0};},token:function token(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var i=(t.tokenize||f)(e,t);if("comment"==i||"meta"==i)return i;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=r.type){if("{"==n)y(t,e.column(),"}");else if("["==n)y(t,e.column(),"]");else if("("==n)y(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;){r=v(t);}for("}"==r.type&&(r=v(t));"statement"==r.type;){r=v(t);}}else n==r.type?v(t):(("}"==r.type||"top"==r.type)&&";"!=n||"statement"==r.type&&"newstatement"==n)&&y(t,e.column(),"statement");}else v(t);return t.startOfLine=!1,i;},indent:function indent(t,r){if(t.tokenize!=f&&null!=t.tokenize)return e.Pass;var n=t.context,a=r&&r.charAt(0);"statement"==n.type&&"}"==a&&(n=n.prev);var s=a==n.type;return"statement"==n.type?n.indented+("{"==a?0:o):n.align?n.column+(s?0:1):n.indented+(s?0:i);},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"};});var r="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";e.defineMIME("text/x-d",{name:"d",keywords:t("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+r),blockKeywords:t(r),builtin:t("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:t("exit failure success true false null"),hooks:{"@":function _(e,t){return e.eatWhile(/[\w\$_]/),"meta";}}});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},1702:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";var t="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required".split(" "),r="try catch finally do else for if switch while".split(" "),n="true false null".split(" "),i="void bool num int double dynamic var String Null Never".split(" ");function o(e){for(var t={},r=0;r<e.length;++r){t[e[r]]=!0;}return t;}function a(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize);}function s(e){return(e.interpolationStack||(e.interpolationStack=[])).pop();}function l(e,t,r,n){var i=!1;if(t.eat(e)){if(!t.eat(e))return"string";i=!0;}function o(t,r){for(var o=!1;!t.eol();){if(!n&&!o&&"$"==t.peek())return a(r),r.tokenize=c,"string";var s=t.next();if(s==e&&!o&&(!i||t.match(e+e))){r.tokenize=null;break;}o=!n&&!o&&"\\"==s;}return"string";}return r.tokenize=o,o(t,r);}function c(e,t){return e.eat("$"),e.eat("{")?t.tokenize=null:t.tokenize=u,null;}function u(e,t){return e.eatWhile(/[\w_]/),t.tokenize=s(t),"variable";}function d(e){return function(t,r){for(var n;n=t.next();){if("*"==n&&t.eat("/")){if(1==e){r.tokenize=null;break;}return r.tokenize=d(e-1),r.tokenize(t,r);}if("/"==n&&t.eat("*"))return r.tokenize=d(e+1),r.tokenize(t,r);}return"comment";};}e.defineMIME("application/dart",{name:"clike",keywords:o(t),blockKeywords:o(r),builtin:o(i),atoms:o(n),hooks:{"@":function _(e){return e.eatWhile(/[\w\$_\.]/),"meta";},"'":function _(e,t){return l("'",e,t,!1);},'"':function _(e,t){return l('"',e,t,!1);},r:function r(e,t){var r=e.peek();return("'"==r||'"'==r)&&l(e.next(),e,t,!0);},"}":function _(e,t){return function(e){return e.interpolationStack?e.interpolationStack.length:0;}(t)>0&&(t.tokenize=s(t),null);},"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=d(1),t.tokenize(e,t));},token:function token(e,t,r){if("variable"==r&&RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g").test(e.current()))return"variable-2";}}}),e.registerHelper("hintWords","application/dart",t.concat(n).concat(i)),e.defineMode("dart",function(t){return e.getMode(t,"application/dart");},"clike");},"object"==s(t)&&"object"==s(e)?a(r(9074),r(1736)):(i=[r(9074),r(1736)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5844:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("diff",function(){var e={"+":"positive","-":"negative","@":"meta"};return{token:function token(t){var r=t.string.search(/[\t ]+?$/);if(!t.sol()||0===r)return t.skipToEnd(),("error "+(e[t.string.charAt(0)]||"")).replace(/ $/,"");var n=e[t.peek()]||t.skipToEnd();return-1===r?t.skipToEnd():t.pos=r,n;}};}),e.defineMIME("text/x-diff","diff");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5855:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";var t="from",r=new RegExp("^(\\s*)\\b("+t+")\\b","i"),n=["run","cmd","entrypoint","shell"],i=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),o="expose",a=new RegExp("^(\\s*)("+o+")(\\s+)","i"),s="("+[t,o].concat(n).concat(["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"]).join("|")+")",l=new RegExp("^(\\s*)"+s+"(\\s*)(#.*)?$","i"),c=new RegExp("^(\\s*)"+s+"(\\s+)","i");e.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:r,token:[null,"keyword"],sol:!0,next:"from"},{regex:l,token:[null,"keyword",null,"error"],sol:!0},{regex:i,token:[null,"keyword",null],sol:!0,next:"array"},{regex:a,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:c,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],meta:{lineComment:"#"}}),e.defineMIME("text/x-dockerfile","dockerfile");},"object"==s(t)&&"object"==s(e)?a(r(9074),r(3740)):(i=[r(9074),r(3740)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},119:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMIME("text/x-erlang","erlang"),e.defineMode("erlang",function(t){var r=["-type","-spec","-export_type","-opaque"],n=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],i=/[\->,;]/,o=["->",";",","],a=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],s=/[\+\-\*\/<>=\|:!]/,l=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],c=/[<\(\[\{]/,u=["<<","(","[","{"],d=/[>\)\]\}]/,p=["}","]",")",">>"],f=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],m=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],h=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,g=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function y(e,t,r){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());){if(e.next(),w(e.current(),r))return!0;}e.backUp(e.current().length-1);}return!1;}function v(e,t,r){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());){e.next();}for(;0<e.current().length;){if(w(e.current(),r))return!0;e.backUp(1);}e.next();}return!1;}function b(e){return k(e,'"',"\\");}function x(e){return k(e,"'","\\");}function k(e,t,r){for(;!e.eol();){var n=e.next();if(n==t)return!0;n==r&&e.next();}return!1;}function w(e,t){return-1<t.indexOf(e);}function _(e,t,r){switch(function(e,t){"comment"!=t.type&&"whitespace"!=t.type&&(e.tokenStack=function(e,t){var r=e.length-1;return 0<r&&"record"===e[r].type&&"dot"===t.type?e.pop():0<r&&"group"===e[r].type?(e.pop(),e.push(t)):e.push(t),e;}(e.tokenStack,t),e.tokenStack=function(e){if(!e.length)return e;var t=e.length-1;if("dot"===e[t].type)return[];if(t>1&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return M(e,{g:["{"]});case"]":return M(e,{i:["["]});case")":return M(e,{i:["("]});case">>":return M(e,{i:["<<"]});case"end":return M(e,{i:["begin","case","fun","if","receive","try"]});case",":return M(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return M(e,{r:["when"],m:["try","if","case","receive"]});case";":return M(e,{E:["case","fun","if","receive","try","when"]});case"catch":return M(e,{e:["try"]});case"of":return M(e,{e:["case"]});case"after":return M(e,{e:["receive","try"]});default:return e;}}(e.tokenStack));}(e,function(e,t){return S(t.current(),t.column(),t.indentation(),e);}(r,t)),r){case"atom":case"boolean":return"atom";case"attribute":return"attribute";case"builtin":return"builtin";case"close_paren":case"colon":case"dot":case"open_paren":case"separator":default:return null;case"comment":return"comment";case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"variable-2";case"number":return"number";case"operator":return"operator";case"record":return"bracket";case"string":return"string";case"type":return"def";case"variable":return"variable";}}function S(e,t,r,n){return{token:e,column:t,indent:r,type:n};}function C(e){return S(e,0,0,e);}function T(e,t){var r=e.tokenStack.length,n=t||1;return!(r<n)&&e.tokenStack[r-n];}function M(e,t){for(var r in t){for(var n=e.length-1,i=t[r],o=n-1;-1<o;o--){if(w(e[o].token,i)){var a=e.slice(0,o);switch(r){case"m":return a.concat(e[o]).concat(e[n]);case"r":return a.concat(e[n]);case"i":return a;case"g":return a.concat(C("group"));case"E":case"e":return a.concat(e[o]);}}}}return"E"==r?[]:e;}function E(r,n){var i,o,a=t.indentUnit,s=O(o=n.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/))&&0===o.index?o[0]:"",l=T(r,1),c=T(r,2);return r.in_string||r.in_atom?e.Pass:c?"when"==l.token?l.column+a:"when"===s&&"function"===c.type?c.indent+a:"("===s&&"fun"===l.token?l.column+3:"catch"===s&&(i=L(r,["try"]))?i.column:w(s,["end","after","of"])?(i=L(r,["begin","case","fun","if","receive","try"]))?i.column:e.Pass:w(s,p)?(i=L(r,u))?i.column:e.Pass:w(l.token,[",","|","||"])||w(s,[",","|","||"])?(i=function(e){var t=e.tokenStack.slice(0,-1),r=z(t,"type",["open_paren"]);return!!O(t[r])&&t[r];}(r),i?i.column+i.token.length:a):"->"==l.token?w(c.token,["receive","case","if","try"])?c.column+a+a:c.column+a:w(l.token,u)?l.column+l.token.length:(i=function(e){var t=e.tokenStack,r=z(t,"type",["open_paren","separator","keyword"]),n=z(t,"type",["operator"]);return O(r)&&O(n)&&r<n?t[r+1]:!!O(r)&&t[r];}(r),O(i)?i.column+a:0):0;}function L(e,t){var r=e.tokenStack,n=z(r,"token",t);return!!O(r[n])&&r[n];}function z(e,t,r){for(var n=e.length-1;-1<n;n--){if(w(e[n][t],r))return n;}return!1;}function O(e){return!1!==e&&null!=e;}return{startState:function startState(){return{tokenStack:[],in_string:!1,in_atom:!1};},token:function token(e,t){return function(e,t){if(t.in_string)return t.in_string=!b(e),_(t,e,"string");if(t.in_atom)return t.in_atom=!x(e),_(t,e,"atom");if(e.eatSpace())return _(t,e,"whitespace");if(!T(t)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return w(e.current(),r)?_(t,e,"type"):_(t,e,"attribute");var k=e.next();if("%"==k)return e.skipToEnd(),_(t,e,"comment");if(":"==k)return _(t,e,"colon");if("?"==k)return e.eatSpace(),e.eatWhile(h),_(t,e,"macro");if("#"==k)return e.eatSpace(),e.eatWhile(h),_(t,e,"record");if("$"==k)return"\\"!=e.next()||e.match(g)?_(t,e,"number"):_(t,e,"error");if("."==k)return _(t,e,"dot");if("'"==k){if(!(t.in_atom=!x(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),_(t,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return _(t,e,"function");}return _(t,e,"atom");}if('"'==k)return t.in_string=!b(e),_(t,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(k))return e.eatWhile(h),_(t,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(k)){if(e.eatWhile(h),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),_(t,e,"fun");var S=e.current();return w(S,n)?_(t,e,"keyword"):w(S,a)?_(t,e,"operator"):e.match(/\s*\(/,!1)?!w(S,m)||":"==T(t).token&&"erlang"!=T(t,2).token?w(S,f)?_(t,e,"guard"):_(t,e,"function"):_(t,e,"builtin"):":"==function(e){var t=e.match(/([\n\s]+|%[^\n]*\n)*(.)/,!1);return t?t.pop():"";}(e)?_(t,e,"erlang"==S?"builtin":"function"):w(S,["true","false"])?_(t,e,"boolean"):_(t,e,"atom");}var C=/[0-9]/;return C.test(k)?(e.eatWhile(C),e.eat("#")?e.eatWhile(/[0-9a-zA-Z]/)||e.backUp(1):e.eat(".")&&(e.eatWhile(C)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(C)||e.backUp(2):e.eatWhile(C)||e.backUp(1)):e.backUp(1)),_(t,e,"number")):y(e,c,u)?_(t,e,"open_paren"):y(e,d,p)?_(t,e,"close_paren"):v(e,i,o)?_(t,e,"separator"):v(e,s,l)?_(t,e,"operator"):_(t,e,null);}(e,t);},indent:function indent(e,t){return E(e,t);},lineComment:"%"};});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},9555:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("go",function(t){var r,n=t.indentUnit,i={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},o={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},a=/[+\-*&^%:=<>!|\/]/;function s(e,t){var n,c=e.next();if('"'==c||"'"==c||"`"==c)return t.tokenize=(n=c,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break;}i=!i&&"`"!=n&&"\\"==r;}return(o||!i&&"`"!=n)&&(t.tokenize=s),"string";}),t.tokenize(e,t);if(/[\d\.]/.test(c))return"."==c?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==c?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(c))return r=c,null;if("/"==c){if(e.eat("*"))return t.tokenize=l,l(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";}if(a.test(c))return e.eatWhile(a),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var u=e.current();return i.propertyIsEnumerable(u)?("case"!=u&&"default"!=u||(r="case"),"keyword"):o.propertyIsEnumerable(u)?"atom":"variable";}function l(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=s;break;}n="*"==r;}return"comment";}function c(e,t,r,n,i){this.indented=e,this.column=t,this.type=r,this.align=n,this.prev=i;}function u(e,t,r){return e.context=new c(e.indented,t,r,null,e.context);}function d(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}}return{startState:function startState(e){return{tokenize:null,context:new c((e||0)-n,0,"top",!1),indented:0,startOfLine:!0};},token:function token(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==n.type&&(n.type="}")),e.eatSpace())return null;r=null;var i=(t.tokenize||s)(e,t);return"comment"==i||(null==n.align&&(n.align=!0),"{"==r?u(t,e.column(),"}"):"["==r?u(t,e.column(),"]"):"("==r?u(t,e.column(),")"):"case"==r?n.type="case":("}"==r&&"}"==n.type||r==n.type)&&d(t),t.startOfLine=!1),i;},indent:function indent(t,r){if(t.tokenize!=s&&null!=t.tokenize)return e.Pass;var i=t.context,o=r&&r.charAt(0);if("case"==i.type&&/^(?:case|default)\b/.test(r))return t.context.type="}",i.indented;var a=o==i.type;return i.align?i.column+(a?0:1):i.indented+(a?0:n);},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"};}),e.defineMIME("text/x-go","go");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},410:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("groovy",function(t){function r(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}var n,i=r("abstract as assert boolean break byte case catch char class const continue def default do double else enum extends final finally float for goto if implements import in instanceof int interface long native new package private protected public return short static strictfp super switch synchronized threadsafe throw throws trait transient try void volatile while"),o=r("catch class def do else enum finally for if interface switch trait try while"),a=r("return break continue"),s=r("null true false this");function l(e,t){var r=e.next();if('"'==r||"'"==r)return c(r,e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return n=r,null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),e.eat(/eE/)&&(e.eat(/\+\-/),e.eatWhile(/\d/)),"number";if("/"==r){if(e.eat("*"))return t.tokenize.push(d),d(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";if(p(t.lastToken,!1))return c(r,e,t);}if("-"==r&&e.eat(">"))return n="->",null;if(/[+\-*&%=<>!?|\/~]/.test(r))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),"@"==r)return e.eatWhile(/[\w\$_\.]/),"meta";if("."==t.lastToken)return"property";if(e.eat(":"))return n="proplabel","property";var l=e.current();return s.propertyIsEnumerable(l)?"atom":i.propertyIsEnumerable(l)?(o.propertyIsEnumerable(l)?n="newstatement":a.propertyIsEnumerable(l)&&(n="standalone"),"keyword"):"variable";}function c(e,t,r){var n=!1;if("/"!=e&&t.eat(e)){if(!t.eat(e))return"string";n=!0;}function i(t,r){for(var i,o=!1,a=!n;null!=(i=t.next());){if(i==e&&!o){if(!n)break;if(t.match(e+e)){a=!0;break;}}if('"'==e&&"$"==i&&!o&&t.eat("{"))return r.tokenize.push(u()),"string";o=!o&&"\\"==i;}return a&&r.tokenize.pop(),"string";}return r.tokenize.push(i),i(t,r);}function u(){var e=1;function t(t,r){if("}"==t.peek()){if(0==--e)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);}else"{"==t.peek()&&e++;return l(t,r);}return t.isBase=!0,t;}function d(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize.pop();break;}n="*"==r;}return"comment";}function p(e,t){return!e||"operator"==e||"->"==e||/[\.\[\{\(,;:]/.test(e)||"newstatement"==e||"keyword"==e||"proplabel"==e||"standalone"==e&&!t;}function f(e,t,r,n,i){this.indented=e,this.column=t,this.type=r,this.align=n,this.prev=i;}function m(e,t,r){return e.context=new f(e.indented,t,r,null,e.context);}function h(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}return l.isBase=!0,{startState:function startState(e){return{tokenize:[l],context:new f((e||0)-t.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null};},token:function token(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"statement"!=r.type||p(t.lastToken,!0)||(h(t),r=t.context)),e.eatSpace())return null;n=null;var i=t.tokenize[t.tokenize.length-1](e,t);if("comment"==i)return i;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n||"statement"!=r.type){if("->"==n&&"statement"==r.type&&"}"==r.prev.type)h(t),t.context.align=!1;else if("{"==n)m(t,e.column(),"}");else if("["==n)m(t,e.column(),"]");else if("("==n)m(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;){r=h(t);}for("}"==r.type&&(r=h(t));"statement"==r.type;){r=h(t);}}else n==r.type?h(t):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==n)&&m(t,e.column(),"statement");}else h(t);return t.startOfLine=!1,t.lastToken=n||i,i;},indent:function indent(r,n){if(!r.tokenize[r.tokenize.length-1].isBase)return e.Pass;var i=n&&n.charAt(0),o=r.context;"statement"!=o.type||p(r.lastToken,!0)||(o=o.prev);var a=i==o.type;return"statement"==o.type?o.indented+("{"==i?0:t.indentUnit):o.align?o.column+(a?0:1):o.indented+(a?0:t.indentUnit);},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"};}),e.defineMIME("text/x-groovy","groovy");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},3394:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(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"]]},r={};function n(e,t){var n=e.match(function(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"));}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:"";}function i(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i");}function o(e,t){for(var r in e){for(var n=t[r]||(t[r]=[]),i=e[r],o=i.length-1;o>=0;o--){n.unshift(i[o]);}}}e.defineMode("htmlmixed",function(r,a){var s=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:a.multilineTagIndentFactor,multilineTagIndentPastTag:a.multilineTagIndentPastTag}),l={},c=a&&a.tags,u=a&&a.scriptTypes;if(o(t,l),c&&o(c,l),u)for(var d=u.length-1;d>=0;d--){l.script.unshift(["type",u[d].matches,u[d].mode]);}function p(t,o){var a,c=s.token(t,o.htmlState),u=/\btag\b/.test(c);if(u&&!/[<>\s\/]/.test(t.current())&&(a=o.htmlState.tagName&&o.htmlState.tagName.toLowerCase())&&l.hasOwnProperty(a))o.inTag=a+" ";else if(o.inTag&&u&&/>$/.test(t.current())){var d=/^([\S]+) (.*)/.exec(o.inTag);o.inTag=null;var f=">"==t.current()&&function(e,t){for(var r=0;r<e.length;r++){var i=e[r];if(!i[0]||i[1].test(n(t,i[0])))return i[2];}}(l[d[1]],d[2]),m=e.getMode(r,f),h=i(d[1],!0),g=i(d[1],!1);o.token=function(e,t){return e.match(h,!1)?(t.token=p,t.localState=t.localMode=null,null):function(e,t,r){var n=e.current(),i=n.search(t);return i>-1?e.backUp(n.length-i):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r;}(e,g,t.localMode.token(e,t.localState));},o.localMode=m,o.localState=e.startState(m,s.indent(o.htmlState,"",""));}else o.inTag&&(o.inTag+=t.current(),t.eol()&&(o.inTag+=" "));return c;}return{startState:function startState(){return{token:p,inTag:null,localMode:null,localState:null,htmlState:e.startState(s)};},copyState:function copyState(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(s,t.htmlState)};},token:function token(e,t){return t.token(e,t);},indent:function indent(t,r,n){return!t.localMode||/^\s*<\//.test(r)?s.indent(t.htmlState,r,n):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass;},innerMode:function innerMode(e){return{state:e.localState||e.htmlState,mode:e.localMode||s};}};},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed");},"object"==s(t)&&"object"==s(e)?a(r(9074),r(336),r(9965),r(5239)):(i=[r(9074),r(336),r(9965),r(5239)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5372:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("http",function(){function e(e,t){return e.skipToEnd(),t.cur=a,"error";}function t(t,n){return t.match(/^HTTP\/\d\.\d/)?(n.cur=r,"keyword"):t.match(/^[A-Z]+/)&&/[ \t]/.test(t.peek())?(n.cur=i,"keyword"):e(t,n);}function r(t,r){var i=t.match(/^\d+/);if(!i)return e(t,r);r.cur=n;var o=Number(i[0]);return o>=100&&o<200?"positive informational":o>=200&&o<300?"positive success":o>=300&&o<400?"positive redirect":o>=400&&o<500?"negative client-error":o>=500&&o<600?"negative server-error":"error";}function n(e,t){return e.skipToEnd(),t.cur=a,null;}function i(e,t){return e.eatWhile(/\S/),t.cur=o,"string-2";}function o(t,r){return t.match(/^HTTP\/\d\.\d$/)?(r.cur=a,"keyword"):e(t,r);}function a(e){return e.sol()&&!e.eat(/[ \t]/)?e.match(/^.*?:/)?"atom":(e.skipToEnd(),"error"):(e.skipToEnd(),"string");}function s(e){return e.skipToEnd(),null;}return{token:function token(e,t){var r=t.cur;return r!=a&&r!=s&&e.eatSpace()?null:r(e,t);},blankLine:function blankLine(e){e.cur=s;},startState:function startState(){return{cur:t};}};}),e.defineMIME("message/http","http");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},9965:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("javascript",function(t,r){var n,i,o=t.indentUnit,a=r.statementIndent,l=r.jsonld,c=r.json||l,u=r.typescript,d=r.wordCharacters||/[\w$\xa1-\uffff]/,p=function(){function e(e){return{type:e,style:"keyword"};}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:i,break:i,continue:i,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n};}(),f=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function h(e,t,r){return n=e,i=r,t;}function g(e,t){var r,n=e.next();if('"'==n||"'"==n)return t.tokenize=(r=n,function(e,t){var n,i=!1;if(l&&"@"==e.peek()&&e.match(m))return t.tokenize=g,h("jsonld-keyword","meta");for(;null!=(n=e.next())&&(n!=r||i);){i=!i&&"\\"==n;}return i||(t.tokenize=g),h("string","string");}),t.tokenize(e,t);if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return h("number","number");if("."==n&&e.match(".."))return h("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return h(n);if("="==n&&e.eat(">"))return h("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return h("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),h("number","number");if("/"==n)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),h("comment","comment")):Xe(e,t,1)?(function(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1);}r=!r&&"\\"==t;}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),h("regexp","string-2")):(e.eat("="),h("operator","operator",e.current()));if("`"==n)return t.tokenize=v,v(e,t);if("#"==n&&"!"==e.peek())return e.skipToEnd(),h("meta","meta");if("#"==n&&e.eatWhile(d))return h("variable","property");if("<"==n&&e.match("!--")||"-"==n&&e.match("->"))return e.skipToEnd(),h("comment","comment");if(f.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(".")?h("."):h("operator","operator",e.current());if(d.test(n)){e.eatWhile(d);var i=e.current();if("."!=t.lastType){if(p.propertyIsEnumerable(i)){var o=p[i];return h(o.type,o.style,i);}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return h("async","keyword",i);}return h("variable","variable",i);}}function y(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=g;break;}n="*"==r;}return h("comment","comment");}function v(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=g;break;}n=!n&&"\\"==r;}return h("quasi","string-2",e.current());}var b="([{}])";function x(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(u){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index);}for(var i=0,o=!1,a=r-1;a>=0;--a){var s=e.string.charAt(a),l=b.indexOf(s);if(l>=0&&l<3){if(!i){++a;break;}if(0==--i){"("==s&&(o=!0);break;}}else if(l>=3&&l<6)++i;else if(d.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&"\\"!=e.string.charAt(a-2)){a--;break;}}else if(o&&!i){++a;break;}}o&&!i&&(t.fatArrowAt=a);}}var k={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.prev=i,this.info=o,null!=n&&(this.align=n);}function _(e,t){for(var r=e.localVars;r;r=r.next){if(r.name==t)return!0;}for(var n=e.context;n;n=n.prev){for(r=n.vars;r;r=r.next){if(r.name==t)return!0;}}}var S={state:null,column:null,marked:null,cc:null};function C(){for(var e=arguments.length-1;e>=0;e--){S.cc.push(arguments[e]);}}function T(){return C.apply(null,arguments),!0;}function M(e,t){for(var r=t;r;r=r.next){if(r.name==e)return!0;}return!1;}function E(e){var t=S.state;if(S.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var n=L(e,t.context);if(null!=n)return void(t.context=n);}else if(!M(e,t.localVars))return void(t.localVars=new A(e,t.localVars));r.globalVars&&!M(e,t.globalVars)&&(t.globalVars=new A(e,t.globalVars));}function L(e,t){if(t){if(t.block){var r=L(e,t.prev);return r?r==t.prev?t:new O(r,t.vars,!0):null;}return M(e,t.vars)?t:new O(t.prev,new A(e,t.vars),!1);}return null;}function z(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e;}function O(e,t,r){this.prev=e,this.vars=t,this.block=r;}function A(e,t){this.name=e,this.next=t;}var N=new A("this",new A("arguments",null));function I(){S.state.context=new O(S.state.context,S.state.localVars,!1),S.state.localVars=N;}function D(){S.state.context=new O(S.state.context,S.state.localVars,!0),S.state.localVars=null;}function P(){S.state.localVars=S.state.context.vars,S.state.context=S.state.context.prev;}function j(e,t){var r=function r(){var r=S.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var i=r.lexical;i&&")"==i.type&&i.align;i=i.prev){n=i.indented;}r.lexical=new w(n,S.stream.column(),e,null,r.lexical,t);};return r.lex=!0,r;}function q(){var e=S.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev);}function F(e){return function t(r){return r==e?T():";"==e||"}"==r||")"==r||"]"==r?C():T(t);};}function R(e,t){return"var"==e?T(j("vardef",t),ke,F(";"),q):"keyword a"==e?T(j("form"),H,R,q):"keyword b"==e?T(j("form"),R,q):"keyword d"==e?S.stream.match(/^\s*$/,!1)?T():T(j("stat"),V,F(";"),q):"debugger"==e?T(F(";")):"{"==e?T(j("}"),D,le,q,P):";"==e?T():"if"==e?("else"==S.state.lexical.info&&S.state.cc[S.state.cc.length-1]==q&&S.state.cc.pop()(),T(j("form"),H,R,q,Me)):"function"==e?T(Oe):"for"==e?T(j("form"),Ee,R,q):"class"==e||u&&"interface"==t?(S.marked="keyword",T(j("form","class"==e?e:t),Pe,q)):"variable"==e?u&&"declare"==t?(S.marked="keyword",T(R)):u&&("module"==t||"enum"==t||"type"==t)&&S.stream.match(/^\s*\w/,!1)?(S.marked="keyword","enum"==t?T(Ke):"type"==t?T(Ne,F("operator"),fe,F(";")):T(j("form"),we,F("{"),j("}"),le,q,q)):u&&"namespace"==t?(S.marked="keyword",T(j("form"),$,R,q)):u&&"abstract"==t?(S.marked="keyword",T(R)):T(j("stat"),te):"switch"==e?T(j("form"),H,F("{"),j("}","switch"),D,le,q,q,P):"case"==e?T($,F(":")):"default"==e?T(F(":")):"catch"==e?T(j("form"),I,W,R,q,P):"export"==e?T(j("stat"),Re,q):"import"==e?T(j("stat"),$e,q):"async"==e?T(R):"@"==t?T($,R):C(j("stat"),$,F(";"),q);}function W(e){if("("==e)return T(Ie,F(")"));}function $(e,t){return B(e,t,!1);}function U(e,t){return B(e,t,!0);}function H(e){return"("!=e?C():T(j(")"),V,F(")"),q);}function B(e,t,r){if(S.state.fatArrowAt==S.stream.start){var n=r?Q:Y;if("("==e)return T(I,j(")"),ae(Ie,")"),q,F("=>"),n,P);if("variable"==e)return C(I,we,F("=>"),n,P);}var i=r?K:G;return k.hasOwnProperty(e)?T(i):"function"==e?T(Oe,i):"class"==e||u&&"interface"==t?(S.marked="keyword",T(j("form"),De,q)):"keyword c"==e||"async"==e?T(r?U:$):"("==e?T(j(")"),V,F(")"),q,i):"operator"==e||"spread"==e?T(r?U:$):"["==e?T(j("]"),Ge,q,i):"{"==e?se(ne,"}",null,i):"quasi"==e?C(Z,i):"new"==e?T(function(e){return function(t){return"."==t?T(e?ee:J):"variable"==t&&u?T(ve,e?K:G):C(e?U:$);};}(r)):"import"==e?T($):T();}function V(e){return e.match(/[;\}\)\],]/)?C():C($);}function G(e,t){return","==e?T(V):K(e,t,!1);}function K(e,t,r){var n=0==r?G:K,i=0==r?$:U;return"=>"==e?T(I,r?Q:Y,P):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?T(n):u&&"<"==t&&S.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?T(j(">"),ae(fe,">"),q,n):"?"==t?T($,F(":"),i):T(i):"quasi"==e?C(Z,n):";"!=e?"("==e?se(U,")","call",n):"."==e?T(re,n):"["==e?T(j("]"),V,F("]"),q,n):u&&"as"==t?(S.marked="keyword",T(fe,n)):"regexp"==e?(S.state.lastType=S.marked="operator",S.stream.backUp(S.stream.pos-S.stream.start-1),T(i)):void 0:void 0;}function Z(e,t){return"quasi"!=e?C():"${"!=t.slice(t.length-2)?T(Z):T($,X);}function X(e){if("}"==e)return S.marked="string-2",S.state.tokenize=v,T(Z);}function Y(e){return x(S.stream,S.state),C("{"==e?R:$);}function Q(e){return x(S.stream,S.state),C("{"==e?R:U);}function J(e,t){if("target"==t)return S.marked="keyword",T(G);}function ee(e,t){if("target"==t)return S.marked="keyword",T(K);}function te(e){return":"==e?T(q,R):C(G,F(";"),q);}function re(e){if("variable"==e)return S.marked="property",T();}function ne(e,t){return"async"==e?(S.marked="property",T(ne)):"variable"==e||"keyword"==S.style?(S.marked="property","get"==t||"set"==t?T(ie):(u&&S.state.fatArrowAt==S.stream.start&&(r=S.stream.match(/^\s*:\s*/,!1))&&(S.state.fatArrowAt=S.stream.pos+r[0].length),T(oe))):"number"==e||"string"==e?(S.marked=l?"property":S.style+" property",T(oe)):"jsonld-keyword"==e?T(oe):u&&z(t)?(S.marked="keyword",T(ne)):"["==e?T($,ce,F("]"),oe):"spread"==e?T(U,oe):"*"==t?(S.marked="keyword",T(ne)):":"==e?C(oe):void 0;var r;}function ie(e){return"variable"!=e?C(oe):(S.marked="property",T(Oe));}function oe(e){return":"==e?T(U):"("==e?C(Oe):void 0;}function ae(e,t,r){function n(i,o){if(r?r.indexOf(i)>-1:","==i){var a=S.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),T(function(r,n){return r==t||n==t?C():C(e);},n);}return i==t||o==t?T():r&&r.indexOf(";")>-1?C(e):T(F(t));}return function(r,i){return r==t||i==t?T():C(e,n);};}function se(e,t,r){for(var n=3;n<arguments.length;n++){S.cc.push(arguments[n]);}return T(j(t,r),ae(e,t),q);}function le(e){return"}"==e?T():C(R,le);}function ce(e,t){if(u){if(":"==e)return T(fe);if("?"==t)return T(ce);}}function ue(e,t){if(u&&(":"==e||"in"==t))return T(fe);}function de(e){if(u&&":"==e)return S.stream.match(/^\s*\w+\s+is\b/,!1)?T($,pe,fe):T(fe);}function pe(e,t){if("is"==t)return S.marked="keyword",T();}function fe(e,t){return"keyof"==t||"typeof"==t||"infer"==t?(S.marked="keyword",T("typeof"==t?U:fe)):"variable"==e||"void"==t?(S.marked="type",T(ye)):"|"==t||"&"==t?T(fe):"string"==e||"number"==e||"atom"==e?T(ye):"["==e?T(j("]"),ae(fe,"]",","),q,ye):"{"==e?T(j("}"),ae(he,"}",",;"),q,ye):"("==e?T(ae(ge,")"),me,ye):"<"==e?T(ae(fe,">"),fe):void 0;}function me(e){if("=>"==e)return T(fe);}function he(e,t){return"variable"==e||"keyword"==S.style?(S.marked="property",T(he)):"?"==t||"number"==e||"string"==e?T(he):":"==e?T(fe):"["==e?T(F("variable"),ue,F("]"),he):"("==e?C(Ae,he):void 0;}function ge(e,t){return"variable"==e&&S.stream.match(/^\s*[?:]/,!1)||"?"==t?T(ge):":"==e?T(fe):"spread"==e?T(ge):C(fe);}function ye(e,t){return"<"==t?T(j(">"),ae(fe,">"),q,ye):"|"==t||"."==e||"&"==t?T(fe):"["==e?T(fe,F("]"),ye):"extends"==t||"implements"==t?(S.marked="keyword",T(fe)):"?"==t?T(fe,F(":"),fe):void 0;}function ve(e,t){if("<"==t)return T(j(">"),ae(fe,">"),q,ye);}function be(){return C(fe,xe);}function xe(e,t){if("="==t)return T(fe);}function ke(e,t){return"enum"==t?(S.marked="keyword",T(Ke)):C(we,ce,Ce,Te);}function we(e,t){return u&&z(t)?(S.marked="keyword",T(we)):"variable"==e?(E(t),T()):"spread"==e?T(we):"["==e?se(Se,"]"):"{"==e?se(_e,"}"):void 0;}function _e(e,t){return"variable"!=e||S.stream.match(/^\s*:/,!1)?("variable"==e&&(S.marked="property"),"spread"==e?T(we):"}"==e?C():"["==e?T($,F("]"),F(":"),_e):T(F(":"),we,Ce)):(E(t),T(Ce));}function Se(){return C(we,Ce);}function Ce(e,t){if("="==t)return T(U);}function Te(e){if(","==e)return T(ke);}function Me(e,t){if("keyword b"==e&&"else"==t)return T(j("form","else"),R,q);}function Ee(e,t){return"await"==t?T(Ee):"("==e?T(j(")"),Le,q):void 0;}function Le(e){return"var"==e?T(ke,ze):"variable"==e?T(ze):C(ze);}function ze(e,t){return")"==e?T():";"==e?T(ze):"in"==t||"of"==t?(S.marked="keyword",T($,ze)):C($,ze);}function Oe(e,t){return"*"==t?(S.marked="keyword",T(Oe)):"variable"==e?(E(t),T(Oe)):"("==e?T(I,j(")"),ae(Ie,")"),q,de,R,P):u&&"<"==t?T(j(">"),ae(be,">"),q,Oe):void 0;}function Ae(e,t){return"*"==t?(S.marked="keyword",T(Ae)):"variable"==e?(E(t),T(Ae)):"("==e?T(I,j(")"),ae(Ie,")"),q,de,P):u&&"<"==t?T(j(">"),ae(be,">"),q,Ae):void 0;}function Ne(e,t){return"keyword"==e||"variable"==e?(S.marked="type",T(Ne)):"<"==t?T(j(">"),ae(be,">"),q):void 0;}function Ie(e,t){return"@"==t&&T($,Ie),"spread"==e?T(Ie):u&&z(t)?(S.marked="keyword",T(Ie)):u&&"this"==e?T(ce,Ce):C(we,ce,Ce);}function De(e,t){return"variable"==e?Pe(e,t):je(e,t);}function Pe(e,t){if("variable"==e)return E(t),T(je);}function je(e,t){return"<"==t?T(j(">"),ae(be,">"),q,je):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(S.marked="keyword"),T(u?fe:$,je)):"{"==e?T(j("}"),qe,q):void 0;}function qe(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&z(t))&&S.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(S.marked="keyword",T(qe)):"variable"==e||"keyword"==S.style?(S.marked="property",T(Fe,qe)):"number"==e||"string"==e?T(Fe,qe):"["==e?T($,ce,F("]"),Fe,qe):"*"==t?(S.marked="keyword",T(qe)):u&&"("==e?C(Ae,qe):";"==e||","==e?T(qe):"}"==e?T():"@"==t?T($,qe):void 0;}function Fe(e,t){if("?"==t)return T(Fe);if(":"==e)return T(fe,Ce);if("="==t)return T(U);var r=S.state.lexical.prev;return C(r&&"interface"==r.info?Ae:Oe);}function Re(e,t){return"*"==t?(S.marked="keyword",T(Ve,F(";"))):"default"==t?(S.marked="keyword",T($,F(";"))):"{"==e?T(ae(We,"}"),Ve,F(";")):C(R);}function We(e,t){return"as"==t?(S.marked="keyword",T(F("variable"))):"variable"==e?C(U,We):void 0;}function $e(e){return"string"==e?T():"("==e?C($):C(Ue,He,Ve);}function Ue(e,t){return"{"==e?se(Ue,"}"):("variable"==e&&E(t),"*"==t&&(S.marked="keyword"),T(Be));}function He(e){if(","==e)return T(Ue,He);}function Be(e,t){if("as"==t)return S.marked="keyword",T(Ue);}function Ve(e,t){if("from"==t)return S.marked="keyword",T($);}function Ge(e){return"]"==e?T():C(ae(U,"]"));}function Ke(){return C(j("form"),we,F("{"),j("}"),ae(Ze,"}"),q,q);}function Ze(){return C(we,Ce);}function Xe(e,t,r){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)));}return P.lex=!0,q.lex=!0,{startState:function startState(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:r.localVars,context:r.localVars&&new O(null,null,!1),indented:e||0};return r.globalVars&&"object"==s(r.globalVars)&&(t.globalVars=r.globalVars),t;},token:function token(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),x(e,t)),t.tokenize!=y&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=i&&"--"!=i?n:"incdec",function(e,t,r,n,i){var o=e.cc;for(S.state=e,S.stream=i,S.marked=null,S.cc=o,S.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){if((o.length?o.pop():c?$:R)(r,n)){for(;o.length&&o[o.length-1].lex;){o.pop()();}return S.marked?S.marked:"variable"==r&&_(e,n)?"variable-2":t;}}}(t,r,n,i,e));},indent:function indent(t,n){if(t.tokenize==y)return e.Pass;if(t.tokenize!=g)return 0;var i,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==q)l=l.prev;else if(u!=Me)break;}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(i=t.cc[t.cc.length-1])&&(i==G||i==K)&&!/^[,\.=+\-*:?[\(]/.test(n));){l=l.prev;}a&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,p=s==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==d&&"{"==s?l.indented:"form"==d?l.indented+o:"stat"==d?l.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0));}(t,n)?a||o:0):"switch"!=l.info||p||0==r.doubleIndentSwitch?l.align?l.column+(p?0:1):l.indented+(p?0:o):l.indented+(/^(?:case|default)\b/.test(n)?o:2*o);},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:l,jsonMode:c,expressionAllowed:Xe,skipExpression:function skipExpression(e){var t=e.cc[e.cc.length-1];t!=$&&t!=U||e.cc.pop();}};}),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/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},2375:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e,t,r,n){this.state=e,this.mode=t,this.depth=r,this.prev=n;}function r(n){return new t(e.copyState(n.mode,n.state),n.mode,n.depth,n.prev&&r(n.prev));}e.defineMode("jsx",function(n,i){var o=e.getMode(n,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),a=e.getMode(n,i&&i.base||"javascript");function s(e){var t=e.tagName;e.tagName=null;var r=o.indent(e,"","");return e.tagName=t,r;}function l(r,i){return i.context.mode==o?function(r,i,c){if(2==c.depth)return r.match(/^.*?\*\//)?c.depth=1:r.skipToEnd(),"comment";if("{"==r.peek()){o.skipAttribute(c.state);var u=s(c.state),d=c.state.context;if(d&&r.match(/^[^>]*>\s*$/,!1)){for(;d.prev&&!d.startOfLine;){d=d.prev;}d.startOfLine?u-=n.indentUnit:c.prev.state.lexical&&(u=c.prev.state.lexical.indented);}else 1==c.depth&&(u+=n.indentUnit);return i.context=new t(e.startState(a,u),a,0,i.context),null;}if(1==c.depth){if("<"==r.peek())return o.skipAttribute(c.state),i.context=new t(e.startState(o,s(c.state)),o,0,i.context),null;if(r.match("//"))return r.skipToEnd(),"comment";if(r.match("/*"))return c.depth=2,l(r,i);}var p,f=o.token(r,c.state),m=r.current();return /\btag\b/.test(f)?/>$/.test(m)?c.state.context?c.depth=0:i.context=i.context.prev:/^</.test(m)&&(c.depth=1):!f&&(p=m.indexOf("{"))>-1&&r.backUp(m.length-p),f;}(r,i,i.context):function(r,n,i){if("<"==r.peek()&&a.expressionAllowed(r,i.state))return a.skipExpression(i.state),n.context=new t(e.startState(o,a.indent(i.state,"","")),o,0,n.context),null;var s=a.token(r,i.state);if(!s&&null!=i.depth){var l=r.current();"{"==l?i.depth++:"}"==l&&0==--i.depth&&(n.context=n.context.prev);}return s;}(r,i,i.context);}return{startState:function startState(){return{context:new t(e.startState(a),a)};},copyState:function copyState(e){return{context:r(e.context)};},token:l,indent:function indent(e,t,r){return e.context.mode.indent(e.context.state,t,r);},innerMode:function innerMode(e){return e.context;}};},"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}});},"object"==s(t)&&"object"==s(e)?a(r(9074),r(336),r(9965)):(i=[r(9074),r(336),r(9965)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},2557:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("julia",function(t,r){function n(e,t){return void 0===t&&(t="\\b"),new RegExp("^(("+e.join(")|(")+"))"+t);}var i=r.operators||n(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","->","\\/\\/","[\\\\%*+\\-<>!=\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),o=r.delimiters||/^[;,()[\]{}]/,a=r.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,s=n(["\\\\[0-7]{1,3}","\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"],"'"),l=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],c=["true","false","nothing","NaN","Inf"];e.registerHelper("hintWords","julia",l.concat(c));var u=n(["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),d=n(["end","else","elseif","catch","finally"]),p=n(l),f=n(c),m=/^@[_A-Za-z][\w]*/,h=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,g=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/;function y(e){return e.nestedArrays>0;}function v(e,t){return void 0===t&&(t=0),e.scopes.length<=t?null:e.scopes[e.scopes.length-(t+1)];}function b(e,t){if(e.match(/^#=/,!1))return t.tokenize=w,t.tokenize(e,t);var r=t.leavingExpr;if(e.sol()&&(r=!1),t.leavingExpr=!1,r&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var n,s=e.peek();if("#"===s)return e.skipToEnd(),"comment";if("["===s&&(t.scopes.push("["),t.nestedArrays++),"("===s&&(t.scopes.push("("),t.nestedGenerators++),y(t)&&"]"===s){for(;t.scopes.length&&"["!==v(t);){t.scopes.pop();}t.scopes.pop(),t.nestedArrays--,t.leavingExpr=!0;}if(function(e){return e.nestedGenerators>0;}(t)&&")"===s){for(;t.scopes.length&&"("!==v(t);){t.scopes.pop();}t.scopes.pop(),t.nestedGenerators--,t.leavingExpr=!0;}if(y(t)){if("end"==t.lastToken&&e.match(/^:/))return"operator";if(e.match(/^end/))return"number";}if((n=e.match(u,!1))&&t.scopes.push(n[0]),e.match(d,!1)&&t.scopes.pop(),e.match(/^::(?![:\$])/))return t.tokenize=k,t.tokenize(e,t);if(!r&&e.match(h)||e.match(/:([<>]:|<<=?|>>>?=?|->|\/\/|\.{2,3}|[\.\\%*+\-<>!\/^|&]=?|[~\?\$])/))return"builtin";if(e.match(i))return"operator";if(e.match(/^\.?\d/,!1)){var l=RegExp(/^im\b/),c=!1;if(e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(c=!0),e.match(/^0x[0-9a-f_]+/i)&&(c=!0),e.match(/^0b[01_]+/i)&&(c=!0),e.match(/^0o[0-7_]+/i)&&(c=!0),e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(c=!0),e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(c=!0),c)return e.match(l),t.leavingExpr=!0,"number";}if(e.match(/^'/))return t.tokenize=_,t.tokenize(e,t);if(e.match(g))return t.tokenize=function(e){function t(t,r){if(t.eat("\\"))t.next();else{if(t.match(e))return r.tokenize=b,r.leavingExpr=!0,"string";t.eat(/[`"]/);}return t.eatWhile(/[^\\`"]/),"string";}return'"""'===e.substr(-3)?e='"""':'"'===e.substr(-1)&&(e='"'),t;}(e.current()),t.tokenize(e,t);if(e.match(m))return"meta";if(e.match(o))return null;if(e.match(p))return"keyword";if(e.match(f))return"builtin";var S=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(a)?S?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):e.match(/^({[^}]*})*\(/,!1)?(t.tokenize=x,t.tokenize(e,t)):(t.leavingExpr=!0,"variable"):(e.next(),"error");}function x(e,t){var r=e.match(/^(\(\s*)/);if(r&&(t.firstParenPos<0&&(t.firstParenPos=t.scopes.length),t.scopes.push("("),t.charsAdvanced+=r[1].length),"("==v(t)&&e.match(/^\)/)&&(t.scopes.pop(),t.charsAdvanced+=1,t.scopes.length<=t.firstParenPos)){var n=e.match(/^(\s*where\s+[^\s=]+)*\s*?=(?!=)/,!1);return e.backUp(t.charsAdvanced),t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=b,n?"def":"builtin";}if(e.match(/^$/g,!1)){for(e.backUp(t.charsAdvanced);t.scopes.length>t.firstParenPos;){t.scopes.pop();}return t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=b,"builtin";}return t.charsAdvanced+=e.match(/^([^()]*)/)[1].length,t.tokenize(e,t);}function k(e,t){return e.match(/.*?(?=,|;|{|}|\(|\)|=|$|\s)/),e.match(/^{/)?t.nestedParameters++:e.match(/^}/)&&t.nestedParameters>0&&t.nestedParameters--,t.nestedParameters>0?e.match(/.*?(?={|})/)||e.next():0==t.nestedParameters&&(t.tokenize=b),"builtin";}function w(e,t){return e.match(/^#=/)&&t.nestedComments++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match(/^=#/)&&(t.nestedComments--,0==t.nestedComments&&(t.tokenize=b)),"comment";}function _(e,t){var r,n=!1;if(e.match(s))n=!0;else if(r=e.match(/\\u([a-f0-9]{1,4})(?=')/i))((i=parseInt(r[1],16))<=55295||i>=57344)&&(n=!0,e.next());else if(r=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var i;(i=parseInt(r[1],16))<=1114111&&(n=!0,e.next());}return n?(t.leavingExpr=!0,t.tokenize=b,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match(/^'/)&&(t.tokenize=b),"error");}return{startState:function startState(){return{tokenize:b,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,charsAdvanced:0,firstParenPos:-1};},token:function token(e,t){var r=t.tokenize(e,t),n=e.current();return n&&r&&(t.lastToken=n),r;},indent:function indent(e,r){var n=0;return"]"!==r&&")"!==r&&"end"!==r&&"else"!==r&&"catch"!==r&&"elseif"!==r&&"finally"!==r||(n=-1),(e.scopes.length+n)*t.indentUnit;},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"};}),e.defineMIME("text/x-julia","julia");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},4581:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("lua",function(e,t){var r=e.indentUnit;function n(e){return new RegExp("^(?:"+e.join("|")+")$","i");}var i=n(t.specials||[]),o=n(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),a=n(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),s=n(["function","if","repeat","do","\\(","{"]),l=n(["end","until","\\)","}"]),c=new RegExp("^(?:"+["end","until","\\)","}","else","elseif"].join("|")+")","i");function u(e){for(var t=0;e.eat("=");){++t;}return e.eat("["),t;}function d(e,t){var r,n=e.next();return"-"==n&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=p(u(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==n||"'"==n?(t.cur=(r=n,function(e,t){for(var n,i=!1;null!=(n=e.next())&&(n!=r||i);){i=!i&&"\\"==n;}return i||(t.cur=d),"string";}))(e,t):"["==n&&/[\[=]/.test(e.peek())?(t.cur=p(u(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null;}function p(e,t){return function(r,n){for(var i,o=null;null!=(i=r.next());){if(null==o)"]"==i&&(o=0);else if("="==i)++o;else{if("]"==i&&o==e){n.cur=d;break;}o=null;}}return t;};}return{startState:function startState(e){return{basecol:e||0,indentDepth:0,cur:d};},token:function token(e,t){if(e.eatSpace())return null;var r=t.cur(e,t),n=e.current();return"variable"==r&&(a.test(n)?r="keyword":o.test(n)?r="builtin":i.test(n)&&(r="variable-2")),"comment"!=r&&"string"!=r&&(s.test(n)?++t.indentDepth:l.test(n)&&--t.indentDepth),r;},indent:function indent(e,t){var n=c.test(t);return e.basecol+r*(e.indentDepth-(n?1:0));},lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"};}),e.defineMIME("text/x-lua","lua");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},318:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(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"]},{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"]},{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"]}];for(var t=0;t<e.modeInfo.length;t++){var r=e.modeInfo[t];r.mimes&&(r.mime=r.mimes[0]);}e.findModeByMIME=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.mime==t)return n;if(n.mimes)for(var i=0;i<n.mimes.length;i++){if(n.mimes[i]==t)return n;}}return /\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0;},e.findModeByExtension=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.ext)for(var i=0;i<n.ext.length;i++){if(n.ext[i]==t)return n;}}},e.findModeByFileName=function(t){for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.file&&n.file.test(t))return n;}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o);},e.findModeByName=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.name.toLowerCase()==t)return n;if(n.alias)for(var i=0;i<n.alias.length;i++){if(n.alias[i].toLowerCase()==t)return n;}}};},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},7014:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("mllike",function(t,r){var n={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},i=r.extraWords||{};for(var o in i){i.hasOwnProperty(o)&&(n[o]=r.extraWords[o]);}var a=[];for(var s in n){a.push(s);}function l(e,t){var i=e.next();if('"'===i)return t.tokenize=c,t.tokenize(e,t);if("{"===i&&e.eat("|"))return t.longString=!0,t.tokenize=d,t.tokenize(e,t);if("("===i&&e.eat("*"))return t.commentLevel++,t.tokenize=u,t.tokenize(e,t);if("~"===i||"?"===i)return e.eatWhile(/\w/),"variable-2";if("`"===i)return e.eatWhile(/\w/),"quote";if("/"===i&&r.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(i))return"0"===i&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),"0"===i&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),"0"===i&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(i))return"operator";if(/[\w\xa1-\uffff]/.test(i)){e.eatWhile(/[\w\xa1-\uffff]/);var o=e.current();return n.hasOwnProperty(o)?n[o]:"variable";}return null;}function c(e,t){for(var r,n=!1,i=!1;null!=(r=e.next());){if('"'===r&&!i){n=!0;break;}i=!i&&"\\"===r;}return n&&!i&&(t.tokenize=l),"string";}function u(e,t){for(var r,n;t.commentLevel>0&&null!=(n=e.next());){"("===r&&"*"===n&&t.commentLevel++,"*"===r&&")"===n&&t.commentLevel--,r=n;}return t.commentLevel<=0&&(t.tokenize=l),"comment";}function d(e,t){for(var r,n;t.longString&&null!=(n=e.next());){"|"===r&&"}"===n&&(t.longString=!1),r=n;}return t.longString||(t.tokenize=l),"string";}return e.registerHelper("hintWords","mllike",a),{startState:function startState(){return{tokenize:l,commentLevel:0,longString:!1};},token:function token(e,t){return e.eatSpace()?null:t.tokenize(e,t);},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:r.slashComments?"//":null};}),e.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),e.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),e.defineMIME("text/x-sml",{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},1716:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e,t){return e.string.charAt(e.pos+(t||0));}function r(e,t){if(t){var r=e.pos-t;return e.string.substr(r>=0?r:0,t);}return e.string.substr(0,e.pos-1);}function n(e,t){var r=e.string.length,n=r-e.pos+1;return e.string.substr(e.pos,t&&t<r?t:n);}function i(e,t){var r,n=e.pos+t;n<=0?e.pos=0:n>=(r=e.string.length-1)?e.pos=r:e.pos=n;}e.defineMode("perl",function(){var e={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},o="string-2",a=/[goseximacplud]/;function s(e,t,r,n,i){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var o,a=!1,s=0;o=e.next();){if(o===r[s]&&!a)return void 0!==r[++s]?(t.chain=r[s],t.style=n,t.tail=i):i&&e.eatWhile(i),t.tokenize=c,n;a=!a&&"\\"==o;}return n;},t.tokenize(e,t);}function l(e,t,r){return t.tokenize=function(e,t){return e.string==r&&(t.tokenize=c),e.skipToEnd(),"string";},t.tokenize(e,t);}function c(c,u){if(c.eatSpace())return null;if(u.chain)return s(c,u,u.chain,u.style,u.tail);if(c.match(/^\-?[\d\.]/,!1)&&c.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/))return"number";if(c.match(/^<<(?=\w)/))return c.eatWhile(/\w/),l(c,u,c.current().substr(2));if(c.sol()&&c.match(/^\=item(?!\w)/))return l(c,u,"=cut");var d=c.next();if('"'==d||"'"==d){if(r(c,3)=="<<"+d){var p=c.pos;c.eatWhile(/\w/);var f=c.current().substr(1);if(f&&c.eat(d))return l(c,u,f);c.pos=p;}return s(c,u,[d],"string");}if(!("q"!=d||(m=t(c,-2))&&/\w/.test(m)))if("x"==(m=t(c,0))){if("("==(m=t(c,1)))return i(c,2),s(c,u,[")"],o,a);if("["==m)return i(c,2),s(c,u,["]"],o,a);if("{"==m)return i(c,2),s(c,u,["}"],o,a);if("<"==m)return i(c,2),s(c,u,[">"],o,a);if(/[\^'"!~\/]/.test(m))return i(c,1),s(c,u,[c.eat(m)],o,a);}else if("q"==m){if("("==(m=t(c,1)))return i(c,2),s(c,u,[")"],"string");if("["==m)return i(c,2),s(c,u,["]"],"string");if("{"==m)return i(c,2),s(c,u,["}"],"string");if("<"==m)return i(c,2),s(c,u,[">"],"string");if(/[\^'"!~\/]/.test(m))return i(c,1),s(c,u,[c.eat(m)],"string");}else if("w"==m){if("("==(m=t(c,1)))return i(c,2),s(c,u,[")"],"bracket");if("["==m)return i(c,2),s(c,u,["]"],"bracket");if("{"==m)return i(c,2),s(c,u,["}"],"bracket");if("<"==m)return i(c,2),s(c,u,[">"],"bracket");if(/[\^'"!~\/]/.test(m))return i(c,1),s(c,u,[c.eat(m)],"bracket");}else if("r"==m){if("("==(m=t(c,1)))return i(c,2),s(c,u,[")"],o,a);if("["==m)return i(c,2),s(c,u,["]"],o,a);if("{"==m)return i(c,2),s(c,u,["}"],o,a);if("<"==m)return i(c,2),s(c,u,[">"],o,a);if(/[\^'"!~\/]/.test(m))return i(c,1),s(c,u,[c.eat(m)],o,a);}else if(/[\^'"!~\/(\[{<]/.test(m)){if("("==m)return i(c,1),s(c,u,[")"],"string");if("["==m)return i(c,1),s(c,u,["]"],"string");if("{"==m)return i(c,1),s(c,u,["}"],"string");if("<"==m)return i(c,1),s(c,u,[">"],"string");if(/[\^'"!~\/]/.test(m))return s(c,u,[c.eat(m)],"string");}if("m"==d&&(!(m=t(c,-2))||!/\w/.test(m))&&(m=c.eat(/[(\[{<\^'"!~\/]/))){if(/[\^'"!~\/]/.test(m))return s(c,u,[m],o,a);if("("==m)return s(c,u,[")"],o,a);if("["==m)return s(c,u,["]"],o,a);if("{"==m)return s(c,u,["}"],o,a);if("<"==m)return s(c,u,[">"],o,a);}if("s"==d&&!(m=/[\/>\]})\w]/.test(t(c,-2)))&&(m=c.eat(/[(\[{<\^'"!~\/]/)))return s(c,u,"["==m?["]","]"]:"{"==m?["}","}"]:"<"==m?[">",">"]:"("==m?[")",")"]:[m,m],o,a);if("y"==d&&!(m=/[\/>\]})\w]/.test(t(c,-2)))&&(m=c.eat(/[(\[{<\^'"!~\/]/)))return s(c,u,"["==m?["]","]"]:"{"==m?["}","}"]:"<"==m?[">",">"]:"("==m?[")",")"]:[m,m],o,a);if("t"==d&&!(m=/[\/>\]})\w]/.test(t(c,-2)))&&(m=c.eat("r"))&&(m=c.eat(/[(\[{<\^'"!~\/]/)))return s(c,u,"["==m?["]","]"]:"{"==m?["}","}"]:"<"==m?[">",">"]:"("==m?[")",")"]:[m,m],o,a);if("`"==d)return s(c,u,[d],"variable-2");if("/"==d)return /~\s*$/.test(r(c))?s(c,u,[d],o,a):"operator";if("$"==d){if(p=c.pos,c.eatWhile(/\d/)||c.eat("{")&&c.eatWhile(/\d/)&&c.eat("}"))return"variable-2";c.pos=p;}if(/[$@%]/.test(d)){if(p=c.pos,c.eat("^")&&c.eat(/[A-Z]/)||!/[@$%&]/.test(t(c,-2))&&c.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var m=c.current();if(e[m])return"variable-2";}c.pos=p;}if(/[$@%&]/.test(d)&&(c.eatWhile(/[\w$\[\]]/)||c.eat("{")&&c.eatWhile(/[\w$\[\]]/)&&c.eat("}")))return m=c.current(),e[m]?"variable-2":"variable";if("#"==d&&"$"!=t(c,-2))return c.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(d)){if(p=c.pos,c.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),e[c.current()])return"operator";c.pos=p;}if("_"==d&&1==c.pos){if("_END__"==n(c,6))return s(c,u,["\0"],"comment");if("_DATA__"==n(c,7))return s(c,u,["\0"],"variable-2");if("_C__"==n(c,7))return s(c,u,["\0"],"string");}if(/\w/.test(d)){if(p=c.pos,"{"==t(c,-2)&&("}"==t(c,0)||c.eatWhile(/\w/)&&"}"==t(c,0)))return"string";c.pos=p;}if(/[A-Z]/.test(d)){var h=t(c,-2);if(p=c.pos,c.eatWhile(/[A-Z_]/),!/[\da-z]/.test(t(c,0)))return(m=e[c.current()])?(m[1]&&(m=m[0]),":"!=h?1==m?"keyword":2==m?"def":3==m?"atom":4==m?"operator":5==m?"variable-2":"meta":"meta"):"meta";c.pos=p;}return /[a-zA-Z_]/.test(d)?(h=t(c,-2),c.eatWhile(/\w/),(m=e[c.current()])?(m[1]&&(m=m[0]),":"!=h?1==m?"keyword":2==m?"def":3==m?"atom":4==m?"operator":5==m?"variable-2":"meta":"meta"):"meta"):null;}return{startState:function startState(){return{tokenize:c,chain:null,style:null,tail:null};},token:function token(e,t){return(t.tokenize||c)(e,t);},lineComment:"#"};}),e.registerHelper("wordChars","perl",/[\w$]/),e.defineMIME("text/x-perl","perl");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},3612:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}function r(e,t,i){return 0==e.length?n(t):function(o,a){for(var s=e[0],l=0;l<s.length;l++){if(o.match(s[l][0]))return a.tokenize=r(e.slice(1),t),s[l][1];}return a.tokenize=n(t,i),"string";};}function n(e,t){return function(n,i){return function(e,t,n,i){if(!1!==i&&e.match("${",!1)||e.match("{$",!1))return t.tokenize=null,"string";if(!1!==i&&e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return e.match("[",!1)&&(t.tokenize=r([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],n,i)),e.match(/\-\>\w/,!1)&&(t.tokenize=r([[["->",null]],[[/[\w]+/,"variable"]]],n,i)),"variable-2";for(var o=!1;!e.eol()&&(o||!1===i||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!o&&e.match(n)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break;}o="\\"==e.next()&&!o;}return"string";}(n,i,e,t);};}var i="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",o="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",a="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";e.registerHelper("hintWords","php",[i,o,a].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var s={name:"clike",helperType:"php",keywords:t(i),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(o),builtin:t(a),multiLineStrings:!0,hooks:{$:function $(e){return e.eatWhile(/[\w\$_]/),"variable-2";},"<":function _(e,t){var r;if(r=e.match(/<<\s*/)){var i=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var o=e.current().slice(r[0].length+(i?2:1));if(i&&e.eat(i),o)return(t.tokStack||(t.tokStack=[])).push(o,0),t.tokenize=n(o,"'"!=i),"string";}return!1;},"#":function _(e){for(;!e.eol()&&!e.match("?>",!1);){e.next();}return"comment";},"/":function _(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);){e.next();}return"comment";}return!1;},'"':function _(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=n('"'),"string";},"{":function _(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1;},"}":function _(e,t){return t.tokStack&&t.tokStack.length>0&&! --t.tokStack[t.tokStack.length-1]&&(t.tokenize=n(t.tokStack[t.tokStack.length-2])),!1;}}};e.defineMode("php",function(t,r){var n=e.getMode(t,r&&r.htmlMode||"text/html"),i=e.getMode(t,s);return{startState:function startState(){var t=e.startState(n),o=r.startOpen?e.startState(i):null;return{html:t,php:o,curMode:r.startOpen?i:n,curState:r.startOpen?o:t,pending:null};},copyState:function copyState(t){var r,o=t.html,a=e.copyState(n,o),s=t.php,l=s&&e.copyState(i,s);return r=t.curMode==n?a:l,{html:a,php:l,curMode:t.curMode,curState:r,pending:t.pending};},token:function token(t,r){var o=r.curMode==i;if(t.sol()&&r.pending&&'"'!=r.pending&&"'"!=r.pending&&(r.pending=null),o)return o&&null==r.php.tokenize&&t.match("?>")?(r.curMode=n,r.curState=r.html,r.php.context.prev||(r.php=null),"meta"):i.token(t,r.curState);if(t.match(/^<\?\w*/))return r.curMode=i,r.php||(r.php=e.startState(i,n.indent(r.html,"",""))),r.curState=r.php,"meta";if('"'==r.pending||"'"==r.pending){for(;!t.eol()&&t.next()!=r.pending;){;}var a="string";}else r.pending&&t.pos<r.pending.end?(t.pos=r.pending.end,a=r.pending.style):a=n.token(t,r.curState);r.pending&&(r.pending=null);var s,l=t.current(),c=l.search(/<\?/);return-1!=c&&("string"==a&&(s=l.match(/[\'\"]$/))&&!/\?>/.test(l)?r.pending=s[0]:r.pending={end:t.pos,style:a},t.backUp(l.length-c)),a;},indent:function indent(e,t,r){return e.curMode!=i&&/^\s*<\//.test(t)||e.curMode==i&&/^\?>/.test(t)?n.indent(e.html,t,r):e.curMode.indent(e.curState,t,r);},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function innerMode(e){return{state:e.curState,mode:e.curMode};}};},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",s);},"object"==s(t)&&"object"==s(e)?a(r(9074),r(3394),r(1736)):(i=[r(9074),r(3394),r(1736)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},1459:function _(e,t,r){var n,i,o;function a(e){return a="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},a(e);}e=r.nmd(e),function(s){"use strict";"object"==a(t)&&"object"==a(e)?s(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=s)?n.apply(t,i):n)||(e.exports=o));}(function(e){"use strict";e.defineMode("powershell",function(){function e(e,t){for(var r=void 0!==(t=t||{}).prefix?t.prefix:"^",n=void 0!==t.suffix?t.suffix:"\\b",i=0;i<e.length;i++){e[i]instanceof RegExp?e[i]=e[i].source:e[i]=e[i].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");}return new RegExp(r+"("+e.join("|")+")"+n,"i");}var t="(?=[^A-Za-z\\d\\-_]|$)",r=/[\w\-:]/,n=e([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:t}),i=e(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),o=e([i,/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/],{suffix:""}),a=e([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),s=e([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),l={keyword:n,number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:o,builtin:e([/[A-Z]:|%|\?/i,a,s],{suffix:t}),punctuation:/[\[\]{},;`\\\.]|@[({]/,identifier:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};function c(e,t){var n=t.returnStack[t.returnStack.length-1];if(n&&n.shouldReturnFrom(t))return t.tokenize=n.tokenize,t.returnStack.pop(),t.tokenize(e,t);if(e.eatSpace())return null;if(e.eat("("))return t.bracketNesting+=1,"punctuation";if(e.eat(")"))return t.bracketNesting-=1,"punctuation";for(var i in l){if(e.match(l[i]))return i;}var o=e.next();if("'"===o)return function(e,t){var r;for(;null!=(r=e.peek());){if(e.next(),"'"===r&&!e.eat("'"))return t.tokenize=c,"string";}return"error";}(e,t);if("$"===o)return g(e,t);if('"'===o)return u(e,t);if("<"===o&&e.eat("#"))return t.tokenize=h,h(e,t);if("#"===o)return e.skipToEnd(),"comment";if("@"===o){var a=e.eat(/["']/);if(a&&e.eol())return t.tokenize=v,t.startQuote=a[0],v(e,t);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(r))return g(e,t);}return"error";}function u(e,t){for(var r;null!=(r=e.peek());){if("$"===r)return t.tokenize=d,"string";if(e.next(),"`"!==r){if('"'===r&&!e.eat('"'))return t.tokenize=c,"string";}else e.next();}return"error";}function d(e,t){return m(e,t,u);}function p(e,t){return t.tokenize=v,t.startQuote='"',v(e,t);}function f(e,t){return m(e,t,p);}function m(e,t,r){if(e.match("$(")){var n=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function shouldReturnFrom(e){return e.bracketNesting===n;},tokenize:r}),t.tokenize=c,t.bracketNesting+=1,"punctuation";}return e.next(),t.returnStack.push({shouldReturnFrom:function shouldReturnFrom(){return!0;},tokenize:r}),t.tokenize=g,t.tokenize(e,t);}function h(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&">"==r){t.tokenize=c;break;}n="#"===r;}return"comment";}function g(e,t){var n=e.peek();return e.eat("{")?(t.tokenize=y,y(e,t)):null!=n&&n.match(r)?(e.eatWhile(r),t.tokenize=c,"variable-2"):(t.tokenize=c,"error");}function y(e,t){for(var r;null!=(r=e.next());){if("}"===r){t.tokenize=c;break;}}return"variable-2";}function v(e,t){var r=t.startQuote;if(e.sol()&&e.match(new RegExp(r+"@")))t.tokenize=c;else if('"'===r)for(;!e.eol();){var n=e.peek();if("$"===n)return t.tokenize=f,"string";e.next(),"`"===n&&e.next();}else e.skipToEnd();return"string";}return{startState:function startState(){return{returnStack:[],bracketNesting:0,tokenize:c};},token:function token(e,t){return t.tokenize(e,t);},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"};}),e.defineMIME("application/x-powershell","powershell");});},7568:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b");}var r,n=t(["and","or","not","is"]),i=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],o=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function a(e){return e.scopes[e.scopes.length-1];}e.registerHelper("hintWords","python",i.concat(o)),e.defineMode("python",function(r,s){for(var l="error",c=s.delimiters||s.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,u=[s.singleOperators,s.doubleOperators,s.doubleDelimiters,s.tripleDelimiters,s.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],d=0;d<u.length;d++){u[d]||u.splice(d--,1);}var p=s.hangingIndent||r.indentUnit,f=i,m=o;null!=s.extra_keywords&&(f=f.concat(s.extra_keywords)),null!=s.extra_builtins&&(m=m.concat(s.extra_builtins));var h=!(s.version&&Number(s.version)<3);if(h){var g=s.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;f=f.concat(["nonlocal","False","True","None","async","await"]),m=m.concat(["ascii","bytes","exec","print"]);var y=new RegExp("^(([rbuf]|(br)|(fr))?('{3}|\"{3}|['\"]))","i");}else g=s.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/,f=f.concat(["exec","print"]),m=m.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]),y=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i");var v=t(f),b=t(m);function x(e,t){var r=e.sol()&&"\\"!=t.lastToken;if(r&&(t.indent=e.indentation()),r&&"py"==a(t).type){var n=a(t).offset;if(e.eatSpace()){var i=e.indentation();return i>n?w(t):i<n&&_(e,t)&&"#"!=e.peek()&&(t.errorToken=!0),null;}var o=k(e,t);return n>0&&_(e,t)&&(o+=" "+l),o;}return k(e,t);}function k(e,t,r){if(e.eatSpace())return null;if(!r&&e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var o=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(o=!0),e.match(/^0b[01_]+/i)&&(o=!0),e.match(/^0o[0-7_]+/i)&&(o=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),o=!0),e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number";}if(e.match(y))return-1!==e.current().toLowerCase().indexOf("f")?(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;){e=e.substr(1);}var r=1==e.length,n="string";function i(e){return function(t,r){var n=k(t,r,!0);return"punctuation"==n&&("{"==t.current()?r.tokenize=i(e+1):"}"==t.current()&&(r.tokenize=e>1?i(e-1):o)),n;};}function o(o,a){for(;!o.eol();){if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),r&&o.eol())return n;}else{if(o.match(e))return a.tokenize=t,n;if(o.match("{{"))return n;if(o.match("{",!1))return a.tokenize=i(0),o.current()?n:a.tokenize(o,a);if(o.match("}}"))return n;if(o.match("}"))return l;o.eat(/['"]/);}}if(r){if(s.singleLineStringErrors)return l;a.tokenize=t;}return n;}return o.isString=!0,o;}(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;){e=e.substr(1);}var r=1==e.length,n="string";function i(i,o){for(;!i.eol();){if(i.eatWhile(/[^'"\\]/),i.eat("\\")){if(i.next(),r&&i.eol())return n;}else{if(i.match(e))return o.tokenize=t,n;i.eat(/['"]/);}}if(r){if(s.singleLineStringErrors)return l;o.tokenize=t;}return n;}return i.isString=!0,i;}(e.current(),t.tokenize),t.tokenize(e,t));for(var a=0;a<u.length;a++){if(e.match(u[a]))return"operator";}return e.match(c)?"punctuation":"."==t.lastToken&&e.match(g)?"property":e.match(v)||e.match(n)?"keyword":e.match(b)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(g)?"def"==t.lastToken||"class"==t.lastToken?"def":"variable":(e.next(),r?null:l);}function w(e){for(;"py"!=a(e).type;){e.scopes.pop();}e.scopes.push({offset:a(e).offset+r.indentUnit,type:"py",align:null});}function _(e,t){for(var r=e.indentation();t.scopes.length>1&&a(t).offset>r;){if("py"!=a(t).type)return!0;t.scopes.pop();}return a(t).offset!=r;}function S(e,t){e.sol()&&(t.beginningOfLine=!0);var r=t.tokenize(e,t),n=e.current();if(t.beginningOfLine&&"@"==n)return e.match(g,!1)?"meta":h?"operator":l;if(/\S/.test(n)&&(t.beginningOfLine=!1),"variable"!=r&&"builtin"!=r||"meta"!=t.lastToken||(r="meta"),"pass"!=n&&"return"!=n||(t.dedent+=1),"lambda"==n&&(t.lambda=!0),":"!=n||t.lambda||"py"!=a(t).type||w(t),1==n.length&&!/string|comment/.test(r)){var i="[({".indexOf(n);if(-1!=i&&function(e,t,r){var n=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:r,align:n});}(e,t,"])}".slice(i,i+1)),-1!=(i="])}".indexOf(n))){if(a(t).type!=n)return l;t.indent=t.scopes.pop().offset-p;}}return t.dedent>0&&e.eol()&&"py"==a(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),r;}return{startState:function startState(e){return{tokenize:x,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0};},token:function token(e,t){var r=t.errorToken;r&&(t.errorToken=!1);var n=S(e,t);return n&&"comment"!=n&&(t.lastToken="keyword"==n||"punctuation"==n?e.current():n),"punctuation"==n&&(n=null),e.eol()&&t.lambda&&(t.lambda=!1),r?n+" "+l:n;},indent:function indent(t,r){if(t.tokenize!=x)return t.tokenize.isString?e.Pass:0;var n=a(t),i=n.type==r.charAt(0);return null!=n.align?n.align-(i?1:0):n.offset-(i?p:0);},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"};}),e.defineMIME("text/x-python","python"),e.defineMIME("text/x-cython",{name:"python",extra_keywords:(r="by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE",r.split(" "))});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},8446:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.registerHelper("wordChars","r",/[\w.]/),e.defineMode("r",function(t){function r(e){for(var t={},r=0;r<e.length;++r){t[e[r]]=!0;}return t;}var n=["NULL","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","TRUE","FALSE"],i=["list","quote","bquote","eval","return","call","parse","deparse"],o=["if","else","repeat","while","function","for","in","next","break"];e.registerHelper("hintWords","r",n.concat(i,o));var a,s=r(n),l=r(i),c=r(o),u=r(["if","else","repeat","while","function","for"]),d=/[+\-*\/^<>=!&|~$:]/;function p(e,t){a=null;var r,n=e.next();if("#"==n)return e.skipToEnd(),"comment";if("0"==n&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if("."==n&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(n))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==n||'"'==n)return t.tokenize=(r=n,function(e,t){if(e.eat("\\")){var n=e.next();return"x"==n?e.match(/^[a-f0-9]{2}/i):("u"==n||"U"==n)&&e.eat("{")&&e.skipTo("}")?e.next():"u"==n?e.match(/^[a-f0-9]{4}/i):"U"==n?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(n)&&e.match(/^[0-7]{1,2}/),"string-2";}for(var i;null!=(i=e.next());){if(i==r){t.tokenize=p;break;}if("\\"==i){e.backUp(1);break;}}return"string";}),"string";if("`"==n)return e.match(/[^`]+`/),"variable-3";if("."==n&&e.match(/.[.\d]+/))return"keyword";if(/[\w\.]/.test(n)&&"_"!=n){e.eatWhile(/[\w\.]/);var i=e.current();return s.propertyIsEnumerable(i)?"atom":c.propertyIsEnumerable(i)?(u.propertyIsEnumerable(i)&&!e.match(/\s*if(\s+|$)/,!1)&&(a="block"),"keyword"):l.propertyIsEnumerable(i)?"builtin":"variable";}return"%"==n?(e.skipTo("%")&&e.next(),"operator variable-2"):"<"==n&&e.eat("-")||"<"==n&&e.match("<-")||"-"==n&&e.match(/>>?/)?"operator arrow":"="==n&&t.ctx.argList?"arg-is":d.test(n)?"$"==n?"operator dollar":(e.eatWhile(d),"operator"):/[\(\){}\[\];]/.test(n)?(a=n,";"==n?"semi":null):null;}function f(e,t,r){e.ctx={type:t,indent:e.indent,flags:0,column:r.column(),prev:e.ctx};}function m(e,t){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|t,column:r.column,prev:r.prev};}function h(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev;}return{startState:function startState(){return{tokenize:p,ctx:{type:"top",indent:-t.indentUnit,flags:2},indent:0,afterIdent:!1};},token:function token(e,t){if(e.sol()&&(0==(3&t.ctx.flags)&&(t.ctx.flags|=2),4&t.ctx.flags&&h(t),t.indent=e.indentation()),e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"!=r&&0==(2&t.ctx.flags)&&m(t,1),";"!=a&&"{"!=a&&"}"!=a||"block"!=t.ctx.type||h(t),"{"==a?f(t,"}",e):"("==a?(f(t,")",e),t.afterIdent&&(t.ctx.argList=!0)):"["==a?f(t,"]",e):"block"==a?f(t,"block",e):a==t.ctx.type?h(t):"block"==t.ctx.type&&"comment"!=r&&m(t,4),t.afterIdent="variable"==r||"keyword"==r,r;},indent:function indent(e,r){if(e.tokenize!=p)return 0;var n=r&&r.charAt(0),i=e.ctx,o=n==i.type;return 4&i.flags&&(i=i.prev),"block"==i.type?i.indent+("{"==n?0:t.indentUnit):1&i.flags?i.column+(o?0:1):i.indent+(o?0:t.indentUnit);},lineComment:"#"};}),e.defineMIME("text/x-rsrc","r");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},8021:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("ruby",function(t){function r(e){for(var t={},r=0,n=e.length;r<n;++r){t[e[r]]=!0;}return t;}var n,i=r(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),o=r(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),a=r(["end","until"]),s={"[":"]","{":"}","(":")"},l={"]":"[","}":"{",")":"("};function c(e,t,r){return r.tokenize.push(e),e(t,r);}function u(e,t){if(e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(m),"comment";if(e.eatSpace())return null;var r,i,o,a=e.next();if("`"==a||"'"==a||'"'==a)return c(f(a,"string",'"'==a||"`"==a),e,t);if("/"==a)return function(e){for(var t,r=e.pos,n=0,i=!1,o=!1;null!=(t=e.next());){if(o)o=!1;else{if("[{(".indexOf(t)>-1)n++;else if("]})".indexOf(t)>-1){if(--n<0)break;}else if("/"==t&&0==n){i=!0;break;}o="\\"==t;}}return e.backUp(e.pos-r),i;}(e)?c(f(a,"string-2",!0),e,t):"operator";if("%"==a){var l="string",u=!0;e.eat("s")?l="atom":e.eat(/[WQ]/)?l="string":e.eat(/[r]/)?l="string-2":e.eat(/[wxq]/)&&(l="string",u=!1);var d=e.eat(/[^\w\s=]/);return d?(s.propertyIsEnumerable(d)&&(d=s[d]),c(f(d,l,u,!0),e,t)):"operator";}if("#"==a)return e.skipToEnd(),"comment";if("<"==a&&(r=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return c((i=r[2],o=r[1],function(e,t){return o&&e.eatSpace(),e.match(i)?t.tokenize.pop():e.skipToEnd(),"string";}),e,t);if("0"==a)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(a))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==a){for(;e.match(/^\\[CM]-/);){;}return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string";}if(":"==a)return e.eat("'")?c(f("'","atom",!1),e,t):e.eat('"')?c(f('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==a&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==a)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(a))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=a||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(a))return n=a,null;if("-"==a&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(a)){var p=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=a||p||(n="."),"operator";}return null;}return n="|",null;}function d(e){return e||(e=1),function(t,r){if("}"==t.peek()){if(1==e)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);r.tokenize[r.tokenize.length-1]=d(e-1);}else"{"==t.peek()&&(r.tokenize[r.tokenize.length-1]=d(e+1));return u(t,r);};}function p(){var e=!1;return function(t,r){return e?(r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)):(e=!0,u(t,r));};}function f(e,t,r,n){return function(i,o){var a,s=!1;for("read-quoted-paused"===o.context.type&&(o.context=o.context.prev,i.eat("}"));null!=(a=i.next());){if(a==e&&(n||!s)){o.tokenize.pop();break;}if(r&&"#"==a&&!s){if(i.eat("{")){"}"==e&&(o.context={prev:o.context,type:"read-quoted-paused"}),o.tokenize.push(d());break;}if(/[@\$]/.test(i.peek())){o.tokenize.push(p());break;}}s=!s&&"\\"==a;}return t;};}function m(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment";}return{startState:function startState(){return{tokenize:[u],indented:0,context:{type:"top",indented:-t.indentUnit},continuedLine:!1,lastTok:null,varList:!1};},token:function token(e,t){n=null,e.sol()&&(t.indented=e.indentation());var r,s=t.tokenize[t.tokenize.length-1](e,t),l=n;if("ident"==s){var c=e.current();"keyword"==(s="."==t.lastTok?"property":i.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(l=c,o.propertyIsEnumerable(c)?r="indent":a.propertyIsEnumerable(c)?r="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&t.context.indented<t.indented&&(r="indent"):r="indent");}return(n||s&&"comment"!=s)&&(t.lastTok=l),"|"==n&&(t.varList=!t.varList),"indent"==r||/[\(\[\{]/.test(n)?t.context={prev:t.context,type:n||s,indented:t.indented}:("dedent"==r||/[\)\]\}]/.test(n))&&t.context.prev&&(t.context=t.context.prev),e.eol()&&(t.continuedLine="\\"==n||"operator"==s),s;},indent:function indent(r,n){if(r.tokenize[r.tokenize.length-1]!=u)return e.Pass;var i=n&&n.charAt(0),o=r.context,a=o.type==l[i]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return o.indented+(a?0:t.indentUnit)+(r.continuedLine?t.indentUnit:0);},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"};}),e.defineMIME("text/x-ruby","ruby");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},8058:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type|union)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|async|await|box|break|continue|const|crate|do|dyn|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),e.defineMIME("text/x-rustsrc","rust"),e.defineMIME("text/rust","rust");},"object"==s(t)&&"object"==s(e)?a(r(9074),r(3740)):(i=[r(9074),r(3740)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},4949:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("shell",function(){var t={};function r(e,r){for(var n=0;n<r.length;n++){t[r[n]]=e;}}var n=["true","false"],i=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],o=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];function a(e,r){if(e.eatSpace())return null;var n=e.sol(),i=e.next();if("\\"===i)return e.next(),null;if("'"===i||'"'===i||"`"===i)return r.tokens.unshift(s(i,"`"===i?"quote":"string")),u(e,r);if("#"===i)return n&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if("$"===i)return r.tokens.unshift(c),u(e,r);if("+"===i||"="===i)return"operator";if("-"===i)return e.eat("-"),e.eatWhile(/\w/),"attribute";if(/\d/.test(i)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var o=e.current();return"="===e.peek()&&/\w+/.test(o)?"def":t.hasOwnProperty(o)?t[o]:null;}function s(e,t){var r="("==e?")":"{"==e?"}":e;return function(n,i){for(var o,a=!1;null!=(o=n.next());){if(o===r&&!a){i.tokens.shift();break;}if("$"===o&&!a&&"'"!==e&&n.peek()!=r){a=!0,n.backUp(1),i.tokens.unshift(c);break;}if(!a&&e!==r&&o===e)return i.tokens.unshift(s(e,t)),u(n,i);if(!a&&/['"]/.test(o)&&!/['"]/.test(e)){i.tokens.unshift(l(o,"string")),n.backUp(1);break;}a=!a&&"\\"===o;}return t;};}function l(e,t){return function(r,n){return n.tokens[0]=s(e,t),r.next(),u(r,n);};}e.registerHelper("hintWords","shell",n.concat(i,o)),r("atom",n),r("keyword",i),r("builtin",o);var c=function c(e,t){t.tokens.length>1&&e.eat("$");var r=e.next();return /['"({]/.test(r)?(t.tokens[0]=s(r,"("==r?"quote":"{"==r?"def":"string"),u(e,t)):(/\d/.test(r)||e.eatWhile(/\w/),t.tokens.shift(),"def");};function u(e,t){return(t.tokens[0]||a)(e,t);}return{startState:function startState(){return{tokens:[]};},token:function token(e,t){return u(e,t);},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"};}),e.defineMIME("text/x-sh","shell"),e.defineMIME("application/x-sh","shell");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},6906:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t;null!=(t=e.next());){if("`"==t&&!e.eat("`"))return"variable-2";}return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null;}function r(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 n(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null;}e.defineMode("sql",function(t,r){var n=r.client||{},s=r.atoms||{false:!0,true:!0,null:!0},l=r.builtin||o(a),c=r.keywords||o(i),u=r.operatorChars||/^[*+\-%<>!=&|~^\/]/,d=r.support||{},p=r.hooks||{},f=r.dateSQL||{date:!0,time:!0,timestamp:!0},m=!1!==r.backslashStringEscapes,h=r.brackets||/^[\{}\(\)\[\]]/,g=r.punctuation||/^[;.,:]/;function y(e,t){var r=e.next();if(p[r]){var i=p[r](e,t);if(!1!==i)return i;}if(d.hexNumber&&("0"==r&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==r||"X"==r)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(d.binaryNumber&&(("b"==r||"B"==r)&&e.match(/^'[01]+'/)||"0"==r&&e.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),d.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==r&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==r||'"'==r&&d.doubleQuote)return t.tokenize=v(r),t.tokenize(e,t);if((d.nCharCast&&("n"==r||"N"==r)||d.charsetCast&&"_"==r&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(d.escapeConstant&&("e"==r||"E"==r)&&("'"==e.peek()||'"'==e.peek()&&d.doubleQuote))return t.tokenize=function(e,t){return(t.tokenize=v(e.next(),!0))(e,t);},"keyword";if(d.commentSlashSlash&&"/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(d.commentHash&&"#"==r||"-"==r&&e.eat("-")&&(!d.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==r&&e.eat("*"))return t.tokenize=b(1),t.tokenize(e,t);if("."!=r){if(u.test(r))return e.eatWhile(u),"operator";if(h.test(r))return"bracket";if(g.test(r))return e.eatWhile(g),"punctuation";if("{"==r&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var o=e.current().toLowerCase();return f.hasOwnProperty(o)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":s.hasOwnProperty(o)?"atom":l.hasOwnProperty(o)?"builtin":c.hasOwnProperty(o)?"keyword":n.hasOwnProperty(o)?"string-2":null;}return d.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:d.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0;}function v(e,t){return function(r,n){for(var i,o=!1;null!=(i=r.next());){if(i==e&&!o){n.tokenize=y;break;}o=(m||t)&&!o&&"\\"==i;}return"string";};}function b(e){return function(t,r){var n=t.match(/^.*?(\/\*|\*\/)/);return n?"/*"==n[1]?r.tokenize=b(e+1):r.tokenize=e>1?b(e-1):y:t.skipToEnd(),"comment";};}function x(e,t,r){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:r};}return{startState:function startState(){return{tokenize:y,context:null};},token:function token(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==y&&e.eatSpace())return null;var r=t.tokenize(e,t);if("comment"==r)return r;t.context&&null==t.context.align&&(t.context.align=!0);var n=e.current();return"("==n?x(e,t,")"):"["==n?x(e,t,"]"):t.context&&t.context.type==n&&function(e){e.indent=e.context.indent,e.context=e.context.prev;}(t),r;},indent:function indent(r,n){var i=r.context;if(!i)return e.Pass;var o=n.charAt(0)==i.type;return i.align?i.col+(o?0:1):i.indent+(o?0:t.indentUnit);},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:d.commentSlashSlash?"//":d.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``"};});var i="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 o(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}var a="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:o(i+"begin"),builtin:o(a),atoms:o("false true null unknown"),dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:o("$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:o(i+"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:o("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:o("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:o("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":r}}),e.defineMIME("text/x-mysql",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(i+"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:o("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:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":n}}),e.defineMIME("text/x-mariadb",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(i+"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 groupby_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:o("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:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":n}}),e.defineMIME("text/x-sqlite",{name:"sql",client:o("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:o(i+"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:o("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:o("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:o("date time timestamp datetime"),support:o("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":r,":":r,"?":r,$:r,'"':function _(e){for(var t;null!=(t=e.next());){if('"'==t&&!e.eat('"'))return"variable-2";}return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null;},"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:o("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:o("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:o("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:o("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:o("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:o("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:o("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:o("date time timestamp"),support:o("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:o("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:o("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:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:o("source"),keywords:o(i+"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:o("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 without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),e.defineMIME("text/x-gql",{name:"sql",keywords:o("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:o("false true"),builtin:o("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:o("source"),keywords:o("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:o("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:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:o("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 datata 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:o("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:o("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:o("source"),keywords:o("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:o("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("time"),support:o("decimallessFloat zerolessFloat binaryNumber hexNumber")});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},1878:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t={},r=0;r<e.length;r++){t[e[r]]=!0;}return t;}var r=t(["_","var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","open","public","internal","fileprivate","private","deinit","init","new","override","self","subscript","super","convenience","dynamic","final","indirect","lazy","required","static","unowned","unowned(safe)","unowned(unsafe)","weak","as","is","break","case","continue","default","else","fallthrough","for","guard","if","in","repeat","switch","where","while","defer","return","inout","mutating","nonmutating","catch","do","rethrows","throw","throws","try","didSet","get","set","willSet","assignment","associativity","infix","left","none","operator","postfix","precedence","precedencegroup","prefix","right","Any","AnyObject","Type","dynamicType","Self","Protocol","__COLUMN__","__FILE__","__FUNCTION__","__LINE__"]),n=t(["var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","for"]),i=t(["true","false","nil","self","super","_"]),o=t(["Array","Bool","Character","Dictionary","Double","Float","Int","Int8","Int16","Int32","Int64","Never","Optional","Set","String","UInt8","UInt16","UInt32","UInt64","Void"]),a="+-/*%=|&<>~^?!",s=":;,.(){}[]",l=/^\-?0b[01][01_]*/,c=/^\-?0o[0-7][0-7_]*/,u=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,d=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,p=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,f=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,m=/^\#[A-Za-z]+/,h=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function g(e,t,g){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var y,x=e.peek();if("/"==x){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(b),b(e,t);}if(e.match(m))return"builtin";if(e.match(h))return"attribute";if(e.match(l))return"number";if(e.match(c))return"number";if(e.match(u))return"number";if(e.match(d))return"number";if(e.match(f))return"property";if(a.indexOf(x)>-1)return e.next(),"operator";if(s.indexOf(x)>-1)return e.next(),e.match(".."),"punctuation";if(y=e.match(/("""|"|')/)){var k=v.bind(null,y[0]);return t.tokenize.push(k),k(e,t);}if(e.match(p)){var w=e.current();return o.hasOwnProperty(w)?"variable-2":i.hasOwnProperty(w)?"atom":r.hasOwnProperty(w)?(n.hasOwnProperty(w)&&(t.prev="define"),"keyword"):"define"==g?"def":"variable";}return e.next(),null;}function y(){var e=0;return function(t,r,n){var i=g(t,r,n);if("punctuation"==i)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);--e;}return i;};}function v(e,t,r){for(var n,i=1==e.length,o=!1;n=t.peek();){if(o){if(t.next(),"("==n)return r.tokenize.push(y()),"string";o=!1;}else{if(t.match(e))return r.tokenize.pop(),"string";t.next(),o="\\"==n;}}return i&&r.tokenize.pop(),"string";}function b(e,t){for(var r;e.match(/^[^/*]+/,!0),r=e.next();){"/"===r&&e.eat("*")?t.tokenize.push(b):"*"===r&&e.eat("/")&&t.tokenize.pop();}return"comment";}function x(e,t,r){this.prev=e,this.align=t,this.indented=r;}function k(e,t){var r=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new x(e.context,r,e.indented);}function w(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev);}e.defineMode("swift",function(e){return{startState:function startState(){return{prev:null,context:null,indented:0,tokenize:[]};},token:function token(e,t){var r=t.prev;t.prev=null;var n=(t.tokenize[t.tokenize.length-1]||g)(e,t,r);if(n&&"comment"!=n?t.prev||(t.prev=n):t.prev=r,"punctuation"==n){var i=/[\(\[\{]|([\]\)\}])/.exec(e.current());i&&(i[1]?w:k)(t,e);}return n;},indent:function indent(t,r){var n=t.context;if(!n)return 0;var i=/^[\]\}\)]/.test(r);return null!=n.align?n.align-(i?1:0):n.indented+(i?0:e.indentUnit);},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"};}),e.defineMIME("text/x-swift","swift");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},356:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("toml",function(){return{startState:function startState(){return{inString:!1,stringType:"",lhs:!0,inArray:0};},token:function token(e,t){if(t.inString||'"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.inString=!0),e.sol()&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString&&!e.eol();){e.peek()===t.stringType?(e.next(),t.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);}return t.lhs?"property string":"string";}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e;})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):!t.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":t.lhs||!e.match("true")&&!e.match("false")?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom";}};}),e.defineMIME("text/x-toml","toml");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},336:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(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},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,i){var o,a,s=n.indentUnit,l={},c=i.htmlMode?t:r;for(var u in c){l[u]=c[u];}for(var u in i){l[u]=i[u];}function d(e,t){function r(r){return t.tokenize=r,r(e,t);}var n=e.next();return"<"==n?e.eat("!")?e.eat("[")?e.match("CDATA[")?r(f("atom","]]>")):null:e.match("--")?r(f("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),r(m(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=f("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"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);}function p(e,t){var r,n,i=e.next();if(">"==i||"/"==i&&e.eat(">"))return t.tokenize=d,o=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return o="equals",null;if("<"==i){t.tokenize=d,t.state=v,t.tagName=t.tagStart=null;var a=t.tokenize(e,t);return a?a+" tag error":"tag error";}return /[\'\"]/.test(i)?(t.tokenize=(r=i,n=function n(e,t){for(;!e.eol();){if(e.next()==r){t.tokenize=p;break;}}return"string";},n.isInAttribute=!0,n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word");}function f(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=d;break;}r.next();}return e;};}function m(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=m(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=d;break;}return r.tokenize=m(e-1),r.tokenize(t,r);}}return"meta";};}function h(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0);}function g(e){e.context&&(e.context=e.context.prev);}function y(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!l.contextGrabbers.hasOwnProperty(r)||!l.contextGrabbers[r].hasOwnProperty(t))return;g(e);}}function v(e,t,r){return"openTag"==e?(r.tagStart=t.column(),b):"closeTag"==e?x:v;}function b(e,t,r){return"word"==e?(r.tagName=t.current(),a="tag",_):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",_(e,0,r)):(a="error",b);}function x(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&l.implicitlyClosed.hasOwnProperty(r.context.tagName)&&g(r),r.context&&r.context.tagName==n||!1===l.matchClosing?(a="tag",k):(a="tag error",w);}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",k(e,0,r)):(a="error",w);}function k(e,t,r){return"endTag"!=e?(a="error",k):(g(r),v);}function w(e,t,r){return a="error",k(e,0,r);}function _(e,t,r){if("word"==e)return a="attribute",S;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,i=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(n)?y(r,n):(y(r,n),r.context=new h(r,n,i==r.indented)),v;}return a="error",_;}function S(e,t,r){return"equals"==e?C:(l.allowMissing||(a="error"),_(e,0,r));}function C(e,t,r){return"string"==e?T:"word"==e&&l.allowUnquoted?(a="string",_):(a="error",_(e,0,r));}function T(e,t,r){return"string"==e?T:_(e,0,r);}return d.isInText=!0,{startState:function startState(e){var t={tokenize:d,state:v,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t;},token:function token(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var r=t.tokenize(e,t);return(r||o)&&"comment"!=r&&(a=null,t.state=t.state(o||r,e,t),a&&(r="error"==a?r+" error":a)),r;},indent:function indent(t,r,n){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var o=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(o&&o[1])for(;i;){if(i.tagName==o[2]){i=i.prev;break;}if(!l.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev;}else if(o)for(;i;){var a=l.contextGrabbers[i.tagName];if(!a||!a.hasOwnProperty(o[2]))break;i=i.prev;}for(;i&&i.prev&&!i.startOfLine;){i=i.prev;}return i?i.indent+s:t.baseIndent||0;},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function skipAttribute(e){e.state==C&&(e.state=_);},xmlCurrentTag:function xmlCurrentTag(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null;},xmlCurrentContext:function xmlCurrentContext(e){for(var t=[],r=e.context;r;r=r.prev){r.tagName&&t.push(r.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});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},9393:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("yaml",function(){var e=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");return{token:function token(t,r){var n=t.peek(),i=r.escaped;if(r.escaped=!1,"#"==n&&(0==t.pos||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(r.literal&&t.indentation()>r.keyCol)return t.skipToEnd(),"string";if(r.literal&&(r.literal=!1),t.sol()){if(r.keyCol=0,r.pair=!1,r.pairStart=!1,t.match(/---/))return"def";if(t.match(/\.\.\./))return"def";if(t.match(/\s*-\s+/))return"meta";}if(t.match(/^(\{|\}|\[|\])/))return"{"==n?r.inlinePairs++:"}"==n?r.inlinePairs--:"["==n?r.inlineList++:r.inlineList--,"meta";if(r.inlineList>0&&!i&&","==n)return t.next(),"meta";if(r.inlinePairs>0&&!i&&","==n)return r.keyCol=0,r.pair=!1,r.pairStart=!1,t.next(),"meta";if(r.pairStart){if(t.match(/^\s*(\||\>)\s*/))return r.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==r.inlinePairs&&t.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(r.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(e))return"keyword";}return!r.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(r.pair=!0,r.keyCol=t.indentation(),"atom"):r.pair&&t.match(/^:\s*/)?(r.pairStart=!0,"meta"):(r.pairStart=!1,r.escaped="\\"==n,t.next(),null);},startState:function startState(){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");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},8922:function _(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r;}).join("");},t.i=function(e,r,n,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0);}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u));}},t;};},7499:function _(e){"use strict";e.exports=function(e){return e[1];};},4201:function _(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);}}r.r(t),r.d(t,{AdditionalRuleKinds:function AdditionalRuleKinds(){return C;},CharacterStream:function CharacterStream(){return i;},LexRules:function LexRules(){return f;},ParseRules:function ParseRules(){return m;},RuleKinds:function RuleKinds(){return T;},butNot:function butNot(){return s;},isIgnored:function isIgnored(){return p;},list:function list(){return a;},onlineParser:function onlineParser(){return y;},opt:function opt(){return o;},p:function p(){return c;},t:function t(){return l;}});var i=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.getStartOfToken=function(){return r._start;},this.getCurrentPosition=function(){return r._pos;},this.eol=function(){return r._sourceText.length===r._pos;},this.sol=function(){return 0===r._pos;},this.peek=function(){return r._sourceText.charAt(r._pos)?r._sourceText.charAt(r._pos):null;},this.next=function(){var e=r._sourceText.charAt(r._pos);return r._pos++,e;},this.eat=function(e){if(r._testNextCharacter(e))return r._start=r._pos,r._pos++,r._sourceText.charAt(r._pos-1);},this.eatWhile=function(e){var t=r._testNextCharacter(e),n=!1;for(t&&(n=t,r._start=r._pos);t;){r._pos++,t=r._testNextCharacter(e),n=!0;}return n;},this.eatSpace=function(){return r.eatWhile(/[\s\u00a0]/);},this.skipToEnd=function(){r._pos=r._sourceText.length;},this.skipTo=function(e){r._pos=e;},this.match=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=null,i=null;"string"==typeof e?(i=new RegExp(e,arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"i":"g").test(r._sourceText.substr(r._pos,e.length)),n=e):e instanceof RegExp&&(n=(i=r._sourceText.slice(r._pos).match(e))&&i[0]);return!(null==i||!("string"==typeof e||i instanceof Array&&r._sourceText.startsWith(i[0],r._pos)))&&(t&&(r._start=r._pos,n&&n.length&&(r._pos+=n.length)),i);},this.backUp=function(e){r._pos-=e;},this.column=function(){return r._pos;},this.indentation=function(){var e=r._sourceText.match(/\s*/),t=0;if(e&&0!==e.length)for(var n=e[0],i=0;n.length>i;){9===n.charCodeAt(i)?t+=2:t++,i++;}return t;},this.current=function(){return r._sourceText.slice(r._start,r._pos);},this._start=0,this._pos=0,this._sourceText=t;}var t,r,i;return t=e,(r=[{key:"_testNextCharacter",value:function value(e){var t=this._sourceText.charAt(this._pos);return"string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t);}}])&&n(t.prototype,r),i&&n(t,i),e;}();function o(e){return{ofRule:e};}function a(e,t){return{ofRule:e,isList:!0,separator:t};}function s(e,t){var r=e.match;return e.match=function(e){var n=!1;return r&&(n=r(e)),n&&t.every(function(t){return t.match&&!t.match(e);});},e;}function l(e,t){return{style:t,match:function match(t){return t.kind===e;}};}function c(e,t){return{style:t||"punctuation",match:function match(t){return"Punctuation"===t.kind&&t.value===e;}};}var u,d=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"}),p=function p(e){return" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\uFEFF"===e||" "===e;},f={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},m={Document:[a("Definition")],Definition:function Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return d.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef";}},ShortQuery:["SelectionSet"],Query:[h("query"),o(g("def")),o("VariableDefinitions"),a("Directive"),"SelectionSet"],Mutation:[h("mutation"),o(g("def")),o("VariableDefinitions"),a("Directive"),"SelectionSet"],Subscription:[h("subscription"),o(g("def")),o("VariableDefinitions"),a("Directive"),"SelectionSet"],VariableDefinitions:[c("("),a("VariableDefinition"),c(")")],VariableDefinition:["Variable",c(":"),"Type",o("DefaultValue")],Variable:[c("$","variable"),g("variable")],DefaultValue:[c("="),"Value"],SelectionSet:[c("{"),a("Selection"),c("}")],Selection:function Selection(e,t){return"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field";},AliasedField:[g("property"),c(":"),g("qualifier"),o("Arguments"),a("Directive"),o("SelectionSet")],Field:[g("property"),o("Arguments"),a("Directive"),o("SelectionSet")],Arguments:[c("("),a("Argument"),c(")")],Argument:[g("attribute"),c(":"),"Value"],FragmentSpread:[c("..."),g("def"),a("Directive")],InlineFragment:[c("..."),o("TypeCondition"),a("Directive"),"SelectionSet"],FragmentDefinition:[h("fragment"),o(s(g("def"),[h("on")])),"TypeCondition",a("Directive"),"SelectionSet"],TypeCondition:[h("on"),"NamedType"],Value:function Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType";}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue";}return"null"===e.value?"NullValue":"EnumValue";}},NumberValue:[l("Number","number")],StringValue:[{style:"string",match:function match(e){return"String"===e.kind;},update:function update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'));}}],BooleanValue:[l("Name","builtin")],NullValue:[l("Name","keyword")],EnumValue:[g("string-2")],ListValue:[c("["),a("Value"),c("]")],ObjectValue:[c("{"),a("ObjectField"),c("}")],ObjectField:[g("attribute"),c(":"),"Value"],Type:function Type(e){return"["===e.value?"ListType":"NonNullType";},ListType:[c("["),"Type",c("]"),o(c("!"))],NonNullType:["NamedType",o(c("!"))],NamedType:[(u="atom",{style:u,match:function match(e){return"Name"===e.kind;},update:function update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value);}})],Directive:[c("@","meta"),g("meta"),o("Arguments")],DirectiveDef:[h("directive"),c("@","meta"),g("meta"),o("ArgumentsDef"),h("on"),a("DirectiveLocation",c("|"))],InterfaceDef:[h("interface"),g("atom"),o("Implements"),a("Directive"),c("{"),a("FieldDef"),c("}")],Implements:[h("implements"),a("NamedType",c("&"))],DirectiveLocation:[g("string-2")],SchemaDef:[h("schema"),a("Directive"),c("{"),a("OperationTypeDef"),c("}")],OperationTypeDef:[g("keyword"),c(":"),g("atom")],ScalarDef:[h("scalar"),g("atom"),a("Directive")],ObjectTypeDef:[h("type"),g("atom"),o("Implements"),a("Directive"),c("{"),a("FieldDef"),c("}")],FieldDef:[g("property"),o("ArgumentsDef"),c(":"),"Type",a("Directive")],ArgumentsDef:[c("("),a("InputValueDef"),c(")")],InputValueDef:[g("attribute"),c(":"),"Type",o("DefaultValue"),a("Directive")],UnionDef:[h("union"),g("atom"),a("Directive"),c("="),a("UnionMember",c("|"))],UnionMember:["NamedType"],EnumDef:[h("enum"),g("atom"),a("Directive"),c("{"),a("EnumValueDef"),c("}")],EnumValueDef:[g("string-2"),a("Directive")],InputDef:[h("input"),g("atom"),a("Directive"),c("{"),a("InputValueDef"),c("}")],ExtendDef:[h("extend"),"ObjectTypeDef"]};function h(e){return{style:"keyword",match:function match(t){return"Name"===t.kind&&t.value===e;}};}function g(e){return{style:e,match:function match(e){return"Name"===e.kind;},update:function update(e,t){e.name=t.value;}};}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{eatWhitespace:function eatWhitespace(e){return e.eatWhile(p);},lexRules:f,parseRules:m,editorConfig:{}};return{startState:function startState(){var t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return x(e.parseRules,t,d.DOCUMENT),t;},token:function token(t,r){return function(e,t,r){if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");var n=r.lexRules,i=r.parseRules,o=r.eatWhitespace,a=r.editorConfig;t.rule&&0===t.rule.length?k(t):t.needsAdvance&&(t.needsAdvance=!1,w(t,!0));if(e.sol()){var s=a&&a.tabSize||2;t.indentLevel=Math.floor(e.indentation()/s);}if(o(e))return"ws";var l=function(e,t){for(var r=Object.keys(e),n=0;n<r.length;n++){var i=t.match(e[r[n]]);if(i&&i instanceof Array)return{kind:r[n],value:i[0]};}}(n,e);if(!l){return e.match(/\S+/)||e.match(/\s/),x(b,t,"Invalid"),"invalidchar";}if("Comment"===l.kind)return x(b,t,"Comment"),"comment";var c=v({},t);if("Punctuation"===l.kind)if(/^[{([]/.test(l.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(l.value)){var u=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&u.length>0&&u[u.length-1]<t.indentLevel&&(t.indentLevel=u[u.length-1]);}for(;t.rule;){var d="function"==typeof t.rule?0===t.step?t.rule(l,e):null:t.rule[t.step];if(t.needsSeperator&&(d=d&&(null==d?void 0:d.separator)),d){if(d.ofRule&&(d=d.ofRule),"string"==typeof d){x(i,t,d);continue;}if(d.match&&d.match(l))return d.update&&d.update(t,l),"Punctuation"===l.kind?w(t,!0):t.needsAdvance=!0,d.style;}S(t);}return v(t,c),x(b,t,"Invalid"),"invalidchar";}(t,r,e);}};}function v(e,t){for(var r=Object.keys(t),n=0;n<r.length;n++){e[r[n]]=t[r[n]];}return e;}var b={Invalid:[],Comment:[]};function x(e,t,r){if(!e[r])throw new TypeError("Unknown rule: "+r);t.prevState=Object.assign({},t),t.kind=r,t.name=null,t.type=null,t.rule=e[r],t.step=0,t.needsSeperator=!1;}function k(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState);}function w(e,t){if(_(e)&&e.rule){var r=e.rule[e.step];if(r.separator){var n=r.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&n.ofRule)return;}if(t)return;}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);){k(e),e.rule&&(_(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++));}}function _(e){var t=Array.isArray(e.rule)&&"string"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList;}function S(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);){k(e);}e.rule&&w(e,!1);}var C={ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type"},T=Object.assign(Object.assign({},d),C);},9428:function _(e,t,r){"use strict";var n=r(2134);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s;}}function t(){return e;}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r;};},6526:function _(e,t,r){e.exports=r(9428)();},2134:function _(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";},1022:function _(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r){Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);}}return e;},n.apply(this,arguments);}function i(e){return i="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},i(e);}var _o2,a=(_o2=function o(e,t){return _o2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var r in t){t.hasOwnProperty(r)&&(e[r]=t[r]);}},_o2(e,t);},function(e,t){function r(){this.constructor=e;}_o2(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r());});t.fk=void 0;var s,l=r(6992),c="undefined"==typeof navigator||!0===r.g.PREVENT_CODEMIRROR_RENDER;c||(s=r(9074));var u=function(){function e(){}return e.equals=function(e,t){var r=this,n=Object.keys,o=i(e),a=i(t);return e&&t&&"object"===o&&o===a?n(e).length===n(t).length&&n(e).every(function(n){return r.equals(e[n],t[n]);}):e===t;},e;}(),d=function(){function e(e,t){this.editor=e,this.props=t;}return e.prototype.delegateCursor=function(e,t,r){var n=this.editor.getDoc();r&&this.editor.focus(),t?n.setCursor(e):n.setCursor(e,null,{scroll:!1});},e.prototype.delegateScroll=function(e){this.editor.scrollTo(e.x,e.y);},e.prototype.delegateSelection=function(e,t){this.editor.getDoc().setSelections(e),t&&this.editor.focus();},e.prototype.apply=function(e){e&&e.selection&&e.selection.ranges&&this.delegateSelection(e.selection.ranges,e.selection.focus||!1),e&&e.cursor&&this.delegateCursor(e.cursor,e.autoScroll||!1,this.editor.getOption("autofocus")||!1),e&&e.scroll&&this.delegateScroll(e.scroll);},e.prototype.applyNext=function(e,t,r){e&&e.selection&&e.selection.ranges&&t&&t.selection&&t.selection.ranges&&!u.equals(e.selection.ranges,t.selection.ranges)&&this.delegateSelection(t.selection.ranges,t.selection.focus||!1),e&&e.cursor&&t&&t.cursor&&!u.equals(e.cursor,t.cursor)&&this.delegateCursor(r.cursor||t.cursor,t.autoScroll||!1,t.autoCursor||!1),e&&e.scroll&&t&&t.scroll&&!u.equals(e.scroll,t.scroll)&&this.delegateScroll(t.scroll);},e.prototype.applyUserDefined=function(e,t){t&&t.cursor&&this.delegateCursor(t.cursor,e.autoScroll||!1,this.editor.getOption("autofocus")||!1);},e.prototype.wire=function(e){var t=this;Object.keys(e||{}).filter(function(e){return /^on/.test(e);}).forEach(function(e){switch(e){case"onBlur":t.editor.on("blur",function(e,r){t.props.onBlur(t.editor,r);});break;case"onContextMenu":t.editor.on("contextmenu",function(e,r){t.props.onContextMenu(t.editor,r);});break;case"onCopy":t.editor.on("copy",function(e,r){t.props.onCopy(t.editor,r);});break;case"onCursor":t.editor.on("cursorActivity",function(e){t.props.onCursor(t.editor,t.editor.getDoc().getCursor());});break;case"onCursorActivity":t.editor.on("cursorActivity",function(e){t.props.onCursorActivity(t.editor);});break;case"onCut":t.editor.on("cut",function(e,r){t.props.onCut(t.editor,r);});break;case"onDblClick":t.editor.on("dblclick",function(e,r){t.props.onDblClick(t.editor,r);});break;case"onDragEnter":t.editor.on("dragenter",function(e,r){t.props.onDragEnter(t.editor,r);});break;case"onDragLeave":t.editor.on("dragleave",function(e,r){t.props.onDragLeave(t.editor,r);});break;case"onDragOver":t.editor.on("dragover",function(e,r){t.props.onDragOver(t.editor,r);});break;case"onDragStart":t.editor.on("dragstart",function(e,r){t.props.onDragStart(t.editor,r);});break;case"onDrop":t.editor.on("drop",function(e,r){t.props.onDrop(t.editor,r);});break;case"onFocus":t.editor.on("focus",function(e,r){t.props.onFocus(t.editor,r);});break;case"onGutterClick":t.editor.on("gutterClick",function(e,r,n,i){t.props.onGutterClick(t.editor,r,n,i);});break;case"onInputRead":t.editor.on("inputRead",function(e,r){t.props.onInputRead(t.editor,r);});break;case"onKeyDown":t.editor.on("keydown",function(e,r){t.props.onKeyDown(t.editor,r);});break;case"onKeyHandled":t.editor.on("keyHandled",function(e,r,n){t.props.onKeyHandled(t.editor,r,n);});break;case"onKeyPress":t.editor.on("keypress",function(e,r){t.props.onKeyPress(t.editor,r);});break;case"onKeyUp":t.editor.on("keyup",function(e,r){t.props.onKeyUp(t.editor,r);});break;case"onMouseDown":t.editor.on("mousedown",function(e,r){t.props.onMouseDown(t.editor,r);});break;case"onPaste":t.editor.on("paste",function(e,r){t.props.onPaste(t.editor,r);});break;case"onRenderLine":t.editor.on("renderLine",function(e,r,n){t.props.onRenderLine(t.editor,r,n);});break;case"onScroll":t.editor.on("scroll",function(e){t.props.onScroll(t.editor,t.editor.getScrollInfo());});break;case"onSelection":t.editor.on("beforeSelectionChange",function(e,r){t.props.onSelection(t.editor,r);});break;case"onTouchStart":t.editor.on("touchstart",function(e,r){t.props.onTouchStart(t.editor,r);});break;case"onUpdate":t.editor.on("update",function(e){t.props.onUpdate(t.editor);});break;case"onViewportChange":t.editor.on("viewportChange",function(e,r,n){t.props.onViewportChange(t.editor,r,n);});}});},e;}(),p=function(e){function t(t){var r=e.call(this,t)||this;return c||(r.applied=!1,r.appliedNext=!1,r.appliedUserDefined=!1,r.deferred=null,r.emulating=!1,r.hydrated=!1,r.initCb=function(){r.props.editorDidConfigure&&r.props.editorDidConfigure(r.editor);},r.mounted=!1),r;}return a(t,e),t.prototype.hydrate=function(e){var t=this,r=e&&e.options?e.options:{},i=n({},s.defaults,this.editor.options,r);Object.keys(i).some(function(e){return t.editor.getOption(e)!==i[e];})&&Object.keys(i).forEach(function(e){r.hasOwnProperty(e)&&t.editor.getOption(e)!==i[e]&&(t.editor.setOption(e,i[e]),t.mirror.setOption(e,i[e]));}),this.hydrated||(this.deferred?this.resolveChange(e.value):this.initChange(e.value||"")),this.hydrated=!0;},t.prototype.initChange=function(e){this.emulating=!0;var t=this.editor.getDoc(),r=t.lastLine(),n=t.getLine(t.lastLine()).length;t.replaceRange(e||"",{line:0,ch:0},{line:r,ch:n}),this.mirror.setValue(e),t.clearHistory(),this.mirror.clearHistory(),this.emulating=!1;},t.prototype.resolveChange=function(e){this.emulating=!0;var t=this.editor.getDoc();if("undo"===this.deferred.origin?t.undo():"redo"===this.deferred.origin?t.redo():t.replaceRange(this.deferred.text,this.deferred.from,this.deferred.to,this.deferred.origin),e&&e!==t.getValue()){var r=t.getCursor();t.setValue(e),t.setCursor(r);}this.emulating=!1,this.deferred=null;},t.prototype.mirrorChange=function(e){var t=this.editor.getDoc();return"undo"===e.origin?(t.setHistory(this.mirror.getHistory()),this.mirror.undo()):"redo"===e.origin?(t.setHistory(this.mirror.getHistory()),this.mirror.redo()):this.mirror.replaceRange(e.text,e.from,e.to,e.origin),this.mirror.getValue();},t.prototype.componentDidMount=function(){var e=this;c||(this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&s.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=s(this.ref,this.props.options),this.shared=new d(this.editor,this.props),this.mirror=s(function(){},this.props.options),this.editor.on("electricInput",function(){e.mirror.setHistory(e.editor.getDoc().getHistory());}),this.editor.on("cursorActivity",function(){e.mirror.setCursor(e.editor.getDoc().getCursor());}),this.editor.on("beforeChange",function(t,r){if(!e.emulating){r.cancel(),e.deferred=r;var n=e.mirrorChange(e.deferred);e.props.onBeforeChange&&e.props.onBeforeChange(e.editor,e.deferred,n);}}),this.editor.on("change",function(t,r){e.mounted&&e.props.onChange&&e.props.onChange(e.editor,r,e.editor.getValue());}),this.hydrate(this.props),this.shared.apply(this.props),this.applied=!0,this.mounted=!0,this.shared.wire(this.props),this.editor.getOption("autofocus")&&this.editor.focus(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb));},t.prototype.componentDidUpdate=function(e){if(!c){var t={cursor:null};this.props.value!==e.value&&(this.hydrated=!1),this.props.autoCursor||void 0===this.props.autoCursor||(t.cursor=this.editor.getDoc().getCursor()),this.hydrate(this.props),this.appliedNext||(this.shared.applyNext(e,this.props,t),this.appliedNext=!0),this.shared.applyUserDefined(e,t),this.appliedUserDefined=!0;}},t.prototype.componentWillUnmount=function(){c||this.props.editorWillUnmount&&this.props.editorWillUnmount(s);},t.prototype.shouldComponentUpdate=function(e,t){return!c;},t.prototype.render=function(){var e=this;if(c)return null;var t=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return l.createElement("div",{className:t,ref:function ref(t){return e.ref=t;}});},t;}(l.Component);t.fk=p,function(e){function t(t){var r=e.call(this,t)||this;return c||(r.applied=!1,r.appliedUserDefined=!1,r.continueChange=!1,r.detached=!1,r.hydrated=!1,r.initCb=function(){r.props.editorDidConfigure&&r.props.editorDidConfigure(r.editor);},r.mounted=!1,r.onBeforeChangeCb=function(){r.continueChange=!0;}),r;}a(t,e),t.prototype.hydrate=function(e){var t=this,r=e&&e.options?e.options:{},i=n({},s.defaults,this.editor.options,r);if(Object.keys(i).some(function(e){return t.editor.getOption(e)!==i[e];})&&Object.keys(i).forEach(function(e){r.hasOwnProperty(e)&&t.editor.getOption(e)!==i[e]&&t.editor.setOption(e,i[e]);}),!this.hydrated){var o=this.editor.getDoc(),a=o.lastLine(),l=o.getLine(o.lastLine()).length;o.replaceRange(e.value||"",{line:0,ch:0},{line:a,ch:l});}this.hydrated=!0;},t.prototype.componentDidMount=function(){var e=this;c||(this.detached=!0===this.props.detach,this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&s.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=s(this.ref,this.props.options),this.shared=new d(this.editor,this.props),this.editor.on("beforeChange",function(t,r){e.props.onBeforeChange&&e.props.onBeforeChange(e.editor,r,e.editor.getValue(),e.onBeforeChangeCb);}),this.editor.on("change",function(t,r){e.mounted&&e.props.onChange&&(e.props.onBeforeChange?e.continueChange&&e.props.onChange(e.editor,r,e.editor.getValue()):e.props.onChange(e.editor,r,e.editor.getValue()));}),this.hydrate(this.props),this.shared.apply(this.props),this.applied=!0,this.mounted=!0,this.shared.wire(this.props),this.editor.getDoc().clearHistory(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb));},t.prototype.componentDidUpdate=function(e){if(this.detached&&!1===this.props.detach&&(this.detached=!1,e.editorDidAttach&&e.editorDidAttach(this.editor)),this.detached||!0!==this.props.detach||(this.detached=!0,e.editorDidDetach&&e.editorDidDetach(this.editor)),!c&&!this.detached){var t={cursor:null};this.props.value!==e.value&&(this.hydrated=!1,this.applied=!1,this.appliedUserDefined=!1),e.autoCursor||void 0===e.autoCursor||(t.cursor=this.editor.getDoc().getCursor()),this.hydrate(this.props),this.applied||(this.shared.apply(e),this.applied=!0),this.appliedUserDefined||(this.shared.applyUserDefined(e,t),this.appliedUserDefined=!0);}},t.prototype.componentWillUnmount=function(){c||this.props.editorWillUnmount&&this.props.editorWillUnmount(s);},t.prototype.shouldComponentUpdate=function(e,t){var r=!0;return c&&(r=!1),this.detached&&e.detach&&(r=!1),r;},t.prototype.render=function(){var e=this;if(c)return null;var t=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return l.createElement("div",{className:t,ref:function ref(t){return e.ref=t;}});};}(l.Component);},4190:function _(e){e.exports={theme:"material-palenight",tabSize:2,lineNumbers:!0};},559:function _(e){var t={aspx:"asp",bash:"shell","c++":"cplusplus","c#":"csharp",clj:"clojure",cljc:"clojure",cljx:"clojure",coffeescript:"javascript",cpp:"cplusplus",cql:"sql",cs:"csharp",docker:"dockerfile",ecmascript:"javascript",erl:"erlang",gql:"graphql",gradle:"groovy",handlebars:"html",hbs:"html",jl:"julia",jruby:"ruby",js:"javascript",kt:"kotlin",less:"css",macruby:"ruby",md:"markdown",ml:"ocaml",mssql:"sql",mysql:"sql",node:"javascript","obj-c":"objectivec","obj-c++":"objectivecplusplus","objc++":"objectivecplusplus",objc:"objectivec",objcpp:"objectivecplusplus",objectivecpp:"objectivecplusplus",pgsql:"sql",pl:"perl",plsql:"sql",postgres:"sql",postgresql:"sql",ps1:"powershell",py:"python",rake:"ruby",rb:"ruby",rbx:"ruby",rs:"rust",sass:"css",scss:"css",sh:"shell",solidity:"sol",sqlite:"sql",styl:"css",stylus:"css",xhtml:"html",yml:"yaml",zsh:"shell"};e.exports=function(e){return e in t?t[e]:e;};},5355:function _(e,t,r){r(1736),r(742),r(6461),r(1702),r(5844),r(5855),r(119),r(9555),r(410),r(3394),r(5372),r(9965),r(2375),r(2557),r(4581),r(7014),r(1716),r(3612),r(1459),r(7568),r(8446),r(8021),r(8058),r(4949),r(6906),r(1878),r(356),r(9393),r(9338),r(3833);},7476:function _(e){function t(e,t){return function(e){if(Array.isArray(e))return e;}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0){;}}catch(e){s=!0,i=e;}finally{try{a||null==r.return||r.return();}finally{if(s)throw i;}}return o;}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t);}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++){n[r]=e[r];}return n;}var n={asp:"clike",aspx:"clike",bash:"shell",c:"clike","c#":["clike","text/x-csharp"],"c++":["clike","text/x-c++src"],clj:"clojure",cljc:"clojure",cljx:"clojure",coffeescript:"javascript",cplusplus:["clike","text/x-c++src"],cpp:["clike","text/x-c++src"],cql:["sql","text/x-cassandra"],cs:["clike","text/x-csharp"],csharp:["clike","text/x-csharp"],curl:"shell",d:"d",diff:"diff",ecmascript:"javascript",erl:"erlang",go:["go","text/x-go"],gradle:"groovy",gql:"graphql",handlebars:"htmlmixed",hbs:"htmlmixed",html:"htmlmixed",java:["clike","text/x-java"],jl:"julia",js:"javascript",jsx:"jsx",json:["javascript","application/ld+json"],jruby:"ruby",kotlin:["clike","text/x-kotlin"],kt:["clike","text/x-kotlin"],less:"css",liquid:"htmlmixed",lua:"lua",node:"javascript",macruby:"ruby",markdown:"gfm",ml:["mllike","text/x-ocaml"],mssql:["sql","text/x-mssql"],mysql:["sql","text/x-mysql"],objc:["clike","text/x-objectivec"],"objc++":["clike","text/x-objectivec++"],objcpp:["clike","text/x-objectivec++"],objectivec:["clike","text/x-objectivec"],objectivecpp:["clike","text/x-objectivec++"],objectivecplusplus:["clike","text/x-objectivec++"],ocaml:["mllike","text/x-ocaml"],php:["php","text/x-php"],pgsql:["sql","text/x-pgsql"],pl:"perl",plsql:["sql","text/x-plsql"],postgres:["sql","text/x-pgsql"],postgresql:["sql","text/x-pgsql"],ps1:"powershell",py:"python",r:"r",rake:"ruby",rb:"ruby",rbx:"ruby",rs:"rust",sass:"css",scala:["clike","text/x-scala"],scss:"css",sh:"shell",sol:"solidity",solidity:"solidity",sql:["sql","text/x-sql"],sqlite:["sql","text/x-sqlite"],styl:"css",stylus:"css",text:["null","text/plain"],ts:["javascript","text/typescript"],typescript:["javascript","text/typescript"],xhtml:"htmlmixed",yml:"yaml",zsh:"shell"};e.exports={modes:n,getMode:function getMode(e){var r=e;return r in n&&(r=n[r],Array.isArray(r)&&(r=t(r,2)[1])),r;}};},3833:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){e.defineMode("solidity",function(t){var r,n=t.indentUnit,i={pragma:!0,solidity:!0,import:!0,as:!0,from:!0,contract:!0,constructor:!0,is:!0,function:!0,modifier:!0,pure:!0,view:!0,payable:!0,constant:!0,anonymous:!0,indexed:!0,returns:!0,return:!0,event:!0,struct:!0,mapping:!0,interface:!0,using:!0,library:!0,storage:!0,memory:!0,calldata:!0,public:!0,private:!0,external:!0,internal:!0,emit:!0,assembly:!0,abstract:!0,after:!0,catch:!0,final:!0,in:!0,inline:!0,let:!0,match:!0,null:!0,of:!0,relocatable:!0,static:!0,try:!0,typeof:!0,var:!0},o={pragma:!0,returns:!0,address:!0,contract:!0,function:!0,struct:!0},a={wei:!0,szabo:!0,finney:!0,ether:!0},s={seconds:!0,minutes:!0,hours:!0,days:!0,weeks:!0},l={block:["coinbase","difficulty","gaslimit","number","timestamp"],msg:["data","sender","sig","value"],tx:["gasprice","origin"]},c={now:!0,gasleft:!0,blockhash:!0},u={assert:!0,require:!0,revert:!0,throw:!0},d={addmod:!0,mulmod:!0,keccak256:!0,sha256:!0,ripemd160:!0,ecrecover:!0},p={this:!0,selfdestruct:!0,super:!0},f={type:!0},m={},h={if:!0,else:!0,while:!0,do:!0,for:!0,break:!0,continue:!0,switch:!0,case:!0,default:!0},g={bool:!0,byte:!0,string:!0,enum:!0,address:!0},y={alias:!0,apply:!0,auto:!0,copyof:!0,define:!0,immutable:!0,implements:!0,macro:!0,mutable:!0,override:!0,partial:!0,promise:!0,reference:!0,sealed:!0,sizeof:!0,supports:!0,typedef:!0,unchecked:!0},v={abi:["decode","encodePacked","encodeWithSelector","encodeWithSignature","encode"]},b=["transfer","send","balance","call","delegatecall","staticcall"],x=["title","author","notice","dev","param","return"],k={delete:!0,new:!0,true:!0,false:!0},w=/[+\-*&^%:=<>!|\/~]/,_=/[-]/;function S(e,t){var n,M=e.next();if('"'==M||"'"==M||"`"==M)return t.tokenize=(n=M,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break;}i=!i&&"`"!=n&&"\\"==r;}return(o||!i&&"`"!=n)&&(t.tokenize=S),"string";}),t.tokenize(e,t);if(function(e,t){if("pragma solidity"==t.lastToken)return t.lastToken=null,!t.startOfLine&&(e.match(/[\^{0}][0-9\.]+/)||e.match(/[\>\=]+?[\s]*[0-9\.]+[\s]*[\<]?[\s]*[0-9\.]+/));}(e,t))return"version";if("."==M&&b.some(function(t){return e.match("".concat(t));}))return"addressFunction";if(T(M,e))return"number";if(/[\[\]{}\(\),;\:\.]/.test(M))return function(e,t){return","==e&&"functionName(variable"==t.para&&(t.para="functionName("),null!=t.para&&t.para.startsWith("functionName")&&(")"==e?t.para.endsWith("(")&&(t.para=t.para.substr(0,t.para.length-1),"functionName"==t.para&&(t.grammar="")):"("==e&&(t.para+=e)),"("==e&&"functionName"==t.lastToken?t.lastToken+=e:")"==e&&"functionName("==t.lastToken?t.lastToken=null:"("==e&&"returns"==t.lastToken?t.lastToken+=e:")"!=e||"returns("!=t.lastToken&&"returns(variable"!=t.lastToken||(t.lastToken=null),"("==e&&"address"==t.lastToken&&(t.lastToken+=e),r=e,null;}(M,t);if("/"==M){if(e.eat("*"))return t.tokenize=C,C(e,t);if(e.match(/\/{2}/)){for(;M=e.next();){if("@"==M){e.backUp(1),t.grammar="doc";break;}}return"doc";}if(e.eat("/"))return e.skipToEnd(),"comment";}if(_.test(M))return T(e.peek(),e)?"number":"operator";if(w.test(M))return e.eatWhile(w),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var E=e.current();if("doc"==t.grammar)return x.some(function(e){return E=="@".concat(e);})?"docReserve":"doc";if("solidity"===E&&"pragma"==t.lastToken&&(t.lastToken=t.lastToken+" "+E),i.propertyIsEnumerable(E))return"case"!=E&&"default"!=E||(r="case"),o.propertyIsEnumerable(E)&&(t.lastToken=E),"keyword";if(a.propertyIsEnumerable(E))return"etherUnit";if(p.propertyIsEnumerable(E))return"contractRelated";if(h.propertyIsEnumerable(E)||f.propertyIsEnumerable(E)||y.propertyIsEnumerable(E))return"keyword";if(g.propertyIsEnumerable(E)||s.propertyIsEnumerable(E)||function(e){if(e.match(/^[u]?int/)){if(e.indexOf("t")+1==e.length)return!0;var t=e.substr(e.indexOf("t")+1,e.length);return t%8==0&&t<=256;}}(E)||function(e){if(e.match(/^bytes/))return e.indexOf("s")+1==e.length||e.substr(e.indexOf("s")+1,e.length)<=32;}(E)||function(e){if(e.match(/^[u]?fixed([0-9]+x[0-9]+)?/)){if(e.indexOf("d")+1==e.length)return!0;var t=e.substr(e.indexOf("d")+1,e.length).split("x");return t[0]%8==0&&t[0]<=256&&t[1]<=80;}}(E))return t.lastToken=t.lastToken+"variable","keyword";if(k.propertyIsEnumerable(E))return"atom";if(u.propertyIsEnumerable(E))return"errorHandling";if(d.propertyIsEnumerable(E))return"mathematicalAndCryptographic";if(c.propertyIsEnumerable(E)||l.hasOwnProperty(E)&&l[E].some(function(t){return e.match(".".concat(t));}))return"variable-2";if(v.hasOwnProperty(E)&&v[E].some(function(t){return e.match(".".concat(t));}))return"abi";var L=function(e,t){if(e.match(/^hex/)&&'"'==t.peek())for(var r,n=!1,i="";r=t.next();){if(i+=r,'"'==r&&n){if(i.substring(1,i.length-1).match(/^[0-9a-fA-F]+$/))return"number";t.backUp(i.length);break;}n=n||'"'==r;}}(E,e);return null!=L?L:"functionName("!=t.lastToken&&"returns("!=t.lastToken||!m.propertyIsEnumerable(E)?"function"==t.lastToken?(t.lastToken="functionName",null==t.para&&(t.grammar="function",t.para=""),t.para+="functionName","functionName"):"functionName(variable"==t.lastToken?(t.lastToken="functionName(","parameterValue"):"returns(variable"==t.lastToken?(t.lastToken="returns(","parameterValue"):("address"==t.lastToken&&"payable"==E&&(t.lastToken="address payable"),"contract"!=t.lastToken&&"struct"!=t.lastToken||(m[E]=!0,t.lastToken=null),"function"==t.grammar?"parameterValue":"variable"):(t.lastToken+="variable","variable");}function C(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=S;break;}n="*"==r;}return"comment";}function T(e,t){if(/[\d\.]/.test(e))return"."==e?t.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==e?t.match(/^[xX][0-9a-fA-F]+/)||t.match(/^0[0-7]+/):t.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),!0;}function M(e,t,r,n,i){this.indented=e,this.column=t,this.type=r,this.align=n,this.prev=i;}function E(e,t,r){return e.context=new M(e.indented,t,r,null,e.context);}function L(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}}return{startState:function startState(e){return{tokenize:null,context:new M((e||0)-n,0,"top",!1),indented:0,startOfLine:!0};},token:function token(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==n.type&&(n.type="}"),"doc"==t.grammar&&(t.grammar=null)),e.eatSpace())return null;r=null;var i=(t.tokenize||S)(e,t);return"comment"==i||(null==n.align&&(n.align=!0),"{"==r?E(t,e.column(),"}"):"["==r?E(t,e.column(),"]"):"("==r?E(t,e.column(),")"):"case"==r?n.type="case":("}"==r&&"}"==n.type||r==n.type)&&L(t),t.startOfLine=!1),i;},indent:function indent(t,r){if(t.tokenize!=S&&null!=t.tokenize)return e.Pass;var i=t.context,o=r&&r.charAt(0);if("case"==i.type&&/^(?:case|default)\b/.test(r))return t.context.type="}",i.indented;var a=o==i.type;return i.align?i.column+(a?0:1):i.indented+(a?0:n);},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"};}),e.defineMIME("text/x-solidity","solidity");},"object"===s(t)&&"object"===s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5857:function _(e){var t={asp:"ASP.NET",aspx:"ASP.NET",bash:"Bash",c:"C","c#":"C#","c++":"C++",coffeescript:"CoffeeScript",clj:"Clojure",cljc:"Clojure",cljx:"Clojure",clojure:"Clojure",cplusplus:"C++",cpp:"C++",cql:"Cassandra",cs:"C#",csharp:"C#",css:"CSS",curl:"cURL",d:"D",dart:"Dart",diff:"Diff",dockerfile:"Dockerfile",ecmascript:"ECMAScript",erl:"Erlang",erlang:"Erlang",go:"Go",gql:"GraphQL",gradle:"Gradle",graphql:"GraphQL",groovy:"Groovy",handlebars:"Handlebars",hbs:"Handlebars",haml:"HAML",haxe:"Haxe",html:"HTML",http:"HTTP",java:"Java",javascript:"JavaScript",jinja2:"Jinja2",jl:"Julia",jruby:"JRuby",js:"JavaScript",json:"JSON",jsx:"JSX",julia:"Julia",kotlin:"Kotlin",kt:"Kotlin",less:"LESS",liquid:"Liquid",lua:"Lua",macruby:"MacRuby",markdown:"Markdown",md:"Markdown",ml:"OCaml",mssql:"SQL Server",mysql:"MySQL",node:"Node",objc:"Objective-C","objc++":"Objective-C++",objcpp:"Objective-C++",objectivec:"Objective-C",objectivecpp:"Objective-C++",objectivecplusplus:"Objective-C++",ocaml:"OCaml",perl:"Perl",php:"PHP",pl:"Perl",pgsql:"PL/pgSQL",plsql:"PL/SQL",postgres:"PostgreSQL",postgresql:"PostgreSQL",powershell:"PowerShell",ps1:"PowerShell",python:"Python",py:"Python",r:"R",rake:"Rake",rb:"Ruby",rbx:"Rubinius",rs:"Rust",ruby:"Ruby",rust:"Rust",sass:"Sass",scala:"Scala",scss:"SCSS",sh:"Shell",shell:"Shell",smarty:"Smarty",solidity:"Solidity",sql:"SQL",sqlite:"SQLite",stylus:"Stylus",styl:"Stylus",swift:"Swift",text:"Text",toml:"TOML",twig:"Twig",typescript:"TypeScript",xhtml:"XHTML",xml:"XML",yaml:"YAML",yml:"YAML",zsh:"Zsh"};e.exports=function(e){return e in t?t[e]:e;};},9061:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,'.CodeMirror-foldmarker {\n color: blue;\n text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\n font-family: arial;\n line-height: .3;\n cursor: pointer;\n}\n.CodeMirror-foldgutter {\n width: .7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n content: "\\25BE";\n}\n.CodeMirror-foldgutter-folded:after {\n content: "\\25B8";\n}\n',""]);var s=a;},1240:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,"/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 50px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -50px; margin-right: -50px;\n padding-bottom: 50px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 50px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -50px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre.CodeMirror-line,\n.CodeMirror-wrap pre.CodeMirror-line-like {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n",""]);var s=a;},9783:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,"/*\n Name: material\n Author: Mattia Astorino (http://github.com/equinusocio)\n Website: https://material-theme.site/\n*/\n\n.cm-s-material-palenight.CodeMirror {\n background-color: #292D3E;\n color: #A6ACCD;\n}\n\n.cm-s-material-palenight .CodeMirror-gutters {\n background: #292D3E;\n color: #676E95;\n border: none;\n}\n\n.cm-s-material-palenight .CodeMirror-guttermarker,\n.cm-s-material-palenight .CodeMirror-guttermarker-subtle,\n.cm-s-material-palenight .CodeMirror-linenumber {\n color: #676E95;\n}\n\n.cm-s-material-palenight .CodeMirror-cursor {\n border-left: 1px solid #FFCC00;\n}\n\n.cm-s-material-palenight div.CodeMirror-selected {\n background: rgba(113, 124, 180, 0.2);\n}\n\n.cm-s-material-palenight.CodeMirror-focused div.CodeMirror-selected {\n background: rgba(113, 124, 180, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-line::selection,\n.cm-s-material-palenight .CodeMirror-line>span::selection,\n.cm-s-material-palenight .CodeMirror-line>span>span::selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-line::-moz-selection,\n.cm-s-material-palenight .CodeMirror-line>span::-moz-selection,\n.cm-s-material-palenight .CodeMirror-line>span>span::-moz-selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-activeline-background {\n background: rgba(0, 0, 0, 0.5);\n}\n\n.cm-s-material-palenight .cm-keyword {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-operator {\n color: #89DDFF;\n}\n\n.cm-s-material-palenight .cm-variable-2 {\n color: #EEFFFF;\n}\n\n.cm-s-material-palenight .cm-variable-3,\n.cm-s-material-palenight .cm-type {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-builtin {\n color: #FFCB6B;\n}\n\n.cm-s-material-palenight .cm-atom {\n color: #F78C6C;\n}\n\n.cm-s-material-palenight .cm-number {\n color: #FF5370;\n}\n\n.cm-s-material-palenight .cm-def {\n color: #82AAFF;\n}\n\n.cm-s-material-palenight .cm-string {\n color: #C3E88D;\n}\n\n.cm-s-material-palenight .cm-string-2 {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-comment {\n color: #676E95;\n}\n\n.cm-s-material-palenight .cm-variable {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-tag {\n color: #FF5370;\n}\n\n.cm-s-material-palenight .cm-meta {\n color: #FFCB6B;\n}\n\n.cm-s-material-palenight .cm-attribute {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-property {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-qualifier {\n color: #DECB6B;\n}\n\n.cm-s-material-palenight .cm-variable-3,\n.cm-s-material-palenight .cm-type {\n color: #DECB6B;\n}\n\n\n.cm-s-material-palenight .cm-error {\n color: rgba(255, 255, 255, 1.0);\n background-color: #FF5370;\n}\n\n.cm-s-material-palenight .CodeMirror-matchingbracket {\n text-decoration: underline;\n color: white !important;\n}",""]);var s=a;},1899:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,"/* neo theme for codemirror */\n\n/* Color scheme */\n\n.cm-s-neo.CodeMirror {\n background-color:#ffffff;\n color:#2e383c;\n line-height:1.4375;\n}\n.cm-s-neo .cm-comment { color:#75787b; }\n.cm-s-neo .cm-keyword, .cm-s-neo .cm-property { color:#1d75b3; }\n.cm-s-neo .cm-atom,.cm-s-neo .cm-number { color:#75438a; }\n.cm-s-neo .cm-node,.cm-s-neo .cm-tag { color:#9c3328; }\n.cm-s-neo .cm-string { color:#b35e14; }\n.cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier { color:#047d65; }\n\n\n/* Editor styling */\n\n.cm-s-neo pre {\n padding:0;\n}\n\n.cm-s-neo .CodeMirror-gutters {\n border:none;\n border-right:10px solid transparent;\n background-color:transparent;\n}\n\n.cm-s-neo .CodeMirror-linenumber {\n padding:0;\n color:#e0e2e5;\n}\n\n.cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; }\n.cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; }\n\n.cm-s-neo .CodeMirror-cursor {\n width: auto;\n border: 0;\n background: rgba(155,157,162,0.37);\n z-index: 1;\n}\n",""]);var s=a;},787:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,".CodeMirror-simplescroll-horizontal div,.CodeMirror-simplescroll-vertical div{position:absolute;background:#ccc;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #bbb;border-radius:2px}.CodeMirror-simplescroll-horizontal,.CodeMirror-simplescroll-vertical{position:absolute;z-index:6;background:#eee}.CodeMirror-simplescroll-horizontal{bottom:0;left:0;height:8px}.CodeMirror-simplescroll-horizontal div{bottom:0;height:100%}.CodeMirror-simplescroll-vertical{right:0;top:0;width:8px}.CodeMirror-simplescroll-vertical div{right:0;width:100%}.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler,.CodeMirror-overlayscroll .CodeMirror-gutter-filler{display:none}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{position:absolute;background:#bcd;border-radius:3px}.CodeMirror-overlayscroll-horizontal,.CodeMirror-overlayscroll-vertical{position:absolute;z-index:6}.CodeMirror-overlayscroll-horizontal{bottom:0;left:0;height:6px}.CodeMirror-overlayscroll-horizontal div{bottom:0;height:100%}.CodeMirror-overlayscroll-vertical{right:0;top:0;width:6px}.CodeMirror-overlayscroll-vertical div{right:0;width:100%}\n",""]);var s=a;},9633:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return p;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o),s=r(1240),l=r(9783),c=r(1899),u=r(9061),d=a()(i());d.i(s.Z),d.i(l.Z),d.i(c.Z),d.i(u.Z),d.push([e.id,".CodeEditor{}\n",""]);var p=d;},3223:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,".CodeEditor.cm-s-material-palenight:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay,.CodeEditor.cm-s-material-palenight:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay>span,.CodeEditor.cm-s-material-palenight:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay>p{color:rgba(255,255,255,0.5)}.CodeEditor.cm-s-material-palenight .cm-highlight{background:rgba(0,0,0,0.25)}.CodeEditor.cm-s-material-palenight .CodeMirror{background:#242e34;color:#fff}.CodeEditor.cm-s-neo:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay,.CodeEditor.cm-s-neo:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay>span,.CodeEditor.cm-s-neo:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay>p{color:rgba(0,0,0,0.5)}.CodeEditor.cm-s-neo .cm-highlight{background:rgba(0,0,0,0.1)}.CodeEditor.cm-s-neo .CodeMirror{background:#fff;color:#000}.CodeEditor .cm-linerow.cm-overlay,.CodeEditor .cm-linerow.cm-overlay .cm-lineNumber{opacity:0.75}.CodeMirror-scrollbar-filler{display:none !important}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{background:rgba(202,202,202,0.5) !important}.cm-linerow{position:relative;text-indent:47px;transition:background 0.5s cubic-bezier(0.16, 1, 0.3, 1),color 0.5s cubic-bezier(0.16, 1, 0.3, 1),opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1)}.cm-linerow>span,.cm-linerow>p{transition:color 0.5s cubic-bezier(0.16, 1, 0.3, 1)}.cm-lineNumber{color:#676e95;display:inline-block;left:0;margin:0;min-width:43px;padding:0 6px 0 10px;position:absolute;right:auto;text-align:right;text-indent:0;top:0;transition:opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}\n",""]);var s=a;},3379:function _(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++){if(t[n].identifier===e){r=n;break;}}return r;}function n(e,n){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=r(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var m=i(f,n);n.byIndex=s,t.splice(s,0,{identifier:d,updater:m,references:1});}a.push(d);}return a;}function i(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t);}else r.remove();};}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=r(o[a]);t[s].references--;}for(var l=n(e,i),c=0;c<o.length;c++){var u=r(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1));}o=l;};};},569:function _(e){"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head;}catch(e){r=null;}t[e]=r;}return t[e];}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r);};},9216:function _(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t;};},3565:function _(e,t,r){"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t);};},7795:function _(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function update(){},remove:function remove(){}};var t=e.insertStyleElement(e);return{update:function update(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options);}(t,e,r);},remove:function remove(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);}(t);}};};},4589:function _(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;){t.removeChild(t.firstChild);}t.appendChild(document.createTextNode(e));}};},6992:function _(e){"use strict";e.exports=__webpack_require__(4466);}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports;}r.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return r.d(t,{a:t}),t;},r.d=function(e,t){for(var n in t){r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]});}},r.g=function(){if("object"==(typeof globalThis==="undefined"?"undefined":_typeof(globalThis)))return globalThis;try{return this||new Function("return this")();}catch(e){if("object"==(typeof window==="undefined"?"undefined":_typeof(window)))return window;}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e;},r.nc=void 0;var n={};(function(){"use strict";r.r(n),r.d(n,{canonical:function canonical(){return J();},cmVariableContext:function cmVariableContext(){return I.VariablesContext;},default:function _default(){return oe;},modes:function modes(){return s.modes;},uppercase:function uppercase(){return te();}});var e=r(6992),t=r.n(e),i=r(6526),o=r.n(i),a=r(1022),s=(r(5355),r(7476)),l=r(4190),c=r.n(l),u=r(3379),d=r.n(u),p=r(7795),f=r.n(p),m=r(569),h=r.n(m),g=r(3565),y=r.n(g),v=r(9216),b=r.n(v),x=r(4589),k=r.n(x),w=r(9633),_={};_.styleTagTransform=k(),_.setAttributes=y(),_.insert=h().bind(null,"head"),_.domAPI=f(),_.insertStyleElement=b();d()(w.Z,_);w.Z&&w.Z.locals&&w.Z.locals;var S=["className","code","lang","options","children","theme"];function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r){Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);}}return e;},C.apply(this,arguments);}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),r.push.apply(r,n);}return r;}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){E(e,t,r[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t));});}return e;}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;}function L(e,t){return function(e){if(Array.isArray(e))return e;}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0){;}}catch(e){s=!0,i=e;}finally{try{a||null==r.return||r.return();}finally{if(s)throw i;}}return o;}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return z(e,t);}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++){n[r]=e[r];}return n;}function O(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++){r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);}return i;}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++){r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);}}return i;}var A=function A(r){r.className;var n=r.code,i=r.lang,o=r.options,l=r.children,u=r.theme,d=O(r,S),p=L((0,e.useState)(l&&"string"==typeof l?l:n),2),f=p[0],m=p[1],h=L((0,e.useState)((0,s.getMode)(i)),2),g=h[0],y=h[1];return(0,e.useEffect)(function(){m(l&&"string"==typeof l?l:n);},[n,l]),(0,e.useEffect)(function(){y(function(e){var t=(0,s.getMode)(i);return t!==e?t:e;});},[i]),t().createElement(a.fk,C({},d,{className:"CodeEditor",onBeforeChange:function onBeforeChange(e,t,r){return m(r);},options:M(M(M({},c()),o),{},{mode:g,theme:u}),value:f}));};A.propTypes={children:o().string,className:o().string,code:o().string,lang:o().string,options:o().object,theme:o().oneOf(["neo","material-palenight","tomorrow-night"])},A.defaultProps={className:"",code:"",options:{},theme:"material-palenight"};var N=A,I=__webpack_require__(3689);var D=r.n(I),P=r(9074),j=r.n(P),q=(r(2661),r(5365),r(622),r(7650),r(787)),F={};F.styleTagTransform=k(),F.setAttributes=y(),F.insert=h().bind(null,"head"),F.domAPI=f(),F.insertStyleElement=b();d()(q.Z,F);q.Z&&q.Z.locals&&q.Z.locals;r(318);var R=r(3223),W={};W.styleTagTransform=k(),W.setAttributes=y(),W.insert=h().bind(null,"head"),W.domAPI=f(),W.insertStyleElement=b();d()(R.Z,W);R.Z&&R.Z.locals&&R.Z.locals;function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),r.push.apply(r,n);}return r;}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;}function H(e,t){return function(e){if(Array.isArray(e))return e;}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0){;}}catch(e){s=!0,i=e;}finally{try{a||null==r.return||r.return();}finally{if(s)throw i;}}return o;}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return B(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return B(e,t);}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++){n[r]=e[r];}return n;}var V=function V(e){return t().createElement("span",{key:"ln-".concat(e),className:"cm-lineNumber"},e);},G=function G(e){var r=e.className,n=e.child;return t().createElement("div",{className:r},n);};G.propTypes={child:o().any,className:o().string};var K=function K(e){var r=e.gutteredInput,n=e.highlights,i=void 0===n?[]:n;return r.map(function(e,r){return t().createElement(G,{key:"cm-wrapped-".concat(r),child:e,className:["cm-linerow",i.length?i[r]:""].join(" ")});});};K.propTypes={gutteredInput:o().any,highlights:o().arrayOf(o().string)};var Z=function Z(e){var r=e.output,n=e.ranges,i=/\r?\n/,o=[],a=[],s=1,l=function l(e){e&&a.push("\n"),o.push(a),a=[V(s+=1)];},c=function c(e,t){1===e.length&&i.test(e)?l(!0):e.split(i).forEach(function(e){e.length?(a.push(e),t&&l()):l(!0);});};r.unshift(V(1)),r.forEach(function(e,t){t===r.length-1?"string"==typeof e?c(e,!0):(a.push(e),o.push(a)):i.test(e)?"string"==typeof e&&c(e):a.push(e);});var u=n&&n.length?function(e,t){var r=[];e.forEach(function(e){for(var t=H(e,2),n=t[0],i=t[1].line,o=n.line;o<i;){r[o]="cm-highlight",o+=1;}});for(var n=0;n<t;n+=1){r[n]||(r[n]="cm-overlay");}return r;}(n,o.length):[];return t().createElement("div",{className:"CodeMirror"},t().createElement(K,{gutteredInput:o,highlights:u}));},X=function X(e){var r=0,n=e.shift();return function i(o){if(!n)return o;if(r<=n.offset&&n.offset<=r+o.length){var a=n.offset-r,s=[o.slice(0,a),o.slice(a)],l=s[0],c=s[1],u=t().createElement(D(),{key:"variable-".concat(r),variable:n.text});return r+=a,n=e.shift(),[l,u,i(c)];}return r+=o.length,o;};};Z.propTypes={output:o().arrayOf(o().any),ranges:o().arrayOf(o().any)};var Y=function Y(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{tokenizeVariables:!1,highlightMode:!1,ranges:[]},i=(0,s.getMode)(r),o=[],a=function(e,t){if(!t.tokenizeVariables)return[e,function(e){return e;}];var r=0,n=[];return[e.replace(new RegExp(I.VARIABLE_REGEXP,"g"),function(e,t,i){var o=e.length;return n.push({text:t,offset:i-r}),r+=o,"";}),X(n)];}(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach(function(t){U(e,t,r[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t));});}return e;}({scrollbarStyle:"overlay"},n)),l=H(a,2),c=l[0],u=l[1],d=null,p="",f=0;function m(){var e=u(p),r=d?t().createElement("span",{key:f++,className:"".concat(d.replace(/(^|\s+)/g,"$1cm-"))},e):e;o.push(r);}return j().runMode(c,i,function(e,t){t!==d||n.highlightMode&&/\r?\n/.test(e)?(m(),d=t,p=e):p+=e;}),m(),n.highlightMode?t().createElement(Z,{output:o,ranges:n.ranges}):o;};var Q=r(559),J=r.n(Q),ee=r(5857),te=r.n(ee);function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),r.push.apply(r,n);}return r;}function ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(t){ie(e,t,r[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t));});}return e;}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;}var oe=function oe(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{className:"",customTheme:!1,dark:!1,editable:!1,inline:!1,tokenizeVariables:!1},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.dark?"material-palenight":"neo";if(n.customTheme&&(o=n.customTheme),n.foldGutter&&(n.editable=!0,n.gutters=["CodeMirror-linenumbers","CodeMirror-foldgutter"]),n.editable)return t().createElement(N,ne(ne({},i),{},{code:e,lang:r,theme:o,options:n}));var a=["cm-s-".concat(o)];n.className&&a.push(n.className),n.highlightMode&&a.push("CodeEditor");var s=n.inline?"span":"div";return t().createElement(s,{className:a.join(" ")},Y("string"==typeof e?e:"",r,n));};})(),module.exports=n;})();
8457
+ var _typeof=__webpack_require__(8698);/*! For license information please see index.js.LICENSE.txt */(function(){var e={9338:function _(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(9074)),o=r(4201);function a(e,t){var r,n,i=e.levels;return((i&&0!==i.length?i[i.length-1]-((null===(r=this.electricInput)||void 0===r?void 0:r.test(t))?1:0):e.indentLevel)||0)*((null===(n=this.config)||void 0===n?void 0:n.indentUnit)||0);}i.default.defineMode("graphql",function(e){var t=o.onlineParser({eatWhitespace:function eatWhitespace(e){return e.eatWhile(o.isIgnored);},lexRules:o.LexRules,parseRules:o.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}};});},2661:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.registerHelper("fold","brace",function(t,r){var n,i=r.line,o=t.getLine(i);function a(a){for(var s=r.ch,l=0;;){var c=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=c){if(1==l&&c<r.ch)break;if(n=t.getTokenTypeAt(e.Pos(i,c+1)),!/^(comment|string)/.test(n))return c+1;s=c-1;}else{if(1==l)break;l=1,s=o.length;}}}var s="{",l="}",c=a("{");if(null==c&&(s="[",l="]",c=a("[")),null!=c){var u,d,p=1,f=t.lastLine();e:for(var m=i;m<=f;++m){for(var h=t.getLine(m),g=m==i?c:0;;){var y=h.indexOf(s,g),v=h.indexOf(l,g);if(y<0&&(y=h.length),v<0&&(v=h.length),(g=Math.min(y,v))==h.length)break;if(t.getTokenTypeAt(e.Pos(m,g+1))==n)if(g==y)++p;else if(! --p){u=m,d=g;break e;}++g;}}if(null!=u&&i!=u)return{from:e.Pos(i,c),to:e.Pos(u,d)};}}),e.registerHelper("fold","import",function(t,r){function n(r){if(r<t.firstLine()||r>t.lastLine())return null;var n=t.getTokenAt(e.Pos(r,1));if(/\S/.test(n.string)||(n=t.getTokenAt(e.Pos(r,n.end+1))),"keyword"!=n.type||"import"!=n.string)return null;for(var i=r,o=Math.min(t.lastLine(),r+10);i<=o;++i){var a=t.getLine(i).indexOf(";");if(-1!=a)return{startCh:n.end,end:e.Pos(i,a)};}}var i,o=r.line,a=n(o);if(!a||n(o-1)||(i=n(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=n(s.line+1);if(null==l)break;s=l.end;}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s};}),e.registerHelper("fold","include",function(t,r){function n(r){if(r<t.firstLine()||r>t.lastLine())return null;var n=t.getTokenAt(e.Pos(r,1));return /\S/.test(n.string)||(n=t.getTokenAt(e.Pos(r,n.end+1))),"meta"==n.type&&"#include"==n.string.slice(0,8)?n.start+8:void 0;}var i=r.line,o=n(i);if(null==o||null!=n(i-1))return null;for(var a=i;null!=n(a+1);){++a;}return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))};});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},2313:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(t,r,i,o){if(i&&i.call){var a=i;i=null;}else a=n(t,i,"rangeFinder");"number"==typeof r&&(r=e.Pos(r,0));var s=n(t,i,"minFoldSize");function l(e){var n=a(t,r);if(!n||n.to.line-n.from.line<s)return null;for(var i=t.findMarksAt(n.from),l=0;l<i.length;++l){if(i[l].__isFold&&"fold"!==o){if(!e)return null;n.cleared=!0,i[l].clear();}}return n;}var c=l(!0);if(n(t,i,"scanUp"))for(;!c&&r.line>t.firstLine();){r=e.Pos(r.line-1,0),c=l(!1);}if(c&&!c.cleared&&"unfold"!==o){var u=function(e,t,r){var i=n(e,t,"widget");if("function"==typeof i&&(i=i(r.from,r.to)),"string"==typeof i){var o=document.createTextNode(i);(i=document.createElement("span")).appendChild(o),i.className="CodeMirror-foldmarker";}else i&&(i=i.cloneNode(!0));return i;}(t,i,c);e.on(u,"mousedown",function(t){d.clear(),e.e_preventDefault(t);});var d=t.markText(c.from,c.to,{replacedWith:u,clearOnEnter:n(t,i,"clearOnEnter"),__isFold:!0});d.on("clear",function(r,n){e.signal(t,"unfold",t,r,n);}),e.signal(t,"fold",t,c.from,c.to);}}e.newFoldFunction=function(e,r){return function(n,i){t(n,i,{rangeFinder:e,widget:r});};},e.defineExtension("foldCode",function(e,r,n){t(this,e,r,n);}),e.defineExtension("isFolded",function(e){for(var t=this.findMarksAt(e),r=0;r<t.length;++r){if(t[r].__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(),null,"unfold");},e.commands.foldAll=function(t){t.operation(function(){for(var r=t.firstLine(),n=t.lastLine();r<=n;r++){t.foldCode(e.Pos(r,0),null,"fold");}});},e.commands.unfoldAll=function(t){t.operation(function(){for(var r=t.firstLine(),n=t.lastLine();r<=n;r++){t.foldCode(e.Pos(r,0),null,"unfold");}});},e.registerHelper("fold","combine",function(){var e=Array.prototype.slice.call(arguments,0);return function(t,r){for(var n=0;n<e.length;++n){var i=e[n](t,r);if(i)return i;}};}),e.registerHelper("fold","auto",function(e,t){for(var r=e.getHelpers(t,"fold"),n=0;n<r.length;n++){var i=r[n](e,t);if(i)return i;}});var r={rangeFinder:e.fold.auto,widget:"↔",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function n(e,t,n){if(t&&void 0!==t[n])return t[n];var i=e.options.foldOptions;return i&&void 0!==i[n]?i[n]:r[n];}e.defineOption("foldOptions",null),e.defineExtension("foldOption",function(e,t){return n(this,e,t);});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5365:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineOption("foldGutter",!1,function(t,n,i){var o;i&&i!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off("gutterClick",l),t.off("changes",c),t.off("viewportChange",u),t.off("fold",d),t.off("unfold",d),t.off("swapDoc",c)),n&&(t.state.foldGutter=new r((!0===(o=n)&&(o={}),null==o.gutter&&(o.gutter="CodeMirror-foldgutter"),null==o.indicatorOpen&&(o.indicatorOpen="CodeMirror-foldgutter-open"),null==o.indicatorFolded&&(o.indicatorFolded="CodeMirror-foldgutter-folded"),o)),s(t),t.on("gutterClick",l),t.on("changes",c),t.on("viewportChange",u),t.on("fold",d),t.on("unfold",d),t.on("swapDoc",c));});var t=e.Pos;function r(e){this.options=e,this.from=this.to=0;}function n(e,r){for(var n=e.findMarks(t(r,0),t(r+1,0)),i=0;i<n.length;++i){if(n[i].__isFold){var o=n[i].find(-1);if(o&&o.line===r)return n[i];}}}function i(e){if("string"==typeof e){var t=document.createElement("div");return t.className=e+" CodeMirror-guttermarker-subtle",t;}return e.cloneNode(!0);}function o(e,r,o){var s=e.state.foldGutter.options,l=r-1,c=e.foldOption(s,"minFoldSize"),u=e.foldOption(s,"rangeFinder"),d="string"==typeof s.indicatorFolded&&a(s.indicatorFolded),p="string"==typeof s.indicatorOpen&&a(s.indicatorOpen);e.eachLine(r,o,function(r){++l;var o=null,a=r.gutterMarkers;if(a&&(a=a[s.gutter]),n(e,l)){if(d&&a&&d.test(a.className))return;o=i(s.indicatorFolded);}else{var f=t(l,0),m=u&&u(e,f);if(m&&m.to.line-m.from.line>=c){if(p&&a&&p.test(a.className))return;o=i(s.indicatorOpen);}}(o||a)&&e.setGutterMarker(r,s.gutter,o);});}function a(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*");}function s(e){var t=e.getViewport(),r=e.state.foldGutter;r&&(e.operation(function(){o(e,t.from,t.to);}),r.from=t.from,r.to=t.to);}function l(e,r,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=n(e,r);s?s.clear():e.foldCode(t(r,0),a);}}}function c(e){var t=e.state.foldGutter;if(t){var r=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){s(e);},r.foldOnChangeTimeSpan||600);}}function u(e){var t=e.state.foldGutter;if(t){var r=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){var r=e.getViewport();t.from==t.to||r.from-t.to>20||t.from-r.to>20?s(e):e.operation(function(){r.from<t.from&&(o(e,r.from,t.from),t.from=r.from),r.to>t.to&&(o(e,t.to,r.to),t.to=r.to);});},r.updateViewportTimeSpan||400);}}function d(e,t){var r=e.state.foldGutter;if(r){var n=t.line;n>=r.from&&n<r.to&&o(e,n,n+1);}}},"object"==s(t)&&"object"==s(e)?a(r(9074),r(2313)):(i=[r(9074),r(2313)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},3740:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode");}function r(e,t){if(!e)return /(?:)/;var r="";return e instanceof RegExp?(e.ignoreCase&&(r="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",r);}function n(e,n){(e.next||e.push)&&t(n,e.next||e.push),this.regex=r(e.regex),this.token=function(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],r=0;r<e.length;r++){t.push(e[r]&&e[r].replace(/\./g," "));}return t;}(e.token),this.data=e;}function i(e,t){return function(r,n){if(n.pending){var i=n.pending.shift();return 0==n.pending.length&&(n.pending=null),r.pos+=i.text.length,i.token;}if(n.local){if(n.local.end&&r.match(n.local.end)){var o=n.local.endToken||null;return n.local=n.localState=null,o;}var s;return o=n.local.mode.token(r,n.localState),n.local.endScan&&(s=n.local.endScan.exec(r.current()))&&(r.pos=r.start+s.index),o;}for(var l=e[n.state],c=0;c<l.length;c++){var u=l[c],d=(!u.data.sol||r.sol())&&r.match(u.regex);if(d){u.data.next?n.state=u.data.next:u.data.push?((n.stack||(n.stack=[])).push(n.state),n.state=u.data.push):u.data.pop&&n.stack&&n.stack.length&&(n.state=n.stack.pop()),u.data.mode&&a(t,n,u.data.mode,u.token),u.data.indent&&n.indent.push(r.indentation()+t.indentUnit),u.data.dedent&&n.indent.pop();var p=u.token;if(p&&p.apply&&(p=p(d)),d.length>2&&u.token&&"string"!=typeof u.token){n.pending=[];for(var f=2;f<d.length;f++){d[f]&&n.pending.push({text:d[f],token:u.token[f-1]});}return r.backUp(d[0].length-(d[1]?d[1].length:0)),p[0];}return p&&p.join?p[0]:p;}}return r.next(),null;};}function o(e,t){if(e===t)return!0;if(!e||"object"!=s(e)||!t||"object"!=s(t))return!1;var r=0;for(var n in e){if(e.hasOwnProperty(n)){if(!t.hasOwnProperty(n)||!o(e[n],t[n]))return!1;r++;}}for(var n in t){t.hasOwnProperty(n)&&r--;}return 0==r;}function a(t,n,i,a){var s;if(i.persistent)for(var l=n.persistentStates;l&&!s;l=l.next){(i.spec?o(i.spec,l.spec):i.mode==l.mode)&&(s=l);}var c=s?s.mode:i.mode||e.getMode(t,i.spec),u=s?s.state:e.startState(c);i.persistent&&!s&&(n.persistentStates={mode:c,spec:i.spec,state:u,next:n.persistentStates}),n.localState=u,n.local={mode:c,end:i.end&&r(i.end),endScan:i.end&&!1!==i.forceEnd&&r(i.end,!1),endToken:a&&a.join?a[a.length-1]:a};}function l(t,r){return function(n,i,o){if(n.local&&n.local.mode.indent)return n.local.mode.indent(n.localState,i,o);if(null==n.indent||n.local||r.dontIndentStates&&function(e,t){for(var r=0;r<t.length;r++){if(t[r]===e)return!0;}}(n.state,r.dontIndentStates)>-1)return e.Pass;var a=n.indent.length-1,s=t[n.state];e:for(;;){for(var l=0;l<s.length;l++){var c=s[l];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var u=c.regex.exec(i);if(u&&u[0]){a--,(c.next||c.push)&&(s=t[c.next||c.push]),i=i.slice(u[0].length);continue e;}}}break;}return a<0?0:n.indent[a];};}e.defineSimpleMode=function(t,r){e.defineMode(t,function(t){return e.simpleMode(t,r);});},e.simpleMode=function(r,o){t(o,"start");var a={},s=o.meta||{},c=!1;for(var u in o){if(u!=s&&o.hasOwnProperty(u))for(var d=a[u]=[],p=o[u],f=0;f<p.length;f++){var m=p[f];d.push(new n(m,o)),(m.indent||m.dedent)&&(c=!0);}}var h={startState:function startState(){return{state:"start",pending:null,local:null,localState:null,indent:c?[]:null};},copyState:function copyState(t){var r={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(r.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(r.stack=t.stack.slice(0));for(var n=t.persistentStates;n;n=n.next){r.persistentStates={mode:n.mode,spec:n.spec,state:n.state==t.localState?r.localState:e.copyState(n.mode,n.state),next:r.persistentStates};}return r;},token:i(a,r),innerMode:function innerMode(e){return e.local&&{mode:e.local.mode,state:e.localState};},indent:l(a,s)};if(s)for(var g in s){s.hasOwnProperty(g)&&(h[g]=s[g]);}return h;};},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},622:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.runMode=function(t,r,n,i){var o=e.getMode(e.defaults,r),a=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<9);if(n.appendChild){var s=i&&i.tabSize||e.defaults.tabSize,l=n,c=0;l.innerHTML="",n=function n(e,t){if("\n"==e)return l.appendChild(document.createTextNode(a?"\r":e)),void(c=0);for(var r="",n=0;;){var i=e.indexOf("\t",n);if(-1==i){r+=e.slice(n),c+=e.length-n;break;}c+=i-n,r+=e.slice(n,i);var o=s-c%s;c+=o;for(var u=0;u<o;++u){r+=" ";}n=i+1;}if(t){var d=l.appendChild(document.createElement("span"));d.className="cm-"+t.replace(/ +/g," cm-"),d.appendChild(document.createTextNode(r));}else l.appendChild(document.createTextNode(r));};}for(var u=e.splitLines(t),d=i&&i.state||e.startState(o),p=0,f=u.length;p<f;++p){p&&n("\n");var m=new e.StringStream(u[p],null,{lookAhead:function lookAhead(e){return u[p+e];},baseToken:function baseToken(){}});for(!m.string&&o.blankLine&&o.blankLine(d);!m.eol();){var h=o.token(m,d);n(m.current(),h,p,m.start,d),m.start=m.pos;}}};},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},7650:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(t,r,n){this.orientation=r,this.scroll=n,this.screen=this.total=this.size=1,this.pos=0,this.node=document.createElement("div"),this.node.className=t+"-"+r,this.inner=this.node.appendChild(document.createElement("div"));var i=this;function o(t){var r=e.wheelEventPixels(t)["horizontal"==i.orientation?"x":"y"],n=i.pos;i.moveTo(i.pos+r),i.pos!=n&&e.e_preventDefault(t);}e.on(this.inner,"mousedown",function(t){if(1==t.which){e.e_preventDefault(t);var r="horizontal"==i.orientation?"pageX":"pageY",n=t[r],o=i.pos;e.on(document,"mousemove",s),e.on(document,"mouseup",a);}function a(){e.off(document,"mousemove",s),e.off(document,"mouseup",a);}function s(e){if(1!=e.which)return a();i.moveTo(o+(e[r]-n)*(i.total/i.size));}}),e.on(this.node,"click",function(t){e.e_preventDefault(t);var r,n=i.inner.getBoundingClientRect();r="horizontal"==i.orientation?t.clientX<n.left?-1:t.clientX>n.right?1:0:t.clientY<n.top?-1:t.clientY>n.bottom?1:0,i.moveTo(i.pos+r*i.screen);}),e.on(this.node,"mousewheel",o),e.on(this.node,"DOMMouseScroll",o);}function r(e,r,n){this.addClass=e,this.horiz=new t(e,"horizontal",n),r(this.horiz.node),this.vert=new t(e,"vertical",n),r(this.vert.node),this.width=null;}t.prototype.setPos=function(e,t){return e<0&&(e=0),e>this.total-this.screen&&(e=this.total-this.screen),!(!t&&e==this.pos||(this.pos=e,this.inner.style["horizontal"==this.orientation?"left":"top"]=e*(this.size/this.total)+"px",0));},t.prototype.moveTo=function(e){this.setPos(e)&&this.scroll(e,this.orientation);},t.prototype.update=function(e,t,r){var n=this.screen!=t||this.total!=e||this.size!=r;n&&(this.screen=t,this.total=e,this.size=r);var i=this.screen*(this.size/this.total);i<10&&(this.size-=10-i,i=10),this.inner.style["horizontal"==this.orientation?"width":"height"]=i+"px",this.setPos(this.pos,n);},r.prototype.update=function(e){if(null==this.width){var t=window.getComputedStyle?window.getComputedStyle(this.horiz.node):this.horiz.node.currentStyle;t&&(this.width=parseInt(t.height));}var r=this.width||0,n=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1;return this.vert.node.style.display=i?"block":"none",this.horiz.node.style.display=n?"block":"none",i&&(this.vert.update(e.scrollHeight,e.clientHeight,e.viewHeight-(n?r:0)),this.vert.node.style.bottom=n?r+"px":"0"),n&&(this.horiz.update(e.scrollWidth,e.clientWidth,e.viewWidth-(i?r:0)-e.barLeft),this.horiz.node.style.right=i?r+"px":"0",this.horiz.node.style.left=e.barLeft+"px"),{right:i?r:0,bottom:n?r:0};},r.prototype.setScrollTop=function(e){this.vert.setPos(e);},r.prototype.setScrollLeft=function(e){this.horiz.setPos(e);},r.prototype.clear=function(){var e=this.horiz.node.parentNode;e.removeChild(this.horiz.node),e.removeChild(this.vert.node);},e.scrollbarModel.simple=function(e,t){return new r("CodeMirror-simplescroll",e,t);},e.scrollbarModel.overlay=function(e,t){return new r("CodeMirror-overlayscroll",e,t);};},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},9074:function _(e,t,r){var n,i,o;function a(e){return a="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},a(e);}o=function o(){"use strict";var e=navigator.userAgent,t=navigator.platform,r=/gecko\/\d/i.test(e),n=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),s=n||i||o,l=s&&(n?document.documentMode||6:+(o||i)[1]),c=!o&&/WebKit\//.test(e),u=c&&/Qt\/\d+\.\d+/.test(e),d=!o&&/Chrome\//.test(e),p=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),m=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),g=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),y=/Android/.test(e),v=g||y||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=g||/Mac/.test(t),x=/\bCrOS\b/.test(e),k=/win/i.test(t),w=p&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(p=!1,c=!0);var _=b&&(u||p&&(null==w||w<12.11)),S=r||s&&l>=9;function C(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*");}var T,M=function M(e,t){var r=e.className,n=C(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"");}};function E(e){for(var t=e.childNodes.length;t>0;--t){e.removeChild(e.firstChild);}return e;}function L(e,t){return E(e).appendChild(t);}function z(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o){i.appendChild(t[o]);}return i;}function O(e,t,r,n){var i=z(e,t,r,n);return i.setAttribute("role","presentation"),i;}function A(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0;}while(t=t.parentNode);}function N(){var e;try{e=document.activeElement;}catch(t){e=document.body||null;}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;){e=e.shadowRoot.activeElement;}return e;}function I(e,t){var r=e.className;C(t).test(r)||(e.className+=(r?" ":"")+t);}function D(e,t){for(var r=e.split(" "),n=0;n<r.length;n++){r[n]&&!C(r[n]).test(t)&&(t+=" "+r[n]);}return t;}T=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i;}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode);}catch(e){return n;}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n;};var P=function P(e){e.select();};function j(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t);};}function q(e,t,r){for(var n in t||(t={}),e){!e.hasOwnProperty(n)||!1===r&&t.hasOwnProperty(n)||(t[n]=e[n]);}return t;}function F(e,t,r,n,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=n||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=r-a%r,o=s+1;}}g?P=function P(e){e.selectionStart=0,e.selectionEnd=e.value.length;}:s&&(P=function P(e){try{e.select();}catch(e){}});var R=function R(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this);};function W(e,t){for(var r=0;r<e.length;++r){if(e[r]==t)return r;}return-1;}R.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date()?e.f():setTimeout(e.handler,e.time-+new Date());},R.prototype.set=function(e,t){this.f=t;var r=+new Date()+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r);};var $=50,U={toString:function toString(){return"CodeMirror.Pass";}},H={scroll:!1},B={origin:"*mouse"},V={origin:"+move"};function G(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);-1==o&&(o=e.length);var a=o-n;if(o==e.length||i+a>=t)return n+Math.min(a,t-i);if(i+=o-n,n=o+1,(i+=r-i%r)>=t)return n;}}var K=[""];function Z(e){for(;K.length<=e;){K.push(X(K)+" ");}return K[e];}function X(e){return e[e.length-1];}function Y(e,t){for(var r=[],n=0;n<e.length;n++){r[n]=t(e[n],n);}return r;}function Q(){}function J(e,t){var r;return Object.create?r=Object.create(e):(Q.prototype=e,r=new Q()),t&&q(t,r),r;}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return /\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e));}function re(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e);}function ne(e){for(var t in e){if(e.hasOwnProperty(t)&&e[t])return!1;}return!0;}var ie=/[\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 oe(e){return e.charCodeAt(0)>=768&&ie.test(e);}function ae(e,t,r){for(;(r<0?t>0:t<e.length)&&oe(e.charAt(t));){t+=r;}return t;}function se(e,t,r){for(var n=t>r?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n;}}var le=null;function ce(e,t,r){var n;le=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==r?n=i:le=i),o.from==t&&(o.from!=o.to&&"before"!=r?n=i:le=i);}return null!=n?n:le;}var ue=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,r=/[LRr]/,n=/[Lb1n]/,i=/[1n]/;function o(e,t,r){this.level=e,this.from=t,this.to=r;}return function(a,s){var l="ltr"==s?"L":"R";if(0==a.length||"ltr"==s&&!e.test(a))return!1;for(var c,u=a.length,d=[],p=0;p<u;++p){d.push((c=a.charCodeAt(p))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(c):1424<=c&&c<=1524?"R":1536<=c&&c<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(c-1536):1774<=c&&c<=2220?"r":8192<=c&&c<=8203?"w":8204==c?"b":"L");}for(var f=0,m=l;f<u;++f){var h=d[f];"m"==h?d[f]=m:m=h;}for(var g=0,y=l;g<u;++g){var v=d[g];"1"==v&&"r"==y?d[g]="n":r.test(v)&&(y=v,"r"==v&&(d[g]="R"));}for(var b=1,x=d[0];b<u-1;++b){var k=d[b];"+"==k&&"1"==x&&"1"==d[b+1]?d[b]="1":","!=k||x!=d[b+1]||"1"!=x&&"n"!=x||(d[b]=x),x=k;}for(var w=0;w<u;++w){var _=d[w];if(","==_)d[w]="N";else if("%"==_){var S=void 0;for(S=w+1;S<u&&"%"==d[S];++S){;}for(var C=w&&"!"==d[w-1]||S<u&&"1"==d[S]?"1":"N",T=w;T<S;++T){d[T]=C;}w=S-1;}}for(var M=0,E=l;M<u;++M){var L=d[M];"L"==E&&"1"==L?d[M]="L":r.test(L)&&(E=L);}for(var z=0;z<u;++z){if(t.test(d[z])){var O=void 0;for(O=z+1;O<u&&t.test(d[O]);++O){;}for(var A="L"==(z?d[z-1]:l),N=A==("L"==(O<u?d[O]:l))?A?"L":"R":l,I=z;I<O;++I){d[I]=N;}z=O-1;}}for(var D,P=[],j=0;j<u;){if(n.test(d[j])){var q=j;for(++j;j<u&&n.test(d[j]);++j){;}P.push(new o(0,q,j));}else{var F=j,R=P.length,W="rtl"==s?1:0;for(++j;j<u&&"L"!=d[j];++j){;}for(var $=F;$<j;){if(i.test(d[$])){F<$&&(P.splice(R,0,new o(1,F,$)),R+=W);var U=$;for(++$;$<j&&i.test(d[$]);++$){;}P.splice(R,0,new o(2,U,$)),R+=W,F=$;}else++$;}F<j&&P.splice(R,0,new o(1,F,j));}}return"ltr"==s&&(1==P[0].level&&(D=a.match(/^\s+/))&&(P[0].from=D[0].length,P.unshift(new o(0,0,D[0].length))),1==X(P).level&&(D=a.match(/\s+$/))&&(X(P).to-=D[0].length,P.push(new o(0,u-D[0].length,u)))),"rtl"==s?P.reverse():P;};}();function de(e,t){var r=e.order;return null==r&&(r=e.order=ue(e.text,t)),r;}var pe=[],fe=function fe(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||pe).concat(r);}};function me(e,t){return e._handlers&&e._handlers[t]||pe;}function he(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var o=W(i,r);o>-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)));}}}function ge(e,t){var r=me(e,t);if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i){r[i].apply(null,n);}}function ye(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function preventDefault(){this.defaultPrevented=!0;}}),ge(e,r||t.type,e,t),_e(t)||t.codemirrorIgnore;}function ve(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n){-1==W(r,t[n])&&r.push(t[n]);}}function be(e,t){return me(e,t).length>0;}function xe(e){e.prototype.on=function(e,t){fe(this,e,t);},e.prototype.off=function(e,t){he(this,e,t);};}function ke(e){e.preventDefault?e.preventDefault():e.returnValue=!1;}function we(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0;}function _e(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue;}function Se(e){ke(e),we(e);}function Ce(e){return e.target||e.srcElement;}function Te(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),b&&e.ctrlKey&&1==t&&(t=3),t;}var Me,Ee,Le=function(){if(s&&l<9)return!1;var e=z("div");return"draggable"in e||"dragDrop"in e;}();function ze(e){if(null==Me){var t=z("span","​");L(e,z("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Me=t.offsetWidth<=1&&t.offsetHeight>2&&!(s&&l<8));}var r=Me?z("span","​"):z("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r;}function Oe(e){if(null!=Ee)return Ee;var t=L(e,document.createTextNode("AخA")),r=T(t,0,1).getBoundingClientRect(),n=T(t,1,2).getBoundingClientRect();return E(e),!(!r||r.left==r.right)&&(Ee=n.right-r.right<3);}var Ae,Ne=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(r.push(o.slice(0,a)),t+=a+1):(r.push(o),t=i+1);}return r;}:function(e){return e.split(/\r\n?|\n/);},Ie=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd;}catch(e){return!1;}}:function(e){var t;try{t=e.ownerDocument.selection.createRange();}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t);},De="oncopy"in(Ae=z("div"))||(Ae.setAttribute("oncopy","return;"),"function"==typeof Ae.oncopy),Pe=null,je={},qe={};function Fe(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),je[e]=t;}function Re(e){if("string"==typeof e&&qe.hasOwnProperty(e))e=qe[e];else if(e&&"string"==typeof e.name&&qe.hasOwnProperty(e.name)){var t=qe[e.name];"string"==typeof t&&(t={name:t}),(e=J(t,e)).name=t.name;}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Re("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Re("application/json");}return"string"==typeof e?{name:e}:e||{name:"null"};}function We(e,t){t=Re(t);var r=je[t.name];if(!r)return We(e,"text/plain");var n=r(e,t);if($e.hasOwnProperty(t.name)){var i=$e[t.name];for(var o in i){i.hasOwnProperty(o)&&(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o]);}}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var a in t.modeProps){n[a]=t.modeProps[a];}return n;}var $e={};function Ue(e,t){q(t,$e.hasOwnProperty(e)?$e[e]:$e[e]={});}function He(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i;}return r;}function Be(e,t){for(var r;e.innerMode&&(r=e.innerMode(t))&&r.mode!=e;){t=r.state,e=r.mode;}return r||{mode:e,state:t};}function Ve(e,t,r){return!e.startState||e.startState(t,r);}var Ge=function Ge(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r;};function Ke(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;){for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break;}t-=o;}}return r.lines[t];}function Ze(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,function(e){var o=e.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i;}),n;}function Xe(e,t,r){var n=[];return e.iter(t,r,function(e){n.push(e.text);}),n;}function Ye(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent){n.height+=r;}}function Qe(e){if(null==e.parent)return null;for(var t=e.parent,r=W(t.lines,e),n=t.parent;n;t=n,n=n.parent){for(var i=0;n.children[i]!=t;++i){r+=n.children[i].chunkSize();}}return r+t.first;}function Je(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e;}t-=o,r+=i.chunkSize();}return r;}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s;}return r+a;}function et(e,t){return t>=e.first&&t<e.first+e.size;}function tt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber));}function rt(e,t,r){if(void 0===r&&(r=null),!(this instanceof rt))return new rt(e,t,r);this.line=e,this.ch=t,this.sticky=r;}function nt(e,t){return e.line-t.line||e.ch-t.ch;}function it(e,t){return e.sticky==t.sticky&&0==nt(e,t);}function ot(e){return rt(e.line,e.ch);}function at(e,t){return nt(e,t)<0?t:e;}function st(e,t){return nt(e,t)<0?e:t;}function lt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1));}function ct(e,t){if(t.line<e.first)return rt(e.first,0);var r=e.first+e.size-1;return t.line>r?rt(r,Ke(e,r).text.length):function(e,t){var r=e.ch;return null==r||r>t?rt(e.line,t):r<0?rt(e.line,0):e;}(t,Ke(e,t.line).text.length);}function ut(e,t){for(var r=[],n=0;n<t.length;n++){r[n]=ct(e,t[n]);}return r;}Ge.prototype.eol=function(){return this.pos>=this.string.length;},Ge.prototype.sol=function(){return this.pos==this.lineStart;},Ge.prototype.peek=function(){return this.string.charAt(this.pos)||void 0;},Ge.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++);},Ge.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t;},Ge.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e);){;}return this.pos>t;},Ge.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));){++this.pos;}return this.pos>e;},Ge.prototype.skipToEnd=function(){this.pos=this.string.length;},Ge.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0;},Ge.prototype.backUp=function(e){this.pos-=e;},Ge.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=F(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0);},Ge.prototype.indentation=function(){return F(this.string,null,this.tabSize)-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0);},Ge.prototype.match=function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n);}var i=function i(e){return r?e.toLowerCase():e;};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0;},Ge.prototype.current=function(){return this.string.slice(this.start,this.pos);},Ge.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t();}finally{this.lineStart-=e;}},Ge.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e);},Ge.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos);};var dt=function dt(e,t){this.state=e,this.lookAhead=t;},pt=function pt(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1;};function ft(e,t,r,n){var i=[e.state.modeGen],o={};wt(e,t.text,e.doc.mode,r,function(e,t){return i.push(e,t);},o,n);for(var a=r.state,s=function s(n){r.baseTokens=i;var s=e.state.overlays[n],l=1,c=0;r.state=!0,wt(e,t.text,s.mode,r,function(e,t){for(var r=l;c<e;){var n=i[l];n>e&&i.splice(l,1,e,i[l+1],n),l+=2,c=Math.min(e,n);}if(t)if(s.opaque)i.splice(r,l-r,e,"overlay "+t),l=r+2;else for(;r<l;r+=2){var o=i[r+1];i[r+1]=(o?o+" ":"")+"overlay "+t;}},o),r.state=a,r.baseTokens=null,r.baseTokenPos=1;},l=0;l<e.state.overlays.length;++l){s(l);}return{styles:i,classes:o.bgClass||o.textClass?o:null};}function mt(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=ht(e,Qe(t)),i=t.text.length>e.options.maxHighlightLength&&He(e.doc.mode,n.state),o=ft(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier));}return t.styles;}function ht(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new pt(n,!0,t);var o=function(e,t,r){for(var n,i,o=e.doc,a=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ke(o,s-1),c=l.stateAfter;if(c&&(!r||s+(c instanceof dt?c.lookAhead:0)<=o.modeFrontier))return s;var u=F(l.text,null,e.options.tabSize);(null==i||n>u)&&(i=s-1,n=u);}return i;}(e,t,r),a=o>n.first&&Ke(n,o-1).stateAfter,s=a?pt.fromSaved(n,a,o):new pt(n,Ve(n.mode),o);return n.iter(o,t,function(r){gt(e,r.text,s);var n=s.line;r.stateAfter=n==t-1||n%5==0||n>=i.viewFrom&&n<i.viewTo?s.save():null,s.nextLine();}),r&&(n.modeFrontier=s.line),s;}function gt(e,t,r,n){var i=e.doc.mode,o=new Ge(t,e.options.tabSize,r);for(o.start=o.pos=n||0,""==t&&yt(i,r.state);!o.eol();){vt(i,o,r.state),o.start=o.pos;}}function yt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=Be(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0;}}function vt(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=Be(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o;}throw new Error("Mode "+e.name+" failed to advance stream.");}pt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t;},pt.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};},pt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--;},pt.fromSaved=function(e,t,r){return t instanceof dt?new pt(e,He(e.mode,t.state),r,t.lookAhead):new pt(e,He(e.mode,t),r);},pt.prototype.save=function(e){var t=!1!==e?He(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new dt(t,this.maxLookAhead):t;};var bt=function bt(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r;};function xt(e,t,r,n){var i,o,a=e.doc,s=a.mode,l=Ke(a,(t=ct(a,t)).line),c=ht(e,t.line,r),u=new Ge(l.text,e.options.tabSize,c);for(n&&(o=[]);(n||u.pos<t.ch)&&!u.eol();){u.start=u.pos,i=vt(s,u,c.state),n&&o.push(new bt(u,i,He(a.mode,c.state)));}return n?o:new bt(u,i,c.state);}function kt(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";null==t[n]?t[n]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+r[2]);}return e;}function wt(e,t,r,n,i,o,a){var s=r.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,d=new Ge(t,e.options.tabSize,n),p=e.options.addModeClass&&[null];for(""==t&&kt(yt(r,n.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&gt(e,t,n,d.pos),d.pos=t.length,l=null):l=kt(vt(r,d,n.state,p),o),p){var f=p[0].name;f&&(l="m-"+(l?f+" "+l:f));}if(!s||u!=l){for(;c<d.start;){i(c=Math.min(d.start,c+5e3),u);}u=l;}d.start=d.pos;}for(;c<d.pos;){var m=Math.min(d.pos,c+5e3);i(m,u),c=m;}}var _t=!1,St=!1;function Ct(e,t,r){this.marker=e,this.from=t,this.to=r;}function Tt(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n;}}function Mt(e,t){for(var r,n=0;n<e.length;++n){e[n]!=t&&(r||(r=[])).push(e[n]);}return r;}function Et(e,t){if(t.full)return null;var r=et(e,t.from.line)&&Ke(e,t.from.line).markedSpans,n=et(e,t.to.line)&&Ke(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,o=t.to.ch,a=0==nt(t.from,t.to),s=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!r||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new Ct(a,o.from,s?null:o.to));}}return n;}(r,i,a),l=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!r||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new Ct(a,s?null:o.from-t,null==o.to?null:o.to-t));}}return n;}(n,o,a),c=1==t.text.length,u=X(t.text).length+(c?i:0);if(s)for(var d=0;d<s.length;++d){var p=s[d];if(null==p.to){var f=Tt(l,p.marker);f?c&&(p.to=null==f.to?null:f.to+u):p.to=i;}}if(l)for(var m=0;m<l.length;++m){var h=l[m];null!=h.to&&(h.to+=u),null==h.from?Tt(s,h.marker)||(h.from=u,c&&(s||(s=[])).push(h)):(h.from+=u,c&&(s||(s=[])).push(h));}s&&(s=Lt(s)),l&&l!=s&&(l=Lt(l));var g=[s];if(!c){var y,v=t.text.length-2;if(v>0&&s)for(var b=0;b<s.length;++b){null==s[b].to&&(y||(y=[])).push(new Ct(s[b].marker,null,null));}for(var x=0;x<v;++x){g.push(y);}g.push(l);}return g;}function Lt(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1);}return e.length?e:null;}function zt(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r){t[r].marker.detachLine(e);}e.markedSpans=null;}}function Ot(e,t){if(t){for(var r=0;r<t.length;++r){t[r].marker.attachLine(e);}e.markedSpans=t;}}function At(e){return e.inclusiveLeft?-1:0;}function Nt(e){return e.inclusiveRight?1:0;}function It(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var n=e.find(),i=t.find(),o=nt(n.from,i.from)||At(e)-At(t);if(o)return-o;var a=nt(n.to,i.to)||Nt(e)-Nt(t);return a||t.id-e.id;}function Dt(e,t){var r,n=St&&e.markedSpans;if(n)for(var i=void 0,o=0;o<n.length;++o){(i=n[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!r||It(r,i.marker)<0)&&(r=i.marker);}return r;}function Pt(e){return Dt(e,!0);}function jt(e){return Dt(e,!1);}function qt(e,t){var r,n=St&&e.markedSpans;if(n)for(var i=0;i<n.length;++i){var o=n[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!r||It(r,o.marker)<0)&&(r=o.marker);}return r;}function Ft(e,t,r,n,i){var o=Ke(e,t),a=St&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=nt(c.from,r)||At(l.marker)-At(i),d=nt(c.to,n)||Nt(l.marker)-Nt(i);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?nt(c.to,r)>=0:nt(c.to,r)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?nt(c.from,n)<=0:nt(c.from,n)<0)))return!0;}}}function Rt(e){for(var t;t=Pt(e);){e=t.find(-1,!0).line;}return e;}function Wt(e,t){var r=Ke(e,t),n=Rt(r);return r==n?t:Qe(n);}function $t(e,t){if(t>e.lastLine())return t;var r,n=Ke(e,t);if(!Ut(e,n))return t;for(;r=jt(n);){n=r.find(1,!0).line;}return Qe(n)+1;}function Ut(e,t){var r=St&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i){if((n=r[i]).marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&Ht(e,t,n))return!0;}}}function Ht(e,t,r){if(null==r.to){var n=r.marker.find(1,!0);return Ht(e,n.line,Tt(n.line.markedSpans,r.marker));}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o){if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&Ht(e,t,i))return!0;}}function Bt(e){for(var t=0,r=(e=Rt(e)).parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height;}for(var o=r.parent;o;o=(r=o).parent){for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==r)break;t+=s.height;}}return t;}function Vt(e){if(0==e.height)return 0;for(var t,r=e.text.length,n=e;t=Pt(n);){var i=t.find(0,!0);n=i.from.line,r+=i.from.ch-i.to.ch;}for(n=e;t=jt(n);){var o=t.find(0,!0);r-=n.text.length-o.from.ch,r+=(n=o.to.line).text.length-o.to.ch;}return r;}function Gt(e){var t=e.display,r=e.doc;t.maxLine=Ke(r,r.first),t.maxLineLength=Vt(t.maxLine),t.maxLineChanged=!0,r.iter(function(e){var r=Vt(e);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e);});}var Kt=function Kt(e,t,r){this.text=e,Ot(this,t),this.height=r?r(this):1;};function Zt(e){e.parent=null,zt(e);}Kt.prototype.lineNo=function(){return Qe(this);},xe(Kt);var Xt={},Yt={};function Qt(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?Yt:Xt;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"));}function Jt(e,t){var r=O("span",null,null,c?"padding-right: .1px":null),n={pre:O("pre",[r],"CodeMirror-line"),content:r,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 o=i?t.rest[i-1]:t.line,a=void 0;n.pos=0,n.addToken=tr,Oe(e.display.measure)&&(a=de(o,e.doc.direction))&&(n.addToken=rr(n.addToken,a)),n.map=[],ir(o,n,mt(e,o,t!=e.display.externalMeasured&&Qe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=D(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=D(o.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(ze(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}));}if(c){var s=n.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack");}return ge(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=D(n.pre.className,n.textClass||"")),n;}function er(e){var t=z("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t;}function tr(e,t,r,n,i,o,a){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),n+=o,r=" "==o;}return n;}(t,e.trailingSpace):t,d=e.cm.state.specialChars,p=!1;if(d.test(t)){c=document.createDocumentFragment();for(var f=0;;){d.lastIndex=f;var m=d.exec(t),h=m?m.index-f:t.length-f;if(h){var g=document.createTextNode(u.slice(f,f+h));s&&l<9?c.appendChild(z("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+h,g),e.col+=h,e.pos+=h;}if(!m)break;f+=h+1;var y=void 0;if("\t"==m[0]){var v=e.cm.options.tabSize,b=v-e.col%v;(y=c.appendChild(z("span",Z(b),"cm-tab"))).setAttribute("role","presentation"),y.setAttribute("cm-text","\t"),e.col+=b;}else"\r"==m[0]||"\n"==m[0]?((y=c.appendChild(z("span","\r"==m[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",m[0]),e.col+=1):((y=e.cm.options.specialCharPlaceholder(m[0])).setAttribute("cm-text",m[0]),s&&l<9?c.appendChild(z("span",[y])):c.appendChild(y),e.col+=1);e.map.push(e.pos,e.pos+1,y),e.pos++;}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),s&&l<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),r||n||i||p||o){var x=r||"";n&&(x+=n),i&&(x+=i);var k=z("span",[c],x,o);if(a)for(var w in a){a.hasOwnProperty(w)&&"style"!=w&&"class"!=w&&k.setAttribute(w,a[w]);}return e.content.appendChild(k);}e.content.appendChild(c);}}function rr(e,t){return function(r,n,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=r.pos,u=c+n.length;;){for(var d=void 0,p=0;p<t.length&&!((d=t[p]).to>c&&d.from<=c);p++){;}if(d.to>=u)return e(r,n,i,o,a,s,l);e(r,n.slice(0,d.to-c),i,o,null,s,l),o=null,n=n.slice(d.to-c),c=d.to;}};}function nr(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1;}function ir(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var a,s,l,c,u,d,p,f=i.length,m=0,h=1,g="",y=0;;){if(y==m){l=c=u=s="",p=null,d=null,y=1/0;for(var v=[],b=void 0,x=0;x<n.length;++x){var k=n[x],w=k.marker;if("bookmark"==w.type&&k.from==m&&w.widgetNode)v.push(w);else if(k.from<=m&&(null==k.to||k.to>m||w.collapsed&&k.to==m&&k.from==m)){if(null!=k.to&&k.to!=m&&y>k.to&&(y=k.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&k.from==m&&(u+=" "+w.startStyle),w.endStyle&&k.to==y&&(b||(b=[])).push(w.endStyle,k.to),w.title&&((p||(p={})).title=w.title),w.attributes)for(var _ in w.attributes){(p||(p={}))[_]=w.attributes[_];}w.collapsed&&(!d||It(d.marker,w)<0)&&(d=k);}else k.from>m&&y>k.from&&(y=k.from);}if(b)for(var S=0;S<b.length;S+=2){b[S+1]==y&&(c+=" "+b[S]);}if(!d||d.from==m)for(var C=0;C<v.length;++C){nr(t,0,v[C]);}if(d&&(d.from||0)==m){if(nr(t,(null==d.to?f+1:d.to)-m,d.marker,null==d.from),null==d.to)return;d.to==m&&(d=!1);}}if(m>=f)break;for(var T=Math.min(f,y);;){if(g){var M=m+g.length;if(!d){var E=M>T?g.slice(0,T-m):g;t.addToken(t,E,a?a+l:l,u,m+E.length==y?c:"",s,p);}if(M>=T){g=g.slice(T-m),m=T;break;}m=M,u="";}g=i.slice(o,o=r[h++]),a=Qt(r[h++],t.cm.options);}}else for(var L=1;L<r.length;L+=2){t.addToken(t,i.slice(o,o=r[L]),Qt(r[L+1],t.cm.options));}}function or(e,t,r){this.line=t,this.rest=function(e){for(var t,r;t=jt(e);){e=t.find(1,!0).line,(r||(r=[])).push(e);}return r;}(t),this.size=this.rest?Qe(X(this.rest))-r+1:1,this.node=this.text=null,this.hidden=Ut(e,t);}function ar(e,t,r){for(var n,i=[],o=t;o<r;o=n){var a=new or(e.doc,Ke(e.doc,o),o);n=o+a.size,i.push(a);}return i;}var sr=null,lr=null;function cr(e,t){var r=me(e,t);if(r.length){var n,i=Array.prototype.slice.call(arguments,2);sr?n=sr.delayedCallbacks:lr?n=lr:(n=lr=[],setTimeout(ur,0));for(var o=function o(e){n.push(function(){return r[e].apply(null,i);});},a=0;a<r.length;++a){o(a);}}}function ur(){var e=lr;lr=null;for(var t=0;t<e.length;++t){e[t]();}}function dr(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?mr(e,t):"gutter"==o?gr(e,t,r,n):"class"==o?hr(e,t):"widget"==o&&yr(e,t,n);}t.changes=null;}function pr(e){return e.node==e.text&&(e.node=z("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),s&&l<8&&(e.node.style.zIndex=2)),e.node;}function fr(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):Jt(e,t);}function mr(e,t){var r=t.text.className,n=fr(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,hr(e,t)):r&&(t.text.className=r);}function hr(e,t){!function(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var n=pr(t);t.background=n.insertBefore(z("div",null,r),n.firstChild),e.display.input.setUneditable(t.background);}}(e,t),t.line.wrapClass?pr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||"";}function gr(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=pr(t);t.gutterBackground=z("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text);}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=pr(t),s=t.gutter=z("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(z("div",tt(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(z("div",[u],"CodeMirror-gutter-elt","left: "+n.gutterLeft[c]+"px; width: "+n.gutterWidth[c]+"px"));}}}function yr(e,t,r){t.alignable&&(t.alignable=null);for(var n=C("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o){o=i.nextSibling,n.test(i.className)&&t.node.removeChild(i);}br(e,t,r);}function vr(e,t,r,n){var i=fr(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),hr(e,t),gr(e,t,r,n),br(e,t,n),t.node;}function br(e,t,r){if(xr(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++){xr(e,t.rest[n],t,r,!1);}}function xr(e,t,r,n,i){if(t.widgets)for(var o=pr(r),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=z("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),kr(l,c,r,n),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,r.gutter||r.text):o.appendChild(c),cr(l,"redraw");}}function kr(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px";}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"));}function wr(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!A(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),L(t.display.measure,z("div",[e.node],null,r));}return e.height=e.node.parentNode.offsetHeight;}function _r(e,t){for(var r=Ce(t);r!=e.wrapper;r=r.parentNode){if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0;}}function Sr(e){return e.lineSpace.offsetTop;}function Cr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight;}function Tr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=L(e.measure,z("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n;}function Mr(e){return $-e.display.nativeBarWidth;}function Er(e){return e.display.scroller.clientWidth-Mr(e)-e.display.barWidth;}function Lr(e){return e.display.scroller.clientHeight-Mr(e)-e.display.barHeight;}function zr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++){if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};}for(var i=0;i<e.rest.length;i++){if(Qe(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0};}}function Or(e,t,r,n){return Ir(e,Nr(e,t),r,n);}function Ar(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[pn(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0;}function Nr(e,t){var r=Qe(t),n=Ar(e,r);n&&!n.text?n=null:n&&n.changes&&(dr(e,n,r,sn(e)),e.curOp.forceUpdate=!0),n||(n=function(e,t){var r=Qe(t=Rt(t)),n=e.display.externalMeasured=new or(e.doc,t,r);n.lineN=r;var i=n.built=Jt(e,n);return n.text=i.pre,L(e.display.lineMeasure,i.pre),n;}(e,t));var i=zr(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1};}function Ir(e,t,r,n,i){t.before&&(r=-1);var o,a=r+(n||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,r){var n=e.options.lineWrapping,i=n&&Er(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-r.top);}}o.push(r.bottom-r.top);}}(e,t.view,t.rect),t.hasHeights=!0),o=function(e,t,r,n){var i,o=jr(t.map,r,n),a=o.node,c=o.start,u=o.end,d=o.collapse;if(3==a.nodeType){for(var p=0;p<4;p++){for(;c&&oe(t.line.text.charAt(o.coverStart+c));){--c;}for(;o.coverStart+u<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+u));){++u;}if((i=s&&l<9&&0==c&&u==o.coverEnd-o.coverStart?a.parentNode.getBoundingClientRect():qr(T(a,c,u).getClientRects(),n)).left||i.right||0==c)break;u=c,c-=1,d="right";}s&&l<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Pe)return Pe;var t=L(e,z("span","x")),r=t.getBoundingClientRect(),n=T(t,0,1).getBoundingClientRect();return Pe=Math.abs(r.left-n.left)>1;}(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n};}(e.display.measure,i));}else{var f;c>0&&(d=n="right"),i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==n?f.length-1:0]:a.getBoundingClientRect();}if(s&&l<9&&!c&&(!i||!i.left&&!i.right)){var m=a.parentNode.getClientRects()[0];i=m?{left:m.left,right:m.left+an(e.display),top:m.top,bottom:m.bottom}:Pr;}for(var h=i.top-t.rect.top,g=i.bottom-t.rect.top,y=(h+g)/2,v=t.view.measure.heights,b=0;b<v.length-1&&!(y<v[b]);b++){;}var x=b?v[b-1]:0,k=v[b],w={left:("right"==d?i.right:i.left)-t.rect.left,right:("left"==d?i.left:i.right)-t.rect.left,top:x,bottom:k};return i.left||i.right||(w.bogus=!0),e.options.singleCursorHeightPerLine||(w.rtop=h,w.rbottom=g),w;}(e,t,r,n),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom};}var Dr,Pr={left:0,right:0,top:0,bottom:0};function jr(e,t,r){for(var n,i,o,a,s,l,c=0;c<e.length;c+=3){if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a="right")),null!=i){if(n=e[c+2],s==l&&r==(n.insertLeft?"left":"right")&&(a=r),"left"==r&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;){n=e[2+(c-=3)],a="left";}if("right"==r&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;){n=e[(c+=3)+2],a="right";}break;}}return{node:n,start:i,end:o,collapse:a,coverStart:s,coverEnd:l};}function qr(e,t){var r=Pr;if("left"==t)for(var n=0;n<e.length&&(r=e[n]).left==r.right;n++){;}else for(var i=e.length-1;i>=0&&(r=e[i]).left==r.right;i--){;}return r;}function Fr(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++){e.measure.caches[t]={};}}function Rr(e){e.display.externalMeasure=null,E(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++){Fr(e.display.view[t]);}}function Wr(e){Rr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null;}function $r(){return d&&y?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft;}function Ur(){return d&&y?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop;}function Hr(e){var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;++r){e.widgets[r].above&&(t+=wr(e.widgets[r]));}return t;}function Br(e,t,r,n,i){if(!i){var o=Hr(t);r.top+=o,r.bottom+=o;}if("line"==n)return r;n||(n="local");var a=Bt(t);if("local"==n?a+=Sr(e.display):a-=e.display.viewOffset,"page"==n||"window"==n){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==n?0:Ur());var l=s.left+("window"==n?0:$r());r.left+=l,r.right+=l;}return r.top+=a,r.bottom+=a,r;}function Vr(e,t,r){if("div"==r)return t;var n=t.left,i=t.top;if("page"==r)n-=$r(),i-=Ur();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left,i+=o.top;}var a=e.display.lineSpace.getBoundingClientRect();return{left:n-a.left,top:i-a.top};}function Gr(e,t,r,n,i){return n||(n=Ke(e.doc,t.line)),Br(e,n,Or(e,n,t.ch,i),r);}function Kr(e,t,r,n,i,o){function a(t,a){var s=Ir(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,Br(e,n,s,r);}n=n||Ke(e.doc,t.line),i||(i=Nr(e,n));var s=de(n,e.doc.direction),l=t.ch,c=t.sticky;if(l>=n.text.length?(l=n.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,r){return a(r?e-1:e,1==s[t].level!=r);}var d=ce(s,l,c),p=le,f=u(l,d,"before"==c);return null!=p&&(f.other=u(l,p,"before"!=c)),f;}function Zr(e,t){var r=0;t=ct(e.doc,t),e.options.lineWrapping||(r=an(e.display)*t.ch);var n=Ke(e.doc,t.line),i=Bt(n)+Sr(e.display);return{left:r,right:r,top:i,bottom:i+n.height};}function Xr(e,t,r,n,i){var o=rt(e,t,r);return o.xRel=i,n&&(o.outside=n),o;}function Yr(e,t,r){var n=e.doc;if((r+=e.display.viewOffset)<0)return Xr(n.first,0,null,-1,-1);var i=Je(n,r),o=n.first+n.size-1;if(i>o)return Xr(n.first+n.size-1,Ke(n,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ke(n,i);;){var s=tn(e,a,i,t,r),l=qt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ke(n,i=c.line);}}function Qr(e,t,r,n){n-=Hr(t);var i=t.text.length,o=se(function(t){return Ir(e,r,t-1).bottom<=n;},i,0);return{begin:o,end:i=se(function(t){return Ir(e,r,t).top>n;},o,i)};}function Jr(e,t,r,n){return r||(r=Nr(e,t)),Qr(e,t,r,Br(e,t,Ir(e,r,n),"line").top);}function en(e,t,r,n){return!(e.bottom<=r)&&(e.top>r||(n?e.left:e.right)>t);}function tn(e,t,r,n,i){i-=Bt(t);var o=Nr(e,t),a=Hr(t),s=0,l=t.text.length,c=!0,u=de(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?nn:rn)(e,t,r,o,u,n,i);s=(c=1!=d.level)?d.from:d.to-1,l=c?d.to:d.from-1;}var p,f,m=null,h=null,g=se(function(t){var r=Ir(e,o,t);return r.top+=a,r.bottom+=a,!!en(r,n,i,!1)&&(r.top<=i&&r.left<=n&&(m=t,h=r),!0);},s,l),y=!1;if(h){var v=n-h.left<h.right-n,b=v==c;g=m+(b?0:1),f=b?"after":"before",p=v?h.left:h.right;}else{c||g!=l&&g!=s||g++,f=0==g?"after":g==t.text.length?"before":Ir(e,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var x=Kr(e,rt(r,g,f),"line",t,o);p=x.left,y=i<x.top?-1:i>=x.bottom?1:0;}return Xr(r,g=ae(t.text,g,1),f,y,n-p);}function rn(e,t,r,n,i,o,a){var s=se(function(s){var l=i[s],c=1!=l.level;return en(Kr(e,rt(r,c?l.to:l.from,c?"before":"after"),"line",t,n),o,a,!0);},0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Kr(e,rt(r,c?l.from:l.to,c?"after":"before"),"line",t,n);en(u,o,a,!0)&&u.top>a&&(l=i[s-1]);}return l;}function nn(e,t,r,n,i,o,a){var s=Qr(e,t,n,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,p=0;p<i.length;p++){var f=i[p];if(!(f.from>=c||f.to<=l)){var m=Ir(e,n,1!=f.level?Math.min(c,f.to)-1:Math.max(l,f.from)).right,h=m<o?o-m+1e9:m-o;(!u||d>h)&&(u=f,d=h);}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u;}function on(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Dr){Dr=z("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t){Dr.appendChild(document.createTextNode("x")),Dr.appendChild(z("br"));}Dr.appendChild(document.createTextNode("x"));}L(e.measure,Dr);var r=Dr.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),E(e.measure),r||1;}function an(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=z("span","xxxxxxxxxx"),r=z("pre",[t],"CodeMirror-line-like");L(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10;}function sn(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;r[s]=o.offsetLeft+o.clientLeft+i,n[s]=o.clientWidth;}return{fixedPos:ln(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth};}function ln(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left;}function cn(e){var t=on(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/an(e.display)-3);return function(i){if(Ut(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++){i.widgets[a].height&&(o+=i.widgets[a].height);}return r?o+(Math.ceil(i.text.length/n)||1)*t:o+t;};}function un(e){var t=e.doc,r=cn(e);t.iter(function(e){var t=r(e);t!=e.height&&Ye(e,t);});}function dn(e,t,r,n){var i=e.display;if(!r&&"true"==Ce(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top;}catch(t){return null;}var l,c=Yr(e,o,a);if(n&&c.xRel>0&&(l=Ke(e.doc,c.line).text).length==c.ch){var u=F(l,l.length,e.options.tabSize)-l.length;c=rt(c.line,Math.max(0,Math.round((o-Tr(e.display).left)/an(e.display))-u));}return c;}function pn(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var r=e.display.view,n=0;n<r.length;n++){if((t-=r[n].size)<0)return n;}}function fn(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)St&&Wt(e.doc,t)<i.viewTo&&hn(e);else if(r<=i.viewFrom)St&&$t(e.doc,r+n)>i.viewFrom?hn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)hn(e);else if(t<=i.viewFrom){var o=gn(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):hn(e);}else if(r>=i.viewTo){var a=gn(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):hn(e);}else{var s=gn(e,t,t,-1),l=gn(e,r,r+n,1);s&&l?(i.view=i.view.slice(0,s.index).concat(ar(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=n):hn(e);}var c=i.externalMeasured;c&&(r<c.lineN?c.lineN+=n:t<c.lineN+c.size&&(i.externalMeasured=null));}function mn(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var o=n.view[pn(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==W(a,r)&&a.push(r);}}}function hn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0;}function gn(e,t,r,n){var i,o=pn(e,t),a=e.display.view;if(!St||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var s=e.display.viewFrom,l=0;l<o;l++){s+=a[l].size;}if(s!=t){if(n>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++;}else i=s-t;t+=i,r+=i;}for(;Wt(e.doc,r)!=r;){if(o==(n<0?0:a.length-1))return null;r+=n*a[o-(n<0?1:0)].size,o+=n;}return{index:o,lineN:r};}function yn(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];i.hidden||i.node&&!i.changes||++r;}return r;}function vn(e){e.display.input.showSelection(e.display.input.prepareSelection());}function bn(e,t){void 0===t&&(t=!0);for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),a=0;a<r.sel.ranges.length;a++){if(t||a!=r.sel.primIndex){var s=r.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&xn(e,s.head,i),l||wn(e,s,o);}}}return n;}function xn(e,t,r){var n=Kr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(z("div"," ","CodeMirror-cursor"));if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var o=r.appendChild(z("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=n.other.left+"px",o.style.top=n.other.top+"px",o.style.height=.85*(n.other.bottom-n.other.top)+"px";}}function kn(e,t){return e.top-t.top||e.left-t.left;}function wn(e,t,r){var n=e.display,i=e.doc,o=document.createDocumentFragment(),a=Tr(e.display),s=a.left,l=Math.max(n.sizerWidth,Er(e)-n.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,r,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),o.appendChild(z("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?l-e:r)+"px;\n height: "+(n-t)+"px"));}function d(t,r,n){var o,a,d=Ke(i,t),p=d.text.length;function f(r,n){return Gr(e,rt(t,r),"div",d,n);}function m(t,r,n){var i=Jr(e,d,null,t),o="ltr"==r==("after"==n)?"left":"right";return f("after"==n?i.begin:i.end-(/\s/.test(d.text.charAt(i.end-1))?2:1),o)[o];}var h=de(d,i.direction);return function(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<r&&a.to>t||t==r&&a.to==t)&&(n(Math.max(a.from,t),Math.min(a.to,r),1==a.level?"rtl":"ltr",o),i=!0);}i||n(t,r,"ltr");}(h,r||0,null==n?p:n,function(e,t,i,d){var g="ltr"==i,y=f(e,g?"left":"right"),v=f(t-1,g?"right":"left"),b=null==r&&0==e,x=null==n&&t==p,k=0==d,w=!h||d==h.length-1;if(v.top-y.top<=3){var _=(c?x:b)&&w,S=(c?b:x)&&k?s:(g?y:v).left,C=_?l:(g?v:y).right;u(S,y.top,C-S,y.bottom);}else{var T,M,E,L;g?(T=c&&b&&k?s:y.left,M=c?l:m(e,i,"before"),E=c?s:m(t,i,"after"),L=c&&x&&w?l:v.right):(T=c?m(e,i,"before"):s,M=!c&&b&&k?l:y.right,E=!c&&x&&w?s:v.left,L=c?m(t,i,"after"):l),u(T,y.top,M-T,y.bottom),y.bottom<v.top&&u(s,y.bottom,null,v.top),u(E,v.top,L-E,v.bottom);}(!o||kn(y,o)<0)&&(o=y),kn(v,o)<0&&(o=v),(!a||kn(y,a)<0)&&(a=y),kn(v,a)<0&&(a=v);}),{start:o,end:a};}var p=t.from(),f=t.to();if(p.line==f.line)d(p.line,p.ch,f.ch);else{var m=Ke(i,p.line),h=Ke(i,f.line),g=Rt(m)==Rt(h),y=d(p.line,p.ch,g?m.text.length+1:null).end,v=d(f.line,g?0:null,f.ch).start;g&&(y.top<v.top-2?(u(y.right,y.top,null,y.bottom),u(s,v.top,v.left,v.bottom)):u(y.right,y.top,v.left-y.right,y.bottom)),y.bottom<v.top&&u(s,y.bottom,null,v.top);}r.appendChild(o);}function _n(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(r=!r)?"":"hidden";},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden");}}function Sn(e){e.state.focused||(e.display.input.focus(),Tn(e));}function Cn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Mn(e));},100);}function Tn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ge(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),c&&setTimeout(function(){return e.display.input.reset(!0);},20)),e.display.input.receivedFocus()),_n(e));}function Mn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,t),e.state.focused=!1,M(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1);},150));}function En(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],o=e.options.lineWrapping,a=void 0,c=0;if(!i.hidden){if(s&&l<8){var u=i.node.offsetTop+i.node.offsetHeight;a=u-r,r=u;}else{var d=i.node.getBoundingClientRect();a=d.bottom-d.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-d.left-1);}var p=i.line.height-a;if((p>.005||p<-.005)&&(Ye(i.line,a),Ln(i.line),i.rest))for(var f=0;f<i.rest.length;f++){Ln(i.rest[f]);}if(c>e.display.sizerWidth){var m=Math.ceil(c/an(e.display));m>e.display.maxLineLength&&(e.display.maxLineLength=m,e.display.maxLine=i.line,e.display.maxLineChanged=!0);}}}}function Ln(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;n&&(r.height=n.offsetHeight);}}function zn(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Sr(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=Je(t,n),a=Je(t,i);if(r&&r.ensure){var s=r.ensure.from.line,l=r.ensure.to.line;s<o?(o=s,a=Je(t,Bt(Ke(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=Je(t,Bt(Ke(t,l))-e.wrapper.clientHeight),a=l);}return{from:o,to:Math.max(a,o+1)};}function On(e,t){var r=e.display,n=on(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,o=Lr(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Cr(r),l=t.top<n,c=t.bottom>s-n;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u);}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft,p=Er(e)-(e.options.fixedGutter?r.gutters.offsetWidth:0),f=t.right-t.left>p;return f&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left-(f?0:10)):t.right>p+d-3&&(a.scrollLeft=t.right+(f?0:10)-p),a;}function An(e,t){null!=t&&(Dn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t);}function Nn(e){Dn(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin};}function In(e,t,r){null==t&&null==r||Dn(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r);}function Dn(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Pn(e,Zr(e,t.from),Zr(e,t.to),t.margin));}function Pn(e,t,r,n){var i=On(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});In(e,i.scrollLeft,i.scrollTop);}function jn(e,t){Math.abs(e.doc.scrollTop-t)<2||(r||ui(e,{top:t}),qn(e,t,!0),r&&ui(e),oi(e,100));}function qn(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t));}function Fn(e,t,r,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,fi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t));}function Rn(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+Cr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Mr(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r};}var Wn=function Wn(e,t,r){this.cm=r;var n=this.vert=z("div",[z("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=z("div",[z("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),fe(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical");}),fe(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal");}),this.checkedZeroWidth=!1,s&&l<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px");};Wn.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px";}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px";}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0};},Wn.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz");},Wn.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert");},Wn.prototype.zeroWidthHack=function(){var e=b&&!m?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new R(),this.disableVert=new R();},Wn.prototype.enableZeroWidthBar=function(e,t,r){e.style.pointerEvents="auto",t.set(1e3,function n(){var i=e.getBoundingClientRect();("vert"==r?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,n);});},Wn.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert);};var $n=function $n(){};function Un(e,t){t||(t=Rn(e));var r=e.display.barWidth,n=e.display.barHeight;Hn(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++){r!=e.display.barWidth&&e.options.lineWrapping&&En(e),Hn(e,Rn(e)),r=e.display.barWidth,n=e.display.barHeight;}}function Hn(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display="";}$n.prototype.update=function(){return{bottom:0,right:0};},$n.prototype.setScrollLeft=function(){},$n.prototype.setScrollTop=function(){},$n.prototype.clear=function(){};var Bn={native:Wn,null:$n};function Vn(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&M(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Bn[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus();},0);}),t.setAttribute("cm-not-content","true");},function(t,r){"horizontal"==r?Fn(e,t):jn(e,t);},e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass);}var Gn=0;function Kn(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Gn},t=e.curOp,sr?sr.ops.push(t):t.ownsGroup=sr={ops:[t],delayedCallbacks:[]};}function Zn(e){var t=e.curOp;t&&function(e,t){var r=e.ownsGroup;if(r)try{!function(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++){t[r].call(null);}for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;){i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm);}}}while(r<t.length);}(r);}finally{sr=null,t(r);}}(t,function(e){for(var t=0;t<e.ops.length;t++){e.ops[t].cm.curOp=null;}!function(e){for(var t=e.ops,r=0;r<t.length;r++){Xn(t[r]);}for(var n=0;n<t.length;n++){Yn(t[n]);}for(var i=0;i<t.length;i++){Qn(t[i]);}for(var o=0;o<t.length;o++){Jn(t[o]);}for(var a=0;a<t.length;a++){ei(t[a]);}}(e);});}function Xn(e){var t=e.cm,r=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Mr(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Mr(e)+"px",t.scrollbarsClipped=!0);}(t),e.updateMaxLine&&Gt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new si(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate);}function Yn(e){e.updatedDisplay=e.mustUpdate&&li(e.cm,e.update);}function Qn(e){var t=e.cm,r=t.display;e.updatedDisplay&&En(t),e.barMeasure=Rn(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Or(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Mr(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Er(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection());}function Jn(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Fn(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==N();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Un(t,e.barMeasure),e.updatedDisplay&&pi(t,e.barMeasure),e.selectionChanged&&_n(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&Sn(e.cm);}function ei(e){var t=e.cm,r=t.display,n=t.doc;if(e.updatedDisplay&&ci(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&qn(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Fn(t,e.scrollLeft,!0,!0),e.scrollToPos){var i=function(e,t,r,n){var i;null==n&&(n=0),e.options.lineWrapping||t!=r||(r="before"==(t=t.ch?rt(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?rt(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=Kr(e,t),l=r&&r!=t?Kr(e,r):s,c=On(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-n,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+n}),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(jn(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Fn(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break;}return i;}(t,ct(n,e.scrollToPos.from),ct(n,e.scrollToPos.to),e.scrollToPos.margin);!function(e,t){if(!ye(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=z("div","​",null,"position: absolute;\n top: "+(t.top-r.viewOffset-Sr(e.display))+"px;\n height: "+(t.bottom-t.top+Mr(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o);}}}(t,i);}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s){o[s].lines.length||ge(o[s],"hide");}if(a)for(var l=0;l<a.length;++l){a[l].lines.length&&ge(a[l],"unhide");}r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ge(t,"changes",t,e.changeObjs),e.update&&e.update.finish();}function ti(e,t){if(e.curOp)return t();Kn(e);try{return t();}finally{Zn(e);}}function ri(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Kn(e);try{return t.apply(e,arguments);}finally{Zn(e);}};}function ni(e){return function(){if(this.curOp)return e.apply(this,arguments);Kn(this);try{return e.apply(this,arguments);}finally{Zn(this);}};}function ii(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Kn(t);try{return e.apply(this,arguments);}finally{Zn(t);}};}function oi(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,j(ai,e));}function ai(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var r=+new Date()+e.options.workTime,n=ht(e,t.highlightFrontier),i=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(n.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?He(t.mode,n.state):null,l=ft(e,o,n,!0);s&&(n.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!d&&p<a.length;++p){d=a[p]!=o.styles[p];}d&&i.push(n.line),o.stateAfter=n.save(),n.nextLine();}else o.text.length<=e.options.maxHighlightLength&&gt(e,o.text,n),o.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date()>r)return oi(e,e.options.workDelay),!0;}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&ti(e,function(){for(var t=0;t<i.length;t++){mn(e,i[t],"text");}});}}var si=function si(e,t,r){var n=e.display;this.viewport=t,this.visible=zn(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Er(e),this.force=r,this.dims=sn(e),this.events=[];};function li(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden)return hn(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==yn(e))return!1;mi(e)&&(hn(e),t.dims=sn(e));var i=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFrom<o&&o-r.viewFrom<20&&(o=Math.max(n.first,r.viewFrom)),r.viewTo>a&&r.viewTo-a<20&&(a=Math.min(i,r.viewTo)),St&&(o=Wt(e.doc,o),a=$t(e.doc,a));var s=o!=r.viewFrom||a!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;!function(e,t,r){var n=e.display;0==n.view.length||t>=n.viewTo||r<=n.viewFrom?(n.view=ar(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=ar(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(pn(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(ar(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,pn(e,r)))),n.viewTo=r;}(e,o,a),r.viewOffset=Bt(Ke(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var l=yn(e);if(!s&&0==l&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=N();if(!t||!A(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&A(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset);}return r;}(e);return l>4&&(r.lineDiv.style.display="none"),function(e,t,r){var n=e.display,i=e.options.lineNumbers,o=n.lineDiv,a=o.firstChild;function s(t){var r=t.nextSibling;return c&&b&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r;}for(var l=n.view,u=n.viewFrom,d=0;d<l.length;d++){var p=l[d];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;){a=s(a);}var f=i&&null!=t&&t<=u&&p.lineNumber;p.changes&&(W(p.changes,"gutter")>-1&&(f=!1),dr(e,p,u,r)),f&&(E(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(tt(e.options,u)))),a=p.node.nextSibling;}else{var m=vr(e,p,u,r);o.insertBefore(m,a);}u+=p.size;}for(;a;){a=s(a);}}(e,r.updateLineNumbers,t.dims),l>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,function(e){if(e&&e.activeElt&&e.activeElt!=N()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&A(document.body,e.anchorNode)&&A(document.body,e.focusNode))){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset);}}(u),E(r.cursorDiv),E(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,oi(e,400)),r.updateLineNumbers=null,!0;}function ci(e,t){for(var r=t.viewport,n=!0;;n=!1){if(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Er(e))n&&(t.visible=zn(e.display,e.doc,r));else if(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Cr(e.display)-Lr(e),r.top)}),t.visible=zn(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!li(e,t))break;En(e);var i=Rn(e);vn(e),Un(e,i),pi(e,i),t.force=!1;}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo);}function ui(e,t){var r=new si(e,t);if(li(e,r)){En(e),ci(e,r);var n=Rn(e);vn(e),Un(e,n),pi(e,n),r.finish();}}function di(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px";}function pi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Mr(e)+"px";}function fi(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=ln(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",a=0;a<r.length;a++){if(!r[a].hidden){e.options.fixedGutter&&(r[a].gutter&&(r[a].gutter.style.left=o),r[a].gutterBackground&&(r[a].gutterBackground.style.left=o));var s=r[a].alignable;if(s)for(var l=0;l<s.length;l++){s[l].style.left=o;}}}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px");}}function mi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=tt(e.options,t.first+t.size-1),n=e.display;if(r.length!=n.lineNumChars){var i=n.measure.appendChild(z("div",[z("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-a)+1,n.lineNumWidth=n.lineNumInnerWidth+a,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",di(e.display),!0;}return!1;}function hi(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;n=!0;}r.push({className:o,style:a});}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r;}function gi(e){var t=e.gutters,r=e.gutterSpecs;E(t),e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n],o=i.className,a=i.style,s=t.appendChild(z("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px");}t.style.display=r.length?"":"none",di(e);}function yi(e){gi(e.display),fn(e),fi(e);}function vi(e,t,n,i){var o=this;this.input=n,o.scrollbarFiller=z("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=z("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=O("div",null,"CodeMirror-code"),o.selectionDiv=z("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=z("div",null,"CodeMirror-cursors"),o.measure=z("div",null,"CodeMirror-measure"),o.lineMeasure=z("div",null,"CodeMirror-measure"),o.lineSpace=O("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var a=O("div",[o.lineSpace],"CodeMirror-lines");o.mover=z("div",[a],null,"position: relative"),o.sizer=z("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=z("div",null,null,"position: absolute; height: "+$+"px; width: 1px;"),o.gutters=z("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=z("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=z("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),s&&l<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),c||r&&v||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=hi(i.gutters,i.lineNumbers),gi(o),n.init(o);}si.prototype.signal=function(e,t){be(e,t)&&this.events.push(arguments);},si.prototype.finish=function(){for(var e=0;e<this.events.length;e++){ge.apply(null,this.events[e]);}};var bi=0,xi=null;function ki(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r};}function wi(e){var t=ki(e);return t.x*=xi,t.y*=xi,t;}function _i(e,t){var n=ki(t),i=n.x,o=n.y,a=e.display,s=a.scroller,l=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&l||o&&u){if(o&&b&&c)e:for(var d=t.target,f=a.view;d!=s;d=d.parentNode){for(var m=0;m<f.length;m++){if(f[m].node==d){e.display.currentWheelTarget=d;break e;}}}if(i&&!r&&!p&&null!=xi)return o&&u&&jn(e,Math.max(0,s.scrollTop+o*xi)),Fn(e,Math.max(0,s.scrollLeft+i*xi)),(!o||o&&u)&&ke(t),void(a.wheelStartX=null);if(o&&null!=xi){var h=o*xi,g=e.doc.scrollTop,y=g+a.wrapper.clientHeight;h<0?g=Math.max(0,g+h-50):y=Math.min(e.doc.height,y+h+50),ui(e,{top:g,bottom:y});}bi<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout(function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,r=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,r&&(xi=(xi*bi+r)/(bi+1),++bi);}},200)):(a.wheelDX+=i,a.wheelDY+=o));}}s?xi=-.53:r?xi=15:d?xi=-.7:f&&(xi=-1/3);var Si=function Si(e,t){this.ranges=e,this.primIndex=t;};Si.prototype.primary=function(){return this.ranges[this.primIndex];},Si.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!it(r.anchor,n.anchor)||!it(r.head,n.head))return!1;}return!0;},Si.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++){e[t]=new Ci(ot(this.ranges[t].anchor),ot(this.ranges[t].head));}return new Si(e,this.primIndex);},Si.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++){if(!this.ranges[e].empty())return!0;}return!1;},Si.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(nt(t,n.from())>=0&&nt(e,n.to())<=0)return r;}return-1;};var Ci=function Ci(e,t){this.anchor=e,this.head=t;};function Ti(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort(function(e,t){return nt(e.from(),t.from());}),r=W(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=nt(s.to(),a.from());if(n&&!a.empty()?l>0:l>=0){var c=st(s.from(),a.from()),u=at(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;o<=r&&--r,t.splice(--o,2,new Ci(d?u:c,d?c:u));}}return new Si(t,r);}function Mi(e,t){return new Si([new Ci(e,t||e)],0);}function Ei(e){return e.text?rt(e.from.line+e.text.length-1,X(e.text).length+(1==e.text.length?e.from.ch:0)):e.to;}function Li(e,t){if(nt(e,t.from)<0)return e;if(nt(e,t.to)<=0)return Ei(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Ei(t).ch-t.to.ch),rt(r,n);}function zi(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new Ci(Li(i.anchor,t),Li(i.head,t)));}return Ti(e.cm,r,e.sel.primIndex);}function Oi(e,t,r){return e.line==t.line?rt(r.line,e.ch-t.ch+r.ch):rt(r.line+(e.line-t.line),e.ch);}function Ai(e){e.doc.mode=We(e.options,e.doc.modeOption),Ni(e);}function Ni(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null);}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,oi(e,100),e.state.modeGen++,e.curOp&&fn(e);}function Ii(e,t){return 0==t.from.ch&&0==t.to.ch&&""==X(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore);}function Di(e,t,r,n){function i(e){return r?r[e]:null;}function o(e,r,i){!function(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),zt(e),Ot(e,r);var i=n?n(e):1;i!=e.height&&Ye(e,i);}(e,r,i,n),cr(e,"change",e,t);}function a(e,t){for(var r=[],o=e;o<t;++o){r.push(new Kt(c[o],i(o),n));}return r;}var s=t.from,l=t.to,c=t.text,u=Ke(e,s.line),d=Ke(e,l.line),p=X(c),f=i(c.length-1),m=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Ii(e,t)){var h=a(0,c.length-1);o(d,d.text,f),m&&e.remove(s.line,m),h.length&&e.insert(s.line,h);}else if(u==d){if(1==c.length)o(u,u.text.slice(0,s.ch)+p+u.text.slice(l.ch),f);else{var g=a(1,c.length-1);g.push(new Kt(p+u.text.slice(l.ch),f,n)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,g);}}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+d.text.slice(l.ch),i(0)),e.remove(s.line+1,m);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(d,p+d.text.slice(l.ch),f);var y=a(1,c.length-1);m>1&&e.remove(s.line+1,m-1),e.insert(s.line+1,y);}cr(e,"change",e,t);}function Pi(e,t,r){!function e(n,i,o){if(n.linked)for(var a=0;a<n.linked.length;++a){var s=n.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;r&&!l||(t(s.doc,l),e(s.doc,n,l));}}}(e,null,!0);}function ji(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,un(e),Ai(e),qi(e),e.options.lineWrapping||Gt(e),e.options.mode=t.modeOption,fn(e);}function qi(e){("rtl"==e.doc.direction?I:M)(e.display.lineDiv,"CodeMirror-rtl");}function Fi(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1;}function Ri(e,t){var r={from:ot(t.from),to:Ei(t),text:Ze(e,t.from,t.to)};return Bi(e,r,t.from.line,t.to.line+1),Pi(e,function(e){return Bi(e,r,t.from.line,t.to.line+1);},!0),r;}function Wi(e){for(;e.length&&X(e).ranges;){e.pop();}}function $i(e,t,r,n){var i=e.history;i.undone.length=0;var o,a,s=+new Date();if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Wi(e.done),X(e.done)):e.done.length&&!X(e.done).ranges?X(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),X(e.done)):void 0;}(i,i.lastOp==n)))a=X(o.changes),0==nt(t.from,t.to)&&0==nt(t.from,a.to)?a.to=Ei(t):o.changes.push(Ri(e,t));else{var l=X(i.done);for(l&&l.ranges||Hi(e.sel,i.done),o={changes:[Ri(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;){i.done.shift(),i.done[0].ranges||i.done.shift();}}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,a||ge(e,"historyAdded");}function Ui(e,t,r,n){var i=e.history,o=n&&n.origin;r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,r,n){var i=t.charAt(0);return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date()-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500);}(e,o,X(i.done),t))?i.done[i.done.length-1]=t:Hi(t,i.done),i.lastSelTime=+new Date(),i.lastSelOrigin=o,i.lastSelOp=r,n&&!1!==n.clearRedo&&Wi(i.undone);}function Hi(e,t){var r=X(t);r&&r.ranges&&r.equals(e)||t.push(e);}function Bi(e,t,r,n){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=r.markedSpans),++o;});}function Vi(e){if(!e)return null;for(var t,r=0;r<e.length;++r){e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);}return t?t.length?t:null:e;}function Gi(e,t){var r=function(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i){n.push(Vi(r[i]));}return n;}(e,t),n=Et(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var o=r[i],a=n[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c){if(o[c].marker==l.marker)continue e;}o.push(l);}else a&&(r[i]=a);}return r;}function Ki(e,t,r){for(var n=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)n.push(r?Si.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];n.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var d in c){(u=d.match(/^spans_(\d+)$/))&&W(t,Number(u[1]))>-1&&(X(s)[d]=c[d],delete c[d]);}}}}return n;}function Zi(e,t,r,n){if(n){var i=e.anchor;if(r){var o=nt(t,i)<0;o!=nt(r,i)<0?(i=t,t=r):o!=nt(t,r)<0&&(t=r);}return new Ci(i,t);}return new Ci(r||t,t);}function Xi(e,t,r,n,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),to(e,new Si([Zi(e.sel.primary(),t,r,i)],0),n);}function Yi(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++){n[o]=Zi(e.sel.ranges[o],t[o],null,i);}to(e,Ti(e.cm,n,e.sel.primIndex),r);}function Qi(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,to(e,Ti(e.cm,i,e.sel.primIndex),n);}function Ji(e,t,r,n){to(e,Mi(t,r),n);}function eo(e,t,r){var n=e.history.done,i=X(n);i&&i.ranges?(n[n.length-1]=t,ro(e,t,r)):to(e,t,r);}function to(e,t,r){ro(e,t,r),Ui(e,e.sel,e.cm?e.cm.curOp.id:NaN,r);}function ro(e,t,r){(be(e,"beforeSelectionChange")||e.cm&&be(e.cm,"beforeSelectionChange"))&&(t=function(e,t,r){var n={ranges:t.ranges,update:function update(t){this.ranges=[];for(var r=0;r<t.length;r++){this.ranges[r]=new Ci(ct(e,t[r].anchor),ct(e,t[r].head));}},origin:r&&r.origin};return ge(e,"beforeSelectionChange",e,n),e.cm&&ge(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?Ti(e.cm,n.ranges,n.ranges.length-1):t;}(e,t,r));var n=r&&r.bias||(nt(t.primary().head,e.sel.primary().head)<0?-1:1);no(e,oo(e,t,n,!0)),r&&!1===r.scroll||!e.cm||Nn(e.cm);}function no(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ve(e.cm)),cr(e,"cursorActivity",e));}function io(e){no(e,oo(e,e.sel,null,!1));}function oo(e,t,r,n){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=so(e,a.anchor,s&&s.anchor,r,n),c=so(e,a.head,s&&s.head,r,n);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new Ci(l,c));}return i?Ti(e.cm,i,t.primIndex):t;}function ao(e,t,r,n,i){var o=Ke(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(ge(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue;}break;}if(!l.atomic)continue;if(r){var d=l.find(n<0?1:-1),p=void 0;if((n<0?u:c)&&(d=lo(e,d,-n,d&&d.line==t.line?o:null)),d&&d.line==t.line&&(p=nt(d,r))&&(n<0?p<0:p>0))return ao(e,d,t,n,i);}var f=l.find(n<0?-1:1);return(n<0?c:u)&&(f=lo(e,f,n,f.line==t.line?o:null)),f?ao(e,f,t,n,i):null;}}return t;}function so(e,t,r,n,i){var o=n||1,a=ao(e,t,r,o,i)||!i&&ao(e,t,r,o,!0)||ao(e,t,r,-o,i)||!i&&ao(e,t,r,-o,!0);return a||(e.cantEdit=!0,rt(e.first,0));}function lo(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?ct(e,rt(t.line-1)):null:r>0&&t.ch==(n||Ke(e,t.line)).text.length?t.line<e.first+e.size-1?rt(t.line+1,0):null:new rt(t.line,t.ch+r);}function co(e){e.setSelection(rt(e.firstLine(),0),rt(e.lastLine()),H);}function uo(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function cancel(){return n.canceled=!0;}};return r&&(n.update=function(t,r,i,o){t&&(n.from=ct(e,t)),r&&(n.to=ct(e,r)),i&&(n.text=i),void 0!==o&&(n.origin=o);}),ge(e,"beforeChange",e,n),e.cm&&ge(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin};}function po(e,t,r){if(e.cm){if(!e.cm.curOp)return ri(e.cm,po)(e,t,r);if(e.cm.state.suppressEdits)return;}if(!(be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"))||(t=uo(e,t,!0))){var n=_t&&!r&&function(e,t,r){var n=null;if(e.iter(t.line,r.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||n&&-1!=W(n,r)||(n||(n=[])).push(r);}}),!n)return null;for(var i=[{from:t,to:r}],o=0;o<n.length;++o){for(var a=n[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(nt(c.to,s.from)<0||nt(c.from,s.to)>0)){var u=[l,1],d=nt(c.from,s.from),p=nt(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3;}}}return i;}(e,t.from,t.to);if(n)for(var i=n.length-1;i>=0;--i){fo(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});}else fo(e,t);}}function fo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=nt(t.from,t.to)){var r=zi(e,t);$i(e,t,r,e.cm?e.cm.curOp.id:NaN),go(e,t,r,Et(e,t));var n=[];Pi(e,function(e,r){r||-1!=W(n,e.history)||(xo(e.history,t),n.push(e.history)),go(e,t,null,Et(e,t));});}}function mo(e,t,r){var n=e.cm&&e.cm.state.suppressEdits;if(!n||r){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],r?!i.ranges||i.equals(e.sel):i.ranges);c++){;}if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(n)return void s.push(i);break;}if(Hi(i,l),r&&!i.equals(e.sel))return void to(e,i,{clearRedo:!1});a=i;}var u=[];Hi(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var d=be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"),p=function p(r){var n=i.changes[r];if(n.origin=t,d&&!uo(e,n,!1))return s.length=0,{};u.push(Ri(e,n));var o=r?zi(e,n):X(s);go(e,n,o,Gi(e,n)),!r&&e.cm&&e.cm.scrollIntoView({from:n.from,to:Ei(n)});var a=[];Pi(e,function(e,t){t||-1!=W(a,e.history)||(xo(e.history,n),a.push(e.history)),go(e,n,null,Gi(e,n));});},f=i.changes.length-1;f>=0;--f){var m=p(f);if(m)return m.v;}}}}function ho(e,t){if(0!=t&&(e.first+=t,e.sel=new Si(Y(e.sel.ranges,function(e){return new Ci(rt(e.anchor.line+t,e.anchor.ch),rt(e.head.line+t,e.head.ch));}),e.sel.primIndex),e.cm)){fn(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++){mn(e.cm,n,"gutter");}}}function go(e,t,r,n){if(e.cm&&!e.cm.curOp)return ri(e.cm,go)(e,t,r,n);if(t.to.line<e.first)ho(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ho(e,i),t={from:rt(e.first,0),to:rt(t.to.line+i,t.to.ch),text:[X(t.text)],origin:t.origin};}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:rt(o,Ke(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ze(e,t.from,t.to),r||(r=zi(e,t)),e.cm?function(e,t,r){var n=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Qe(Rt(Ke(n,o.line))),n.iter(l,a.line+1,function(e){if(e==i.maxLine)return s=!0,!0;})),n.sel.contains(t.from,t.to)>-1&&ve(e),Di(n,t,r,cn(e)),e.options.lineWrapping||(n.iter(l,o.line+t.text.length,function(e){var t=Vt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1);}),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,n=t-1;n>r;n--){var i=Ke(e,n).stateAfter;if(i&&(!(i instanceof dt)||n+i.lookAhead<t)){r=n+1;break;}}e.highlightFrontier=Math.min(e.highlightFrontier,r);}}(n,o.line),oi(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?fn(e):o.line!=a.line||1!=t.text.length||Ii(e.doc,t)?fn(e,o.line,a.line+1,c):mn(e,o.line,"text");var u=be(e,"changes"),d=be(e,"change");if(d||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&cr(e,"change",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p);}e.display.selForContextMenu=null;}(e.cm,t,n):Di(e,t,n),ro(e,r,H),e.cantEdit&&so(e,rt(e.firstLine(),0))&&(e.cantEdit=!1);}}function yo(e,t,r,n,i){var o;n||(n=r),nt(n,r)<0&&(r=(o=[n,r])[0],n=o[1]),"string"==typeof t&&(t=e.splitLines(t)),po(e,{from:r,to:n,text:t,origin:i});}function vo(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0);}function bo(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++){vo(o.ranges[s].anchor,t,r,n),vo(o.ranges[s].head,t,r,n);}}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(r<c.from.line)c.from=rt(c.from.line+n,c.from.ch),c.to=rt(c.to.line+n,c.to.ch);else if(t<=c.to.line){a=!1;break;}}a||(e.splice(0,i+1),i=0);}}}function xo(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;bo(e.done,r,n,i),bo(e.undone,r,n,i);}function ko(e,t,r,n){var i=t,o=t;return"number"==typeof t?o=Ke(e,lt(e,t)):i=Qe(t),null==i?null:(n(o,i)&&e.cm&&mn(e.cm,i,r),o);}function wo(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r){e[r].parent=this,t+=e[r].height;}this.height=t;}function _o(e){this.children=e;for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize(),r+=i.height,i.parent=this;}this.size=t,this.height=r,this.parent=null;}Ci.prototype.from=function(){return st(this.anchor,this.head);},Ci.prototype.to=function(){return at(this.anchor,this.head);},Ci.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch;},wo.prototype={chunkSize:function chunkSize(){return this.lines.length;},removeInner:function removeInner(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r];this.height-=i.height,Zt(i),cr(i,"delete");}this.lines.splice(e,t);},collapse:function collapse(e){e.push.apply(e,this.lines);},insertInner:function insertInner(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n){t[n].parent=this;}},iterN:function iterN(e,t,r){for(var n=e+t;e<n;++e){if(r(this.lines[e]))return!0;}}},_o.prototype={chunkSize:function chunkSize(){return this.size;},removeInner:function removeInner(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var o=Math.min(t,i-e),a=n.height;if(n.removeInner(e,o),this.height-=a-n.height,i==o&&(this.children.splice(r--,1),n.parent=null),0==(t-=o))break;e=0;}else e-=i;}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof wo))){var s=[];this.collapse(s),this.children=[new wo(s)],this.children[0].parent=this;}},collapse:function collapse(e){for(var t=0;t<this.children.length;++t){this.children[t].collapse(e);}},insertInner:function insertInner(e,t,r){this.size+=t.length,this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new wo(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++n,0,l),l.parent=this;}i.lines=i.lines.slice(0,a),this.maybeSpill();}break;}e-=o;}},maybeSpill:function maybeSpill(){if(!(this.children.length<=10)){var e=this;do{var t=new _o(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var r=W(e.parent.children,e);e.parent.children.splice(r+1,0,t);}else{var n=new _o(e.children);n.parent=e,e.children=[n,t],e=n;}t.parent=e.parent;}while(e.children.length>10);e.parent.maybeSpill();}},iterN:function iterN(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,r))return!0;if(0==(t-=a))break;e=0;}else e-=o;}}};var So=function So(e,t,r){if(r)for(var n in r){r.hasOwnProperty(n)&&(this[n]=r[n]);}this.doc=e,this.node=t;};function Co(e,t,r){Bt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&An(e,r);}So.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=Qe(r);if(null!=n&&t){for(var i=0;i<t.length;++i){t[i]==this&&t.splice(i--,1);}t.length||(r.widgets=null);var o=wr(this);Ye(r,Math.max(0,r.height-o)),e&&(ti(e,function(){Co(e,r,-o),mn(e,n,"widget");}),cr(e,"lineWidgetCleared",e,this,n));}},So.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=wr(this)-t;i&&(Ut(this.doc,n)||Ye(n,n.height+i),r&&ti(r,function(){r.curOp.forceUpdate=!0,Co(r,n,i),cr(r,"lineWidgetChanged",r,e,Qe(n));}));},xe(So);var To=0,Mo=function Mo(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++To;};function Eo(e,t,r,n,i){if(n&&n.shared)return function(e,t,r,n,i){(n=q(n)).shared=!1;var o=[Eo(e,t,r,n,i)],a=o[0],s=n.widgetNode;return Pi(e,function(e){s&&(n.widgetNode=s.cloneNode(!0)),o.push(Eo(e,ct(e,t),ct(e,r),n,i));for(var l=0;l<e.linked.length;++l){if(e.linked[l].isParent)return;}a=X(o);}),new Lo(o,a);}(e,t,r,n,i);if(e.cm&&!e.cm.curOp)return ri(e.cm,Eo)(e,t,r,n,i);var o=new Mo(e,i),a=nt(t,r);if(n&&q(n,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=O("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Ft(e,t.line,t,r,o)||t.line!=r.line&&Ft(e,r.line,t,r,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");St=!0;}o.addToHistory&&$i(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,r.line+1,function(e){c&&o.collapsed&&!c.options.lineWrapping&&Rt(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ye(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e);}(e,new Ct(o,l==t.line?t.ch:null,l==r.line?r.ch:null)),++l;}),o.collapsed&&e.iter(t.line,r.line+1,function(t){Ut(e,t)&&Ye(t,0);}),o.clearOnEnter&&fe(o,"beforeCursorEnter",function(){return o.clear();}),o.readOnly&&(_t=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++To,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)fn(c,t.line,r.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=r.line;u++){mn(c,u,"text");}o.atomic&&io(c.doc),cr(c,"markerAdded",c,o);}return o;}Mo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Kn(e),be(this,"clear")){var r=this.find();r&&cr(this,"clear",r.from,r.to);}for(var n=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Tt(a.markedSpans,this);e&&!this.collapsed?mn(e,Qe(a),"text"):e&&(null!=s.to&&(i=Qe(a)),null!=s.from&&(n=Qe(a))),a.markedSpans=Mt(a.markedSpans,s),null==s.from&&this.collapsed&&!Ut(this.doc,a)&&e&&Ye(a,on(e.display));}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Rt(this.lines[l]),u=Vt(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0);}null!=n&&e&&this.collapsed&&fn(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&io(e.doc)),e&&cr(e,"markerCleared",e,this,n,i),t&&Zn(e),this.parent&&this.parent.clear();}},Mo.prototype.find=function(e,t){var r,n;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Tt(o.markedSpans,this);if(null!=a.from&&(r=rt(t?o:Qe(o),a.from),-1==e))return r;if(null!=a.to&&(n=rt(t?o:Qe(o),a.to),1==e))return n;}return r&&{from:r,to:n};},Mo.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,n=this.doc.cm;t&&n&&ti(n,function(){var i=t.line,o=Qe(t.line),a=Ar(n,o);if(a&&(Fr(a),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Ut(r.doc,i)&&null!=r.height){var s=r.height;r.height=null;var l=wr(r)-s;l&&Ye(i,i.height+l);}cr(n,"markerChanged",n,e);});},Mo.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=W(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this);}this.lines.push(e);},Mo.prototype.detachLine=function(e){if(this.lines.splice(W(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this);}},xe(Mo);var Lo=function Lo(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r){e[r].parent=this;}};function zo(e){return e.findMarks(rt(e.first,0),e.clipPos(rt(e.lastLine())),function(e){return e.parent;});}function Oo(e){for(var t=function t(_t2){var r=e[_t2],n=[r.primary.doc];Pi(r.primary.doc,function(e){return n.push(e);});for(var i=0;i<r.markers.length;i++){var o=r.markers[i];-1==W(n,o.doc)&&(o.parent=null,r.markers.splice(i--,1));}},r=0;r<e.length;r++){t(r);}}Lo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e){this.markers[e].clear();}cr(this,"clear");}},Lo.prototype.find=function(e,t){return this.primary.find(e,t);},xe(Lo);var Ao=0,No=function e(t,r,n,i,o){if(!(this instanceof e))return new e(t,r,n,i,o);null==n&&(n=0),_o.call(this,[new wo([new Kt("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var a=rt(n,0);this.sel=Mi(a),this.history=new Fi(null),this.id=++Ao,this.modeOption=r,this.lineSep=i,this.direction="rtl"==o?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Di(this,{from:a,to:a,text:t}),to(this,Mi(a),H);};No.prototype=J(_o.prototype,{constructor:No,iter:function iter(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e);},insert:function insert(e,t){for(var r=0,n=0;n<t.length;++n){r+=t[n].height;}this.insertInner(e-this.first,t,r);},remove:function remove(e,t){this.removeInner(e-this.first,t);},getValue:function getValue(e){var t=Xe(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator());},setValue:ii(function(e){var t=rt(this.first,0),r=this.first+this.size-1;po(this,{from:t,to:rt(r,Ke(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&In(this.cm,0,0),to(this,Mi(t),H);}),replaceRange:function replaceRange(e,t,r,n){yo(this,e,t=ct(this,t),r=r?ct(this,r):t,n);},getRange:function getRange(e,t,r){var n=Ze(this,ct(this,e),ct(this,t));return!1===r?n:n.join(r||this.lineSeparator());},getLine:function getLine(e){var t=this.getLineHandle(e);return t&&t.text;},getLineHandle:function getLineHandle(e){if(et(this,e))return Ke(this,e);},getLineNumber:function getLineNumber(e){return Qe(e);},getLineHandleVisualStart:function getLineHandleVisualStart(e){return"number"==typeof e&&(e=Ke(this,e)),Rt(e);},lineCount:function lineCount(){return this.size;},firstLine:function firstLine(){return this.first;},lastLine:function lastLine(){return this.first+this.size-1;},clipPos:function clipPos(e){return ct(this,e);},getCursor:function getCursor(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from();},listSelections:function listSelections(){return this.sel.ranges;},somethingSelected:function somethingSelected(){return this.sel.somethingSelected();},setCursor:ii(function(e,t,r){Ji(this,ct(this,"number"==typeof e?rt(e,t||0):e),null,r);}),setSelection:ii(function(e,t,r){Ji(this,ct(this,e),ct(this,t||e),r);}),extendSelection:ii(function(e,t,r){Xi(this,ct(this,e),t&&ct(this,t),r);}),extendSelections:ii(function(e,t){Yi(this,ut(this,e),t);}),extendSelectionsBy:ii(function(e,t){Yi(this,ut(this,Y(this.sel.ranges,e)),t);}),setSelections:ii(function(e,t,r){if(e.length){for(var n=[],i=0;i<e.length;i++){n[i]=new Ci(ct(this,e[i].anchor),ct(this,e[i].head));}null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),to(this,Ti(this.cm,n,t),r);}}),addSelection:ii(function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new Ci(ct(this,e),ct(this,t||e))),to(this,Ti(this.cm,n,n.length-1),r);}),getSelection:function getSelection(e){for(var t,r=this.sel.ranges,n=0;n<r.length;n++){var i=Ze(this,r[n].from(),r[n].to());t=t?t.concat(i):i;}return!1===e?t:t.join(e||this.lineSeparator());},getSelections:function getSelections(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=Ze(this,r[n].from(),r[n].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[n]=i;}return t;},replaceSelection:function replaceSelection(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++){n[i]=e;}this.replaceSelections(n,t,r||"+input");},replaceSelections:ii(function(e,t,r){for(var n=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];n[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:r};}for(var s=t&&"end"!=t&&function(e,t,r){for(var n=[],i=rt(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Oi(s.from,i,o),c=Oi(Ei(s),i,o);if(i=s.to,o=c,"around"==r){var u=e.sel.ranges[a],d=nt(u.head,u.anchor)<0;n[a]=new Ci(d?c:l,d?l:c);}else n[a]=new Ci(l,l);}return new Si(n,e.sel.primIndex);}(this,n,t),l=n.length-1;l>=0;l--){po(this,n[l]);}s?eo(this,s):this.cm&&Nn(this.cm);}),undo:ii(function(){mo(this,"undo");}),redo:ii(function(){mo(this,"redo");}),undoSelection:ii(function(){mo(this,"undo",!0);}),redoSelection:ii(function(){mo(this,"redo",!0);}),setExtending:function setExtending(e){this.extend=e;},getExtending:function getExtending(){return this.extend;},historySize:function historySize(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++){e.done[n].ranges||++t;}for(var i=0;i<e.undone.length;i++){e.undone[i].ranges||++r;}return{undo:t,redo:r};},clearHistory:function clearHistory(){var e=this;this.history=new Fi(this.history.maxGeneration),Pi(this,function(t){return t.history=e.history;},!0);},markClean:function markClean(){this.cleanGeneration=this.changeGeneration(!0);},changeGeneration:function changeGeneration(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation;},isClean:function isClean(e){return this.history.generation==(e||this.cleanGeneration);},getHistory:function getHistory(){return{done:Ki(this.history.done),undone:Ki(this.history.undone)};},setHistory:function setHistory(e){var t=this.history=new Fi(this.history.maxGeneration);t.done=Ki(e.done.slice(0),null,!0),t.undone=Ki(e.undone.slice(0),null,!0);},setGutterMarker:ii(function(e,t,r){return ko(this,e,"gutter",function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&ne(n)&&(e.gutterMarkers=null),!0;});}),clearGutter:ii(function(e){var t=this;this.iter(function(r){r.gutterMarkers&&r.gutterMarkers[e]&&ko(t,r,"gutter",function(){return r.gutterMarkers[e]=null,ne(r.gutterMarkers)&&(r.gutterMarkers=null),!0;});});}),lineInfo:function lineInfo(e){var t;if("number"==typeof e){if(!et(this,e))return null;if(t=e,!(e=Ke(this,e)))return null;}else if(null==(t=Qe(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets};},addLineClass:ii(function(e,t,r){return ko(this,e,"gutter"==t?"gutter":"class",function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[n]){if(C(r).test(e[n]))return!1;e[n]+=" "+r;}else e[n]=r;return!0;});}),removeLineClass:ii(function(e,t,r){return ko(this,e,"gutter"==t?"gutter":"class",function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[n];if(!i)return!1;if(null==r)e[n]=null;else{var o=i.match(C(r));if(!o)return!1;var a=o.index+o[0].length;e[n]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null;}return!0;});}),addLineWidget:ii(function(e,t,r){return function(e,t,r,n){var i=new So(e,r,n),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),ko(e,t,"widget",function(t){var r=t.widgets||(t.widgets=[]);if(null==i.insertAt?r.push(i):r.splice(Math.min(r.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!Ut(e,t)){var n=Bt(t)<e.scrollTop;Ye(t,t.height+wr(i)),n&&An(o,i.height),o.curOp.forceUpdate=!0;}return!0;}),o&&cr(o,"lineWidgetAdded",o,i,"number"==typeof t?t:Qe(t)),i;}(this,e,t,r);}),removeLineWidget:function removeLineWidget(e){e.clear();},markText:function markText(e,t,r){return Eo(this,ct(this,e),ct(this,t),r,r&&r.type||"range");},setBookmark:function setBookmark(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return Eo(this,e=ct(this,e),e,r,"bookmark");},findMarksAt:function findMarksAt(e){var t=[],r=Ke(this,(e=ct(this,e)).line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker);}return t;},findMarks:function findMarks(e,t,r){e=ct(this,e),t=ct(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||r&&!r(l.marker)||n.push(l.marker.parent||l.marker);}++i;}),n;},getAllMarks:function getAllMarks(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;n<r.length;++n){null!=r[n].from&&e.push(r[n].marker);}}),e;},posFromIndex:function posFromIndex(e){var t,r=this.first,n=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+n;if(o>e)return t=e,!0;e-=o,++r;}),ct(this,rt(r,t));},indexFromPos:function indexFromPos(e){var t=(e=ct(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+r;}),t;},copy:function copy(e){var t=new No(Xe(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t;},linkedDoc:function linkedDoc(e){e||(e={});var t=this.first,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var n=new No(Xe(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(nt(o,a)){var s=Eo(e,o,a,n.primary,n.primary.type);n.markers.push(s),s.parent=n;}}}(n,zo(this)),n;},unlinkDoc:function unlinkDoc(e){if(e instanceof La&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Oo(zo(this));break;}}if(e.history==this.history){var r=[e.id];Pi(e,function(e){return r.push(e.id);},!0),e.history=new Fi(null),e.history.done=Ki(this.history.done,r),e.history.undone=Ki(this.history.undone,r);}},iterLinkedDocs:function iterLinkedDocs(e){Pi(this,e);},getMode:function getMode(){return this.mode;},getEditor:function getEditor(){return this.cm;},splitLines:function splitLines(e){return this.lineSep?e.split(this.lineSep):Ne(e);},lineSeparator:function lineSeparator(){return this.lineSep||"\n";},setDirection:ii(function(e){var t;"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(e){return e.order=null;}),this.cm&&ti(t=this.cm,function(){qi(t),fn(t);}));})}),No.prototype.eachLine=No.prototype.iter;var Io=0;function Do(e){var t=this;if(Po(t),!ye(t,e)&&!_r(t.display,e)){ke(e),s&&(Io=+new Date());var r=dn(t,e,!0),n=e.dataTransfer.files;if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),a=0,l=function l(){++a==i&&ri(t,function(){var e={from:r=ct(t.doc,r),to:r,text:t.doc.splitLines(o.filter(function(e){return null!=e;}).join(t.doc.lineSeparator())),origin:"paste"};po(t.doc,e),eo(t.doc,Mi(ct(t.doc,r),ct(t.doc,Ei(e))));})();},c=function c(e,r){if(t.options.allowDropFileTypes&&-1==W(t.options.allowDropFileTypes,e.type))l();else{var n=new FileReader();n.onerror=function(){return l();},n.onload=function(){var e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[r]=e),l();},n.readAsText(e);}},u=0;u<n.length;u++){c(n[u],u);}else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus();},20);try{var d=e.dataTransfer.getData("Text");if(d){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),ro(t.doc,Mi(r,r)),p)for(var f=0;f<p.length;++f){yo(t.doc,"",p[f].anchor,p[f].head,"drag");}t.replaceSelection(d,"around","paste"),t.display.input.focus();}}catch(e){}}}}function Po(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null);}function jo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&r.push(i);}r.length&&r[0].operation(function(){for(var t=0;t<r.length;t++){e(r[t]);}});}}var qo=!1;function Fo(){var e;qo||(fe(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,jo(Ro);},100));}),fe(window,"blur",function(){return jo(Mn);}),qo=!0);}function Ro(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize();}for(var Wo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},$o=0;$o<10;$o++){Wo[$o+48]=Wo[$o+96]=String($o);}for(var Uo=65;Uo<=90;Uo++){Wo[Uo]=String.fromCharCode(Uo);}for(var Ho=1;Ho<=12;Ho++){Wo[Ho+111]=Wo[Ho+63235]="F"+Ho;}var Bo={};function Vo(e){var t,r,n,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);n=!0;}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),n&&(e="Shift-"+e),e;}function Go(e){var t={};for(var r in e){if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue;}for(var i=Y(r.split(" "),Vo),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=n):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s);}else t[s]=a;}delete e[r];}}for(var c in t){e[c]=t[c];}return e;}function Ko(e,t,r,n){var i=(t=Qo(t)).call?t.call(e,n):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&r(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Ko(e,t.fallthrough,r,n);for(var o=0;o<t.fallthrough.length;o++){var a=Ko(e,t.fallthrough[o],r,n);if(a)return a;}}}function Zo(e){var t="string"==typeof e?e:Wo[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t;}function Xo(e,t,r){var n=e;return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(_?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(_?t.ctrlKey:t.metaKey)&&"Cmd"!=n&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e;}function Yo(e,t){if(p&&34==e.keyCode&&e.char)return!1;var r=Wo[e.keyCode];return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),Xo(r,e,t));}function Qo(e){return"string"==typeof e?Bo[e]:e;}function Jo(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){for(var o=t(r[i]);n.length&&nt(o.from,X(n).to)<=0;){var a=n.pop();if(nt(a.from,o.from)<0){o.from=a.from;break;}}n.push(o);}ti(e,function(){for(var t=n.length-1;t>=0;t--){yo(e.doc,"",n[t].from,n[t].to,"+delete");}Nn(e);});}function ea(e,t,r){var n=ae(e.text,t+r,r);return n<0||n>e.text.length?null:n;}function ta(e,t,r){var n=ea(e,t.ch,r);return null==n?null:new rt(t.line,n,r<0?"after":"before");}function ra(e,t,r,n,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=de(r,t.doc.direction);if(o){var a,s=i<0?X(o):o[0],l=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=Nr(t,r);a=i<0?r.text.length-1:0;var u=Ir(t,c,a).top;a=se(function(e){return Ir(t,c,e).top==u;},i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=ea(r,a,1));}else a=i<0?s.to:s.from;return new rt(n,a,l);}}return new rt(n,i<0?r.text.length:0,i<0?"before":"after");}Bo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Bo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Bo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Bo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Bo.default=b?Bo.macDefault:Bo.pcDefault;var na={selectAll:co,singleSelection:function singleSelection(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H);},killLine:function killLine(e){return Jo(e,function(t){if(t.empty()){var r=Ke(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:rt(t.head.line+1,0)}:{from:t.head,to:rt(t.head.line,r)};}return{from:t.from(),to:t.to()};});},deleteLine:function deleteLine(e){return Jo(e,function(t){return{from:rt(t.from().line,0),to:ct(e.doc,rt(t.to().line+1,0))};});},delLineLeft:function delLineLeft(e){return Jo(e,function(e){return{from:rt(e.from().line,0),to:e.from()};});},delWrappedLineLeft:function delWrappedLineLeft(e){return Jo(e,function(t){var r=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:r},"div"),to:t.from()};});},delWrappedLineRight:function delWrappedLineRight(e){return Jo(e,function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:n};});},undo:function undo(e){return e.undo();},redo:function redo(e){return e.redo();},undoSelection:function undoSelection(e){return e.undoSelection();},redoSelection:function redoSelection(e){return e.redoSelection();},goDocStart:function goDocStart(e){return e.extendSelection(rt(e.firstLine(),0));},goDocEnd:function goDocEnd(e){return e.extendSelection(rt(e.lastLine()));},goLineStart:function goLineStart(e){return e.extendSelectionsBy(function(t){return ia(e,t.head.line);},{origin:"+move",bias:1});},goLineStartSmart:function goLineStartSmart(e){return e.extendSelectionsBy(function(t){return oa(e,t.head);},{origin:"+move",bias:1});},goLineEnd:function goLineEnd(e){return e.extendSelectionsBy(function(t){return function(e,t){var r=Ke(e.doc,t),n=function(e){for(var t;t=jt(e);){e=t.find(1,!0).line;}return e;}(r);return n!=r&&(t=Qe(n)),ra(!0,e,r,t,-1);}(e,t.head.line);},{origin:"+move",bias:-1});},goLineRight:function goLineRight(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");},V);},goLineLeft:function goLineLeft(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div");},V);},goLineLeftSmart:function goLineLeftSmart(e){return e.extendSelectionsBy(function(t){var r=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return n.ch<e.getLine(n.line).search(/\S/)?oa(e,t.head):n;},V);},goLineUp:function goLineUp(e){return e.moveV(-1,"line");},goLineDown:function goLineDown(e){return e.moveV(1,"line");},goPageUp:function goPageUp(e){return e.moveV(-1,"page");},goPageDown:function goPageDown(e){return e.moveV(1,"page");},goCharLeft:function goCharLeft(e){return e.moveH(-1,"char");},goCharRight:function goCharRight(e){return e.moveH(1,"char");},goColumnLeft:function goColumnLeft(e){return e.moveH(-1,"column");},goColumnRight:function goColumnRight(e){return e.moveH(1,"column");},goWordLeft:function goWordLeft(e){return e.moveH(-1,"word");},goGroupRight:function goGroupRight(e){return e.moveH(1,"group");},goGroupLeft:function goGroupLeft(e){return e.moveH(-1,"group");},goWordRight:function goWordRight(e){return e.moveH(1,"word");},delCharBefore:function delCharBefore(e){return e.deleteH(-1,"char");},delCharAfter:function delCharAfter(e){return e.deleteH(1,"char");},delWordBefore:function delWordBefore(e){return e.deleteH(-1,"word");},delWordAfter:function delWordAfter(e){return e.deleteH(1,"word");},delGroupBefore:function delGroupBefore(e){return e.deleteH(-1,"group");},delGroupAfter:function delGroupAfter(e){return e.deleteH(1,"group");},indentAuto:function indentAuto(e){return e.indentSelection("smart");},indentMore:function indentMore(e){return e.indentSelection("add");},indentLess:function indentLess(e){return e.indentSelection("subtract");},insertTab:function insertTab(e){return e.replaceSelection("\t");},insertSoftTab:function insertSoftTab(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var o=r[i].from(),a=F(e.getLine(o.line),o.ch,n);t.push(Z(n-a%n));}e.replaceSelections(t);},defaultTab:function defaultTab(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab");},transposeChars:function transposeChars(e){return ti(e,function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++){if(t[n].empty()){var i=t[n].head,o=Ke(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new rt(i.line,i.ch-1)),i.ch>0)i=new rt(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),rt(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Ke(e.doc,i.line-1).text;a&&(i=new rt(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),rt(i.line-1,a.length-1),i,"+transpose"));}r.push(new Ci(i,i));}}e.setSelections(r);});},newlineAndIndent:function newlineAndIndent(e){return ti(e,function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--){e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");}t=e.listSelections();for(var n=0;n<t.length;n++){e.indentLine(t[n].from().line,null,!0);}Nn(e);});},openLine:function openLine(e){return e.replaceSelection("\n","start");},toggleOverwrite:function toggleOverwrite(e){return e.toggleOverwrite();}};function ia(e,t){var r=Ke(e.doc,t),n=Rt(r);return n!=r&&(t=Qe(n)),ra(!0,e,n,t,1);}function oa(e,t){var r=ia(e,t.line),n=Ke(e.doc,r.line),i=de(n,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(r.ch,n.text.search(/\S/)),a=t.line==r.line&&t.ch<=o&&t.ch;return rt(r.line,a?0:o,r.sticky);}return r;}function aa(e,t,r){if("string"==typeof t&&!(t=na[t]))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=U;}finally{e.display.shift=n,e.state.suppressEdits=!1;}return i;}var sa=new R();function la(e,t,r,n){var i=e.state.keySeq;if(i){if(Zo(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:sa.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset());}),ca(e,i+" "+t,r,n))return!0;}return ca(e,t,r,n);}function ca(e,t,r,n){var i=function(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=Ko(t,e.state.keyMaps[n],r,e);if(i)return i;}return e.options.extraKeys&&Ko(t,e.options.extraKeys,r,e)||Ko(t,e.options.keyMap,r,e);}(e,t,n);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&cr(e,"keyHandled",e,t,r),"handled"!=i&&"multi"!=i||(ke(r),_n(e)),!!i;}function ua(e,t){var r=Yo(t,!0);return!!r&&(t.shiftKey&&!e.state.keySeq?la(e,"Shift-"+r,t,function(t){return aa(e,t,!0);})||la(e,r,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return aa(e,t);}):la(e,r,t,function(t){return aa(e,t);}));}var da=null;function pa(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=N(),ye(t,e)))){s&&l<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var i=ua(t,e);p&&(da=i?n:null,i||88!=n||De||!(b?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),r&&!b&&!i&&46==n&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function r(e){18!=e.keyCode&&e.altKey||(M(t,"CodeMirror-crosshair"),he(document,"keyup",r),he(document,"mouseover",r));}I(t,"CodeMirror-crosshair"),fe(document,"keyup",r),fe(document,"mouseover",r);}(t);}}function fa(e){16==e.keyCode&&(this.doc.sel.shift=!1),ye(this,e);}function ma(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||_r(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||b&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(p&&r==da)return da=null,void ke(e);if(!p||e.which&&!(e.which<10)||!ua(t,e)){var i=String.fromCharCode(null==n?r:n);"\b"!=i&&(function(e,t,r){return la(e,"'"+r+"'",t,function(t){return aa(e,t,!0);});}(t,e,i)||t.display.input.onKeyPress(e));}}}var ha,ga,ya=function ya(e,t,r){this.time=e,this.pos=t,this.button=r;};function va(e){var t=this,r=t.display;if(!(ye(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,_r(r,e))c||(r.scroller.draggable=!1,setTimeout(function(){return r.scroller.draggable=!0;},100));else if(!ka(t,e)){var n=dn(t,e),i=Te(e),o=n?function(e,t){var r=+new Date();return ga&&ga.compare(r,e,t)?(ha=ga=null,"triple"):ha&&ha.compare(r,e,t)?(ga=new ya(r,e,t),ha=null,"double"):(ha=new ya(r,e,t),ga=null,"single");}(n,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),n&&function(e,t,r,n,i){var o="Click";return"double"==n?o="Double"+o:"triple"==n&&(o="Triple"+o),la(e,Xo(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,function(t){if("string"==typeof t&&(t=na[t]),!t)return!1;var n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n=t(e,r)!=U;}finally{e.state.suppressEdits=!1;}return n;});}(t,i,n,o,e)||(1==i?n?function(e,t,r,n){s?setTimeout(j(Sn,e),0):e.curOp.focus=N();var i,o=function(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(null==i.unit){var o=x?r.shiftKey&&r.metaKey:r.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line";}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey),null==i.addNew&&(i.addNew=b?r.metaKey:r.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(b?r.altKey:r.ctrlKey)),i;}(e,r,n),a=e.doc.sel;e.options.dragDrop&&Le&&!e.isReadOnly()&&"single"==r&&(i=a.contains(t))>-1&&(nt((i=a.ranges[i]).from(),t)<0||t.xRel>0)&&(nt(i.to(),t)>0||t.xRel<0)?function(e,t,r,n){var i=e.display,o=!1,a=ri(e,function(t){c&&(i.scroller.draggable=!1),e.state.draggingText=!1,he(i.wrapper.ownerDocument,"mouseup",a),he(i.wrapper.ownerDocument,"mousemove",u),he(i.scroller,"dragstart",d),he(i.scroller,"drop",a),o||(ke(t),n.addNew||Xi(e.doc,r,null,null,n.extend),c&&!f||s&&9==l?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus();},20):i.input.focus());}),u=function u(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10;},d=function d(){return o=!0;};c&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=!n.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),fe(i.wrapper.ownerDocument,"mouseup",a),fe(i.wrapper.ownerDocument,"mousemove",u),fe(i.scroller,"dragstart",d),fe(i.scroller,"drop",a),Cn(e),setTimeout(function(){return i.input.focus();},20);}(e,n,t,o):function(e,t,r,n){var i=e.display,o=e.doc;ke(t);var a,s,l=o.sel,c=l.ranges;if(n.addNew&&!n.extend?(s=o.sel.contains(r),a=s>-1?c[s]:new Ci(r,r)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==n.unit)n.addNew||(a=new Ci(r,r)),r=dn(e,t,!0,!0),s=-1;else{var u=ba(e,r,n.unit);a=n.extend?Zi(a,u.anchor,u.head,n.extend):u;}n.addNew?-1==s?(s=c.length,to(o,Ti(e,c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==n.unit&&!n.extend?(to(o,Ti(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):Qi(o,s,a,B):(s=0,to(o,new Si([a],0),B),l=o.sel);var d=r;function p(t){if(0!=nt(d,t))if(d=t,"rectangle"==n.unit){for(var i=[],c=e.options.tabSize,u=F(Ke(o,r.line).text,r.ch,c),p=F(Ke(o,t.line).text,t.ch,c),f=Math.min(u,p),m=Math.max(u,p),h=Math.min(r.line,t.line),g=Math.min(e.lastLine(),Math.max(r.line,t.line));h<=g;h++){var y=Ke(o,h).text,v=G(y,f,c);f==m?i.push(new Ci(rt(h,v),rt(h,v))):y.length>v&&i.push(new Ci(rt(h,v),rt(h,G(y,m,c))));}i.length||i.push(new Ci(r,r)),to(o,Ti(e,l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t);}else{var b,x=a,k=ba(e,t,n.unit),w=x.anchor;nt(k.anchor,w)>0?(b=k.head,w=st(x.from(),k.anchor)):(b=k.anchor,w=at(x.to(),k.head));var _=l.ranges.slice(0);_[s]=function(e,t){var r=t.anchor,n=t.head,i=Ke(e.doc,r.line);if(0==nt(r,n)&&r.sticky==n.sticky)return t;var o=de(i);if(!o)return t;var a=ce(o,r.ch,r.sticky),s=o[a];if(s.from!=r.ch&&s.to!=r.ch)return t;var l,c=a+(s.from==r.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(n.line!=r.line)l=(n.line-r.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ce(o,n.ch,n.sticky),d=u-a||(n.ch-r.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0;}var p=o[c+(l?-1:0)],f=l==(1==p.level),m=f?p.from:p.to,h=f?"after":"before";return r.ch==m&&r.sticky==h?t:new Ci(new rt(r.line,m,h),n);}(e,new Ci(ct(o,w),b)),to(o,Ti(e,_,s),B);}}var f=i.wrapper.getBoundingClientRect(),m=0;function h(t){var r=++m,a=dn(e,t,!0,"rectangle"==n.unit);if(a)if(0!=nt(a,d)){e.curOp.focus=N(),p(a);var s=zn(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(ri(e,function(){m==r&&h(t);}),150);}else{var l=t.clientY<f.top?-20:t.clientY>f.bottom?20:0;l&&setTimeout(ri(e,function(){m==r&&(i.scroller.scrollTop+=l,h(t));}),50);}}function g(t){e.state.selectingText=!1,m=1/0,t&&(ke(t),i.input.focus()),he(i.wrapper.ownerDocument,"mousemove",y),he(i.wrapper.ownerDocument,"mouseup",v),o.history.lastSelOrigin=null;}var y=ri(e,function(e){0!==e.buttons&&Te(e)?h(e):g(e);}),v=ri(e,g);e.state.selectingText=v,fe(i.wrapper.ownerDocument,"mousemove",y),fe(i.wrapper.ownerDocument,"mouseup",v);}(e,n,t,o);}(t,n,o,e):Ce(e)==r.scroller&&ke(e):2==i?(n&&Xi(t.doc,n),setTimeout(function(){return r.input.focus();},20)):3==i&&(S?t.display.input.onContextMenu(e):Cn(t)));}}function ba(e,t,r){if("char"==r)return new Ci(t,t);if("word"==r)return e.findWordAt(t);if("line"==r)return new Ci(rt(t.line,0),ct(e.doc,rt(t.line+1,0)));var n=r(e,t);return new Ci(n.from,n.to);}function xa(e,t,r,n){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY;}catch(t){return!1;}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&ke(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!be(e,r))return _e(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return ge(e,r,e,Je(e.doc,o),e.display.gutterSpecs[l].className,t),_e(t);}}function ka(e,t){return xa(e,t,"gutterClick",!0);}function wa(e,t){_r(e.display,t)||function(e,t){return!!be(e,"gutterContextMenu")&&xa(e,t,"gutterContextMenu",!1);}(e,t)||ye(e,t,"contextmenu")||S||e.display.input.onContextMenu(t);}function _a(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Wr(e);}ya.prototype.compare=function(e,t,r){return this.time+400>e&&0==nt(t,this.pos)&&r==this.button;};var Sa={toString:function toString(){return"CodeMirror.Init";}},Ca={},Ta={};function Ma(e,t,r){if(!t!=!(r&&r!=Sa)){var n=e.display.dragFunctions,i=t?fe:he;i(e.display.scroller,"dragstart",n.start),i(e.display.scroller,"dragenter",n.enter),i(e.display.scroller,"dragover",n.over),i(e.display.scroller,"dragleave",n.leave),i(e.display.scroller,"drop",n.drop);}}function Ea(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(M(e.display.wrapper,"CodeMirror-wrap"),Gt(e)),un(e),fn(e),Wr(e),setTimeout(function(){return Un(e);},100);}function La(e,t){var r=this;if(!(this instanceof La))return new La(e,t);this.options=t=t?q(t):{},q(Ca,t,!1);var n=t.value;"string"==typeof n?n=new No(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new La.inputStyles[t.inputStyle](this),o=this.display=new vi(e,n,i,t);for(var a in o.wrapper.CodeMirror=this,_a(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Vn(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new R(),keySeq:null,specialChars:null},t.autofocus&&!v&&o.input.focus(),s&&l<11&&setTimeout(function(){return r.display.input.reset(!0);},20),function(e){var t=e.display;fe(t.scroller,"mousedown",ri(e,va)),fe(t.scroller,"dblclick",s&&l<11?ri(e,function(t){if(!ye(e,t)){var r=dn(e,t);if(r&&!ka(e,t)&&!_r(e.display,t)){ke(t);var n=e.findWordAt(r);Xi(e.doc,n.anchor,n.head);}}}):function(t){return ye(e,t)||ke(t);}),fe(t.scroller,"contextmenu",function(t){return wa(e,t);}),fe(t.input.getField(),"contextmenu",function(r){t.scroller.contains(r.target)||wa(e,r);});var r,n={end:0};function i(){t.activeTouch&&(r=setTimeout(function(){return t.activeTouch=null;},1e3),(n=t.activeTouch).end=+new Date());}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1;}function a(e,t){if(null==t.left)return!0;var r=t.left-e.left,n=t.top-e.top;return r*r+n*n>400;}fe(t.scroller,"touchstart",function(i){if(!ye(e,i)&&!o(i)&&!ka(e,i)){t.input.ensurePolled(),clearTimeout(r);var a=+new Date();t.activeTouch={start:a,moved:!1,prev:a-n.end<=300?n:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY);}}),fe(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0);}),fe(t.scroller,"touchend",function(r){var n=t.activeTouch;if(n&&!_r(t,r)&&null!=n.left&&!n.moved&&new Date()-n.start<300){var o,s=e.coordsChar(t.activeTouch,"page");o=!n.prev||a(n,n.prev)?new Ci(s,s):!n.prev.prev||a(n,n.prev.prev)?e.findWordAt(s):new Ci(rt(s.line,0),ct(e.doc,rt(s.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),ke(r);}i();}),fe(t.scroller,"touchcancel",i),fe(t.scroller,"scroll",function(){t.scroller.clientHeight&&(jn(e,t.scroller.scrollTop),Fn(e,t.scroller.scrollLeft,!0),ge(e,"scroll",e));}),fe(t.scroller,"mousewheel",function(t){return _i(e,t);}),fe(t.scroller,"DOMMouseScroll",function(t){return _i(e,t);}),fe(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0;}),t.dragFunctions={enter:function enter(t){ye(e,t)||Se(t);},over:function over(t){ye(e,t)||(function(e,t){var r=dn(e,t);if(r){var n=document.createDocumentFragment();xn(e,r,n),e.display.dragCursor||(e.display.dragCursor=z("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),L(e.display.dragCursor,n);}}(e,t),Se(t));},start:function start(t){return function(e,t){if(s&&(!e.state.draggingText||+new Date()-Io<100))Se(t);else if(!ye(e,t)&&!_r(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f)){var r=z("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",p&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),p&&r.parentNode.removeChild(r);}}(e,t);},drop:ri(e,Do),leave:function leave(t){ye(e,t)||Po(e);}};var c=t.input.getField();fe(c,"keyup",function(t){return fa.call(e,t);}),fe(c,"keydown",ri(e,pa)),fe(c,"keypress",ri(e,ma)),fe(c,"focus",function(t){return Tn(e,t);}),fe(c,"blur",function(t){return Mn(e,t);});}(this),Fo(),Kn(this),this.curOp.forceUpdate=!0,ji(this,n),t.autofocus&&!v||this.hasFocus()?setTimeout(j(Tn,this),20):Mn(this),Ta){Ta.hasOwnProperty(a)&&Ta[a](this,t[a],Sa);}mi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<za.length;++u){za[u](this);}Zn(this),c&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto");}La.defaults=Ca,La.optionHandlers=Ta;var za=[];function Oa(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=ht(e,t).state:r="prev");var a=e.options.tabSize,s=Ke(o,t),l=F(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==r&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==U||c>150)){if(!n)return;r="prev";}}else c=0,r="not";"prev"==r?c=t>o.first?F(Ke(o,t-1).text,null,a):0:"add"==r?c=l+e.options.indentUnit:"subtract"==r?c=l-e.options.indentUnit:"number"==typeof r&&(c=l+r),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f){p+=a,d+="\t";}if(p<c&&(d+=Z(c-p)),d!=u)return yo(o,d,rt(t,0),rt(t,u.length),"+input"),s.stateAfter=null,!0;for(var m=0;m<o.sel.ranges.length;m++){var h=o.sel.ranges[m];if(h.head.line==t&&h.head.ch<u.length){var g=rt(t,u.length);Qi(o,m,new Ci(g,g));break;}}}La.defineInitHook=function(e){return za.push(e);};var Aa=null;function Na(e){Aa=e;}function Ia(e,t,r,n,i){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var a=+new Date()-200,s="paste"==i||e.state.pasteIncoming>a,l=Ne(t),c=null;if(s&&n.ranges.length>1)if(Aa&&Aa.text.join("\n")==t){if(n.ranges.length%Aa.text.length==0){c=[];for(var u=0;u<Aa.text.length;u++){c.push(o.splitLines(Aa.text[u]));}}}else l.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,function(e){return[e];}));for(var d=e.curOp.updateInput,p=n.ranges.length-1;p>=0;p--){var f=n.ranges[p],m=f.from(),h=f.to();f.empty()&&(r&&r>0?m=rt(m.line,m.ch-r):e.state.overwrite&&!s?h=rt(h.line,Math.min(Ke(o,h.line).text.length,h.ch+X(l).length)):s&&Aa&&Aa.lineWise&&Aa.text.join("\n")==t&&(m=h=rt(m.line,0)));var g={from:m,to:h,text:c?c[p%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};po(e.doc,g),cr(e,"inputRead",e,g);}t&&!s&&Pa(e,t),Nn(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1;}function Da(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||ti(t,function(){return Ia(t,r,0,null,"paste");}),!0;}function Pa(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++){if(t.indexOf(o.electricChars.charAt(s))>-1){a=Oa(e,i.head.line,"smart");break;}}}else o.electricInput&&o.electricInput.test(Ke(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Oa(e,i.head.line,"smart"));a&&cr(e,"electricInput",e,i.head.line);}}}function ja(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,o={anchor:rt(i,0),head:rt(i+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head));}return{text:t,ranges:r};}function qa(e,t,r,n){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t);}function Fa(){var e=z("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=z("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return c?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),qa(e),t;}function Ra(e,t,r,n,i){var o=t,a=r,s=Ke(e,t.line),l=i&&"rtl"==e.direction?-r:r;function c(n){var o,a;if(o=i?function(e,t,r,n){var i=de(t,e.doc.direction);if(!i)return ta(t,r,n);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var o=ce(i,r.ch,r.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(n>0?a.to>r.ch:a.from<r.ch))return ta(t,r,n);var s,l=function l(e,r){return ea(t,e instanceof rt?e.ch:e,r);},c=function c(r){return e.options.lineWrapping?(s=s||Nr(e,t),Jr(e,t,s,r)):{begin:0,end:t.text.length};},u=c("before"==r.sticky?l(r,-1):r.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==n<0,p=l(r,d?1:-1);if(null!=p&&(d?p<=a.to&&p<=u.end:p>=a.from&&p>=u.begin)){var f=d?"before":"after";return new rt(r.line,p,f);}}var m=function m(e,t,n){for(var o=function o(e,t){return t?new rt(r.line,l(e,1),"before"):new rt(r.line,e,"after");};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?n.begin:l(n.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),n.begin<=c&&c<n.end)return o(c,s);}},h=m(o+n,n,u);if(h)return h;var g=n>0?u.end:l(u.begin,-1);return null==g||n>0&&g==t.text.length||!(h=m(n>0?0:i.length-1,n,c(g)))?null:h;}(e.cm,s,t,r):ta(s,t,r),null==o){if(n||(a=t.line+l)<e.first||a>=e.first+e.size||(t=new rt(a,t.ch,t.sticky),!(s=Ke(e,a))))return!1;t=ra(i,e.cm,s,t.line,l);}else t=o;return!0;}if("char"==n)c();else if("column"==n)c(!0);else if("word"==n||"group"==n)for(var u=null,d="group"==n,p=e.cm&&e.cm.getHelper(t,"wordChars"),f=!0;!(r<0)||c(!f);f=!1){var m=s.text.charAt(t.ch)||"\n",h=re(m,p)?"w":d&&"\n"==m?"n":!d||/\s/.test(m)?null:"p";if(!d||f||h||(h="s"),u&&u!=h){r<0&&(r=1,c(),t.sticky="after");break;}if(h&&(u=h),r>0&&!c(!f))break;}var g=so(e,t,o,a,!0);return it(o,g)&&(g.hitSide=!0),g;}function Wa(e,t,r,n){var i,o,a=e.doc,s=t.left;if("page"==n){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*on(e.display),3);i=(r>0?t.bottom:t.top)+r*c;}else"line"==n&&(i=r>0?t.bottom+3:t.top-3);for(;(o=Yr(e,s,i)).outside;){if(r<0?i<=0:i>=a.height){o.hitSide=!0;break;}i+=5*r;}return o;}var $a=function $a(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new R(),this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null;};function Ua(e,t){var r=Ar(e,t.line);if(!r||r.hidden)return null;var n=Ke(e.doc,t.line),i=zr(r,n,t.line),o=de(n,e.doc.direction),a="left";o&&(a=ce(o,t.ch)%2?"right":"left");var s=jr(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s;}function Ha(e,t){return t&&(e.bad=!0),e;}function Ba(e,t,r){var n;if(t==e.display.lineDiv){if(!(n=e.display.lineDiv.childNodes[r]))return Ha(e.clipPos(rt(e.display.viewTo-1)),!0);t=null,r=0;}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break;}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n)return Va(o,t,r);}}function Va(e,t,r){var n=e.text.firstChild,i=!1;if(!t||!A(n,t))return Ha(rt(Qe(e.line),0),!0);if(t==n&&(i=!0,t=n.childNodes[r],r=0,!t)){var o=e.rest?X(e.rest):e.line;return Ha(rt(Qe(o),o.text.length),i);}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,r&&(r=a.nodeValue.length));s.parentNode!=n;){s=s.parentNode;}var l=e.measure,c=l.maps;function u(t,r,n){for(var i=-1;i<(c?c.length:0);i++){for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==r){var u=Qe(i<0?e.line:e.rest[i]),d=o[a]+n;return(n<0||s!=t)&&(d=o[a+(n?1:0)]),rt(u,d);}}}}var d=u(a,s,r);if(d)return Ha(d,i);for(var p=s.nextSibling,f=a?a.nodeValue.length-r:0;p;p=p.nextSibling){if(d=u(p,p.firstChild,0))return Ha(rt(d.line,d.ch-f),i);f+=p.textContent.length;}for(var m=s.previousSibling,h=r;m;m=m.previousSibling){if(d=u(m,m.firstChild,-1))return Ha(rt(d.line,d.ch+h),i);h+=m.textContent.length;}}$a.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break;}return!1;}function a(e){if(o(e)&&!ye(n,e)){if(n.somethingSelected())Na({lineWise:!1,text:n.getSelections()}),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=ja(n);Na({lineWise:!0,text:t.text}),"cut"==e.type&&n.operation(function(){n.setSelections(t.ranges,0,H),n.replaceSelection("",null,"cut");});}if(e.clipboardData){e.clipboardData.clearData();var a=Aa.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault();}var s=Fa(),l=s.firstChild;n.display.lineSpace.insertBefore(s,n.display.lineSpace.firstChild),l.value=Aa.text.join("\n");var c=document.activeElement;P(l),setTimeout(function(){n.display.lineSpace.removeChild(s),c.focus(),c==i&&r.showPrimarySelection();},50);}}qa(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize),fe(i,"paste",function(e){!o(e)||ye(n,e)||Da(e,n)||l<=11&&setTimeout(ri(n,function(){return t.updateFromDOM();}),20);}),fe(i,"compositionstart",function(e){t.composing={data:e.data,done:!1};}),fe(i,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1});}),fe(i,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0);}),fe(i,"touchstart",function(){return r.forceCompositionEnd();}),fe(i,"input",function(){t.composing||t.readFromDOMSoon();}),fe(i,"copy",a),fe(i,"cut",a);},$a.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label");},$a.prototype.prepareSelection=function(){var e=bn(this.cm,!1);return e.focus=document.activeElement==this.div,e;},$a.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e));},$a.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection();},$a.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),i=n.from(),o=n.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=Ba(t,e.anchorNode,e.anchorOffset),s=Ba(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=nt(st(a,s),i)||0!=nt(at(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Ua(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Ua(t,o);if(!u){var d=l[l.length-1].measure,p=d.maps?d.maps[d.maps.length-1]:d.map;u={node:p[p.length-1],offset:p[p.length-2]-p[p.length-3]};}if(c&&u){var f,m=e.rangeCount&&e.getRangeAt(0);try{f=T(c.node,c.offset,u.offset,u.node);}catch(e){}f&&(!r&&t.state.focused?(e.collapse(c.node,c.offset),f.collapsed||(e.removeAllRanges(),e.addRange(f))):(e.removeAllRanges(),e.addRange(f)),m&&null==e.anchorNode?e.addRange(m):r&&this.startGracePeriod()),this.rememberSelection();}else e.removeAllRanges();}}},$a.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0;});},20);},$a.prototype.showMultipleSelections=function(e){L(this.cm.display.cursorDiv,e.cursors),L(this.cm.display.selectionDiv,e.selection);},$a.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset;},$a.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return A(this.div,t);},$a.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus());},$a.prototype.blur=function(){this.div.blur();},$a.prototype.getField=function(){return this.div;},$a.prototype.supportsTouch=function(){return!0;},$a.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():ti(this.cm,function(){return e.cm.curOp.selectionChanged=!0;}),this.polling.set(this.cm.options.pollInterval,function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t));});},$a.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset;},$a.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(y&&d&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode){if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;}return!1;}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var r=Ba(t,e.anchorNode,e.anchorOffset),n=Ba(t,e.focusNode,e.focusOffset);r&&n&&ti(t,function(){to(t.doc,Mi(r,n),H),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0);});}}},$a.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,r,n=this.cm,i=n.display,o=n.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>n.firstLine()&&(a=rt(a.line-1,Ke(n.doc,a.line-1).length)),s.ch==Ke(n.doc,s.line).text.length&&s.line<n.lastLine()&&(s=rt(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=pn(n,a.line))?(t=Qe(i.view[0].line),r=i.view[0].node):(t=Qe(i.view[e].line),r=i.view[e-1].node.nextSibling);var l,c,u=pn(n,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=Qe(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!r)return!1;for(var d=n.doc.splitLines(function(e,t,r,n,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e;};}function u(){a&&(o+=s,l&&(o+=s),a=l=!1);}function d(e){e&&(u(),o+=e);}function p(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(r)return void d(r);var o,f=t.getAttribute("cm-marker");if(f){var m=e.findMarks(rt(n,0),rt(i+1,0),c(+f));return void(m.length&&(o=m[0].find(0))&&d(Ze(e.doc,o.from,o.to).join(s)));}if("false"==t.getAttribute("contenteditable"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&u();for(var g=0;g<t.childNodes.length;g++){p(t.childNodes[g]);}/^(pre|p)$/i.test(t.nodeName)&&(l=!0),h&&(a=!0);}else 3==t.nodeType&&d(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));}for(;p(t),t!=r;){t=t.nextSibling,l=!1;}return o;}(n,r,c,t,l)),p=Ze(n.doc,rt(t,0),rt(l,Ke(n.doc,l).text.length));d.length>1&&p.length>1;){if(X(d)==X(p))d.pop(),p.pop(),l--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),t++;}}for(var f=0,m=0,h=d[0],g=p[0],y=Math.min(h.length,g.length);f<y&&h.charCodeAt(f)==g.charCodeAt(f);){++f;}for(var v=X(d),b=X(p),x=Math.min(v.length-(1==d.length?f:0),b.length-(1==p.length?f:0));m<x&&v.charCodeAt(v.length-m-1)==b.charCodeAt(b.length-m-1);){++m;}if(1==d.length&&1==p.length&&t==a.line)for(;f&&f>a.ch&&v.charCodeAt(v.length-m-1)==b.charCodeAt(b.length-m-1);){f--,m++;}d[d.length-1]=v.slice(0,v.length-m).replace(/^\u200b+/,""),d[0]=d[0].slice(f).replace(/\u200b+$/,"");var k=rt(t,f),w=rt(l,p.length?X(p).length-m:0);return d.length>1||d[0]||nt(k,w)?(yo(n.doc,d,k,w,"+input"),!0):void 0;},$a.prototype.ensurePolled=function(){this.forceCompositionEnd();},$a.prototype.reset=function(){this.forceCompositionEnd();},$a.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus());},$a.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null;}e.updateFromDOM();},80));},$a.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||ti(this.cm,function(){return fn(e.cm);});},$a.prototype.setUneditable=function(e){e.contentEditable="false";},$a.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ri(this.cm,Ia)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0));},$a.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e);},$a.prototype.onContextMenu=function(){},$a.prototype.resetPosition=function(){},$a.prototype.needsContentAttribute=!0;var Ga=function Ga(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new R(),this.hasSelection=!1,this.composing=null;};Ga.prototype.init=function(e){var t=this,r=this,n=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ye(n,e)){if(n.somethingSelected())Na({lineWise:!1,text:n.getSelections()});else{if(!n.options.lineWiseCopyCut)return;var t=ja(n);Na({lineWise:!0,text:t.text}),"cut"==e.type?n.setSelections(t.ranges,null,H):(r.prevInput="",i.value=t.text.join("\n"),P(i));}"cut"==e.type&&(n.state.cutIncoming=+new Date());}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),fe(i,"input",function(){s&&l>=9&&t.hasSelection&&(t.hasSelection=null),r.poll();}),fe(i,"paste",function(e){ye(n,e)||Da(e,n)||(n.state.pasteIncoming=+new Date(),r.fastPoll());}),fe(i,"cut",o),fe(i,"copy",o),fe(e.scroller,"paste",function(t){if(!_r(e,t)&&!ye(n,t)){if(!i.dispatchEvent)return n.state.pasteIncoming=+new Date(),void r.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o);}}),fe(e.lineSpace,"selectstart",function(t){_r(e,t)||ke(t);}),fe(i,"compositionstart",function(){var e=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})};}),fe(i,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null);});},Ga.prototype.createField=function(e){this.wrapper=Fa(),this.textarea=this.wrapper.firstChild;},Ga.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label");},Ga.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=bn(e);if(e.options.moveInputWithCursor){var i=Kr(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left));}return n;},Ga.prototype.showSelection=function(e){var t=this.cm.display;L(t.cursorDiv,e.cursors),L(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px");},Ga.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&P(this.textarea),s&&l>=9&&(this.hasSelection=r);}else e||(this.prevInput=this.textarea.value="",s&&l>=9&&(this.hasSelection=null));}},Ga.prototype.getField=function(){return this.textarea;},Ga.prototype.supportsTouch=function(){return!1;},Ga.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||N()!=this.textarea))try{this.textarea.focus();}catch(e){}},Ga.prototype.blur=function(){this.textarea.blur();},Ga.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0;},Ga.prototype.receivedFocus=function(){this.slowPoll();},Ga.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll();});},Ga.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function r(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,r));});},Ga.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ie(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(s&&l>=9&&this.hasSelection===i||b&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||n||(n="​"),8666==o)return this.reset(),this.cm.execCommand("undo");}for(var a=0,c=Math.min(n.length,i.length);a<c&&n.charCodeAt(a)==i.charCodeAt(a);){++a;}return ti(t,function(){Ia(t,i.slice(a),n.length-a,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?r.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;},Ga.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1);},Ga.prototype.onKeyPress=function(){s&&l>=9&&(this.hasSelection=null),this.fastPoll();},Ga.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=dn(r,e),a=n.scroller.scrollTop;if(o&&!p){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(o)&&ri(r,to)(r.doc,Mi(o),H);var u,d=i.style.cssText,f=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(s?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",c&&(u=window.scrollY),n.input.focus(),c&&window.scrollTo(null,u),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=g,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),s&&l>=9&&h(),S?(Se(e),fe(window,"mouseup",function e(){he(window,"mouseup",e),setTimeout(g,20);})):setTimeout(g,50);}function h(){if(null!=i.selectionStart){var e=r.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,n.selForContextMenu=r.doc.sel;}}function g(){if(t.contextMenuPending==g&&(t.contextMenuPending=!1,t.wrapper.style.cssText=f,i.style.cssText=d,s&&l<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=a),null!=i.selectionStart)){(!s||s&&l<9)&&h();var e=0;n.detectingSelectAll=setTimeout(function o(){n.selForContextMenu==r.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?ri(r,co)(r):e++<10?n.detectingSelectAll=setTimeout(o,500):(n.selForContextMenu=null,n.input.reset());},200);}}},Ga.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e;},Ga.prototype.setUneditable=function(){},Ga.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function r(r,n,i,o){e.defaults[r]=n,i&&(t[r]=o?function(e,t,r){r!=Sa&&i(e,t,r);}:i);}e.defineOption=r,e.Init=Sa,r("value","",function(e,t){return e.setValue(t);},!0),r("mode",null,function(e,t){e.doc.modeOption=t,Ai(e);},!0),r("indentUnit",2,Ai,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,function(e){Ni(e),Wr(e),fn(e);},!0),r("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,r.push(rt(n,o));}n++;});for(var i=r.length-1;i>=0;i--){yo(e.doc,t,r[i],rt(r[i].line,r[i].ch+t.length));}}}),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=Sa&&e.refresh();}),r("specialCharPlaceholder",er,function(e){return e.refresh();},!0),r("electricChars",!0),r("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor");},!0),r("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t;},!0),r("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t;},!0),r("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t;},!0),r("rtlMoveVisually",!k),r("wholeLineUpdateBefore",!0),r("theme","default",function(e){_a(e),yi(e);},!0),r("keyMap","default",function(e,t,r){var n=Qo(t),i=r!=Sa&&Qo(r);i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null);}),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Ea,!0),r("gutters",[],function(e,t){e.display.gutterSpecs=hi(t,e.options.lineNumbers),yi(e);},!0),r("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?ln(e.display)+"px":"0",e.refresh();},!0),r("coverGutterNextToScrollbar",!1,function(e){return Un(e);},!0),r("scrollbarStyle","native",function(e){Vn(e),Un(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft);},!0),r("lineNumbers",!1,function(e,t){e.display.gutterSpecs=hi(e.options.gutters,t),yi(e);},!0),r("firstLineNumber",1,yi,!0),r("lineNumberFormatter",function(e){return e;},yi,!0),r("showCursorWhenSelecting",!1,vn,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,function(e,t){"nocursor"==t&&(Mn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t);}),r("screenReaderLabel",null,function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t);}),r("disableInput",!1,function(e,t){t||e.display.input.reset();},!0),r("dragDrop",!0,Ma),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,vn,!0),r("singleCursorHeightPerLine",!0,vn,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,Ni,!0),r("addModeClass",!1,Ni,!0),r("pollInterval",100),r("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t;}),r("historyEventDelay",1250),r("viewportMargin",10,function(e){return e.refresh();},!0),r("maxHighlightLength",1e4,Ni,!0),r("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition();}),r("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||"";}),r("autofocus",null),r("direction","ltr",function(e,t){return e.doc.setDirection(t);},!0),r("phrases",null);}(La),function(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function focus(){window.focus(),this.display.input.focus();},setOption:function setOption(e,r){var n=this.options,i=n[e];n[e]==r&&"mode"!=e||(n[e]=r,t.hasOwnProperty(e)&&ri(this,t[e])(this,r,i),ge(this,"optionChange",this,e));},getOption:function getOption(e){return this.options[e];},getDoc:function getDoc(){return this.doc;},addKeyMap:function addKeyMap(e,t){this.state.keyMaps[t?"push":"unshift"](Qo(e));},removeKeyMap:function removeKeyMap(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r){if(t[r]==e||t[r].name==e)return t.splice(r,1),!0;}},addOverlay:ni(function(t,r){var n=t.token?t:e.getMode(this.options,t);if(n.startState)throw new Error("Overlays may not be stateful.");!function(e,t,r){for(var n=0,i=r(t);n<e.length&&r(e[n])<=i;){n++;}e.splice(n,0,t);}(this.state.overlays,{mode:n,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},function(e){return e.priority;}),this.state.modeGen++,fn(this);}),removeOverlay:ni(function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var n=t[r].modeSpec;if(n==e||"string"==typeof e&&n.name==e)return t.splice(r,1),this.state.modeGen++,void fn(this);}}),indentLine:ni(function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),et(this.doc,e)&&Oa(this,e,t,r);}),indentSelection:ni(function(e){for(var t=this.doc.sel.ranges,r=-1,n=0;n<t.length;n++){var i=t[n];if(i.empty())i.head.line>r&&(Oa(this,i.head.line,e,!0),r=i.head.line,n==this.doc.sel.primIndex&&Nn(this));else{var o=i.from(),a=i.to(),s=Math.max(r,o.line);r=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<r;++l){Oa(this,l,e);}var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[n].from().ch>0&&Qi(this.doc,n,new Ci(o,c[n].to()),H);}}}),getTokenAt:function getTokenAt(e,t){return xt(this,e,t);},getLineTokens:function getLineTokens(e,t){return xt(this,rt(e),t,!0);},getTokenTypeAt:function getTokenTypeAt(e){e=ct(this.doc,e);var t,r=mt(this,Ke(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var a=n+i>>1;if((a?r[2*a-1]:0)>=o)i=a;else{if(!(r[2*a+1]<o)){t=r[2*a+2];break;}n=a+1;}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1);},getModeAt:function getModeAt(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r;},getHelper:function getHelper(e,t){return this.getHelpers(e,t)[0];},getHelpers:function getHelpers(e,t){var n=[];if(!r.hasOwnProperty(t))return n;var i=r[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&n.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&n.push(s);}else o.helperType&&i[o.helperType]?n.push(i[o.helperType]):i[o.name]&&n.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==W(n,c.val)&&n.push(c.val);}return n;},getStateAfter:function getStateAfter(e,t){var r=this.doc;return ht(this,(e=lt(r,null==e?r.first+r.size-1:e))+1,t).state;},cursorCoords:function cursorCoords(e,t){var r=this.doc.sel.primary();return Kr(this,null==e?r.head:"object"==a(e)?ct(this.doc,e):e?r.from():r.to(),t||"page");},charCoords:function charCoords(e,t){return Gr(this,ct(this.doc,e),t||"page");},coordsChar:function coordsChar(e,t){return Yr(this,(e=Vr(this,e,t||"page")).left,e.top);},lineAtHeight:function lineAtHeight(e,t){return e=Vr(this,{top:e,left:0},t||"page").top,Je(this.doc,e+this.display.viewOffset);},heightAtLine:function heightAtLine(e,t,r){var n,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),n=Ke(this.doc,e);}else n=e;return Br(this,n,{top:0,left:0},t||"page",r||i).top+(i?this.doc.height-Bt(n):0);},defaultTextHeight:function defaultTextHeight(){return on(this.display);},defaultCharWidth:function defaultCharWidth(){return an(this.display);},getViewport:function getViewport(){return{from:this.display.viewFrom,to:this.display.viewTo};},addWidget:function addWidget(e,t,r,n,i){var o,a,s,l=this.display,c=(e=Kr(this,ct(this.doc,e))).bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==n)c=e.top;else if("above"==n||"near"==n){var d=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>d)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=d&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth);}t.style.top=c+"px",t.style.left=t.style.right="","right"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?u=0:"middle"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),r&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=On(o,a)).scrollTop&&jn(o,s.scrollTop),null!=s.scrollLeft&&Fn(o,s.scrollLeft));},triggerOnKeyDown:ni(pa),triggerOnKeyPress:ni(ma),triggerOnKeyUp:fa,triggerOnMouseDown:ni(va),execCommand:function execCommand(e){if(na.hasOwnProperty(e))return na[e].call(null,this);},triggerElectric:ni(function(e){Pa(this,e);}),findPosH:function findPosH(e,t,r,n){var i=1;t<0&&(i=-1,t=-t);for(var o=ct(this.doc,e),a=0;a<t&&!(o=Ra(this.doc,o,i,r,n)).hitSide;++a){;}return o;},moveH:ni(function(e,t){var r=this;this.extendSelectionsBy(function(n){return r.display.shift||r.doc.extend||n.empty()?Ra(r.doc,n.head,e,t,r.options.rtlMoveVisually):e<0?n.from():n.to();},V);}),deleteH:ni(function(e,t){var r=this.doc.sel,n=this.doc;r.somethingSelected()?n.replaceSelection("",null,"+delete"):Jo(this,function(r){var i=Ra(n,r.head,e,t,!1);return e<0?{from:i,to:r.head}:{from:r.head,to:i};});}),findPosV:function findPosV(e,t,r,n){var i=1,o=n;t<0&&(i=-1,t=-t);for(var a=ct(this.doc,e),s=0;s<t;++s){var l=Kr(this,a,"div");if(null==o?o=l.left:l.left=o,(a=Wa(this,l,i,r)).hitSide)break;}return a;},moveV:ni(function(e,t){var r=this,n=this.doc,i=[],o=!this.display.shift&&!n.extend&&n.sel.somethingSelected();if(n.extendSelectionsBy(function(a){if(o)return e<0?a.from():a.to();var s=Kr(r,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Wa(r,s,e,t);return"page"==t&&a==n.sel.primary()&&An(r,Gr(r,l,"div").top-s.top),l;},V),i.length)for(var a=0;a<n.sel.ranges.length;a++){n.sel.ranges[a].goalColumn=i[a];}}),findWordAt:function findWordAt(e){var t=Ke(this.doc,e.line).text,r=e.ch,n=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&n!=t.length||!r?++n:--r;for(var o=t.charAt(r),a=re(o,i)?function(e){return re(e,i);}:/\s/.test(o)?function(e){return /\s/.test(e);}:function(e){return!/\s/.test(e)&&!re(e);};r>0&&a(t.charAt(r-1));){--r;}for(;n<t.length&&a(t.charAt(n));){++n;}}return new Ci(rt(e.line,r),rt(e.line,n));},toggleOverwrite:function toggleOverwrite(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?I(this.display.cursorDiv,"CodeMirror-overwrite"):M(this.display.cursorDiv,"CodeMirror-overwrite"),ge(this,"overwriteToggle",this,this.state.overwrite));},hasFocus:function hasFocus(){return this.display.input.getField()==N();},isReadOnly:function isReadOnly(){return!(!this.options.readOnly&&!this.doc.cantEdit);},scrollTo:ni(function(e,t){In(this,e,t);}),getScrollInfo:function getScrollInfo(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Mr(this)-this.display.barHeight,width:e.scrollWidth-Mr(this)-this.display.barWidth,clientHeight:Lr(this),clientWidth:Er(this)};},scrollIntoView:ni(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:rt(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Dn(e),e.curOp.scrollToPos=t;}(this,e):Pn(this,e.from,e.to,e.margin);}),setSize:ni(function(e,t){var r=this,n=function n(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e;};null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&Rr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++){if(e.widgets[t].noHScroll){mn(r,i,"widget");break;}}++i;}),this.curOp.forceUpdate=!0,ge(this,"refresh",this);}),operation:function operation(e){return ti(this,e);},startOperation:function startOperation(){return Kn(this);},endOperation:function endOperation(){return Zn(this);},refresh:ni(function(){var e=this.display.cachedTextHeight;fn(this),this.curOp.forceUpdate=!0,Wr(this),In(this,this.doc.scrollLeft,this.doc.scrollTop),di(this.display),(null==e||Math.abs(e-on(this.display))>.5||this.options.lineWrapping)&&un(this),ge(this,"refresh",this);}),swapDoc:ni(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),ji(this,e),Wr(this),this.display.input.reset(),In(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,cr(this,"swapDoc",this,t),t;}),phrase:function phrase(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e;},getInputField:function getInputField(){return this.display.input.getField();},getWrapperElement:function getWrapperElement(){return this.display.wrapper;},getScrollerElement:function getScrollerElement(){return this.display.scroller;},getGutterElement:function getGutterElement(){return this.display.gutters;}},xe(e),e.registerHelper=function(t,n,i){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][n]=i;},e.registerGlobalHelper=function(t,n,i,o){e.registerHelper(t,n,o),r[t]._global.push({pred:i,val:o});};}(La);var Ka="iter insert remove copy getEditor constructor".split(" ");for(var Za in No.prototype){No.prototype.hasOwnProperty(Za)&&W(Ka,Za)<0&&(La.prototype[Za]=function(e){return function(){return e.apply(this.doc,arguments);};}(No.prototype[Za]));}return xe(No),La.inputStyles={textarea:Ga,contenteditable:$a},La.defineMode=function(e){La.defaults.mode||"null"==e||(La.defaults.mode=e),Fe.apply(this,arguments);},La.defineMIME=function(e,t){qe[e]=t;},La.defineMode("null",function(){return{token:function token(e){return e.skipToEnd();}};}),La.defineMIME("text/plain","null"),La.defineExtension=function(e,t){La.prototype[e]=t;},La.defineDocExtension=function(e,t){No.prototype[e]=t;},La.fromTextArea=function(e,t){if((t=t?q(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=N();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body;}function n(){e.value=s.getValue();}var i;if(e.form&&(fe(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=a;};}catch(e){}}t.finishInit=function(r){r.save=n,r.getTextArea=function(){return e;},r.toTextArea=function(){r.toTextArea=isNaN,n(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(he(e.form,"submit",n),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i));};},e.style.display="none";var s=La(function(t){return e.parentNode.insertBefore(t,e.nextSibling);},t);return s;},function(e){e.off=he,e.on=fe,e.wheelEventPixels=wi,e.Doc=No,e.splitLines=Ne,e.countColumn=F,e.findColumn=G,e.isWordChar=te,e.Pass=U,e.signal=ge,e.Line=Kt,e.changeEnd=Ei,e.scrollbarModel=Bn,e.Pos=rt,e.cmpPos=nt,e.modes=je,e.mimeModes=qe,e.resolveMode=Re,e.getMode=We,e.modeExtensions=$e,e.extendMode=Ue,e.copyState=He,e.startState=Ve,e.innerMode=Be,e.commands=na,e.keyMap=Bo,e.keyName=Yo,e.isModifierKey=Zo,e.lookupKey=Ko,e.normalizeKeyMap=Go,e.StringStream=Ge,e.SharedTextMarker=Lo,e.TextMarker=Mo,e.LineWidget=So,e.e_preventDefault=ke,e.e_stopPropagation=we,e.e_stop=Se,e.addClass=I,e.contains=A,e.rmClass=M,e.keyNames=Wo;}(La),La.version="5.54.0",La;},"object"===a(t)?e.exports=o():void 0===(i="function"==typeof(n=o)?n.call(t,r,t,e):n)||(e.exports=i);},1736:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.info=n,this.align=i,this.prev=o;}function r(e,r,n,i){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new t(o,r,n,i,null,e.context);}function n(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}function i(e,t,r){return"variable"==t.prevToken||"type"==t.prevToken||!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,r))||!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0;}function o(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev;}}function a(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}function s(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t);}e.defineMode("clike",function(a,l){var c,u,d=a.indentUnit,p=l.statementIndentUnit||d,f=l.dontAlignCalls,m=l.keywords||{},h=l.types||{},g=l.builtin||{},y=l.blockKeywords||{},v=l.defKeywords||{},b=l.atoms||{},x=l.hooks||{},k=l.multiLineStrings,w=!1!==l.indentStatements,_=!1!==l.indentSwitch,S=l.namespaceSeparator,C=l.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,T=l.numberStart||/[\d\.]/,M=l.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,E=l.isOperatorChar||/[+\-*&%=<>!?|\/]/,L=l.isIdentifierChar||/[\w\$_\xa1-\uffff]/,z=l.isReservedIdentifier||!1;function O(e,t){var r,n=e.next();if(x[n]){var i=x[n](e,t);if(!1!==i)return i;}if('"'==n||"'"==n)return t.tokenize=(r=n,function(e,t){for(var n,i=!1,o=!1;null!=(n=e.next());){if(n==r&&!i){o=!0;break;}i=!i&&"\\"==n;}return(o||!i&&!k)&&(t.tokenize=null),"string";}),t.tokenize(e,t);if(C.test(n))return c=n,null;if(T.test(n)){if(e.backUp(1),e.match(M))return"number";e.next();}if("/"==n){if(e.eat("*"))return t.tokenize=A,A(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";}if(E.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(E);){;}return"operator";}if(e.eatWhile(L),S)for(;e.match(S);){e.eatWhile(L);}var o=e.current();return s(m,o)?(s(y,o)&&(c="newstatement"),s(v,o)&&(u=!0),"keyword"):s(h,o)?"type":s(g,o)||z&&z(o)?(s(y,o)&&(c="newstatement"),"builtin"):s(b,o)?"atom":"variable";}function A(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break;}n="*"==r;}return"comment";}function N(e,t){l.typeFirstDefinitions&&e.eol()&&o(t.context)&&(t.typeAtEndOfLine=i(e,t,e.pos));}return{startState:function startState(e){return{tokenize:null,context:new t((e||0)-d,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null};},token:function token(e,t){var a=t.context;if(e.sol()&&(null==a.align&&(a.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return N(e,t),null;c=u=null;var s=(t.tokenize||O)(e,t);if("comment"==s||"meta"==s)return s;if(null==a.align&&(a.align=!0),";"==c||":"==c||","==c&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;){n(t);}else if("{"==c)r(t,e.column(),"}");else if("["==c)r(t,e.column(),"]");else if("("==c)r(t,e.column(),")");else if("}"==c){for(;"statement"==a.type;){a=n(t);}for("}"==a.type&&(a=n(t));"statement"==a.type;){a=n(t);}}else c==a.type?n(t):w&&(("}"==a.type||"top"==a.type)&&";"!=c||"statement"==a.type&&"newstatement"==c)&&r(t,e.column(),"statement",e.current());if("variable"==s&&("def"==t.prevToken||l.typeFirstDefinitions&&i(e,t,e.start)&&o(t.context)&&e.match(/^\s*\(/,!1))&&(s="def"),x.token){var d=x.token(e,t,s);void 0!==d&&(s=d);}return"def"==s&&!1===l.styleDefs&&(s="variable"),t.startOfLine=!1,t.prevToken=u?"def":s||c,N(e,t),s;},indent:function indent(t,r){if(t.tokenize!=O&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var n=t.context,i=r&&r.charAt(0),o=i==n.type;if("statement"==n.type&&"}"==i&&(n=n.prev),l.dontIndentStatements)for(;"statement"==n.type&&l.dontIndentStatements.test(n.info);){n=n.prev;}if(x.indent){var a=x.indent(t,n,r,d);if("number"==typeof a)return a;}var s=n.prev&&"switch"==n.prev.info;if(l.allmanIndentation&&/[{(]/.test(i)){for(;"top"!=n.type&&"}"!=n.type;){n=n.prev;}return n.indented;}return"statement"==n.type?n.indented+("{"==i?0:p):!n.align||f&&")"==n.type?")"!=n.type||o?n.indented+(o?0:d)+(o||!s||/^(?:case|default)\b/.test(r)?0:d):n.indented+p:n.column+(o?0:1);},electricInput:_?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"};});var l="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",c="alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq",u="bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available",d="FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT",p=a("int long char short double float unsigned signed void bool"),f=a("SEL instancetype id Class Protocol BOOL");function m(e){return s(p,e)||/.+_t$/.test(e);}function h(e){return m(e)||s(f,e);}var g="case do else for if switch while struct enum union",y="struct enum union";function v(e,t){if(!t.startOfLine)return!1;for(var r,n=null;r=e.peek();){if("\\"==r&&e.match(/^.$/)){n=v;break;}if("/"==r&&e.match(/^\/[\/\*]/,!1))break;e.next();}return t.tokenize=n,"meta";}function b(e,t){return"type"==t.prevToken&&"type";}function x(e){return!(!e||e.length<2||"_"!=e[0]||"_"!=e[1]&&e[1]===e[1].toLowerCase());}function k(e){return e.eatWhile(/[\w\.']/),"number";}function w(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var r=e.match(/"([^\s\\()]{0,16})\(/);return!!r&&(t.cpp11RawStringDelim=r[1],t.tokenize=C,C(e,t));}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1);}function _(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2];}function S(e,t){for(var r;null!=(r=e.next());){if('"'==r&&!e.eat('"')){t.tokenize=null;break;}}return"string";}function C(e,t){var r=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+r+'"'))?t.tokenize=null:e.skipToEnd(),"string";}function T(t,r){"string"==typeof t&&(t=[t]);var n=[];function i(e){if(e)for(var t in e){e.hasOwnProperty(t)&&n.push(t);}}i(r.keywords),i(r.types),i(r.builtin),i(r.atoms),n.length&&(r.helperType=t[0],e.registerHelper("hintWords",t[0],n));for(var o=0;o<t.length;++o){e.defineMIME(t[o],r);}}function M(e,t){for(var r=!1;!e.eol();){if(!r&&e.match('"""')){t.tokenize=null;break;}r="\\"==e.next()&&!r;}return"string";}function E(e){return function(t,r){for(var n;n=t.next();){if("*"==n&&t.eat("/")){if(1==e){r.tokenize=null;break;}return r.tokenize=E(e-1),r.tokenize(t,r);}if("/"==n&&t.eat("*"))return r.tokenize=E(e+1),r.tokenize(t,r);}return"comment";};}T(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:a(l),types:m,blockKeywords:a(g),defKeywords:a(y),typeFirstDefinitions:!0,atoms:a("NULL true false"),isReservedIdentifier:x,hooks:{"#":v,"*":b},modeProps:{fold:["brace","include"]}}),T(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:a(l+" "+c),types:m,blockKeywords:a(g+" class try catch"),defKeywords:a(y+" class namespace"),typeFirstDefinitions:!0,atoms:a("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:x,hooks:{"#":v,"*":b,u:w,U:w,L:w,R:w,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function token(e,t,r){if("variable"==r&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&_(e.current()))return"def";}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),T("text/x-java",{name:"clike",keywords:a("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:a("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:a("catch class do else finally for if switch try while"),defKeywords:a("class interface enum @interface"),typeFirstDefinitions:!0,atoms:a("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function _(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta");}},modeProps:{fold:["brace","import"]}}),T("text/x-csharp",{name:"clike",keywords:a("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:a("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:a("catch class do else finally for foreach if struct switch try while"),defKeywords:a("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"@":function _(e,t){return e.eat('"')?(t.tokenize=S,S(e,t)):(e.eatWhile(/[\w\$_]/),"meta");}}}),T("text/x-scala",{name:"clike",keywords:a("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:a("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:a("catch class enum do else finally for forSome if match switch try while"),defKeywords:a("class enum def object package trait type val var"),atoms:a("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function _(e){return e.eatWhile(/[\w\$_]/),"meta";},'"':function _(e,t){return!!e.match('""')&&(t.tokenize=M,t.tokenize(e,t));},"'":function _(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom";},"=":function _(e,r){var n=r.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(r.context=new t(n.indented,n.column,n.type,n.info,null,n.prev),"operator");},"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=E(1),t.tokenize(e,t));}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),T("text/x-kotlin",{name:"clike",keywords:a("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:a("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:a("catch class do else finally for if where try while enum"),defKeywords:a("class val var object interface fun"),atoms:a("true false null this"),hooks:{"@":function _(e){return e.eatWhile(/[\w\$_]/),"meta";},"*":function _(e,t){return"."==t.prevToken?"variable":"operator";},'"':function _(e,t){var r;return t.tokenize=(r=e.match('""'),function(e,t){for(var n,i=!1,o=!1;!e.eol();){if(!r&&!i&&e.match('"')){o=!0;break;}if(r&&e.match('"""')){o=!0;break;}n=e.next(),!i&&"$"==n&&e.match("{")&&e.skipTo("}"),i=!i&&"\\"==n&&!r;}return!o&&r||(t.tokenize=null),"string";}),t.tokenize(e,t);},"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=E(1),t.tokenize(e,t));},indent:function indent(e,t,r,n){var i=r&&r.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=r?"operator"==e.prevToken&&"}"!=r&&"}"!=e.context.type||"variable"==e.prevToken&&"."==i||("}"==e.prevToken||")"==e.prevToken)&&"."==i?2*n+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(r||"").charAt(0)?0:n):void 0:e.indented;}},modeProps:{closeBrackets:{triples:'"'}}}),T(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:a("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:a("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:a("for while do if else struct"),builtin:a("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:a("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":v},modeProps:{fold:["brace","include"]}}),T("text/x-nesc",{name:"clike",keywords:a(l+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:m,blockKeywords:a(g),atoms:a("null true false"),hooks:{"#":v},modeProps:{fold:["brace","include"]}}),T("text/x-objectivec",{name:"clike",keywords:a(l+" "+u),types:h,builtin:a(d),blockKeywords:a(g+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:a(y+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:a("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:x,hooks:{"#":v,"*":b},modeProps:{fold:["brace","include"]}}),T("text/x-objectivec++",{name:"clike",keywords:a(l+" "+u+" "+c),types:h,builtin:a(d),blockKeywords:a(g+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:a(y+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:a("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:x,hooks:{"#":v,"*":b,u:w,U:w,L:w,R:w,0:k,1:k,2:k,3:k,4:k,5:k,6:k,7:k,8:k,9:k,token:function token(e,t,r){if("variable"==r&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&_(e.current()))return"def";}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),T("text/x-squirrel",{name:"clike",keywords:a("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:m,blockKeywords:a("case catch class else for foreach if switch try while"),defKeywords:a("function local class"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"#":v},modeProps:{fold:["brace","include"]}});var L=null;function z(e){return function(t,r){for(var n,i=!1,o=!1;!t.eol();){if(!i&&t.match('"')&&("single"==e||t.match('""'))){o=!0;break;}if(!i&&t.match("``")){L=z(e),o=!0;break;}n=t.next(),i="single"==e&&!i&&"\\"==n;}return o&&(r.tokenize=null),"string";};}T("text/x-ceylon",{name:"clike",keywords:a("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function types(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase();},blockKeywords:a("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:a("class dynamic function interface module object package value"),builtin:a("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:a("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function _(e){return e.eatWhile(/[\w\$_]/),"meta";},'"':function _(e,t){return t.tokenize=z(e.match('""')?"triple":"single"),t.tokenize(e,t);},"`":function _(e,t){return!(!L||!e.match("`"))&&(t.tokenize=L,L=null,t.tokenize(e,t));},"'":function _(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom";},token:function token(e,t,r){if(("variable"==r||"type"==r)&&"."==t.prevToken)return"variable-2";}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},742:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("clojure",function(t){var r=["false","nil","true"],n=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],i=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"];e.registerHelper("hintWords","clojure",[].concat(r,n,i));var o=g(r),a=g(n),s=g(i),l=g(["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"]),c=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,u=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,d=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,p=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function f(e,t){if(e.eatSpace()||e.eat(","))return["space",null];if(e.match(u))return[null,"number"];if(e.match(d))return[null,"string-2"];if(e.eat(/^"/))return(t.tokenize=m)(e,t);if(e.eat(/^[(\[{]/))return["open","bracket"];if(e.eat(/^[)\]}]/))return["close","bracket"];if(e.eat(/^;/))return e.skipToEnd(),["space","comment"];if(e.eat(/^[#'@^`~]/))return[null,"meta"];var r=e.match(p),n=r&&r[0];return n?"comment"===n&&"("===t.lastToken?(t.tokenize=h)(e,t):y(n,o)||":"===n.charAt(0)?["symbol","atom"]:y(n,a)||y(n,s)?["symbol","keyword"]:"("===t.lastToken?["symbol","builtin"]:["symbol","variable"]:(e.next(),e.eatWhile(function(e){return!y(e,c);}),[null,"error"]);}function m(e,t){for(var r,n=!1;r=e.next();){if('"'===r&&!n){t.tokenize=f;break;}n=!n&&"\\"===r;}return[null,"string"];}function h(e,t){for(var r,n=1;r=e.next();){if(")"===r&&n--,"("===r&&n++,0===n){e.backUp(1),t.tokenize=f;break;}}return["space","comment"];}function g(e){for(var t={},r=0;r<e.length;++r){t[e[r]]=!0;}return t;}function y(e,t){return t instanceof RegExp?t.test(e):t instanceof Object?t.propertyIsEnumerable(e):void 0;}return{startState:function startState(){return{ctx:{prev:null,start:0,indentTo:0},lastToken:null,tokenize:f};},token:function token(e,r){e.sol()&&"number"!=typeof r.ctx.indentTo&&(r.ctx.indentTo=r.ctx.start+1);var n=r.tokenize(e,r),i=n[0],o=n[1],a=e.current();return"space"!==i&&("("===r.lastToken&&null===r.ctx.indentTo?"symbol"===i&&y(a,l)?r.ctx.indentTo=r.ctx.start+t.indentUnit:r.ctx.indentTo="next":"next"===r.ctx.indentTo&&(r.ctx.indentTo=e.column()),r.lastToken=a),"open"===i?r.ctx={prev:r.ctx,start:e.column(),indentTo:null}:"close"===i&&(r.ctx=r.ctx.prev||r.ctx),o;},indent:function indent(e){var t=e.ctx.indentTo;return"number"==typeof t?t:e.ctx.start+1;},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"};}),e.defineMIME("text/x-clojure","clojure"),e.defineMIME("text/x-clojurescript","clojure"),e.defineMIME("application/edn","clojure");},"object"===s(t)&&"object"===s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5239:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t={},r=0;r<e.length;++r){t[e[r].toLowerCase()]=!0;}return t;}e.defineMode("css",function(t,r){var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var i,o,a=t.indentUnit,l=r.tokenHooks,c=r.documentTypes||{},u=r.mediaTypes||{},d=r.mediaFeatures||{},p=r.mediaValueKeywords||{},f=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},h=r.fontProperties||{},g=r.counterDescriptors||{},y=r.colorKeywords||{},v=r.valueKeywords||{},b=r.allowNested,x=r.lineComment,k=!0===r.supportsAtComponent;function w(e,t){return i=t,e;}function _(e,t){var r=e.next();if(l[r]){var n=l[r](e,t);if(!1!==n)return n;}return"@"==r?(e.eatWhile(/[\w\\\-]/),w("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?w(null,"compare"):'"'==r||"'"==r?(t.tokenize=S(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),w("atom","hash")):"!"==r?(e.match(/^\s*\w*/),w("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),w("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?w(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?w("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?w(null,r):e.match(/[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/.test(e.current().toLowerCase())&&(t.tokenize=C),w("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),w("property","word")):w(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),w("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?w("variable-2","variable-definition"):w("variable-2","variable")):e.match(/^\w+-/)?w("meta","meta"):void 0;}function S(e){return function(t,r){for(var n,i=!1;null!=(n=t.next());){if(n==e&&!i){")"==e&&t.backUp(1);break;}i=!i&&"\\"==n;}return(n==e||!i&&")"!=e)&&(r.tokenize=null),w("string","string");};}function C(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=S(")"),w(null,"(");}function T(e,t,r){this.type=e,this.indent=t,this.prev=r;}function M(e,t,r,n){return e.context=new T(r,t.indentation()+(!1===n?0:a),e.context),r;}function E(e){return e.context.prev&&(e.context=e.context.prev),e.context.type;}function L(e,t,r){return A[r.context.type](e,t,r);}function z(e,t,r,n){for(var i=n||1;i>0;i--){r.context=r.context.prev;}return L(e,t,r);}function O(e){var t=e.current().toLowerCase();o=v.hasOwnProperty(t)?"atom":y.hasOwnProperty(t)?"keyword":"variable";}var A={top:function top(e,t,r){if("{"==e)return M(r,t,"block");if("}"==e&&r.context.prev)return E(r);if(k&&/@component/i.test(e))return M(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return M(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return M(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return M(r,t,"at");if("hash"==e)o="builtin";else if("word"==e)o="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return M(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return M(r,t,"parens");}return r.context.type;},block:function block(e,t,r){if("word"==e){var n=t.current().toLowerCase();return f.hasOwnProperty(n)?(o="property","maybeprop"):m.hasOwnProperty(n)?(o="string-2","maybeprop"):b?(o=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(o+=" error","maybeprop");}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?A.top(e,t,r):(o="error","block");},maybeprop:function maybeprop(e,t,r){return":"==e?M(r,t,"prop"):L(e,t,r);},prop:function prop(e,t,r){if(";"==e)return E(r);if("{"==e&&b)return M(r,t,"propBlock");if("}"==e||"{"==e)return z(e,t,r);if("("==e)return M(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)O(t);else if("interpolation"==e)return M(r,t,"interpolation");}else o+=" error";return"prop";},propBlock:function propBlock(e,t,r){return"}"==e?E(r):"word"==e?(o="property","maybeprop"):r.context.type;},parens:function parens(e,t,r){return"{"==e||"}"==e?z(e,t,r):")"==e?E(r):"("==e?M(r,t,"parens"):"interpolation"==e?M(r,t,"interpolation"):("word"==e&&O(t),"parens");},pseudo:function pseudo(e,t,r){return"meta"==e?"pseudo":"word"==e?(o="variable-3",r.context.type):L(e,t,r);},documentTypes:function documentTypes(e,t,r){return"word"==e&&c.hasOwnProperty(t.current())?(o="tag",r.context.type):A.atBlock(e,t,r);},atBlock:function atBlock(e,t,r){if("("==e)return M(r,t,"atBlock_parens");if("}"==e||";"==e)return z(e,t,r);if("{"==e)return E(r)&&M(r,t,b?"block":"top");if("interpolation"==e)return M(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();o="only"==n||"not"==n||"and"==n||"or"==n?"keyword":u.hasOwnProperty(n)?"attribute":d.hasOwnProperty(n)?"property":p.hasOwnProperty(n)?"keyword":f.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":v.hasOwnProperty(n)?"atom":y.hasOwnProperty(n)?"keyword":"error";}return r.context.type;},atComponentBlock:function atComponentBlock(e,t,r){return"}"==e?z(e,t,r):"{"==e?E(r)&&M(r,t,b?"block":"top",!1):("word"==e&&(o="error"),r.context.type);},atBlock_parens:function atBlock_parens(e,t,r){return")"==e?E(r):"{"==e||"}"==e?z(e,t,r,2):A.atBlock(e,t,r);},restricted_atBlock_before:function restricted_atBlock_before(e,t,r){return"{"==e?M(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(o="variable","restricted_atBlock_before"):L(e,t,r);},restricted_atBlock:function restricted_atBlock(e,t,r){return"}"==e?(r.stateArg=null,E(r)):"word"==e?(o="@font-face"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock";},keyframes:function keyframes(e,t,r){return"word"==e?(o="variable","keyframes"):"{"==e?M(r,t,"top"):L(e,t,r);},at:function at(e,t,r){return";"==e?E(r):"{"==e||"}"==e?z(e,t,r):("word"==e?o="tag":"hash"==e&&(o="builtin"),"at");},interpolation:function interpolation(e,t,r){return"}"==e?E(r):"{"==e||";"==e?z(e,t,r):("word"==e?o="variable":"variable"!=e&&"("!=e&&")"!=e&&(o="error"),"interpolation");}};return{startState:function startState(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new T(n?"block":"top",e||0,null)};},token:function token(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||_)(e,t);return r&&"object"==s(r)&&(i=r[1],r=r[0]),o=r,"comment"!=i&&(t.state=A[t.state](i,e,t)),o;},indent:function indent(e,t){var r=e.context,n=t&&t.charAt(0),i=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(i=Math.max(0,r.indent-a)):i=(r=r.prev).indent),i;},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:x,fold:"brace"};});var r=["domain","regexp","url","url-prefix"],n=t(r),i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=t(i),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"],l=t(a),c=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],u=t(c),d=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","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-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","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","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","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"],p=t(d),f=["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","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","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"],m=t(f),h=t(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),g=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),y=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],v=t(y),b=["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","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","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","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","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","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","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","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","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","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","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","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","sub","subpixel-antialiased","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","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","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"],x=t(b),k=r.concat(i).concat(a).concat(c).concat(d).concat(f).concat(y).concat(b);function w(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break;}n="*"==r;}return["comment","comment"];}e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:n,mediaTypes:o,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:p,nonStandardPropertyKeywords:m,fontProperties:h,counterDescriptors:g,colorKeywords:v,valueKeywords:x,tokenHooks:{"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t));}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:p,nonStandardPropertyKeywords:m,colorKeywords:v,valueKeywords:x,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function _(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"];},":":function _(e){return!!e.match(/\s*\{/,!1)&&[null,null];},$:function $(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"];},"#":function _(e){return!!e.eat("{")&&[null,"interpolation"];}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:l,mediaValueKeywords:u,propertyKeywords:p,nonStandardPropertyKeywords:m,colorKeywords:v,valueKeywords:x,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function _(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(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)&&(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:o,mediaFeatures:l,propertyKeywords:p,nonStandardPropertyKeywords:m,fontProperties:h,counterDescriptors:g,colorKeywords:v,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t));}},name:"css",helperType:"gss"});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},6461:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}e.defineMode("d",function(t,r){var n,i=t.indentUnit,o=r.statementIndentUnit||i,a=r.keywords||{},s=r.builtin||{},l=r.blockKeywords||{},c=r.atoms||{},u=r.hooks||{},d=r.multiLineStrings,p=/[+\-*&%=<>!?|\/]/;function f(e,t){var r,i=e.next();if(u[i]){var o=u[i](e,t);if(!1!==o)return o;}if('"'==i||"'"==i||"`"==i)return t.tokenize=(r=i,function(e,t){for(var n,i=!1,o=!1;null!=(n=e.next());){if(n==r&&!i){o=!0;break;}i=!i&&"\\"==n;}return(o||!i&&!d)&&(t.tokenize=null),"string";}),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(i))return n=i,null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if("/"==i){if(e.eat("+"))return t.tokenize=h,h(e,t);if(e.eat("*"))return t.tokenize=m,m(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";}if(p.test(i))return e.eatWhile(p),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var f=e.current();return a.propertyIsEnumerable(f)?(l.propertyIsEnumerable(f)&&(n="newstatement"),"keyword"):s.propertyIsEnumerable(f)?(l.propertyIsEnumerable(f)&&(n="newstatement"),"builtin"):c.propertyIsEnumerable(f)?"atom":"variable";}function m(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break;}n="*"==r;}return"comment";}function h(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break;}n="+"==r;}return"comment";}function g(e,t,r,n,i){this.indented=e,this.column=t,this.type=r,this.align=n,this.prev=i;}function y(e,t,r){var n=e.indented;return e.context&&"statement"==e.context.type&&(n=e.context.indented),e.context=new g(n,t,r,null,e.context);}function v(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}return{startState:function startState(e){return{tokenize:null,context:new g((e||0)-i,0,"top",!1),indented:0,startOfLine:!0};},token:function token(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var i=(t.tokenize||f)(e,t);if("comment"==i||"meta"==i)return i;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=r.type){if("{"==n)y(t,e.column(),"}");else if("["==n)y(t,e.column(),"]");else if("("==n)y(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;){r=v(t);}for("}"==r.type&&(r=v(t));"statement"==r.type;){r=v(t);}}else n==r.type?v(t):(("}"==r.type||"top"==r.type)&&";"!=n||"statement"==r.type&&"newstatement"==n)&&y(t,e.column(),"statement");}else v(t);return t.startOfLine=!1,i;},indent:function indent(t,r){if(t.tokenize!=f&&null!=t.tokenize)return e.Pass;var n=t.context,a=r&&r.charAt(0);"statement"==n.type&&"}"==a&&(n=n.prev);var s=a==n.type;return"statement"==n.type?n.indented+("{"==a?0:o):n.align?n.column+(s?0:1):n.indented+(s?0:i);},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"};});var r="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";e.defineMIME("text/x-d",{name:"d",keywords:t("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+r),blockKeywords:t(r),builtin:t("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:t("exit failure success true false null"),hooks:{"@":function _(e,t){return e.eatWhile(/[\w\$_]/),"meta";}}});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},1702:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";var t="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required".split(" "),r="try catch finally do else for if switch while".split(" "),n="true false null".split(" "),i="void bool num int double dynamic var String Null Never".split(" ");function o(e){for(var t={},r=0;r<e.length;++r){t[e[r]]=!0;}return t;}function a(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize);}function s(e){return(e.interpolationStack||(e.interpolationStack=[])).pop();}function l(e,t,r,n){var i=!1;if(t.eat(e)){if(!t.eat(e))return"string";i=!0;}function o(t,r){for(var o=!1;!t.eol();){if(!n&&!o&&"$"==t.peek())return a(r),r.tokenize=c,"string";var s=t.next();if(s==e&&!o&&(!i||t.match(e+e))){r.tokenize=null;break;}o=!n&&!o&&"\\"==s;}return"string";}return r.tokenize=o,o(t,r);}function c(e,t){return e.eat("$"),e.eat("{")?t.tokenize=null:t.tokenize=u,null;}function u(e,t){return e.eatWhile(/[\w_]/),t.tokenize=s(t),"variable";}function d(e){return function(t,r){for(var n;n=t.next();){if("*"==n&&t.eat("/")){if(1==e){r.tokenize=null;break;}return r.tokenize=d(e-1),r.tokenize(t,r);}if("/"==n&&t.eat("*"))return r.tokenize=d(e+1),r.tokenize(t,r);}return"comment";};}e.defineMIME("application/dart",{name:"clike",keywords:o(t),blockKeywords:o(r),builtin:o(i),atoms:o(n),hooks:{"@":function _(e){return e.eatWhile(/[\w\$_\.]/),"meta";},"'":function _(e,t){return l("'",e,t,!1);},'"':function _(e,t){return l('"',e,t,!1);},r:function r(e,t){var r=e.peek();return("'"==r||'"'==r)&&l(e.next(),e,t,!0);},"}":function _(e,t){return function(e){return e.interpolationStack?e.interpolationStack.length:0;}(t)>0&&(t.tokenize=s(t),null);},"/":function _(e,t){return!!e.eat("*")&&(t.tokenize=d(1),t.tokenize(e,t));},token:function token(e,t,r){if("variable"==r&&RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g").test(e.current()))return"variable-2";}}}),e.registerHelper("hintWords","application/dart",t.concat(n).concat(i)),e.defineMode("dart",function(t){return e.getMode(t,"application/dart");},"clike");},"object"==s(t)&&"object"==s(e)?a(r(9074),r(1736)):(i=[r(9074),r(1736)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5844:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("diff",function(){var e={"+":"positive","-":"negative","@":"meta"};return{token:function token(t){var r=t.string.search(/[\t ]+?$/);if(!t.sol()||0===r)return t.skipToEnd(),("error "+(e[t.string.charAt(0)]||"")).replace(/ $/,"");var n=e[t.peek()]||t.skipToEnd();return-1===r?t.skipToEnd():t.pos=r,n;}};}),e.defineMIME("text/x-diff","diff");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5855:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";var t="from",r=new RegExp("^(\\s*)\\b("+t+")\\b","i"),n=["run","cmd","entrypoint","shell"],i=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),o="expose",a=new RegExp("^(\\s*)("+o+")(\\s+)","i"),s="("+[t,o].concat(n).concat(["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"]).join("|")+")",l=new RegExp("^(\\s*)"+s+"(\\s*)(#.*)?$","i"),c=new RegExp("^(\\s*)"+s+"(\\s+)","i");e.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:r,token:[null,"keyword"],sol:!0,next:"from"},{regex:l,token:[null,"keyword",null,"error"],sol:!0},{regex:i,token:[null,"keyword",null],sol:!0,next:"array"},{regex:a,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:c,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],meta:{lineComment:"#"}}),e.defineMIME("text/x-dockerfile","dockerfile");},"object"==s(t)&&"object"==s(e)?a(r(9074),r(3740)):(i=[r(9074),r(3740)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},119:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMIME("text/x-erlang","erlang"),e.defineMode("erlang",function(t){var r=["-type","-spec","-export_type","-opaque"],n=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],i=/[\->,;]/,o=["->",";",","],a=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],s=/[\+\-\*\/<>=\|:!]/,l=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],c=/[<\(\[\{]/,u=["<<","(","[","{"],d=/[>\)\]\}]/,p=["}","]",")",">>"],f=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],m=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],h=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,g=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function y(e,t,r){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());){if(e.next(),w(e.current(),r))return!0;}e.backUp(e.current().length-1);}return!1;}function v(e,t,r){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());){e.next();}for(;0<e.current().length;){if(w(e.current(),r))return!0;e.backUp(1);}e.next();}return!1;}function b(e){return k(e,'"',"\\");}function x(e){return k(e,"'","\\");}function k(e,t,r){for(;!e.eol();){var n=e.next();if(n==t)return!0;n==r&&e.next();}return!1;}function w(e,t){return-1<t.indexOf(e);}function _(e,t,r){switch(function(e,t){"comment"!=t.type&&"whitespace"!=t.type&&(e.tokenStack=function(e,t){var r=e.length-1;return 0<r&&"record"===e[r].type&&"dot"===t.type?e.pop():0<r&&"group"===e[r].type?(e.pop(),e.push(t)):e.push(t),e;}(e.tokenStack,t),e.tokenStack=function(e){if(!e.length)return e;var t=e.length-1;if("dot"===e[t].type)return[];if(t>1&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return M(e,{g:["{"]});case"]":return M(e,{i:["["]});case")":return M(e,{i:["("]});case">>":return M(e,{i:["<<"]});case"end":return M(e,{i:["begin","case","fun","if","receive","try"]});case",":return M(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return M(e,{r:["when"],m:["try","if","case","receive"]});case";":return M(e,{E:["case","fun","if","receive","try","when"]});case"catch":return M(e,{e:["try"]});case"of":return M(e,{e:["case"]});case"after":return M(e,{e:["receive","try"]});default:return e;}}(e.tokenStack));}(e,function(e,t){return S(t.current(),t.column(),t.indentation(),e);}(r,t)),r){case"atom":case"boolean":return"atom";case"attribute":return"attribute";case"builtin":return"builtin";case"close_paren":case"colon":case"dot":case"open_paren":case"separator":default:return null;case"comment":return"comment";case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"variable-2";case"number":return"number";case"operator":return"operator";case"record":return"bracket";case"string":return"string";case"type":return"def";case"variable":return"variable";}}function S(e,t,r,n){return{token:e,column:t,indent:r,type:n};}function C(e){return S(e,0,0,e);}function T(e,t){var r=e.tokenStack.length,n=t||1;return!(r<n)&&e.tokenStack[r-n];}function M(e,t){for(var r in t){for(var n=e.length-1,i=t[r],o=n-1;-1<o;o--){if(w(e[o].token,i)){var a=e.slice(0,o);switch(r){case"m":return a.concat(e[o]).concat(e[n]);case"r":return a.concat(e[n]);case"i":return a;case"g":return a.concat(C("group"));case"E":case"e":return a.concat(e[o]);}}}}return"E"==r?[]:e;}function E(r,n){var i,o,a=t.indentUnit,s=O(o=n.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/))&&0===o.index?o[0]:"",l=T(r,1),c=T(r,2);return r.in_string||r.in_atom?e.Pass:c?"when"==l.token?l.column+a:"when"===s&&"function"===c.type?c.indent+a:"("===s&&"fun"===l.token?l.column+3:"catch"===s&&(i=L(r,["try"]))?i.column:w(s,["end","after","of"])?(i=L(r,["begin","case","fun","if","receive","try"]))?i.column:e.Pass:w(s,p)?(i=L(r,u))?i.column:e.Pass:w(l.token,[",","|","||"])||w(s,[",","|","||"])?(i=function(e){var t=e.tokenStack.slice(0,-1),r=z(t,"type",["open_paren"]);return!!O(t[r])&&t[r];}(r),i?i.column+i.token.length:a):"->"==l.token?w(c.token,["receive","case","if","try"])?c.column+a+a:c.column+a:w(l.token,u)?l.column+l.token.length:(i=function(e){var t=e.tokenStack,r=z(t,"type",["open_paren","separator","keyword"]),n=z(t,"type",["operator"]);return O(r)&&O(n)&&r<n?t[r+1]:!!O(r)&&t[r];}(r),O(i)?i.column+a:0):0;}function L(e,t){var r=e.tokenStack,n=z(r,"token",t);return!!O(r[n])&&r[n];}function z(e,t,r){for(var n=e.length-1;-1<n;n--){if(w(e[n][t],r))return n;}return!1;}function O(e){return!1!==e&&null!=e;}return{startState:function startState(){return{tokenStack:[],in_string:!1,in_atom:!1};},token:function token(e,t){return function(e,t){if(t.in_string)return t.in_string=!b(e),_(t,e,"string");if(t.in_atom)return t.in_atom=!x(e),_(t,e,"atom");if(e.eatSpace())return _(t,e,"whitespace");if(!T(t)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return w(e.current(),r)?_(t,e,"type"):_(t,e,"attribute");var k=e.next();if("%"==k)return e.skipToEnd(),_(t,e,"comment");if(":"==k)return _(t,e,"colon");if("?"==k)return e.eatSpace(),e.eatWhile(h),_(t,e,"macro");if("#"==k)return e.eatSpace(),e.eatWhile(h),_(t,e,"record");if("$"==k)return"\\"!=e.next()||e.match(g)?_(t,e,"number"):_(t,e,"error");if("."==k)return _(t,e,"dot");if("'"==k){if(!(t.in_atom=!x(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),_(t,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return _(t,e,"function");}return _(t,e,"atom");}if('"'==k)return t.in_string=!b(e),_(t,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(k))return e.eatWhile(h),_(t,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(k)){if(e.eatWhile(h),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),_(t,e,"fun");var S=e.current();return w(S,n)?_(t,e,"keyword"):w(S,a)?_(t,e,"operator"):e.match(/\s*\(/,!1)?!w(S,m)||":"==T(t).token&&"erlang"!=T(t,2).token?w(S,f)?_(t,e,"guard"):_(t,e,"function"):_(t,e,"builtin"):":"==function(e){var t=e.match(/([\n\s]+|%[^\n]*\n)*(.)/,!1);return t?t.pop():"";}(e)?_(t,e,"erlang"==S?"builtin":"function"):w(S,["true","false"])?_(t,e,"boolean"):_(t,e,"atom");}var C=/[0-9]/;return C.test(k)?(e.eatWhile(C),e.eat("#")?e.eatWhile(/[0-9a-zA-Z]/)||e.backUp(1):e.eat(".")&&(e.eatWhile(C)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(C)||e.backUp(2):e.eatWhile(C)||e.backUp(1)):e.backUp(1)),_(t,e,"number")):y(e,c,u)?_(t,e,"open_paren"):y(e,d,p)?_(t,e,"close_paren"):v(e,i,o)?_(t,e,"separator"):v(e,s,l)?_(t,e,"operator"):_(t,e,null);}(e,t);},indent:function indent(e,t){return E(e,t);},lineComment:"%"};});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},9555:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("go",function(t){var r,n=t.indentUnit,i={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},o={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},a=/[+\-*&^%:=<>!|\/]/;function s(e,t){var n,c=e.next();if('"'==c||"'"==c||"`"==c)return t.tokenize=(n=c,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break;}i=!i&&"`"!=n&&"\\"==r;}return(o||!i&&"`"!=n)&&(t.tokenize=s),"string";}),t.tokenize(e,t);if(/[\d\.]/.test(c))return"."==c?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==c?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(c))return r=c,null;if("/"==c){if(e.eat("*"))return t.tokenize=l,l(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";}if(a.test(c))return e.eatWhile(a),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var u=e.current();return i.propertyIsEnumerable(u)?("case"!=u&&"default"!=u||(r="case"),"keyword"):o.propertyIsEnumerable(u)?"atom":"variable";}function l(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=s;break;}n="*"==r;}return"comment";}function c(e,t,r,n,i){this.indented=e,this.column=t,this.type=r,this.align=n,this.prev=i;}function u(e,t,r){return e.context=new c(e.indented,t,r,null,e.context);}function d(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}}return{startState:function startState(e){return{tokenize:null,context:new c((e||0)-n,0,"top",!1),indented:0,startOfLine:!0};},token:function token(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==n.type&&(n.type="}")),e.eatSpace())return null;r=null;var i=(t.tokenize||s)(e,t);return"comment"==i||(null==n.align&&(n.align=!0),"{"==r?u(t,e.column(),"}"):"["==r?u(t,e.column(),"]"):"("==r?u(t,e.column(),")"):"case"==r?n.type="case":("}"==r&&"}"==n.type||r==n.type)&&d(t),t.startOfLine=!1),i;},indent:function indent(t,r){if(t.tokenize!=s&&null!=t.tokenize)return e.Pass;var i=t.context,o=r&&r.charAt(0);if("case"==i.type&&/^(?:case|default)\b/.test(r))return t.context.type="}",i.indented;var a=o==i.type;return i.align?i.column+(a?0:1):i.indented+(a?0:n);},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"};}),e.defineMIME("text/x-go","go");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},410:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("groovy",function(t){function r(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}var n,i=r("abstract as assert boolean break byte case catch char class const continue def default do double else enum extends final finally float for goto if implements import in instanceof int interface long native new package private protected public return short static strictfp super switch synchronized threadsafe throw throws trait transient try void volatile while"),o=r("catch class def do else enum finally for if interface switch trait try while"),a=r("return break continue"),s=r("null true false this");function l(e,t){var r=e.next();if('"'==r||"'"==r)return c(r,e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return n=r,null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),e.eat(/eE/)&&(e.eat(/\+\-/),e.eatWhile(/\d/)),"number";if("/"==r){if(e.eat("*"))return t.tokenize.push(d),d(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";if(p(t.lastToken,!1))return c(r,e,t);}if("-"==r&&e.eat(">"))return n="->",null;if(/[+\-*&%=<>!?|\/~]/.test(r))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),"@"==r)return e.eatWhile(/[\w\$_\.]/),"meta";if("."==t.lastToken)return"property";if(e.eat(":"))return n="proplabel","property";var l=e.current();return s.propertyIsEnumerable(l)?"atom":i.propertyIsEnumerable(l)?(o.propertyIsEnumerable(l)?n="newstatement":a.propertyIsEnumerable(l)&&(n="standalone"),"keyword"):"variable";}function c(e,t,r){var n=!1;if("/"!=e&&t.eat(e)){if(!t.eat(e))return"string";n=!0;}function i(t,r){for(var i,o=!1,a=!n;null!=(i=t.next());){if(i==e&&!o){if(!n)break;if(t.match(e+e)){a=!0;break;}}if('"'==e&&"$"==i&&!o&&t.eat("{"))return r.tokenize.push(u()),"string";o=!o&&"\\"==i;}return a&&r.tokenize.pop(),"string";}return r.tokenize.push(i),i(t,r);}function u(){var e=1;function t(t,r){if("}"==t.peek()){if(0==--e)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);}else"{"==t.peek()&&e++;return l(t,r);}return t.isBase=!0,t;}function d(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize.pop();break;}n="*"==r;}return"comment";}function p(e,t){return!e||"operator"==e||"->"==e||/[\.\[\{\(,;:]/.test(e)||"newstatement"==e||"keyword"==e||"proplabel"==e||"standalone"==e&&!t;}function f(e,t,r,n,i){this.indented=e,this.column=t,this.type=r,this.align=n,this.prev=i;}function m(e,t,r){return e.context=new f(e.indented,t,r,null,e.context);}function h(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}return l.isBase=!0,{startState:function startState(e){return{tokenize:[l],context:new f((e||0)-t.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null};},token:function token(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"statement"!=r.type||p(t.lastToken,!0)||(h(t),r=t.context)),e.eatSpace())return null;n=null;var i=t.tokenize[t.tokenize.length-1](e,t);if("comment"==i)return i;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n||"statement"!=r.type){if("->"==n&&"statement"==r.type&&"}"==r.prev.type)h(t),t.context.align=!1;else if("{"==n)m(t,e.column(),"}");else if("["==n)m(t,e.column(),"]");else if("("==n)m(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;){r=h(t);}for("}"==r.type&&(r=h(t));"statement"==r.type;){r=h(t);}}else n==r.type?h(t):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==n)&&m(t,e.column(),"statement");}else h(t);return t.startOfLine=!1,t.lastToken=n||i,i;},indent:function indent(r,n){if(!r.tokenize[r.tokenize.length-1].isBase)return e.Pass;var i=n&&n.charAt(0),o=r.context;"statement"!=o.type||p(r.lastToken,!0)||(o=o.prev);var a=i==o.type;return"statement"==o.type?o.indented+("{"==i?0:t.indentUnit):o.align?o.column+(a?0:1):o.indented+(a?0:t.indentUnit);},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"};}),e.defineMIME("text/x-groovy","groovy");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},3394:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(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"]]},r={};function n(e,t){var n=e.match(function(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"));}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:"";}function i(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i");}function o(e,t){for(var r in e){for(var n=t[r]||(t[r]=[]),i=e[r],o=i.length-1;o>=0;o--){n.unshift(i[o]);}}}e.defineMode("htmlmixed",function(r,a){var s=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:a.multilineTagIndentFactor,multilineTagIndentPastTag:a.multilineTagIndentPastTag}),l={},c=a&&a.tags,u=a&&a.scriptTypes;if(o(t,l),c&&o(c,l),u)for(var d=u.length-1;d>=0;d--){l.script.unshift(["type",u[d].matches,u[d].mode]);}function p(t,o){var a,c=s.token(t,o.htmlState),u=/\btag\b/.test(c);if(u&&!/[<>\s\/]/.test(t.current())&&(a=o.htmlState.tagName&&o.htmlState.tagName.toLowerCase())&&l.hasOwnProperty(a))o.inTag=a+" ";else if(o.inTag&&u&&/>$/.test(t.current())){var d=/^([\S]+) (.*)/.exec(o.inTag);o.inTag=null;var f=">"==t.current()&&function(e,t){for(var r=0;r<e.length;r++){var i=e[r];if(!i[0]||i[1].test(n(t,i[0])))return i[2];}}(l[d[1]],d[2]),m=e.getMode(r,f),h=i(d[1],!0),g=i(d[1],!1);o.token=function(e,t){return e.match(h,!1)?(t.token=p,t.localState=t.localMode=null,null):function(e,t,r){var n=e.current(),i=n.search(t);return i>-1?e.backUp(n.length-i):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r;}(e,g,t.localMode.token(e,t.localState));},o.localMode=m,o.localState=e.startState(m,s.indent(o.htmlState,"",""));}else o.inTag&&(o.inTag+=t.current(),t.eol()&&(o.inTag+=" "));return c;}return{startState:function startState(){return{token:p,inTag:null,localMode:null,localState:null,htmlState:e.startState(s)};},copyState:function copyState(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(s,t.htmlState)};},token:function token(e,t){return t.token(e,t);},indent:function indent(t,r,n){return!t.localMode||/^\s*<\//.test(r)?s.indent(t.htmlState,r,n):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass;},innerMode:function innerMode(e){return{state:e.localState||e.htmlState,mode:e.localMode||s};}};},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed");},"object"==s(t)&&"object"==s(e)?a(r(9074),r(336),r(9965),r(5239)):(i=[r(9074),r(336),r(9965),r(5239)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5372:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("http",function(){function e(e,t){return e.skipToEnd(),t.cur=a,"error";}function t(t,n){return t.match(/^HTTP\/\d\.\d/)?(n.cur=r,"keyword"):t.match(/^[A-Z]+/)&&/[ \t]/.test(t.peek())?(n.cur=i,"keyword"):e(t,n);}function r(t,r){var i=t.match(/^\d+/);if(!i)return e(t,r);r.cur=n;var o=Number(i[0]);return o>=100&&o<200?"positive informational":o>=200&&o<300?"positive success":o>=300&&o<400?"positive redirect":o>=400&&o<500?"negative client-error":o>=500&&o<600?"negative server-error":"error";}function n(e,t){return e.skipToEnd(),t.cur=a,null;}function i(e,t){return e.eatWhile(/\S/),t.cur=o,"string-2";}function o(t,r){return t.match(/^HTTP\/\d\.\d$/)?(r.cur=a,"keyword"):e(t,r);}function a(e){return e.sol()&&!e.eat(/[ \t]/)?e.match(/^.*?:/)?"atom":(e.skipToEnd(),"error"):(e.skipToEnd(),"string");}function s(e){return e.skipToEnd(),null;}return{token:function token(e,t){var r=t.cur;return r!=a&&r!=s&&e.eatSpace()?null:r(e,t);},blankLine:function blankLine(e){e.cur=s;},startState:function startState(){return{cur:t};}};}),e.defineMIME("message/http","http");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},9965:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("javascript",function(t,r){var n,i,o=t.indentUnit,a=r.statementIndent,l=r.jsonld,c=r.json||l,u=r.typescript,d=r.wordCharacters||/[\w$\xa1-\uffff]/,p=function(){function e(e){return{type:e,style:"keyword"};}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:i,break:i,continue:i,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n};}(),f=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function h(e,t,r){return n=e,i=r,t;}function g(e,t){var r,n=e.next();if('"'==n||"'"==n)return t.tokenize=(r=n,function(e,t){var n,i=!1;if(l&&"@"==e.peek()&&e.match(m))return t.tokenize=g,h("jsonld-keyword","meta");for(;null!=(n=e.next())&&(n!=r||i);){i=!i&&"\\"==n;}return i||(t.tokenize=g),h("string","string");}),t.tokenize(e,t);if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return h("number","number");if("."==n&&e.match(".."))return h("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return h(n);if("="==n&&e.eat(">"))return h("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return h("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),h("number","number");if("/"==n)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),h("comment","comment")):Xe(e,t,1)?(function(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1);}r=!r&&"\\"==t;}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),h("regexp","string-2")):(e.eat("="),h("operator","operator",e.current()));if("`"==n)return t.tokenize=v,v(e,t);if("#"==n&&"!"==e.peek())return e.skipToEnd(),h("meta","meta");if("#"==n&&e.eatWhile(d))return h("variable","property");if("<"==n&&e.match("!--")||"-"==n&&e.match("->"))return e.skipToEnd(),h("comment","comment");if(f.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(".")?h("."):h("operator","operator",e.current());if(d.test(n)){e.eatWhile(d);var i=e.current();if("."!=t.lastType){if(p.propertyIsEnumerable(i)){var o=p[i];return h(o.type,o.style,i);}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return h("async","keyword",i);}return h("variable","variable",i);}}function y(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=g;break;}n="*"==r;}return h("comment","comment");}function v(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=g;break;}n=!n&&"\\"==r;}return h("quasi","string-2",e.current());}var b="([{}])";function x(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(u){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index);}for(var i=0,o=!1,a=r-1;a>=0;--a){var s=e.string.charAt(a),l=b.indexOf(s);if(l>=0&&l<3){if(!i){++a;break;}if(0==--i){"("==s&&(o=!0);break;}}else if(l>=3&&l<6)++i;else if(d.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&"\\"!=e.string.charAt(a-2)){a--;break;}}else if(o&&!i){++a;break;}}o&&!i&&(t.fatArrowAt=a);}}var k={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.prev=i,this.info=o,null!=n&&(this.align=n);}function _(e,t){for(var r=e.localVars;r;r=r.next){if(r.name==t)return!0;}for(var n=e.context;n;n=n.prev){for(r=n.vars;r;r=r.next){if(r.name==t)return!0;}}}var S={state:null,column:null,marked:null,cc:null};function C(){for(var e=arguments.length-1;e>=0;e--){S.cc.push(arguments[e]);}}function T(){return C.apply(null,arguments),!0;}function M(e,t){for(var r=t;r;r=r.next){if(r.name==e)return!0;}return!1;}function E(e){var t=S.state;if(S.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var n=L(e,t.context);if(null!=n)return void(t.context=n);}else if(!M(e,t.localVars))return void(t.localVars=new A(e,t.localVars));r.globalVars&&!M(e,t.globalVars)&&(t.globalVars=new A(e,t.globalVars));}function L(e,t){if(t){if(t.block){var r=L(e,t.prev);return r?r==t.prev?t:new O(r,t.vars,!0):null;}return M(e,t.vars)?t:new O(t.prev,new A(e,t.vars),!1);}return null;}function z(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e;}function O(e,t,r){this.prev=e,this.vars=t,this.block=r;}function A(e,t){this.name=e,this.next=t;}var N=new A("this",new A("arguments",null));function I(){S.state.context=new O(S.state.context,S.state.localVars,!1),S.state.localVars=N;}function D(){S.state.context=new O(S.state.context,S.state.localVars,!0),S.state.localVars=null;}function P(){S.state.localVars=S.state.context.vars,S.state.context=S.state.context.prev;}function j(e,t){var r=function r(){var r=S.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var i=r.lexical;i&&")"==i.type&&i.align;i=i.prev){n=i.indented;}r.lexical=new w(n,S.stream.column(),e,null,r.lexical,t);};return r.lex=!0,r;}function q(){var e=S.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev);}function F(e){return function t(r){return r==e?T():";"==e||"}"==r||")"==r||"]"==r?C():T(t);};}function R(e,t){return"var"==e?T(j("vardef",t),ke,F(";"),q):"keyword a"==e?T(j("form"),H,R,q):"keyword b"==e?T(j("form"),R,q):"keyword d"==e?S.stream.match(/^\s*$/,!1)?T():T(j("stat"),V,F(";"),q):"debugger"==e?T(F(";")):"{"==e?T(j("}"),D,le,q,P):";"==e?T():"if"==e?("else"==S.state.lexical.info&&S.state.cc[S.state.cc.length-1]==q&&S.state.cc.pop()(),T(j("form"),H,R,q,Me)):"function"==e?T(Oe):"for"==e?T(j("form"),Ee,R,q):"class"==e||u&&"interface"==t?(S.marked="keyword",T(j("form","class"==e?e:t),Pe,q)):"variable"==e?u&&"declare"==t?(S.marked="keyword",T(R)):u&&("module"==t||"enum"==t||"type"==t)&&S.stream.match(/^\s*\w/,!1)?(S.marked="keyword","enum"==t?T(Ke):"type"==t?T(Ne,F("operator"),fe,F(";")):T(j("form"),we,F("{"),j("}"),le,q,q)):u&&"namespace"==t?(S.marked="keyword",T(j("form"),$,R,q)):u&&"abstract"==t?(S.marked="keyword",T(R)):T(j("stat"),te):"switch"==e?T(j("form"),H,F("{"),j("}","switch"),D,le,q,q,P):"case"==e?T($,F(":")):"default"==e?T(F(":")):"catch"==e?T(j("form"),I,W,R,q,P):"export"==e?T(j("stat"),Re,q):"import"==e?T(j("stat"),$e,q):"async"==e?T(R):"@"==t?T($,R):C(j("stat"),$,F(";"),q);}function W(e){if("("==e)return T(Ie,F(")"));}function $(e,t){return B(e,t,!1);}function U(e,t){return B(e,t,!0);}function H(e){return"("!=e?C():T(j(")"),V,F(")"),q);}function B(e,t,r){if(S.state.fatArrowAt==S.stream.start){var n=r?Q:Y;if("("==e)return T(I,j(")"),ae(Ie,")"),q,F("=>"),n,P);if("variable"==e)return C(I,we,F("=>"),n,P);}var i=r?K:G;return k.hasOwnProperty(e)?T(i):"function"==e?T(Oe,i):"class"==e||u&&"interface"==t?(S.marked="keyword",T(j("form"),De,q)):"keyword c"==e||"async"==e?T(r?U:$):"("==e?T(j(")"),V,F(")"),q,i):"operator"==e||"spread"==e?T(r?U:$):"["==e?T(j("]"),Ge,q,i):"{"==e?se(ne,"}",null,i):"quasi"==e?C(Z,i):"new"==e?T(function(e){return function(t){return"."==t?T(e?ee:J):"variable"==t&&u?T(ve,e?K:G):C(e?U:$);};}(r)):"import"==e?T($):T();}function V(e){return e.match(/[;\}\)\],]/)?C():C($);}function G(e,t){return","==e?T(V):K(e,t,!1);}function K(e,t,r){var n=0==r?G:K,i=0==r?$:U;return"=>"==e?T(I,r?Q:Y,P):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?T(n):u&&"<"==t&&S.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?T(j(">"),ae(fe,">"),q,n):"?"==t?T($,F(":"),i):T(i):"quasi"==e?C(Z,n):";"!=e?"("==e?se(U,")","call",n):"."==e?T(re,n):"["==e?T(j("]"),V,F("]"),q,n):u&&"as"==t?(S.marked="keyword",T(fe,n)):"regexp"==e?(S.state.lastType=S.marked="operator",S.stream.backUp(S.stream.pos-S.stream.start-1),T(i)):void 0:void 0;}function Z(e,t){return"quasi"!=e?C():"${"!=t.slice(t.length-2)?T(Z):T($,X);}function X(e){if("}"==e)return S.marked="string-2",S.state.tokenize=v,T(Z);}function Y(e){return x(S.stream,S.state),C("{"==e?R:$);}function Q(e){return x(S.stream,S.state),C("{"==e?R:U);}function J(e,t){if("target"==t)return S.marked="keyword",T(G);}function ee(e,t){if("target"==t)return S.marked="keyword",T(K);}function te(e){return":"==e?T(q,R):C(G,F(";"),q);}function re(e){if("variable"==e)return S.marked="property",T();}function ne(e,t){return"async"==e?(S.marked="property",T(ne)):"variable"==e||"keyword"==S.style?(S.marked="property","get"==t||"set"==t?T(ie):(u&&S.state.fatArrowAt==S.stream.start&&(r=S.stream.match(/^\s*:\s*/,!1))&&(S.state.fatArrowAt=S.stream.pos+r[0].length),T(oe))):"number"==e||"string"==e?(S.marked=l?"property":S.style+" property",T(oe)):"jsonld-keyword"==e?T(oe):u&&z(t)?(S.marked="keyword",T(ne)):"["==e?T($,ce,F("]"),oe):"spread"==e?T(U,oe):"*"==t?(S.marked="keyword",T(ne)):":"==e?C(oe):void 0;var r;}function ie(e){return"variable"!=e?C(oe):(S.marked="property",T(Oe));}function oe(e){return":"==e?T(U):"("==e?C(Oe):void 0;}function ae(e,t,r){function n(i,o){if(r?r.indexOf(i)>-1:","==i){var a=S.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),T(function(r,n){return r==t||n==t?C():C(e);},n);}return i==t||o==t?T():r&&r.indexOf(";")>-1?C(e):T(F(t));}return function(r,i){return r==t||i==t?T():C(e,n);};}function se(e,t,r){for(var n=3;n<arguments.length;n++){S.cc.push(arguments[n]);}return T(j(t,r),ae(e,t),q);}function le(e){return"}"==e?T():C(R,le);}function ce(e,t){if(u){if(":"==e)return T(fe);if("?"==t)return T(ce);}}function ue(e,t){if(u&&(":"==e||"in"==t))return T(fe);}function de(e){if(u&&":"==e)return S.stream.match(/^\s*\w+\s+is\b/,!1)?T($,pe,fe):T(fe);}function pe(e,t){if("is"==t)return S.marked="keyword",T();}function fe(e,t){return"keyof"==t||"typeof"==t||"infer"==t?(S.marked="keyword",T("typeof"==t?U:fe)):"variable"==e||"void"==t?(S.marked="type",T(ye)):"|"==t||"&"==t?T(fe):"string"==e||"number"==e||"atom"==e?T(ye):"["==e?T(j("]"),ae(fe,"]",","),q,ye):"{"==e?T(j("}"),ae(he,"}",",;"),q,ye):"("==e?T(ae(ge,")"),me,ye):"<"==e?T(ae(fe,">"),fe):void 0;}function me(e){if("=>"==e)return T(fe);}function he(e,t){return"variable"==e||"keyword"==S.style?(S.marked="property",T(he)):"?"==t||"number"==e||"string"==e?T(he):":"==e?T(fe):"["==e?T(F("variable"),ue,F("]"),he):"("==e?C(Ae,he):void 0;}function ge(e,t){return"variable"==e&&S.stream.match(/^\s*[?:]/,!1)||"?"==t?T(ge):":"==e?T(fe):"spread"==e?T(ge):C(fe);}function ye(e,t){return"<"==t?T(j(">"),ae(fe,">"),q,ye):"|"==t||"."==e||"&"==t?T(fe):"["==e?T(fe,F("]"),ye):"extends"==t||"implements"==t?(S.marked="keyword",T(fe)):"?"==t?T(fe,F(":"),fe):void 0;}function ve(e,t){if("<"==t)return T(j(">"),ae(fe,">"),q,ye);}function be(){return C(fe,xe);}function xe(e,t){if("="==t)return T(fe);}function ke(e,t){return"enum"==t?(S.marked="keyword",T(Ke)):C(we,ce,Ce,Te);}function we(e,t){return u&&z(t)?(S.marked="keyword",T(we)):"variable"==e?(E(t),T()):"spread"==e?T(we):"["==e?se(Se,"]"):"{"==e?se(_e,"}"):void 0;}function _e(e,t){return"variable"!=e||S.stream.match(/^\s*:/,!1)?("variable"==e&&(S.marked="property"),"spread"==e?T(we):"}"==e?C():"["==e?T($,F("]"),F(":"),_e):T(F(":"),we,Ce)):(E(t),T(Ce));}function Se(){return C(we,Ce);}function Ce(e,t){if("="==t)return T(U);}function Te(e){if(","==e)return T(ke);}function Me(e,t){if("keyword b"==e&&"else"==t)return T(j("form","else"),R,q);}function Ee(e,t){return"await"==t?T(Ee):"("==e?T(j(")"),Le,q):void 0;}function Le(e){return"var"==e?T(ke,ze):"variable"==e?T(ze):C(ze);}function ze(e,t){return")"==e?T():";"==e?T(ze):"in"==t||"of"==t?(S.marked="keyword",T($,ze)):C($,ze);}function Oe(e,t){return"*"==t?(S.marked="keyword",T(Oe)):"variable"==e?(E(t),T(Oe)):"("==e?T(I,j(")"),ae(Ie,")"),q,de,R,P):u&&"<"==t?T(j(">"),ae(be,">"),q,Oe):void 0;}function Ae(e,t){return"*"==t?(S.marked="keyword",T(Ae)):"variable"==e?(E(t),T(Ae)):"("==e?T(I,j(")"),ae(Ie,")"),q,de,P):u&&"<"==t?T(j(">"),ae(be,">"),q,Ae):void 0;}function Ne(e,t){return"keyword"==e||"variable"==e?(S.marked="type",T(Ne)):"<"==t?T(j(">"),ae(be,">"),q):void 0;}function Ie(e,t){return"@"==t&&T($,Ie),"spread"==e?T(Ie):u&&z(t)?(S.marked="keyword",T(Ie)):u&&"this"==e?T(ce,Ce):C(we,ce,Ce);}function De(e,t){return"variable"==e?Pe(e,t):je(e,t);}function Pe(e,t){if("variable"==e)return E(t),T(je);}function je(e,t){return"<"==t?T(j(">"),ae(be,">"),q,je):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(S.marked="keyword"),T(u?fe:$,je)):"{"==e?T(j("}"),qe,q):void 0;}function qe(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&z(t))&&S.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(S.marked="keyword",T(qe)):"variable"==e||"keyword"==S.style?(S.marked="property",T(Fe,qe)):"number"==e||"string"==e?T(Fe,qe):"["==e?T($,ce,F("]"),Fe,qe):"*"==t?(S.marked="keyword",T(qe)):u&&"("==e?C(Ae,qe):";"==e||","==e?T(qe):"}"==e?T():"@"==t?T($,qe):void 0;}function Fe(e,t){if("?"==t)return T(Fe);if(":"==e)return T(fe,Ce);if("="==t)return T(U);var r=S.state.lexical.prev;return C(r&&"interface"==r.info?Ae:Oe);}function Re(e,t){return"*"==t?(S.marked="keyword",T(Ve,F(";"))):"default"==t?(S.marked="keyword",T($,F(";"))):"{"==e?T(ae(We,"}"),Ve,F(";")):C(R);}function We(e,t){return"as"==t?(S.marked="keyword",T(F("variable"))):"variable"==e?C(U,We):void 0;}function $e(e){return"string"==e?T():"("==e?C($):C(Ue,He,Ve);}function Ue(e,t){return"{"==e?se(Ue,"}"):("variable"==e&&E(t),"*"==t&&(S.marked="keyword"),T(Be));}function He(e){if(","==e)return T(Ue,He);}function Be(e,t){if("as"==t)return S.marked="keyword",T(Ue);}function Ve(e,t){if("from"==t)return S.marked="keyword",T($);}function Ge(e){return"]"==e?T():C(ae(U,"]"));}function Ke(){return C(j("form"),we,F("{"),j("}"),ae(Ze,"}"),q,q);}function Ze(){return C(we,Ce);}function Xe(e,t,r){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)));}return P.lex=!0,q.lex=!0,{startState:function startState(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:r.localVars,context:r.localVars&&new O(null,null,!1),indented:e||0};return r.globalVars&&"object"==s(r.globalVars)&&(t.globalVars=r.globalVars),t;},token:function token(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),x(e,t)),t.tokenize!=y&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=i&&"--"!=i?n:"incdec",function(e,t,r,n,i){var o=e.cc;for(S.state=e,S.stream=i,S.marked=null,S.cc=o,S.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){if((o.length?o.pop():c?$:R)(r,n)){for(;o.length&&o[o.length-1].lex;){o.pop()();}return S.marked?S.marked:"variable"==r&&_(e,n)?"variable-2":t;}}}(t,r,n,i,e));},indent:function indent(t,n){if(t.tokenize==y)return e.Pass;if(t.tokenize!=g)return 0;var i,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==q)l=l.prev;else if(u!=Me)break;}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(i=t.cc[t.cc.length-1])&&(i==G||i==K)&&!/^[,\.=+\-*:?[\(]/.test(n));){l=l.prev;}a&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,p=s==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==d&&"{"==s?l.indented:"form"==d?l.indented+o:"stat"==d?l.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0));}(t,n)?a||o:0):"switch"!=l.info||p||0==r.doubleIndentSwitch?l.align?l.column+(p?0:1):l.indented+(p?0:o):l.indented+(/^(?:case|default)\b/.test(n)?o:2*o);},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:l,jsonMode:c,expressionAllowed:Xe,skipExpression:function skipExpression(e){var t=e.cc[e.cc.length-1];t!=$&&t!=U||e.cc.pop();}};}),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/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},2375:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e,t,r,n){this.state=e,this.mode=t,this.depth=r,this.prev=n;}function r(n){return new t(e.copyState(n.mode,n.state),n.mode,n.depth,n.prev&&r(n.prev));}e.defineMode("jsx",function(n,i){var o=e.getMode(n,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),a=e.getMode(n,i&&i.base||"javascript");function s(e){var t=e.tagName;e.tagName=null;var r=o.indent(e,"","");return e.tagName=t,r;}function l(r,i){return i.context.mode==o?function(r,i,c){if(2==c.depth)return r.match(/^.*?\*\//)?c.depth=1:r.skipToEnd(),"comment";if("{"==r.peek()){o.skipAttribute(c.state);var u=s(c.state),d=c.state.context;if(d&&r.match(/^[^>]*>\s*$/,!1)){for(;d.prev&&!d.startOfLine;){d=d.prev;}d.startOfLine?u-=n.indentUnit:c.prev.state.lexical&&(u=c.prev.state.lexical.indented);}else 1==c.depth&&(u+=n.indentUnit);return i.context=new t(e.startState(a,u),a,0,i.context),null;}if(1==c.depth){if("<"==r.peek())return o.skipAttribute(c.state),i.context=new t(e.startState(o,s(c.state)),o,0,i.context),null;if(r.match("//"))return r.skipToEnd(),"comment";if(r.match("/*"))return c.depth=2,l(r,i);}var p,f=o.token(r,c.state),m=r.current();return /\btag\b/.test(f)?/>$/.test(m)?c.state.context?c.depth=0:i.context=i.context.prev:/^</.test(m)&&(c.depth=1):!f&&(p=m.indexOf("{"))>-1&&r.backUp(m.length-p),f;}(r,i,i.context):function(r,n,i){if("<"==r.peek()&&a.expressionAllowed(r,i.state))return a.skipExpression(i.state),n.context=new t(e.startState(o,a.indent(i.state,"","")),o,0,n.context),null;var s=a.token(r,i.state);if(!s&&null!=i.depth){var l=r.current();"{"==l?i.depth++:"}"==l&&0==--i.depth&&(n.context=n.context.prev);}return s;}(r,i,i.context);}return{startState:function startState(){return{context:new t(e.startState(a),a)};},copyState:function copyState(e){return{context:r(e.context)};},token:l,indent:function indent(e,t,r){return e.context.mode.indent(e.context.state,t,r);},innerMode:function innerMode(e){return e.context;}};},"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}});},"object"==s(t)&&"object"==s(e)?a(r(9074),r(336),r(9965)):(i=[r(9074),r(336),r(9965)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},2557:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("julia",function(t,r){function n(e,t){return void 0===t&&(t="\\b"),new RegExp("^(("+e.join(")|(")+"))"+t);}var i=r.operators||n(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","->","\\/\\/","[\\\\%*+\\-<>!=\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),o=r.delimiters||/^[;,()[\]{}]/,a=r.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,s=n(["\\\\[0-7]{1,3}","\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"],"'"),l=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],c=["true","false","nothing","NaN","Inf"];e.registerHelper("hintWords","julia",l.concat(c));var u=n(["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),d=n(["end","else","elseif","catch","finally"]),p=n(l),f=n(c),m=/^@[_A-Za-z][\w]*/,h=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,g=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/;function y(e){return e.nestedArrays>0;}function v(e,t){return void 0===t&&(t=0),e.scopes.length<=t?null:e.scopes[e.scopes.length-(t+1)];}function b(e,t){if(e.match(/^#=/,!1))return t.tokenize=w,t.tokenize(e,t);var r=t.leavingExpr;if(e.sol()&&(r=!1),t.leavingExpr=!1,r&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var n,s=e.peek();if("#"===s)return e.skipToEnd(),"comment";if("["===s&&(t.scopes.push("["),t.nestedArrays++),"("===s&&(t.scopes.push("("),t.nestedGenerators++),y(t)&&"]"===s){for(;t.scopes.length&&"["!==v(t);){t.scopes.pop();}t.scopes.pop(),t.nestedArrays--,t.leavingExpr=!0;}if(function(e){return e.nestedGenerators>0;}(t)&&")"===s){for(;t.scopes.length&&"("!==v(t);){t.scopes.pop();}t.scopes.pop(),t.nestedGenerators--,t.leavingExpr=!0;}if(y(t)){if("end"==t.lastToken&&e.match(/^:/))return"operator";if(e.match(/^end/))return"number";}if((n=e.match(u,!1))&&t.scopes.push(n[0]),e.match(d,!1)&&t.scopes.pop(),e.match(/^::(?![:\$])/))return t.tokenize=k,t.tokenize(e,t);if(!r&&e.match(h)||e.match(/:([<>]:|<<=?|>>>?=?|->|\/\/|\.{2,3}|[\.\\%*+\-<>!\/^|&]=?|[~\?\$])/))return"builtin";if(e.match(i))return"operator";if(e.match(/^\.?\d/,!1)){var l=RegExp(/^im\b/),c=!1;if(e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(c=!0),e.match(/^0x[0-9a-f_]+/i)&&(c=!0),e.match(/^0b[01_]+/i)&&(c=!0),e.match(/^0o[0-7_]+/i)&&(c=!0),e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(c=!0),e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(c=!0),c)return e.match(l),t.leavingExpr=!0,"number";}if(e.match(/^'/))return t.tokenize=_,t.tokenize(e,t);if(e.match(g))return t.tokenize=function(e){function t(t,r){if(t.eat("\\"))t.next();else{if(t.match(e))return r.tokenize=b,r.leavingExpr=!0,"string";t.eat(/[`"]/);}return t.eatWhile(/[^\\`"]/),"string";}return'"""'===e.substr(-3)?e='"""':'"'===e.substr(-1)&&(e='"'),t;}(e.current()),t.tokenize(e,t);if(e.match(m))return"meta";if(e.match(o))return null;if(e.match(p))return"keyword";if(e.match(f))return"builtin";var S=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(a)?S?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):e.match(/^({[^}]*})*\(/,!1)?(t.tokenize=x,t.tokenize(e,t)):(t.leavingExpr=!0,"variable"):(e.next(),"error");}function x(e,t){var r=e.match(/^(\(\s*)/);if(r&&(t.firstParenPos<0&&(t.firstParenPos=t.scopes.length),t.scopes.push("("),t.charsAdvanced+=r[1].length),"("==v(t)&&e.match(/^\)/)&&(t.scopes.pop(),t.charsAdvanced+=1,t.scopes.length<=t.firstParenPos)){var n=e.match(/^(\s*where\s+[^\s=]+)*\s*?=(?!=)/,!1);return e.backUp(t.charsAdvanced),t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=b,n?"def":"builtin";}if(e.match(/^$/g,!1)){for(e.backUp(t.charsAdvanced);t.scopes.length>t.firstParenPos;){t.scopes.pop();}return t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=b,"builtin";}return t.charsAdvanced+=e.match(/^([^()]*)/)[1].length,t.tokenize(e,t);}function k(e,t){return e.match(/.*?(?=,|;|{|}|\(|\)|=|$|\s)/),e.match(/^{/)?t.nestedParameters++:e.match(/^}/)&&t.nestedParameters>0&&t.nestedParameters--,t.nestedParameters>0?e.match(/.*?(?={|})/)||e.next():0==t.nestedParameters&&(t.tokenize=b),"builtin";}function w(e,t){return e.match(/^#=/)&&t.nestedComments++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match(/^=#/)&&(t.nestedComments--,0==t.nestedComments&&(t.tokenize=b)),"comment";}function _(e,t){var r,n=!1;if(e.match(s))n=!0;else if(r=e.match(/\\u([a-f0-9]{1,4})(?=')/i))((i=parseInt(r[1],16))<=55295||i>=57344)&&(n=!0,e.next());else if(r=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var i;(i=parseInt(r[1],16))<=1114111&&(n=!0,e.next());}return n?(t.leavingExpr=!0,t.tokenize=b,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match(/^'/)&&(t.tokenize=b),"error");}return{startState:function startState(){return{tokenize:b,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,charsAdvanced:0,firstParenPos:-1};},token:function token(e,t){var r=t.tokenize(e,t),n=e.current();return n&&r&&(t.lastToken=n),r;},indent:function indent(e,r){var n=0;return"]"!==r&&")"!==r&&"end"!==r&&"else"!==r&&"catch"!==r&&"elseif"!==r&&"finally"!==r||(n=-1),(e.scopes.length+n)*t.indentUnit;},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"};}),e.defineMIME("text/x-julia","julia");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},4581:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("lua",function(e,t){var r=e.indentUnit;function n(e){return new RegExp("^(?:"+e.join("|")+")$","i");}var i=n(t.specials||[]),o=n(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),a=n(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),s=n(["function","if","repeat","do","\\(","{"]),l=n(["end","until","\\)","}"]),c=new RegExp("^(?:"+["end","until","\\)","}","else","elseif"].join("|")+")","i");function u(e){for(var t=0;e.eat("=");){++t;}return e.eat("["),t;}function d(e,t){var r,n=e.next();return"-"==n&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=p(u(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==n||"'"==n?(t.cur=(r=n,function(e,t){for(var n,i=!1;null!=(n=e.next())&&(n!=r||i);){i=!i&&"\\"==n;}return i||(t.cur=d),"string";}))(e,t):"["==n&&/[\[=]/.test(e.peek())?(t.cur=p(u(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null;}function p(e,t){return function(r,n){for(var i,o=null;null!=(i=r.next());){if(null==o)"]"==i&&(o=0);else if("="==i)++o;else{if("]"==i&&o==e){n.cur=d;break;}o=null;}}return t;};}return{startState:function startState(e){return{basecol:e||0,indentDepth:0,cur:d};},token:function token(e,t){if(e.eatSpace())return null;var r=t.cur(e,t),n=e.current();return"variable"==r&&(a.test(n)?r="keyword":o.test(n)?r="builtin":i.test(n)&&(r="variable-2")),"comment"!=r&&"string"!=r&&(s.test(n)?++t.indentDepth:l.test(n)&&--t.indentDepth),r;},indent:function indent(e,t){var n=c.test(t);return e.basecol+r*(e.indentDepth-(n?1:0));},lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"};}),e.defineMIME("text/x-lua","lua");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},318:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(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"]},{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"]},{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"]}];for(var t=0;t<e.modeInfo.length;t++){var r=e.modeInfo[t];r.mimes&&(r.mime=r.mimes[0]);}e.findModeByMIME=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.mime==t)return n;if(n.mimes)for(var i=0;i<n.mimes.length;i++){if(n.mimes[i]==t)return n;}}return /\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0;},e.findModeByExtension=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.ext)for(var i=0;i<n.ext.length;i++){if(n.ext[i]==t)return n;}}},e.findModeByFileName=function(t){for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.file&&n.file.test(t))return n;}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o);},e.findModeByName=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.name.toLowerCase()==t)return n;if(n.alias)for(var i=0;i<n.alias.length;i++){if(n.alias[i].toLowerCase()==t)return n;}}};},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},7014:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("mllike",function(t,r){var n={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},i=r.extraWords||{};for(var o in i){i.hasOwnProperty(o)&&(n[o]=r.extraWords[o]);}var a=[];for(var s in n){a.push(s);}function l(e,t){var i=e.next();if('"'===i)return t.tokenize=c,t.tokenize(e,t);if("{"===i&&e.eat("|"))return t.longString=!0,t.tokenize=d,t.tokenize(e,t);if("("===i&&e.eat("*"))return t.commentLevel++,t.tokenize=u,t.tokenize(e,t);if("~"===i||"?"===i)return e.eatWhile(/\w/),"variable-2";if("`"===i)return e.eatWhile(/\w/),"quote";if("/"===i&&r.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(i))return"0"===i&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),"0"===i&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),"0"===i&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(i))return"operator";if(/[\w\xa1-\uffff]/.test(i)){e.eatWhile(/[\w\xa1-\uffff]/);var o=e.current();return n.hasOwnProperty(o)?n[o]:"variable";}return null;}function c(e,t){for(var r,n=!1,i=!1;null!=(r=e.next());){if('"'===r&&!i){n=!0;break;}i=!i&&"\\"===r;}return n&&!i&&(t.tokenize=l),"string";}function u(e,t){for(var r,n;t.commentLevel>0&&null!=(n=e.next());){"("===r&&"*"===n&&t.commentLevel++,"*"===r&&")"===n&&t.commentLevel--,r=n;}return t.commentLevel<=0&&(t.tokenize=l),"comment";}function d(e,t){for(var r,n;t.longString&&null!=(n=e.next());){"|"===r&&"}"===n&&(t.longString=!1),r=n;}return t.longString||(t.tokenize=l),"string";}return e.registerHelper("hintWords","mllike",a),{startState:function startState(){return{tokenize:l,commentLevel:0,longString:!1};},token:function token(e,t){return e.eatSpace()?null:t.tokenize(e,t);},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:r.slashComments?"//":null};}),e.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),e.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),e.defineMIME("text/x-sml",{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},1716:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e,t){return e.string.charAt(e.pos+(t||0));}function r(e,t){if(t){var r=e.pos-t;return e.string.substr(r>=0?r:0,t);}return e.string.substr(0,e.pos-1);}function n(e,t){var r=e.string.length,n=r-e.pos+1;return e.string.substr(e.pos,t&&t<r?t:n);}function i(e,t){var r,n=e.pos+t;n<=0?e.pos=0:n>=(r=e.string.length-1)?e.pos=r:e.pos=n;}e.defineMode("perl",function(){var e={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},o="string-2",a=/[goseximacplud]/;function s(e,t,r,n,i){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var o,a=!1,s=0;o=e.next();){if(o===r[s]&&!a)return void 0!==r[++s]?(t.chain=r[s],t.style=n,t.tail=i):i&&e.eatWhile(i),t.tokenize=c,n;a=!a&&"\\"==o;}return n;},t.tokenize(e,t);}function l(e,t,r){return t.tokenize=function(e,t){return e.string==r&&(t.tokenize=c),e.skipToEnd(),"string";},t.tokenize(e,t);}function c(c,u){if(c.eatSpace())return null;if(u.chain)return s(c,u,u.chain,u.style,u.tail);if(c.match(/^\-?[\d\.]/,!1)&&c.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/))return"number";if(c.match(/^<<(?=\w)/))return c.eatWhile(/\w/),l(c,u,c.current().substr(2));if(c.sol()&&c.match(/^\=item(?!\w)/))return l(c,u,"=cut");var d=c.next();if('"'==d||"'"==d){if(r(c,3)=="<<"+d){var p=c.pos;c.eatWhile(/\w/);var f=c.current().substr(1);if(f&&c.eat(d))return l(c,u,f);c.pos=p;}return s(c,u,[d],"string");}if(!("q"!=d||(m=t(c,-2))&&/\w/.test(m)))if("x"==(m=t(c,0))){if("("==(m=t(c,1)))return i(c,2),s(c,u,[")"],o,a);if("["==m)return i(c,2),s(c,u,["]"],o,a);if("{"==m)return i(c,2),s(c,u,["}"],o,a);if("<"==m)return i(c,2),s(c,u,[">"],o,a);if(/[\^'"!~\/]/.test(m))return i(c,1),s(c,u,[c.eat(m)],o,a);}else if("q"==m){if("("==(m=t(c,1)))return i(c,2),s(c,u,[")"],"string");if("["==m)return i(c,2),s(c,u,["]"],"string");if("{"==m)return i(c,2),s(c,u,["}"],"string");if("<"==m)return i(c,2),s(c,u,[">"],"string");if(/[\^'"!~\/]/.test(m))return i(c,1),s(c,u,[c.eat(m)],"string");}else if("w"==m){if("("==(m=t(c,1)))return i(c,2),s(c,u,[")"],"bracket");if("["==m)return i(c,2),s(c,u,["]"],"bracket");if("{"==m)return i(c,2),s(c,u,["}"],"bracket");if("<"==m)return i(c,2),s(c,u,[">"],"bracket");if(/[\^'"!~\/]/.test(m))return i(c,1),s(c,u,[c.eat(m)],"bracket");}else if("r"==m){if("("==(m=t(c,1)))return i(c,2),s(c,u,[")"],o,a);if("["==m)return i(c,2),s(c,u,["]"],o,a);if("{"==m)return i(c,2),s(c,u,["}"],o,a);if("<"==m)return i(c,2),s(c,u,[">"],o,a);if(/[\^'"!~\/]/.test(m))return i(c,1),s(c,u,[c.eat(m)],o,a);}else if(/[\^'"!~\/(\[{<]/.test(m)){if("("==m)return i(c,1),s(c,u,[")"],"string");if("["==m)return i(c,1),s(c,u,["]"],"string");if("{"==m)return i(c,1),s(c,u,["}"],"string");if("<"==m)return i(c,1),s(c,u,[">"],"string");if(/[\^'"!~\/]/.test(m))return s(c,u,[c.eat(m)],"string");}if("m"==d&&(!(m=t(c,-2))||!/\w/.test(m))&&(m=c.eat(/[(\[{<\^'"!~\/]/))){if(/[\^'"!~\/]/.test(m))return s(c,u,[m],o,a);if("("==m)return s(c,u,[")"],o,a);if("["==m)return s(c,u,["]"],o,a);if("{"==m)return s(c,u,["}"],o,a);if("<"==m)return s(c,u,[">"],o,a);}if("s"==d&&!(m=/[\/>\]})\w]/.test(t(c,-2)))&&(m=c.eat(/[(\[{<\^'"!~\/]/)))return s(c,u,"["==m?["]","]"]:"{"==m?["}","}"]:"<"==m?[">",">"]:"("==m?[")",")"]:[m,m],o,a);if("y"==d&&!(m=/[\/>\]})\w]/.test(t(c,-2)))&&(m=c.eat(/[(\[{<\^'"!~\/]/)))return s(c,u,"["==m?["]","]"]:"{"==m?["}","}"]:"<"==m?[">",">"]:"("==m?[")",")"]:[m,m],o,a);if("t"==d&&!(m=/[\/>\]})\w]/.test(t(c,-2)))&&(m=c.eat("r"))&&(m=c.eat(/[(\[{<\^'"!~\/]/)))return s(c,u,"["==m?["]","]"]:"{"==m?["}","}"]:"<"==m?[">",">"]:"("==m?[")",")"]:[m,m],o,a);if("`"==d)return s(c,u,[d],"variable-2");if("/"==d)return /~\s*$/.test(r(c))?s(c,u,[d],o,a):"operator";if("$"==d){if(p=c.pos,c.eatWhile(/\d/)||c.eat("{")&&c.eatWhile(/\d/)&&c.eat("}"))return"variable-2";c.pos=p;}if(/[$@%]/.test(d)){if(p=c.pos,c.eat("^")&&c.eat(/[A-Z]/)||!/[@$%&]/.test(t(c,-2))&&c.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var m=c.current();if(e[m])return"variable-2";}c.pos=p;}if(/[$@%&]/.test(d)&&(c.eatWhile(/[\w$\[\]]/)||c.eat("{")&&c.eatWhile(/[\w$\[\]]/)&&c.eat("}")))return m=c.current(),e[m]?"variable-2":"variable";if("#"==d&&"$"!=t(c,-2))return c.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(d)){if(p=c.pos,c.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),e[c.current()])return"operator";c.pos=p;}if("_"==d&&1==c.pos){if("_END__"==n(c,6))return s(c,u,["\0"],"comment");if("_DATA__"==n(c,7))return s(c,u,["\0"],"variable-2");if("_C__"==n(c,7))return s(c,u,["\0"],"string");}if(/\w/.test(d)){if(p=c.pos,"{"==t(c,-2)&&("}"==t(c,0)||c.eatWhile(/\w/)&&"}"==t(c,0)))return"string";c.pos=p;}if(/[A-Z]/.test(d)){var h=t(c,-2);if(p=c.pos,c.eatWhile(/[A-Z_]/),!/[\da-z]/.test(t(c,0)))return(m=e[c.current()])?(m[1]&&(m=m[0]),":"!=h?1==m?"keyword":2==m?"def":3==m?"atom":4==m?"operator":5==m?"variable-2":"meta":"meta"):"meta";c.pos=p;}return /[a-zA-Z_]/.test(d)?(h=t(c,-2),c.eatWhile(/\w/),(m=e[c.current()])?(m[1]&&(m=m[0]),":"!=h?1==m?"keyword":2==m?"def":3==m?"atom":4==m?"operator":5==m?"variable-2":"meta":"meta"):"meta"):null;}return{startState:function startState(){return{tokenize:c,chain:null,style:null,tail:null};},token:function token(e,t){return(t.tokenize||c)(e,t);},lineComment:"#"};}),e.registerHelper("wordChars","perl",/[\w$]/),e.defineMIME("text/x-perl","perl");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},3612:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}function r(e,t,i){return 0==e.length?n(t):function(o,a){for(var s=e[0],l=0;l<s.length;l++){if(o.match(s[l][0]))return a.tokenize=r(e.slice(1),t),s[l][1];}return a.tokenize=n(t,i),"string";};}function n(e,t){return function(n,i){return function(e,t,n,i){if(!1!==i&&e.match("${",!1)||e.match("{$",!1))return t.tokenize=null,"string";if(!1!==i&&e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return e.match("[",!1)&&(t.tokenize=r([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],n,i)),e.match(/\-\>\w/,!1)&&(t.tokenize=r([[["->",null]],[[/[\w]+/,"variable"]]],n,i)),"variable-2";for(var o=!1;!e.eol()&&(o||!1===i||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!o&&e.match(n)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break;}o="\\"==e.next()&&!o;}return"string";}(n,i,e,t);};}var i="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",o="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",a="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";e.registerHelper("hintWords","php",[i,o,a].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var s={name:"clike",helperType:"php",keywords:t(i),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(o),builtin:t(a),multiLineStrings:!0,hooks:{$:function $(e){return e.eatWhile(/[\w\$_]/),"variable-2";},"<":function _(e,t){var r;if(r=e.match(/<<\s*/)){var i=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var o=e.current().slice(r[0].length+(i?2:1));if(i&&e.eat(i),o)return(t.tokStack||(t.tokStack=[])).push(o,0),t.tokenize=n(o,"'"!=i),"string";}return!1;},"#":function _(e){for(;!e.eol()&&!e.match("?>",!1);){e.next();}return"comment";},"/":function _(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);){e.next();}return"comment";}return!1;},'"':function _(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=n('"'),"string";},"{":function _(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1;},"}":function _(e,t){return t.tokStack&&t.tokStack.length>0&&! --t.tokStack[t.tokStack.length-1]&&(t.tokenize=n(t.tokStack[t.tokStack.length-2])),!1;}}};e.defineMode("php",function(t,r){var n=e.getMode(t,r&&r.htmlMode||"text/html"),i=e.getMode(t,s);return{startState:function startState(){var t=e.startState(n),o=r.startOpen?e.startState(i):null;return{html:t,php:o,curMode:r.startOpen?i:n,curState:r.startOpen?o:t,pending:null};},copyState:function copyState(t){var r,o=t.html,a=e.copyState(n,o),s=t.php,l=s&&e.copyState(i,s);return r=t.curMode==n?a:l,{html:a,php:l,curMode:t.curMode,curState:r,pending:t.pending};},token:function token(t,r){var o=r.curMode==i;if(t.sol()&&r.pending&&'"'!=r.pending&&"'"!=r.pending&&(r.pending=null),o)return o&&null==r.php.tokenize&&t.match("?>")?(r.curMode=n,r.curState=r.html,r.php.context.prev||(r.php=null),"meta"):i.token(t,r.curState);if(t.match(/^<\?\w*/))return r.curMode=i,r.php||(r.php=e.startState(i,n.indent(r.html,"",""))),r.curState=r.php,"meta";if('"'==r.pending||"'"==r.pending){for(;!t.eol()&&t.next()!=r.pending;){;}var a="string";}else r.pending&&t.pos<r.pending.end?(t.pos=r.pending.end,a=r.pending.style):a=n.token(t,r.curState);r.pending&&(r.pending=null);var s,l=t.current(),c=l.search(/<\?/);return-1!=c&&("string"==a&&(s=l.match(/[\'\"]$/))&&!/\?>/.test(l)?r.pending=s[0]:r.pending={end:t.pos,style:a},t.backUp(l.length-c)),a;},indent:function indent(e,t,r){return e.curMode!=i&&/^\s*<\//.test(t)||e.curMode==i&&/^\?>/.test(t)?n.indent(e.html,t,r):e.curMode.indent(e.curState,t,r);},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function innerMode(e){return{state:e.curState,mode:e.curMode};}};},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",s);},"object"==s(t)&&"object"==s(e)?a(r(9074),r(3394),r(1736)):(i=[r(9074),r(3394),r(1736)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},1459:function _(e,t,r){var n,i,o;function a(e){return a="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},a(e);}e=r.nmd(e),function(s){"use strict";"object"==a(t)&&"object"==a(e)?s(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=s)?n.apply(t,i):n)||(e.exports=o));}(function(e){"use strict";e.defineMode("powershell",function(){function e(e,t){for(var r=void 0!==(t=t||{}).prefix?t.prefix:"^",n=void 0!==t.suffix?t.suffix:"\\b",i=0;i<e.length;i++){e[i]instanceof RegExp?e[i]=e[i].source:e[i]=e[i].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");}return new RegExp(r+"("+e.join("|")+")"+n,"i");}var t="(?=[^A-Za-z\\d\\-_]|$)",r=/[\w\-:]/,n=e([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:t}),i=e(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),o=e([i,/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/],{suffix:""}),a=e([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),s=e([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),l={keyword:n,number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:o,builtin:e([/[A-Z]:|%|\?/i,a,s],{suffix:t}),punctuation:/[\[\]{},;`\\\.]|@[({]/,identifier:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};function c(e,t){var n=t.returnStack[t.returnStack.length-1];if(n&&n.shouldReturnFrom(t))return t.tokenize=n.tokenize,t.returnStack.pop(),t.tokenize(e,t);if(e.eatSpace())return null;if(e.eat("("))return t.bracketNesting+=1,"punctuation";if(e.eat(")"))return t.bracketNesting-=1,"punctuation";for(var i in l){if(e.match(l[i]))return i;}var o=e.next();if("'"===o)return function(e,t){var r;for(;null!=(r=e.peek());){if(e.next(),"'"===r&&!e.eat("'"))return t.tokenize=c,"string";}return"error";}(e,t);if("$"===o)return g(e,t);if('"'===o)return u(e,t);if("<"===o&&e.eat("#"))return t.tokenize=h,h(e,t);if("#"===o)return e.skipToEnd(),"comment";if("@"===o){var a=e.eat(/["']/);if(a&&e.eol())return t.tokenize=v,t.startQuote=a[0],v(e,t);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(r))return g(e,t);}return"error";}function u(e,t){for(var r;null!=(r=e.peek());){if("$"===r)return t.tokenize=d,"string";if(e.next(),"`"!==r){if('"'===r&&!e.eat('"'))return t.tokenize=c,"string";}else e.next();}return"error";}function d(e,t){return m(e,t,u);}function p(e,t){return t.tokenize=v,t.startQuote='"',v(e,t);}function f(e,t){return m(e,t,p);}function m(e,t,r){if(e.match("$(")){var n=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function shouldReturnFrom(e){return e.bracketNesting===n;},tokenize:r}),t.tokenize=c,t.bracketNesting+=1,"punctuation";}return e.next(),t.returnStack.push({shouldReturnFrom:function shouldReturnFrom(){return!0;},tokenize:r}),t.tokenize=g,t.tokenize(e,t);}function h(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&">"==r){t.tokenize=c;break;}n="#"===r;}return"comment";}function g(e,t){var n=e.peek();return e.eat("{")?(t.tokenize=y,y(e,t)):null!=n&&n.match(r)?(e.eatWhile(r),t.tokenize=c,"variable-2"):(t.tokenize=c,"error");}function y(e,t){for(var r;null!=(r=e.next());){if("}"===r){t.tokenize=c;break;}}return"variable-2";}function v(e,t){var r=t.startQuote;if(e.sol()&&e.match(new RegExp(r+"@")))t.tokenize=c;else if('"'===r)for(;!e.eol();){var n=e.peek();if("$"===n)return t.tokenize=f,"string";e.next(),"`"===n&&e.next();}else e.skipToEnd();return"string";}return{startState:function startState(){return{returnStack:[],bracketNesting:0,tokenize:c};},token:function token(e,t){return t.tokenize(e,t);},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"};}),e.defineMIME("application/x-powershell","powershell");});},7568:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b");}var r,n=t(["and","or","not","is"]),i=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],o=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function a(e){return e.scopes[e.scopes.length-1];}e.registerHelper("hintWords","python",i.concat(o)),e.defineMode("python",function(r,s){for(var l="error",c=s.delimiters||s.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,u=[s.singleOperators,s.doubleOperators,s.doubleDelimiters,s.tripleDelimiters,s.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],d=0;d<u.length;d++){u[d]||u.splice(d--,1);}var p=s.hangingIndent||r.indentUnit,f=i,m=o;null!=s.extra_keywords&&(f=f.concat(s.extra_keywords)),null!=s.extra_builtins&&(m=m.concat(s.extra_builtins));var h=!(s.version&&Number(s.version)<3);if(h){var g=s.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;f=f.concat(["nonlocal","False","True","None","async","await"]),m=m.concat(["ascii","bytes","exec","print"]);var y=new RegExp("^(([rbuf]|(br)|(fr))?('{3}|\"{3}|['\"]))","i");}else g=s.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/,f=f.concat(["exec","print"]),m=m.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]),y=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i");var v=t(f),b=t(m);function x(e,t){var r=e.sol()&&"\\"!=t.lastToken;if(r&&(t.indent=e.indentation()),r&&"py"==a(t).type){var n=a(t).offset;if(e.eatSpace()){var i=e.indentation();return i>n?w(t):i<n&&_(e,t)&&"#"!=e.peek()&&(t.errorToken=!0),null;}var o=k(e,t);return n>0&&_(e,t)&&(o+=" "+l),o;}return k(e,t);}function k(e,t,r){if(e.eatSpace())return null;if(!r&&e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var o=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(o=!0),e.match(/^0b[01_]+/i)&&(o=!0),e.match(/^0o[0-7_]+/i)&&(o=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),o=!0),e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number";}if(e.match(y))return-1!==e.current().toLowerCase().indexOf("f")?(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;){e=e.substr(1);}var r=1==e.length,n="string";function i(e){return function(t,r){var n=k(t,r,!0);return"punctuation"==n&&("{"==t.current()?r.tokenize=i(e+1):"}"==t.current()&&(r.tokenize=e>1?i(e-1):o)),n;};}function o(o,a){for(;!o.eol();){if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),r&&o.eol())return n;}else{if(o.match(e))return a.tokenize=t,n;if(o.match("{{"))return n;if(o.match("{",!1))return a.tokenize=i(0),o.current()?n:a.tokenize(o,a);if(o.match("}}"))return n;if(o.match("}"))return l;o.eat(/['"]/);}}if(r){if(s.singleLineStringErrors)return l;a.tokenize=t;}return n;}return o.isString=!0,o;}(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;){e=e.substr(1);}var r=1==e.length,n="string";function i(i,o){for(;!i.eol();){if(i.eatWhile(/[^'"\\]/),i.eat("\\")){if(i.next(),r&&i.eol())return n;}else{if(i.match(e))return o.tokenize=t,n;i.eat(/['"]/);}}if(r){if(s.singleLineStringErrors)return l;o.tokenize=t;}return n;}return i.isString=!0,i;}(e.current(),t.tokenize),t.tokenize(e,t));for(var a=0;a<u.length;a++){if(e.match(u[a]))return"operator";}return e.match(c)?"punctuation":"."==t.lastToken&&e.match(g)?"property":e.match(v)||e.match(n)?"keyword":e.match(b)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(g)?"def"==t.lastToken||"class"==t.lastToken?"def":"variable":(e.next(),r?null:l);}function w(e){for(;"py"!=a(e).type;){e.scopes.pop();}e.scopes.push({offset:a(e).offset+r.indentUnit,type:"py",align:null});}function _(e,t){for(var r=e.indentation();t.scopes.length>1&&a(t).offset>r;){if("py"!=a(t).type)return!0;t.scopes.pop();}return a(t).offset!=r;}function S(e,t){e.sol()&&(t.beginningOfLine=!0);var r=t.tokenize(e,t),n=e.current();if(t.beginningOfLine&&"@"==n)return e.match(g,!1)?"meta":h?"operator":l;if(/\S/.test(n)&&(t.beginningOfLine=!1),"variable"!=r&&"builtin"!=r||"meta"!=t.lastToken||(r="meta"),"pass"!=n&&"return"!=n||(t.dedent+=1),"lambda"==n&&(t.lambda=!0),":"!=n||t.lambda||"py"!=a(t).type||w(t),1==n.length&&!/string|comment/.test(r)){var i="[({".indexOf(n);if(-1!=i&&function(e,t,r){var n=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:r,align:n});}(e,t,"])}".slice(i,i+1)),-1!=(i="])}".indexOf(n))){if(a(t).type!=n)return l;t.indent=t.scopes.pop().offset-p;}}return t.dedent>0&&e.eol()&&"py"==a(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),r;}return{startState:function startState(e){return{tokenize:x,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0};},token:function token(e,t){var r=t.errorToken;r&&(t.errorToken=!1);var n=S(e,t);return n&&"comment"!=n&&(t.lastToken="keyword"==n||"punctuation"==n?e.current():n),"punctuation"==n&&(n=null),e.eol()&&t.lambda&&(t.lambda=!1),r?n+" "+l:n;},indent:function indent(t,r){if(t.tokenize!=x)return t.tokenize.isString?e.Pass:0;var n=a(t),i=n.type==r.charAt(0);return null!=n.align?n.align-(i?1:0):n.offset-(i?p:0);},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"};}),e.defineMIME("text/x-python","python"),e.defineMIME("text/x-cython",{name:"python",extra_keywords:(r="by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE",r.split(" "))});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},8446:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.registerHelper("wordChars","r",/[\w.]/),e.defineMode("r",function(t){function r(e){for(var t={},r=0;r<e.length;++r){t[e[r]]=!0;}return t;}var n=["NULL","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","TRUE","FALSE"],i=["list","quote","bquote","eval","return","call","parse","deparse"],o=["if","else","repeat","while","function","for","in","next","break"];e.registerHelper("hintWords","r",n.concat(i,o));var a,s=r(n),l=r(i),c=r(o),u=r(["if","else","repeat","while","function","for"]),d=/[+\-*\/^<>=!&|~$:]/;function p(e,t){a=null;var r,n=e.next();if("#"==n)return e.skipToEnd(),"comment";if("0"==n&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if("."==n&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(n))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==n||'"'==n)return t.tokenize=(r=n,function(e,t){if(e.eat("\\")){var n=e.next();return"x"==n?e.match(/^[a-f0-9]{2}/i):("u"==n||"U"==n)&&e.eat("{")&&e.skipTo("}")?e.next():"u"==n?e.match(/^[a-f0-9]{4}/i):"U"==n?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(n)&&e.match(/^[0-7]{1,2}/),"string-2";}for(var i;null!=(i=e.next());){if(i==r){t.tokenize=p;break;}if("\\"==i){e.backUp(1);break;}}return"string";}),"string";if("`"==n)return e.match(/[^`]+`/),"variable-3";if("."==n&&e.match(/.[.\d]+/))return"keyword";if(/[\w\.]/.test(n)&&"_"!=n){e.eatWhile(/[\w\.]/);var i=e.current();return s.propertyIsEnumerable(i)?"atom":c.propertyIsEnumerable(i)?(u.propertyIsEnumerable(i)&&!e.match(/\s*if(\s+|$)/,!1)&&(a="block"),"keyword"):l.propertyIsEnumerable(i)?"builtin":"variable";}return"%"==n?(e.skipTo("%")&&e.next(),"operator variable-2"):"<"==n&&e.eat("-")||"<"==n&&e.match("<-")||"-"==n&&e.match(/>>?/)?"operator arrow":"="==n&&t.ctx.argList?"arg-is":d.test(n)?"$"==n?"operator dollar":(e.eatWhile(d),"operator"):/[\(\){}\[\];]/.test(n)?(a=n,";"==n?"semi":null):null;}function f(e,t,r){e.ctx={type:t,indent:e.indent,flags:0,column:r.column(),prev:e.ctx};}function m(e,t){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|t,column:r.column,prev:r.prev};}function h(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev;}return{startState:function startState(){return{tokenize:p,ctx:{type:"top",indent:-t.indentUnit,flags:2},indent:0,afterIdent:!1};},token:function token(e,t){if(e.sol()&&(0==(3&t.ctx.flags)&&(t.ctx.flags|=2),4&t.ctx.flags&&h(t),t.indent=e.indentation()),e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"!=r&&0==(2&t.ctx.flags)&&m(t,1),";"!=a&&"{"!=a&&"}"!=a||"block"!=t.ctx.type||h(t),"{"==a?f(t,"}",e):"("==a?(f(t,")",e),t.afterIdent&&(t.ctx.argList=!0)):"["==a?f(t,"]",e):"block"==a?f(t,"block",e):a==t.ctx.type?h(t):"block"==t.ctx.type&&"comment"!=r&&m(t,4),t.afterIdent="variable"==r||"keyword"==r,r;},indent:function indent(e,r){if(e.tokenize!=p)return 0;var n=r&&r.charAt(0),i=e.ctx,o=n==i.type;return 4&i.flags&&(i=i.prev),"block"==i.type?i.indent+("{"==n?0:t.indentUnit):1&i.flags?i.column+(o?0:1):i.indent+(o?0:t.indentUnit);},lineComment:"#"};}),e.defineMIME("text/x-rsrc","r");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},8021:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("ruby",function(t){function r(e){for(var t={},r=0,n=e.length;r<n;++r){t[e[r]]=!0;}return t;}var n,i=r(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),o=r(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),a=r(["end","until"]),s={"[":"]","{":"}","(":")"},l={"]":"[","}":"{",")":"("};function c(e,t,r){return r.tokenize.push(e),e(t,r);}function u(e,t){if(e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(m),"comment";if(e.eatSpace())return null;var r,i,o,a=e.next();if("`"==a||"'"==a||'"'==a)return c(f(a,"string",'"'==a||"`"==a),e,t);if("/"==a)return function(e){for(var t,r=e.pos,n=0,i=!1,o=!1;null!=(t=e.next());){if(o)o=!1;else{if("[{(".indexOf(t)>-1)n++;else if("]})".indexOf(t)>-1){if(--n<0)break;}else if("/"==t&&0==n){i=!0;break;}o="\\"==t;}}return e.backUp(e.pos-r),i;}(e)?c(f(a,"string-2",!0),e,t):"operator";if("%"==a){var l="string",u=!0;e.eat("s")?l="atom":e.eat(/[WQ]/)?l="string":e.eat(/[r]/)?l="string-2":e.eat(/[wxq]/)&&(l="string",u=!1);var d=e.eat(/[^\w\s=]/);return d?(s.propertyIsEnumerable(d)&&(d=s[d]),c(f(d,l,u,!0),e,t)):"operator";}if("#"==a)return e.skipToEnd(),"comment";if("<"==a&&(r=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return c((i=r[2],o=r[1],function(e,t){return o&&e.eatSpace(),e.match(i)?t.tokenize.pop():e.skipToEnd(),"string";}),e,t);if("0"==a)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(a))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==a){for(;e.match(/^\\[CM]-/);){;}return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string";}if(":"==a)return e.eat("'")?c(f("'","atom",!1),e,t):e.eat('"')?c(f('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==a&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==a)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(a))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=a||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(a))return n=a,null;if("-"==a&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(a)){var p=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=a||p||(n="."),"operator";}return null;}return n="|",null;}function d(e){return e||(e=1),function(t,r){if("}"==t.peek()){if(1==e)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);r.tokenize[r.tokenize.length-1]=d(e-1);}else"{"==t.peek()&&(r.tokenize[r.tokenize.length-1]=d(e+1));return u(t,r);};}function p(){var e=!1;return function(t,r){return e?(r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)):(e=!0,u(t,r));};}function f(e,t,r,n){return function(i,o){var a,s=!1;for("read-quoted-paused"===o.context.type&&(o.context=o.context.prev,i.eat("}"));null!=(a=i.next());){if(a==e&&(n||!s)){o.tokenize.pop();break;}if(r&&"#"==a&&!s){if(i.eat("{")){"}"==e&&(o.context={prev:o.context,type:"read-quoted-paused"}),o.tokenize.push(d());break;}if(/[@\$]/.test(i.peek())){o.tokenize.push(p());break;}}s=!s&&"\\"==a;}return t;};}function m(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment";}return{startState:function startState(){return{tokenize:[u],indented:0,context:{type:"top",indented:-t.indentUnit},continuedLine:!1,lastTok:null,varList:!1};},token:function token(e,t){n=null,e.sol()&&(t.indented=e.indentation());var r,s=t.tokenize[t.tokenize.length-1](e,t),l=n;if("ident"==s){var c=e.current();"keyword"==(s="."==t.lastTok?"property":i.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(l=c,o.propertyIsEnumerable(c)?r="indent":a.propertyIsEnumerable(c)?r="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&t.context.indented<t.indented&&(r="indent"):r="indent");}return(n||s&&"comment"!=s)&&(t.lastTok=l),"|"==n&&(t.varList=!t.varList),"indent"==r||/[\(\[\{]/.test(n)?t.context={prev:t.context,type:n||s,indented:t.indented}:("dedent"==r||/[\)\]\}]/.test(n))&&t.context.prev&&(t.context=t.context.prev),e.eol()&&(t.continuedLine="\\"==n||"operator"==s),s;},indent:function indent(r,n){if(r.tokenize[r.tokenize.length-1]!=u)return e.Pass;var i=n&&n.charAt(0),o=r.context,a=o.type==l[i]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return o.indented+(a?0:t.indentUnit)+(r.continuedLine?t.indentUnit:0);},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"};}),e.defineMIME("text/x-ruby","ruby");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},8058:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type|union)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|async|await|box|break|continue|const|crate|do|dyn|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),e.defineMIME("text/x-rustsrc","rust"),e.defineMIME("text/rust","rust");},"object"==s(t)&&"object"==s(e)?a(r(9074),r(3740)):(i=[r(9074),r(3740)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},4949:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("shell",function(){var t={};function r(e,r){for(var n=0;n<r.length;n++){t[r[n]]=e;}}var n=["true","false"],i=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],o=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];function a(e,r){if(e.eatSpace())return null;var n=e.sol(),i=e.next();if("\\"===i)return e.next(),null;if("'"===i||'"'===i||"`"===i)return r.tokens.unshift(s(i,"`"===i?"quote":"string")),u(e,r);if("#"===i)return n&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if("$"===i)return r.tokens.unshift(c),u(e,r);if("+"===i||"="===i)return"operator";if("-"===i)return e.eat("-"),e.eatWhile(/\w/),"attribute";if(/\d/.test(i)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var o=e.current();return"="===e.peek()&&/\w+/.test(o)?"def":t.hasOwnProperty(o)?t[o]:null;}function s(e,t){var r="("==e?")":"{"==e?"}":e;return function(n,i){for(var o,a=!1;null!=(o=n.next());){if(o===r&&!a){i.tokens.shift();break;}if("$"===o&&!a&&"'"!==e&&n.peek()!=r){a=!0,n.backUp(1),i.tokens.unshift(c);break;}if(!a&&e!==r&&o===e)return i.tokens.unshift(s(e,t)),u(n,i);if(!a&&/['"]/.test(o)&&!/['"]/.test(e)){i.tokens.unshift(l(o,"string")),n.backUp(1);break;}a=!a&&"\\"===o;}return t;};}function l(e,t){return function(r,n){return n.tokens[0]=s(e,t),r.next(),u(r,n);};}e.registerHelper("hintWords","shell",n.concat(i,o)),r("atom",n),r("keyword",i),r("builtin",o);var c=function c(e,t){t.tokens.length>1&&e.eat("$");var r=e.next();return /['"({]/.test(r)?(t.tokens[0]=s(r,"("==r?"quote":"{"==r?"def":"string"),u(e,t)):(/\d/.test(r)||e.eatWhile(/\w/),t.tokens.shift(),"def");};function u(e,t){return(t.tokens[0]||a)(e,t);}return{startState:function startState(){return{tokens:[]};},token:function token(e,t){return u(e,t);},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"};}),e.defineMIME("text/x-sh","shell"),e.defineMIME("application/x-sh","shell");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},6906:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t;null!=(t=e.next());){if("`"==t&&!e.eat("`"))return"variable-2";}return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null;}function r(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 n(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null;}e.defineMode("sql",function(t,r){var n=r.client||{},s=r.atoms||{false:!0,true:!0,null:!0},l=r.builtin||o(a),c=r.keywords||o(i),u=r.operatorChars||/^[*+\-%<>!=&|~^\/]/,d=r.support||{},p=r.hooks||{},f=r.dateSQL||{date:!0,time:!0,timestamp:!0},m=!1!==r.backslashStringEscapes,h=r.brackets||/^[\{}\(\)\[\]]/,g=r.punctuation||/^[;.,:]/;function y(e,t){var r=e.next();if(p[r]){var i=p[r](e,t);if(!1!==i)return i;}if(d.hexNumber&&("0"==r&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==r||"X"==r)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(d.binaryNumber&&(("b"==r||"B"==r)&&e.match(/^'[01]+'/)||"0"==r&&e.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),d.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==r&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==r||'"'==r&&d.doubleQuote)return t.tokenize=v(r),t.tokenize(e,t);if((d.nCharCast&&("n"==r||"N"==r)||d.charsetCast&&"_"==r&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(d.escapeConstant&&("e"==r||"E"==r)&&("'"==e.peek()||'"'==e.peek()&&d.doubleQuote))return t.tokenize=function(e,t){return(t.tokenize=v(e.next(),!0))(e,t);},"keyword";if(d.commentSlashSlash&&"/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(d.commentHash&&"#"==r||"-"==r&&e.eat("-")&&(!d.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==r&&e.eat("*"))return t.tokenize=b(1),t.tokenize(e,t);if("."!=r){if(u.test(r))return e.eatWhile(u),"operator";if(h.test(r))return"bracket";if(g.test(r))return e.eatWhile(g),"punctuation";if("{"==r&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var o=e.current().toLowerCase();return f.hasOwnProperty(o)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":s.hasOwnProperty(o)?"atom":l.hasOwnProperty(o)?"builtin":c.hasOwnProperty(o)?"keyword":n.hasOwnProperty(o)?"string-2":null;}return d.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:d.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0;}function v(e,t){return function(r,n){for(var i,o=!1;null!=(i=r.next());){if(i==e&&!o){n.tokenize=y;break;}o=(m||t)&&!o&&"\\"==i;}return"string";};}function b(e){return function(t,r){var n=t.match(/^.*?(\/\*|\*\/)/);return n?"/*"==n[1]?r.tokenize=b(e+1):r.tokenize=e>1?b(e-1):y:t.skipToEnd(),"comment";};}function x(e,t,r){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:r};}return{startState:function startState(){return{tokenize:y,context:null};},token:function token(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==y&&e.eatSpace())return null;var r=t.tokenize(e,t);if("comment"==r)return r;t.context&&null==t.context.align&&(t.context.align=!0);var n=e.current();return"("==n?x(e,t,")"):"["==n?x(e,t,"]"):t.context&&t.context.type==n&&function(e){e.indent=e.context.indent,e.context=e.context.prev;}(t),r;},indent:function indent(r,n){var i=r.context;if(!i)return e.Pass;var o=n.charAt(0)==i.type;return i.align?i.col+(o?0:1):i.indent+(o?0:t.indentUnit);},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:d.commentSlashSlash?"//":d.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``"};});var i="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 o(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n){t[r[n]]=!0;}return t;}var a="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:o(i+"begin"),builtin:o(a),atoms:o("false true null unknown"),dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:o("$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:o(i+"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:o("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:o("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:o("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":r}}),e.defineMIME("text/x-mysql",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(i+"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:o("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:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":n}}),e.defineMIME("text/x-mariadb",{name:"sql",client:o("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:o(i+"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 groupby_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:o("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:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":n}}),e.defineMIME("text/x-sqlite",{name:"sql",client:o("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:o(i+"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:o("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:o("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:o("date time timestamp datetime"),support:o("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":r,":":r,"?":r,$:r,'"':function _(e){for(var t;null!=(t=e.next());){if('"'==t&&!e.eat('"'))return"variable-2";}return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null;},"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:o("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:o("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:o("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:o("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:o("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:o("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:o("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:o("date time timestamp"),support:o("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:o("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:o("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:o("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:o("date timestamp"),support:o("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:o("source"),keywords:o(i+"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:o("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 without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:o("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),e.defineMIME("text/x-gql",{name:"sql",keywords:o("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:o("false true"),builtin:o("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:o("source"),keywords:o("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:o("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:o("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:o("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 datata 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:o("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:o("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:o("date time timestamp"),support:o("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:o("source"),keywords:o("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:o("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:o("time"),support:o("decimallessFloat zerolessFloat binaryNumber hexNumber")});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},1878:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";function t(e){for(var t={},r=0;r<e.length;r++){t[e[r]]=!0;}return t;}var r=t(["_","var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","open","public","internal","fileprivate","private","deinit","init","new","override","self","subscript","super","convenience","dynamic","final","indirect","lazy","required","static","unowned","unowned(safe)","unowned(unsafe)","weak","as","is","break","case","continue","default","else","fallthrough","for","guard","if","in","repeat","switch","where","while","defer","return","inout","mutating","nonmutating","catch","do","rethrows","throw","throws","try","didSet","get","set","willSet","assignment","associativity","infix","left","none","operator","postfix","precedence","precedencegroup","prefix","right","Any","AnyObject","Type","dynamicType","Self","Protocol","__COLUMN__","__FILE__","__FUNCTION__","__LINE__"]),n=t(["var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","for"]),i=t(["true","false","nil","self","super","_"]),o=t(["Array","Bool","Character","Dictionary","Double","Float","Int","Int8","Int16","Int32","Int64","Never","Optional","Set","String","UInt8","UInt16","UInt32","UInt64","Void"]),a="+-/*%=|&<>~^?!",s=":;,.(){}[]",l=/^\-?0b[01][01_]*/,c=/^\-?0o[0-7][0-7_]*/,u=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,d=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,p=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,f=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,m=/^\#[A-Za-z]+/,h=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function g(e,t,g){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var y,x=e.peek();if("/"==x){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(b),b(e,t);}if(e.match(m))return"builtin";if(e.match(h))return"attribute";if(e.match(l))return"number";if(e.match(c))return"number";if(e.match(u))return"number";if(e.match(d))return"number";if(e.match(f))return"property";if(a.indexOf(x)>-1)return e.next(),"operator";if(s.indexOf(x)>-1)return e.next(),e.match(".."),"punctuation";if(y=e.match(/("""|"|')/)){var k=v.bind(null,y[0]);return t.tokenize.push(k),k(e,t);}if(e.match(p)){var w=e.current();return o.hasOwnProperty(w)?"variable-2":i.hasOwnProperty(w)?"atom":r.hasOwnProperty(w)?(n.hasOwnProperty(w)&&(t.prev="define"),"keyword"):"define"==g?"def":"variable";}return e.next(),null;}function y(){var e=0;return function(t,r,n){var i=g(t,r,n);if("punctuation"==i)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);--e;}return i;};}function v(e,t,r){for(var n,i=1==e.length,o=!1;n=t.peek();){if(o){if(t.next(),"("==n)return r.tokenize.push(y()),"string";o=!1;}else{if(t.match(e))return r.tokenize.pop(),"string";t.next(),o="\\"==n;}}return i&&r.tokenize.pop(),"string";}function b(e,t){for(var r;e.match(/^[^/*]+/,!0),r=e.next();){"/"===r&&e.eat("*")?t.tokenize.push(b):"*"===r&&e.eat("/")&&t.tokenize.pop();}return"comment";}function x(e,t,r){this.prev=e,this.align=t,this.indented=r;}function k(e,t){var r=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new x(e.context,r,e.indented);}function w(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev);}e.defineMode("swift",function(e){return{startState:function startState(){return{prev:null,context:null,indented:0,tokenize:[]};},token:function token(e,t){var r=t.prev;t.prev=null;var n=(t.tokenize[t.tokenize.length-1]||g)(e,t,r);if(n&&"comment"!=n?t.prev||(t.prev=n):t.prev=r,"punctuation"==n){var i=/[\(\[\{]|([\]\)\}])/.exec(e.current());i&&(i[1]?w:k)(t,e);}return n;},indent:function indent(t,r){var n=t.context;if(!n)return 0;var i=/^[\]\}\)]/.test(r);return null!=n.align?n.align-(i?1:0):n.indented+(i?0:e.indentUnit);},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"};}),e.defineMIME("text/x-swift","swift");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},356:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("toml",function(){return{startState:function startState(){return{inString:!1,stringType:"",lhs:!0,inArray:0};},token:function token(e,t){if(t.inString||'"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.inString=!0),e.sol()&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString&&!e.eol();){e.peek()===t.stringType?(e.next(),t.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);}return t.lhs?"property string":"string";}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e;})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):!t.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":t.lhs||!e.match("true")&&!e.match("false")?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom";}};}),e.defineMIME("text/x-toml","toml");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},336:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(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},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,i){var o,a,s=n.indentUnit,l={},c=i.htmlMode?t:r;for(var u in c){l[u]=c[u];}for(var u in i){l[u]=i[u];}function d(e,t){function r(r){return t.tokenize=r,r(e,t);}var n=e.next();return"<"==n?e.eat("!")?e.eat("[")?e.match("CDATA[")?r(f("atom","]]>")):null:e.match("--")?r(f("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),r(m(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=f("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"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);}function p(e,t){var r,n,i=e.next();if(">"==i||"/"==i&&e.eat(">"))return t.tokenize=d,o=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return o="equals",null;if("<"==i){t.tokenize=d,t.state=v,t.tagName=t.tagStart=null;var a=t.tokenize(e,t);return a?a+" tag error":"tag error";}return /[\'\"]/.test(i)?(t.tokenize=(r=i,n=function n(e,t){for(;!e.eol();){if(e.next()==r){t.tokenize=p;break;}}return"string";},n.isInAttribute=!0,n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word");}function f(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=d;break;}r.next();}return e;};}function m(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=m(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=d;break;}return r.tokenize=m(e-1),r.tokenize(t,r);}}return"meta";};}function h(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0);}function g(e){e.context&&(e.context=e.context.prev);}function y(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!l.contextGrabbers.hasOwnProperty(r)||!l.contextGrabbers[r].hasOwnProperty(t))return;g(e);}}function v(e,t,r){return"openTag"==e?(r.tagStart=t.column(),b):"closeTag"==e?x:v;}function b(e,t,r){return"word"==e?(r.tagName=t.current(),a="tag",_):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",_(e,0,r)):(a="error",b);}function x(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&l.implicitlyClosed.hasOwnProperty(r.context.tagName)&&g(r),r.context&&r.context.tagName==n||!1===l.matchClosing?(a="tag",k):(a="tag error",w);}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",k(e,0,r)):(a="error",w);}function k(e,t,r){return"endTag"!=e?(a="error",k):(g(r),v);}function w(e,t,r){return a="error",k(e,0,r);}function _(e,t,r){if("word"==e)return a="attribute",S;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,i=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(n)?y(r,n):(y(r,n),r.context=new h(r,n,i==r.indented)),v;}return a="error",_;}function S(e,t,r){return"equals"==e?C:(l.allowMissing||(a="error"),_(e,0,r));}function C(e,t,r){return"string"==e?T:"word"==e&&l.allowUnquoted?(a="string",_):(a="error",_(e,0,r));}function T(e,t,r){return"string"==e?T:_(e,0,r);}return d.isInText=!0,{startState:function startState(e){var t={tokenize:d,state:v,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t;},token:function token(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var r=t.tokenize(e,t);return(r||o)&&"comment"!=r&&(a=null,t.state=t.state(o||r,e,t),a&&(r="error"==a?r+" error":a)),r;},indent:function indent(t,r,n){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var o=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(o&&o[1])for(;i;){if(i.tagName==o[2]){i=i.prev;break;}if(!l.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev;}else if(o)for(;i;){var a=l.contextGrabbers[i.tagName];if(!a||!a.hasOwnProperty(o[2]))break;i=i.prev;}for(;i&&i.prev&&!i.startOfLine;){i=i.prev;}return i?i.indent+s:t.baseIndent||0;},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function skipAttribute(e){e.state==C&&(e.state=_);},xmlCurrentTag:function xmlCurrentTag(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null;},xmlCurrentContext:function xmlCurrentContext(e){for(var t=[],r=e.context;r;r=r.prev){r.tagName&&t.push(r.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});},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},9393:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){"use strict";e.defineMode("yaml",function(){var e=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");return{token:function token(t,r){var n=t.peek(),i=r.escaped;if(r.escaped=!1,"#"==n&&(0==t.pos||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(r.literal&&t.indentation()>r.keyCol)return t.skipToEnd(),"string";if(r.literal&&(r.literal=!1),t.sol()){if(r.keyCol=0,r.pair=!1,r.pairStart=!1,t.match(/---/))return"def";if(t.match(/\.\.\./))return"def";if(t.match(/\s*-\s+/))return"meta";}if(t.match(/^(\{|\}|\[|\])/))return"{"==n?r.inlinePairs++:"}"==n?r.inlinePairs--:"["==n?r.inlineList++:r.inlineList--,"meta";if(r.inlineList>0&&!i&&","==n)return t.next(),"meta";if(r.inlinePairs>0&&!i&&","==n)return r.keyCol=0,r.pair=!1,r.pairStart=!1,t.next(),"meta";if(r.pairStart){if(t.match(/^\s*(\||\>)\s*/))return r.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==r.inlinePairs&&t.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(r.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(e))return"keyword";}return!r.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(r.pair=!0,r.keyCol=t.indentation(),"atom"):r.pair&&t.match(/^:\s*/)?(r.pairStart=!0,"meta"):(r.pairStart=!1,r.escaped="\\"==n,t.next(),null);},startState:function startState(){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");},"object"==s(t)&&"object"==s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},8922:function _(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r;}).join("");},t.i=function(e,r,n,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0);}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u));}},t;};},7499:function _(e){"use strict";e.exports=function(e){return e[1];};},4201:function _(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);}}r.r(t),r.d(t,{AdditionalRuleKinds:function AdditionalRuleKinds(){return C;},CharacterStream:function CharacterStream(){return i;},LexRules:function LexRules(){return f;},ParseRules:function ParseRules(){return m;},RuleKinds:function RuleKinds(){return T;},butNot:function butNot(){return s;},isIgnored:function isIgnored(){return p;},list:function list(){return a;},onlineParser:function onlineParser(){return y;},opt:function opt(){return o;},p:function p(){return c;},t:function t(){return l;}});var i=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.getStartOfToken=function(){return r._start;},this.getCurrentPosition=function(){return r._pos;},this.eol=function(){return r._sourceText.length===r._pos;},this.sol=function(){return 0===r._pos;},this.peek=function(){return r._sourceText.charAt(r._pos)?r._sourceText.charAt(r._pos):null;},this.next=function(){var e=r._sourceText.charAt(r._pos);return r._pos++,e;},this.eat=function(e){if(r._testNextCharacter(e))return r._start=r._pos,r._pos++,r._sourceText.charAt(r._pos-1);},this.eatWhile=function(e){var t=r._testNextCharacter(e),n=!1;for(t&&(n=t,r._start=r._pos);t;){r._pos++,t=r._testNextCharacter(e),n=!0;}return n;},this.eatSpace=function(){return r.eatWhile(/[\s\u00a0]/);},this.skipToEnd=function(){r._pos=r._sourceText.length;},this.skipTo=function(e){r._pos=e;},this.match=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=null,i=null;"string"==typeof e?(i=new RegExp(e,arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"i":"g").test(r._sourceText.substr(r._pos,e.length)),n=e):e instanceof RegExp&&(n=(i=r._sourceText.slice(r._pos).match(e))&&i[0]);return!(null==i||!("string"==typeof e||i instanceof Array&&r._sourceText.startsWith(i[0],r._pos)))&&(t&&(r._start=r._pos,n&&n.length&&(r._pos+=n.length)),i);},this.backUp=function(e){r._pos-=e;},this.column=function(){return r._pos;},this.indentation=function(){var e=r._sourceText.match(/\s*/),t=0;if(e&&0!==e.length)for(var n=e[0],i=0;n.length>i;){9===n.charCodeAt(i)?t+=2:t++,i++;}return t;},this.current=function(){return r._sourceText.slice(r._start,r._pos);},this._start=0,this._pos=0,this._sourceText=t;}var t,r,i;return t=e,(r=[{key:"_testNextCharacter",value:function value(e){var t=this._sourceText.charAt(this._pos);return"string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t);}}])&&n(t.prototype,r),i&&n(t,i),e;}();function o(e){return{ofRule:e};}function a(e,t){return{ofRule:e,isList:!0,separator:t};}function s(e,t){var r=e.match;return e.match=function(e){var n=!1;return r&&(n=r(e)),n&&t.every(function(t){return t.match&&!t.match(e);});},e;}function l(e,t){return{style:t,match:function match(t){return t.kind===e;}};}function c(e,t){return{style:t||"punctuation",match:function match(t){return"Punctuation"===t.kind&&t.value===e;}};}var u,d=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"}),p=function p(e){return" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\uFEFF"===e||" "===e;},f={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},m={Document:[a("Definition")],Definition:function Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return d.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef";}},ShortQuery:["SelectionSet"],Query:[h("query"),o(g("def")),o("VariableDefinitions"),a("Directive"),"SelectionSet"],Mutation:[h("mutation"),o(g("def")),o("VariableDefinitions"),a("Directive"),"SelectionSet"],Subscription:[h("subscription"),o(g("def")),o("VariableDefinitions"),a("Directive"),"SelectionSet"],VariableDefinitions:[c("("),a("VariableDefinition"),c(")")],VariableDefinition:["Variable",c(":"),"Type",o("DefaultValue")],Variable:[c("$","variable"),g("variable")],DefaultValue:[c("="),"Value"],SelectionSet:[c("{"),a("Selection"),c("}")],Selection:function Selection(e,t){return"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field";},AliasedField:[g("property"),c(":"),g("qualifier"),o("Arguments"),a("Directive"),o("SelectionSet")],Field:[g("property"),o("Arguments"),a("Directive"),o("SelectionSet")],Arguments:[c("("),a("Argument"),c(")")],Argument:[g("attribute"),c(":"),"Value"],FragmentSpread:[c("..."),g("def"),a("Directive")],InlineFragment:[c("..."),o("TypeCondition"),a("Directive"),"SelectionSet"],FragmentDefinition:[h("fragment"),o(s(g("def"),[h("on")])),"TypeCondition",a("Directive"),"SelectionSet"],TypeCondition:[h("on"),"NamedType"],Value:function Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType";}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue";}return"null"===e.value?"NullValue":"EnumValue";}},NumberValue:[l("Number","number")],StringValue:[{style:"string",match:function match(e){return"String"===e.kind;},update:function update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'));}}],BooleanValue:[l("Name","builtin")],NullValue:[l("Name","keyword")],EnumValue:[g("string-2")],ListValue:[c("["),a("Value"),c("]")],ObjectValue:[c("{"),a("ObjectField"),c("}")],ObjectField:[g("attribute"),c(":"),"Value"],Type:function Type(e){return"["===e.value?"ListType":"NonNullType";},ListType:[c("["),"Type",c("]"),o(c("!"))],NonNullType:["NamedType",o(c("!"))],NamedType:[(u="atom",{style:u,match:function match(e){return"Name"===e.kind;},update:function update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value);}})],Directive:[c("@","meta"),g("meta"),o("Arguments")],DirectiveDef:[h("directive"),c("@","meta"),g("meta"),o("ArgumentsDef"),h("on"),a("DirectiveLocation",c("|"))],InterfaceDef:[h("interface"),g("atom"),o("Implements"),a("Directive"),c("{"),a("FieldDef"),c("}")],Implements:[h("implements"),a("NamedType",c("&"))],DirectiveLocation:[g("string-2")],SchemaDef:[h("schema"),a("Directive"),c("{"),a("OperationTypeDef"),c("}")],OperationTypeDef:[g("keyword"),c(":"),g("atom")],ScalarDef:[h("scalar"),g("atom"),a("Directive")],ObjectTypeDef:[h("type"),g("atom"),o("Implements"),a("Directive"),c("{"),a("FieldDef"),c("}")],FieldDef:[g("property"),o("ArgumentsDef"),c(":"),"Type",a("Directive")],ArgumentsDef:[c("("),a("InputValueDef"),c(")")],InputValueDef:[g("attribute"),c(":"),"Type",o("DefaultValue"),a("Directive")],UnionDef:[h("union"),g("atom"),a("Directive"),c("="),a("UnionMember",c("|"))],UnionMember:["NamedType"],EnumDef:[h("enum"),g("atom"),a("Directive"),c("{"),a("EnumValueDef"),c("}")],EnumValueDef:[g("string-2"),a("Directive")],InputDef:[h("input"),g("atom"),a("Directive"),c("{"),a("InputValueDef"),c("}")],ExtendDef:[h("extend"),"ObjectTypeDef"]};function h(e){return{style:"keyword",match:function match(t){return"Name"===t.kind&&t.value===e;}};}function g(e){return{style:e,match:function match(e){return"Name"===e.kind;},update:function update(e,t){e.name=t.value;}};}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{eatWhitespace:function eatWhitespace(e){return e.eatWhile(p);},lexRules:f,parseRules:m,editorConfig:{}};return{startState:function startState(){var t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return x(e.parseRules,t,d.DOCUMENT),t;},token:function token(t,r){return function(e,t,r){if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");var n=r.lexRules,i=r.parseRules,o=r.eatWhitespace,a=r.editorConfig;t.rule&&0===t.rule.length?k(t):t.needsAdvance&&(t.needsAdvance=!1,w(t,!0));if(e.sol()){var s=a&&a.tabSize||2;t.indentLevel=Math.floor(e.indentation()/s);}if(o(e))return"ws";var l=function(e,t){for(var r=Object.keys(e),n=0;n<r.length;n++){var i=t.match(e[r[n]]);if(i&&i instanceof Array)return{kind:r[n],value:i[0]};}}(n,e);if(!l){return e.match(/\S+/)||e.match(/\s/),x(b,t,"Invalid"),"invalidchar";}if("Comment"===l.kind)return x(b,t,"Comment"),"comment";var c=v({},t);if("Punctuation"===l.kind)if(/^[{([]/.test(l.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(l.value)){var u=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&u.length>0&&u[u.length-1]<t.indentLevel&&(t.indentLevel=u[u.length-1]);}for(;t.rule;){var d="function"==typeof t.rule?0===t.step?t.rule(l,e):null:t.rule[t.step];if(t.needsSeperator&&(d=d&&(null==d?void 0:d.separator)),d){if(d.ofRule&&(d=d.ofRule),"string"==typeof d){x(i,t,d);continue;}if(d.match&&d.match(l))return d.update&&d.update(t,l),"Punctuation"===l.kind?w(t,!0):t.needsAdvance=!0,d.style;}S(t);}return v(t,c),x(b,t,"Invalid"),"invalidchar";}(t,r,e);}};}function v(e,t){for(var r=Object.keys(t),n=0;n<r.length;n++){e[r[n]]=t[r[n]];}return e;}var b={Invalid:[],Comment:[]};function x(e,t,r){if(!e[r])throw new TypeError("Unknown rule: "+r);t.prevState=Object.assign({},t),t.kind=r,t.name=null,t.type=null,t.rule=e[r],t.step=0,t.needsSeperator=!1;}function k(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState);}function w(e,t){if(_(e)&&e.rule){var r=e.rule[e.step];if(r.separator){var n=r.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&n.ofRule)return;}if(t)return;}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);){k(e),e.rule&&(_(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++));}}function _(e){var t=Array.isArray(e.rule)&&"string"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList;}function S(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);){k(e);}e.rule&&w(e,!1);}var C={ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type"},T=Object.assign(Object.assign({},d),C);},9428:function _(e,t,r){"use strict";var n=r(2134);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s;}}function t(){return e;}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r;};},6526:function _(e,t,r){e.exports=r(9428)();},2134:function _(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";},1022:function _(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r){Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);}}return e;},n.apply(this,arguments);}function i(e){return i="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},i(e);}var _o2,a=(_o2=function o(e,t){return _o2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var r in t){t.hasOwnProperty(r)&&(e[r]=t[r]);}},_o2(e,t);},function(e,t){function r(){this.constructor=e;}_o2(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r());});t.fk=void 0;var s,l=r(6992),c="undefined"==typeof navigator||!0===r.g.PREVENT_CODEMIRROR_RENDER;c||(s=r(9074));var u=function(){function e(){}return e.equals=function(e,t){var r=this,n=Object.keys,o=i(e),a=i(t);return e&&t&&"object"===o&&o===a?n(e).length===n(t).length&&n(e).every(function(n){return r.equals(e[n],t[n]);}):e===t;},e;}(),d=function(){function e(e,t){this.editor=e,this.props=t;}return e.prototype.delegateCursor=function(e,t,r){var n=this.editor.getDoc();r&&this.editor.focus(),t?n.setCursor(e):n.setCursor(e,null,{scroll:!1});},e.prototype.delegateScroll=function(e){this.editor.scrollTo(e.x,e.y);},e.prototype.delegateSelection=function(e,t){this.editor.getDoc().setSelections(e),t&&this.editor.focus();},e.prototype.apply=function(e){e&&e.selection&&e.selection.ranges&&this.delegateSelection(e.selection.ranges,e.selection.focus||!1),e&&e.cursor&&this.delegateCursor(e.cursor,e.autoScroll||!1,this.editor.getOption("autofocus")||!1),e&&e.scroll&&this.delegateScroll(e.scroll);},e.prototype.applyNext=function(e,t,r){e&&e.selection&&e.selection.ranges&&t&&t.selection&&t.selection.ranges&&!u.equals(e.selection.ranges,t.selection.ranges)&&this.delegateSelection(t.selection.ranges,t.selection.focus||!1),e&&e.cursor&&t&&t.cursor&&!u.equals(e.cursor,t.cursor)&&this.delegateCursor(r.cursor||t.cursor,t.autoScroll||!1,t.autoCursor||!1),e&&e.scroll&&t&&t.scroll&&!u.equals(e.scroll,t.scroll)&&this.delegateScroll(t.scroll);},e.prototype.applyUserDefined=function(e,t){t&&t.cursor&&this.delegateCursor(t.cursor,e.autoScroll||!1,this.editor.getOption("autofocus")||!1);},e.prototype.wire=function(e){var t=this;Object.keys(e||{}).filter(function(e){return /^on/.test(e);}).forEach(function(e){switch(e){case"onBlur":t.editor.on("blur",function(e,r){t.props.onBlur(t.editor,r);});break;case"onContextMenu":t.editor.on("contextmenu",function(e,r){t.props.onContextMenu(t.editor,r);});break;case"onCopy":t.editor.on("copy",function(e,r){t.props.onCopy(t.editor,r);});break;case"onCursor":t.editor.on("cursorActivity",function(e){t.props.onCursor(t.editor,t.editor.getDoc().getCursor());});break;case"onCursorActivity":t.editor.on("cursorActivity",function(e){t.props.onCursorActivity(t.editor);});break;case"onCut":t.editor.on("cut",function(e,r){t.props.onCut(t.editor,r);});break;case"onDblClick":t.editor.on("dblclick",function(e,r){t.props.onDblClick(t.editor,r);});break;case"onDragEnter":t.editor.on("dragenter",function(e,r){t.props.onDragEnter(t.editor,r);});break;case"onDragLeave":t.editor.on("dragleave",function(e,r){t.props.onDragLeave(t.editor,r);});break;case"onDragOver":t.editor.on("dragover",function(e,r){t.props.onDragOver(t.editor,r);});break;case"onDragStart":t.editor.on("dragstart",function(e,r){t.props.onDragStart(t.editor,r);});break;case"onDrop":t.editor.on("drop",function(e,r){t.props.onDrop(t.editor,r);});break;case"onFocus":t.editor.on("focus",function(e,r){t.props.onFocus(t.editor,r);});break;case"onGutterClick":t.editor.on("gutterClick",function(e,r,n,i){t.props.onGutterClick(t.editor,r,n,i);});break;case"onInputRead":t.editor.on("inputRead",function(e,r){t.props.onInputRead(t.editor,r);});break;case"onKeyDown":t.editor.on("keydown",function(e,r){t.props.onKeyDown(t.editor,r);});break;case"onKeyHandled":t.editor.on("keyHandled",function(e,r,n){t.props.onKeyHandled(t.editor,r,n);});break;case"onKeyPress":t.editor.on("keypress",function(e,r){t.props.onKeyPress(t.editor,r);});break;case"onKeyUp":t.editor.on("keyup",function(e,r){t.props.onKeyUp(t.editor,r);});break;case"onMouseDown":t.editor.on("mousedown",function(e,r){t.props.onMouseDown(t.editor,r);});break;case"onPaste":t.editor.on("paste",function(e,r){t.props.onPaste(t.editor,r);});break;case"onRenderLine":t.editor.on("renderLine",function(e,r,n){t.props.onRenderLine(t.editor,r,n);});break;case"onScroll":t.editor.on("scroll",function(e){t.props.onScroll(t.editor,t.editor.getScrollInfo());});break;case"onSelection":t.editor.on("beforeSelectionChange",function(e,r){t.props.onSelection(t.editor,r);});break;case"onTouchStart":t.editor.on("touchstart",function(e,r){t.props.onTouchStart(t.editor,r);});break;case"onUpdate":t.editor.on("update",function(e){t.props.onUpdate(t.editor);});break;case"onViewportChange":t.editor.on("viewportChange",function(e,r,n){t.props.onViewportChange(t.editor,r,n);});}});},e;}(),p=function(e){function t(t){var r=e.call(this,t)||this;return c||(r.applied=!1,r.appliedNext=!1,r.appliedUserDefined=!1,r.deferred=null,r.emulating=!1,r.hydrated=!1,r.initCb=function(){r.props.editorDidConfigure&&r.props.editorDidConfigure(r.editor);},r.mounted=!1),r;}return a(t,e),t.prototype.hydrate=function(e){var t=this,r=e&&e.options?e.options:{},i=n({},s.defaults,this.editor.options,r);Object.keys(i).some(function(e){return t.editor.getOption(e)!==i[e];})&&Object.keys(i).forEach(function(e){r.hasOwnProperty(e)&&t.editor.getOption(e)!==i[e]&&(t.editor.setOption(e,i[e]),t.mirror.setOption(e,i[e]));}),this.hydrated||(this.deferred?this.resolveChange(e.value):this.initChange(e.value||"")),this.hydrated=!0;},t.prototype.initChange=function(e){this.emulating=!0;var t=this.editor.getDoc(),r=t.lastLine(),n=t.getLine(t.lastLine()).length;t.replaceRange(e||"",{line:0,ch:0},{line:r,ch:n}),this.mirror.setValue(e),t.clearHistory(),this.mirror.clearHistory(),this.emulating=!1;},t.prototype.resolveChange=function(e){this.emulating=!0;var t=this.editor.getDoc();if("undo"===this.deferred.origin?t.undo():"redo"===this.deferred.origin?t.redo():t.replaceRange(this.deferred.text,this.deferred.from,this.deferred.to,this.deferred.origin),e&&e!==t.getValue()){var r=t.getCursor();t.setValue(e),t.setCursor(r);}this.emulating=!1,this.deferred=null;},t.prototype.mirrorChange=function(e){var t=this.editor.getDoc();return"undo"===e.origin?(t.setHistory(this.mirror.getHistory()),this.mirror.undo()):"redo"===e.origin?(t.setHistory(this.mirror.getHistory()),this.mirror.redo()):this.mirror.replaceRange(e.text,e.from,e.to,e.origin),this.mirror.getValue();},t.prototype.componentDidMount=function(){var e=this;c||(this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&s.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=s(this.ref,this.props.options),this.shared=new d(this.editor,this.props),this.mirror=s(function(){},this.props.options),this.editor.on("electricInput",function(){e.mirror.setHistory(e.editor.getDoc().getHistory());}),this.editor.on("cursorActivity",function(){e.mirror.setCursor(e.editor.getDoc().getCursor());}),this.editor.on("beforeChange",function(t,r){if(!e.emulating){r.cancel(),e.deferred=r;var n=e.mirrorChange(e.deferred);e.props.onBeforeChange&&e.props.onBeforeChange(e.editor,e.deferred,n);}}),this.editor.on("change",function(t,r){e.mounted&&e.props.onChange&&e.props.onChange(e.editor,r,e.editor.getValue());}),this.hydrate(this.props),this.shared.apply(this.props),this.applied=!0,this.mounted=!0,this.shared.wire(this.props),this.editor.getOption("autofocus")&&this.editor.focus(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb));},t.prototype.componentDidUpdate=function(e){if(!c){var t={cursor:null};this.props.value!==e.value&&(this.hydrated=!1),this.props.autoCursor||void 0===this.props.autoCursor||(t.cursor=this.editor.getDoc().getCursor()),this.hydrate(this.props),this.appliedNext||(this.shared.applyNext(e,this.props,t),this.appliedNext=!0),this.shared.applyUserDefined(e,t),this.appliedUserDefined=!0;}},t.prototype.componentWillUnmount=function(){c||this.props.editorWillUnmount&&this.props.editorWillUnmount(s);},t.prototype.shouldComponentUpdate=function(e,t){return!c;},t.prototype.render=function(){var e=this;if(c)return null;var t=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return l.createElement("div",{className:t,ref:function ref(t){return e.ref=t;}});},t;}(l.Component);t.fk=p,function(e){function t(t){var r=e.call(this,t)||this;return c||(r.applied=!1,r.appliedUserDefined=!1,r.continueChange=!1,r.detached=!1,r.hydrated=!1,r.initCb=function(){r.props.editorDidConfigure&&r.props.editorDidConfigure(r.editor);},r.mounted=!1,r.onBeforeChangeCb=function(){r.continueChange=!0;}),r;}a(t,e),t.prototype.hydrate=function(e){var t=this,r=e&&e.options?e.options:{},i=n({},s.defaults,this.editor.options,r);if(Object.keys(i).some(function(e){return t.editor.getOption(e)!==i[e];})&&Object.keys(i).forEach(function(e){r.hasOwnProperty(e)&&t.editor.getOption(e)!==i[e]&&t.editor.setOption(e,i[e]);}),!this.hydrated){var o=this.editor.getDoc(),a=o.lastLine(),l=o.getLine(o.lastLine()).length;o.replaceRange(e.value||"",{line:0,ch:0},{line:a,ch:l});}this.hydrated=!0;},t.prototype.componentDidMount=function(){var e=this;c||(this.detached=!0===this.props.detach,this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&s.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=s(this.ref,this.props.options),this.shared=new d(this.editor,this.props),this.editor.on("beforeChange",function(t,r){e.props.onBeforeChange&&e.props.onBeforeChange(e.editor,r,e.editor.getValue(),e.onBeforeChangeCb);}),this.editor.on("change",function(t,r){e.mounted&&e.props.onChange&&(e.props.onBeforeChange?e.continueChange&&e.props.onChange(e.editor,r,e.editor.getValue()):e.props.onChange(e.editor,r,e.editor.getValue()));}),this.hydrate(this.props),this.shared.apply(this.props),this.applied=!0,this.mounted=!0,this.shared.wire(this.props),this.editor.getDoc().clearHistory(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb));},t.prototype.componentDidUpdate=function(e){if(this.detached&&!1===this.props.detach&&(this.detached=!1,e.editorDidAttach&&e.editorDidAttach(this.editor)),this.detached||!0!==this.props.detach||(this.detached=!0,e.editorDidDetach&&e.editorDidDetach(this.editor)),!c&&!this.detached){var t={cursor:null};this.props.value!==e.value&&(this.hydrated=!1,this.applied=!1,this.appliedUserDefined=!1),e.autoCursor||void 0===e.autoCursor||(t.cursor=this.editor.getDoc().getCursor()),this.hydrate(this.props),this.applied||(this.shared.apply(e),this.applied=!0),this.appliedUserDefined||(this.shared.applyUserDefined(e,t),this.appliedUserDefined=!0);}},t.prototype.componentWillUnmount=function(){c||this.props.editorWillUnmount&&this.props.editorWillUnmount(s);},t.prototype.shouldComponentUpdate=function(e,t){var r=!0;return c&&(r=!1),this.detached&&e.detach&&(r=!1),r;},t.prototype.render=function(){var e=this;if(c)return null;var t=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return l.createElement("div",{className:t,ref:function ref(t){return e.ref=t;}});};}(l.Component);},4190:function _(e){e.exports={theme:"material-palenight",tabSize:2,lineNumbers:!0};},559:function _(e){var t={aspx:"asp",bash:"shell","c++":"cplusplus","c#":"csharp",clj:"clojure",cljc:"clojure",cljx:"clojure",coffeescript:"javascript",cpp:"cplusplus",cql:"sql",cs:"csharp",docker:"dockerfile",ecmascript:"javascript",erl:"erlang",gql:"graphql",gradle:"groovy",handlebars:"html",hbs:"html",jl:"julia",jruby:"ruby",js:"javascript",kt:"kotlin",less:"css",macruby:"ruby",md:"markdown",ml:"ocaml",mssql:"sql",mysql:"sql",node:"javascript","obj-c":"objectivec","obj-c++":"objectivecplusplus","objc++":"objectivecplusplus",objc:"objectivec",objcpp:"objectivecplusplus",objectivecpp:"objectivecplusplus",pgsql:"sql",pl:"perl",plsql:"sql",postgres:"sql",postgresql:"sql",ps1:"powershell",py:"python",rake:"ruby",rb:"ruby",rbx:"ruby",rs:"rust",sass:"css",scss:"css",sh:"shell",solidity:"sol",sqlite:"sql",styl:"css",stylus:"css",xhtml:"html",yml:"yaml",zsh:"shell"};e.exports=function(e){return e in t?t[e]:e;};},5355:function _(e,t,r){r(1736),r(742),r(6461),r(1702),r(5844),r(5855),r(119),r(9555),r(410),r(3394),r(5372),r(9965),r(2375),r(2557),r(4581),r(7014),r(1716),r(3612),r(1459),r(7568),r(8446),r(8021),r(8058),r(4949),r(6906),r(1878),r(356),r(9393),r(9338),r(3833);},7476:function _(e){function t(e,t){return function(e){if(Array.isArray(e))return e;}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0){;}}catch(e){s=!0,i=e;}finally{try{a||null==r.return||r.return();}finally{if(s)throw i;}}return o;}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t);}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++){n[r]=e[r];}return n;}var n={asp:"clike",aspx:"clike",bash:"shell",c:"clike","c#":["clike","text/x-csharp"],"c++":["clike","text/x-c++src"],clj:"clojure",cljc:"clojure",cljx:"clojure",coffeescript:"javascript",cplusplus:["clike","text/x-c++src"],cpp:["clike","text/x-c++src"],cql:["sql","text/x-cassandra"],cs:["clike","text/x-csharp"],csharp:["clike","text/x-csharp"],curl:"shell",d:"d",diff:"diff",ecmascript:"javascript",erl:"erlang",go:["go","text/x-go"],gradle:"groovy",gql:"graphql",handlebars:"htmlmixed",hbs:"htmlmixed",html:"htmlmixed",java:["clike","text/x-java"],jl:"julia",js:"javascript",jsx:"jsx",json:["javascript","application/ld+json"],jruby:"ruby",kotlin:["clike","text/x-kotlin"],kt:["clike","text/x-kotlin"],less:"css",liquid:"htmlmixed",lua:"lua",node:"javascript",macruby:"ruby",markdown:"gfm",ml:["mllike","text/x-ocaml"],mssql:["sql","text/x-mssql"],mysql:["sql","text/x-mysql"],objc:["clike","text/x-objectivec"],"objc++":["clike","text/x-objectivec++"],objcpp:["clike","text/x-objectivec++"],objectivec:["clike","text/x-objectivec"],objectivecpp:["clike","text/x-objectivec++"],objectivecplusplus:["clike","text/x-objectivec++"],ocaml:["mllike","text/x-ocaml"],php:["php","text/x-php"],pgsql:["sql","text/x-pgsql"],pl:"perl",plsql:["sql","text/x-plsql"],postgres:["sql","text/x-pgsql"],postgresql:["sql","text/x-pgsql"],ps1:"powershell",py:"python",r:"r",rake:"ruby",rb:"ruby",rbx:"ruby",rs:"rust",sass:"css",scala:["clike","text/x-scala"],scss:"css",sh:"shell",sol:"solidity",solidity:"solidity",sql:["sql","text/x-sql"],sqlite:["sql","text/x-sqlite"],styl:"css",stylus:"css",text:["null","text/plain"],ts:["javascript","text/typescript"],typescript:["javascript","text/typescript"],xhtml:"htmlmixed",yml:"yaml",zsh:"shell"};e.exports={modes:n,getMode:function getMode(e){var r=e;return r in n&&(r=n[r],Array.isArray(r)&&(r=t(r,2)[1])),r;}};},3833:function _(e,t,r){var n,i,o,a;function s(e){return s="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return _typeof(e);}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":_typeof(e);},s(e);}e=r.nmd(e),a=function a(e){e.defineMode("solidity",function(t){var r,n=t.indentUnit,i={pragma:!0,solidity:!0,import:!0,as:!0,from:!0,contract:!0,constructor:!0,is:!0,function:!0,modifier:!0,pure:!0,view:!0,payable:!0,constant:!0,anonymous:!0,indexed:!0,returns:!0,return:!0,event:!0,struct:!0,mapping:!0,interface:!0,using:!0,library:!0,storage:!0,memory:!0,calldata:!0,public:!0,private:!0,external:!0,internal:!0,emit:!0,assembly:!0,abstract:!0,after:!0,catch:!0,final:!0,in:!0,inline:!0,let:!0,match:!0,null:!0,of:!0,relocatable:!0,static:!0,try:!0,typeof:!0,var:!0},o={pragma:!0,returns:!0,address:!0,contract:!0,function:!0,struct:!0},a={wei:!0,szabo:!0,finney:!0,ether:!0},s={seconds:!0,minutes:!0,hours:!0,days:!0,weeks:!0},l={block:["coinbase","difficulty","gaslimit","number","timestamp"],msg:["data","sender","sig","value"],tx:["gasprice","origin"]},c={now:!0,gasleft:!0,blockhash:!0},u={assert:!0,require:!0,revert:!0,throw:!0},d={addmod:!0,mulmod:!0,keccak256:!0,sha256:!0,ripemd160:!0,ecrecover:!0},p={this:!0,selfdestruct:!0,super:!0},f={type:!0},m={},h={if:!0,else:!0,while:!0,do:!0,for:!0,break:!0,continue:!0,switch:!0,case:!0,default:!0},g={bool:!0,byte:!0,string:!0,enum:!0,address:!0},y={alias:!0,apply:!0,auto:!0,copyof:!0,define:!0,immutable:!0,implements:!0,macro:!0,mutable:!0,override:!0,partial:!0,promise:!0,reference:!0,sealed:!0,sizeof:!0,supports:!0,typedef:!0,unchecked:!0},v={abi:["decode","encodePacked","encodeWithSelector","encodeWithSignature","encode"]},b=["transfer","send","balance","call","delegatecall","staticcall"],x=["title","author","notice","dev","param","return"],k={delete:!0,new:!0,true:!0,false:!0},w=/[+\-*&^%:=<>!|\/~]/,_=/[-]/;function S(e,t){var n,M=e.next();if('"'==M||"'"==M||"`"==M)return t.tokenize=(n=M,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break;}i=!i&&"`"!=n&&"\\"==r;}return(o||!i&&"`"!=n)&&(t.tokenize=S),"string";}),t.tokenize(e,t);if(function(e,t){if("pragma solidity"==t.lastToken)return t.lastToken=null,!t.startOfLine&&(e.match(/[\^{0}][0-9\.]+/)||e.match(/[\>\=]+?[\s]*[0-9\.]+[\s]*[\<]?[\s]*[0-9\.]+/));}(e,t))return"version";if("."==M&&b.some(function(t){return e.match("".concat(t));}))return"addressFunction";if(T(M,e))return"number";if(/[\[\]{}\(\),;\:\.]/.test(M))return function(e,t){return","==e&&"functionName(variable"==t.para&&(t.para="functionName("),null!=t.para&&t.para.startsWith("functionName")&&(")"==e?t.para.endsWith("(")&&(t.para=t.para.substr(0,t.para.length-1),"functionName"==t.para&&(t.grammar="")):"("==e&&(t.para+=e)),"("==e&&"functionName"==t.lastToken?t.lastToken+=e:")"==e&&"functionName("==t.lastToken?t.lastToken=null:"("==e&&"returns"==t.lastToken?t.lastToken+=e:")"!=e||"returns("!=t.lastToken&&"returns(variable"!=t.lastToken||(t.lastToken=null),"("==e&&"address"==t.lastToken&&(t.lastToken+=e),r=e,null;}(M,t);if("/"==M){if(e.eat("*"))return t.tokenize=C,C(e,t);if(e.match(/\/{2}/)){for(;M=e.next();){if("@"==M){e.backUp(1),t.grammar="doc";break;}}return"doc";}if(e.eat("/"))return e.skipToEnd(),"comment";}if(_.test(M))return T(e.peek(),e)?"number":"operator";if(w.test(M))return e.eatWhile(w),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var E=e.current();if("doc"==t.grammar)return x.some(function(e){return E=="@".concat(e);})?"docReserve":"doc";if("solidity"===E&&"pragma"==t.lastToken&&(t.lastToken=t.lastToken+" "+E),i.propertyIsEnumerable(E))return"case"!=E&&"default"!=E||(r="case"),o.propertyIsEnumerable(E)&&(t.lastToken=E),"keyword";if(a.propertyIsEnumerable(E))return"etherUnit";if(p.propertyIsEnumerable(E))return"contractRelated";if(h.propertyIsEnumerable(E)||f.propertyIsEnumerable(E)||y.propertyIsEnumerable(E))return"keyword";if(g.propertyIsEnumerable(E)||s.propertyIsEnumerable(E)||function(e){if(e.match(/^[u]?int/)){if(e.indexOf("t")+1==e.length)return!0;var t=e.substr(e.indexOf("t")+1,e.length);return t%8==0&&t<=256;}}(E)||function(e){if(e.match(/^bytes/))return e.indexOf("s")+1==e.length||e.substr(e.indexOf("s")+1,e.length)<=32;}(E)||function(e){if(e.match(/^[u]?fixed([0-9]+x[0-9]+)?/)){if(e.indexOf("d")+1==e.length)return!0;var t=e.substr(e.indexOf("d")+1,e.length).split("x");return t[0]%8==0&&t[0]<=256&&t[1]<=80;}}(E))return t.lastToken=t.lastToken+"variable","keyword";if(k.propertyIsEnumerable(E))return"atom";if(u.propertyIsEnumerable(E))return"errorHandling";if(d.propertyIsEnumerable(E))return"mathematicalAndCryptographic";if(c.propertyIsEnumerable(E)||l.hasOwnProperty(E)&&l[E].some(function(t){return e.match(".".concat(t));}))return"variable-2";if(v.hasOwnProperty(E)&&v[E].some(function(t){return e.match(".".concat(t));}))return"abi";var L=function(e,t){if(e.match(/^hex/)&&'"'==t.peek())for(var r,n=!1,i="";r=t.next();){if(i+=r,'"'==r&&n){if(i.substring(1,i.length-1).match(/^[0-9a-fA-F]+$/))return"number";t.backUp(i.length);break;}n=n||'"'==r;}}(E,e);return null!=L?L:"functionName("!=t.lastToken&&"returns("!=t.lastToken||!m.propertyIsEnumerable(E)?"function"==t.lastToken?(t.lastToken="functionName",null==t.para&&(t.grammar="function",t.para=""),t.para+="functionName","functionName"):"functionName(variable"==t.lastToken?(t.lastToken="functionName(","parameterValue"):"returns(variable"==t.lastToken?(t.lastToken="returns(","parameterValue"):("address"==t.lastToken&&"payable"==E&&(t.lastToken="address payable"),"contract"!=t.lastToken&&"struct"!=t.lastToken||(m[E]=!0,t.lastToken=null),"function"==t.grammar?"parameterValue":"variable"):(t.lastToken+="variable","variable");}function C(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=S;break;}n="*"==r;}return"comment";}function T(e,t){if(/[\d\.]/.test(e))return"."==e?t.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==e?t.match(/^[xX][0-9a-fA-F]+/)||t.match(/^0[0-7]+/):t.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),!0;}function M(e,t,r,n,i){this.indented=e,this.column=t,this.type=r,this.align=n,this.prev=i;}function E(e,t,r){return e.context=new M(e.indented,t,r,null,e.context);}function L(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev;}}return{startState:function startState(e){return{tokenize:null,context:new M((e||0)-n,0,"top",!1),indented:0,startOfLine:!0};},token:function token(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==n.type&&(n.type="}"),"doc"==t.grammar&&(t.grammar=null)),e.eatSpace())return null;r=null;var i=(t.tokenize||S)(e,t);return"comment"==i||(null==n.align&&(n.align=!0),"{"==r?E(t,e.column(),"}"):"["==r?E(t,e.column(),"]"):"("==r?E(t,e.column(),")"):"case"==r?n.type="case":("}"==r&&"}"==n.type||r==n.type)&&L(t),t.startOfLine=!1),i;},indent:function indent(t,r){if(t.tokenize!=S&&null!=t.tokenize)return e.Pass;var i=t.context,o=r&&r.charAt(0);if("case"==i.type&&/^(?:case|default)\b/.test(r))return t.context.type="}",i.indented;var a=o==i.type;return i.align?i.column+(a?0:1):i.indented+(a?0:n);},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"};}),e.defineMIME("text/x-solidity","solidity");},"object"===s(t)&&"object"===s(e)?a(r(9074)):(i=[r(9074)],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o));},5857:function _(e){var t={asp:"ASP.NET",aspx:"ASP.NET",bash:"Bash",c:"C","c#":"C#","c++":"C++",coffeescript:"CoffeeScript",clj:"Clojure",cljc:"Clojure",cljx:"Clojure",clojure:"Clojure",cplusplus:"C++",cpp:"C++",cql:"Cassandra",cs:"C#",csharp:"C#",css:"CSS",curl:"cURL",d:"D",dart:"Dart",diff:"Diff",dockerfile:"Dockerfile",ecmascript:"ECMAScript",erl:"Erlang",erlang:"Erlang",go:"Go",gql:"GraphQL",gradle:"Gradle",graphql:"GraphQL",groovy:"Groovy",handlebars:"Handlebars",hbs:"Handlebars",haml:"HAML",haxe:"Haxe",html:"HTML",http:"HTTP",java:"Java",javascript:"JavaScript",jinja2:"Jinja2",jl:"Julia",jruby:"JRuby",js:"JavaScript",json:"JSON",jsx:"JSX",julia:"Julia",kotlin:"Kotlin",kt:"Kotlin",less:"LESS",liquid:"Liquid",lua:"Lua",macruby:"MacRuby",markdown:"Markdown",md:"Markdown",ml:"OCaml",mssql:"SQL Server",mysql:"MySQL",node:"Node",objc:"Objective-C","objc++":"Objective-C++",objcpp:"Objective-C++",objectivec:"Objective-C",objectivecpp:"Objective-C++",objectivecplusplus:"Objective-C++",ocaml:"OCaml",perl:"Perl",php:"PHP",pl:"Perl",pgsql:"PL/pgSQL",plsql:"PL/SQL",postgres:"PostgreSQL",postgresql:"PostgreSQL",powershell:"PowerShell",ps1:"PowerShell",python:"Python",py:"Python",r:"R",rake:"Rake",rb:"Ruby",rbx:"Rubinius",rs:"Rust",ruby:"Ruby",rust:"Rust",sass:"Sass",scala:"Scala",scss:"SCSS",sh:"Shell",shell:"Shell",smarty:"Smarty",solidity:"Solidity",sql:"SQL",sqlite:"SQLite",stylus:"Stylus",styl:"Stylus",swift:"Swift",text:"Text",toml:"TOML",twig:"Twig",typescript:"TypeScript",xhtml:"XHTML",xml:"XML",yaml:"YAML",yml:"YAML",zsh:"Zsh"};e.exports=function(e){return e in t?t[e]:e;};},9061:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,'.CodeMirror-foldmarker {\n color: blue;\n text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\n font-family: arial;\n line-height: .3;\n cursor: pointer;\n}\n.CodeMirror-foldgutter {\n width: .7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n content: "\\25BE";\n}\n.CodeMirror-foldgutter-folded:after {\n content: "\\25B8";\n}\n',""]);var s=a;},1240:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,"/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 50px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -50px; margin-right: -50px;\n padding-bottom: 50px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 50px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -50px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre.CodeMirror-line,\n.CodeMirror-wrap pre.CodeMirror-line-like {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n",""]);var s=a;},9783:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,"/*\n Name: material\n Author: Mattia Astorino (http://github.com/equinusocio)\n Website: https://material-theme.site/\n*/\n\n.cm-s-material-palenight.CodeMirror {\n background-color: #292D3E;\n color: #A6ACCD;\n}\n\n.cm-s-material-palenight .CodeMirror-gutters {\n background: #292D3E;\n color: #676E95;\n border: none;\n}\n\n.cm-s-material-palenight .CodeMirror-guttermarker,\n.cm-s-material-palenight .CodeMirror-guttermarker-subtle,\n.cm-s-material-palenight .CodeMirror-linenumber {\n color: #676E95;\n}\n\n.cm-s-material-palenight .CodeMirror-cursor {\n border-left: 1px solid #FFCC00;\n}\n\n.cm-s-material-palenight div.CodeMirror-selected {\n background: rgba(113, 124, 180, 0.2);\n}\n\n.cm-s-material-palenight.CodeMirror-focused div.CodeMirror-selected {\n background: rgba(113, 124, 180, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-line::selection,\n.cm-s-material-palenight .CodeMirror-line>span::selection,\n.cm-s-material-palenight .CodeMirror-line>span>span::selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-line::-moz-selection,\n.cm-s-material-palenight .CodeMirror-line>span::-moz-selection,\n.cm-s-material-palenight .CodeMirror-line>span>span::-moz-selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material-palenight .CodeMirror-activeline-background {\n background: rgba(0, 0, 0, 0.5);\n}\n\n.cm-s-material-palenight .cm-keyword {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-operator {\n color: #89DDFF;\n}\n\n.cm-s-material-palenight .cm-variable-2 {\n color: #EEFFFF;\n}\n\n.cm-s-material-palenight .cm-variable-3,\n.cm-s-material-palenight .cm-type {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-builtin {\n color: #FFCB6B;\n}\n\n.cm-s-material-palenight .cm-atom {\n color: #F78C6C;\n}\n\n.cm-s-material-palenight .cm-number {\n color: #FF5370;\n}\n\n.cm-s-material-palenight .cm-def {\n color: #82AAFF;\n}\n\n.cm-s-material-palenight .cm-string {\n color: #C3E88D;\n}\n\n.cm-s-material-palenight .cm-string-2 {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-comment {\n color: #676E95;\n}\n\n.cm-s-material-palenight .cm-variable {\n color: #f07178;\n}\n\n.cm-s-material-palenight .cm-tag {\n color: #FF5370;\n}\n\n.cm-s-material-palenight .cm-meta {\n color: #FFCB6B;\n}\n\n.cm-s-material-palenight .cm-attribute {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-property {\n color: #C792EA;\n}\n\n.cm-s-material-palenight .cm-qualifier {\n color: #DECB6B;\n}\n\n.cm-s-material-palenight .cm-variable-3,\n.cm-s-material-palenight .cm-type {\n color: #DECB6B;\n}\n\n\n.cm-s-material-palenight .cm-error {\n color: rgba(255, 255, 255, 1.0);\n background-color: #FF5370;\n}\n\n.cm-s-material-palenight .CodeMirror-matchingbracket {\n text-decoration: underline;\n color: white !important;\n}",""]);var s=a;},1899:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,"/* neo theme for codemirror */\n\n/* Color scheme */\n\n.cm-s-neo.CodeMirror {\n background-color:#ffffff;\n color:#2e383c;\n line-height:1.4375;\n}\n.cm-s-neo .cm-comment { color:#75787b; }\n.cm-s-neo .cm-keyword, .cm-s-neo .cm-property { color:#1d75b3; }\n.cm-s-neo .cm-atom,.cm-s-neo .cm-number { color:#75438a; }\n.cm-s-neo .cm-node,.cm-s-neo .cm-tag { color:#9c3328; }\n.cm-s-neo .cm-string { color:#b35e14; }\n.cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier { color:#047d65; }\n\n\n/* Editor styling */\n\n.cm-s-neo pre {\n padding:0;\n}\n\n.cm-s-neo .CodeMirror-gutters {\n border:none;\n border-right:10px solid transparent;\n background-color:transparent;\n}\n\n.cm-s-neo .CodeMirror-linenumber {\n padding:0;\n color:#e0e2e5;\n}\n\n.cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; }\n.cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; }\n\n.cm-s-neo .CodeMirror-cursor {\n width: auto;\n border: 0;\n background: rgba(155,157,162,0.37);\n z-index: 1;\n}\n",""]);var s=a;},787:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,".CodeMirror-simplescroll-horizontal div,.CodeMirror-simplescroll-vertical div{position:absolute;background:#ccc;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #bbb;border-radius:2px}.CodeMirror-simplescroll-horizontal,.CodeMirror-simplescroll-vertical{position:absolute;z-index:6;background:#eee}.CodeMirror-simplescroll-horizontal{bottom:0;left:0;height:8px}.CodeMirror-simplescroll-horizontal div{bottom:0;height:100%}.CodeMirror-simplescroll-vertical{right:0;top:0;width:8px}.CodeMirror-simplescroll-vertical div{right:0;width:100%}.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler,.CodeMirror-overlayscroll .CodeMirror-gutter-filler{display:none}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{position:absolute;background:#bcd;border-radius:3px}.CodeMirror-overlayscroll-horizontal,.CodeMirror-overlayscroll-vertical{position:absolute;z-index:6}.CodeMirror-overlayscroll-horizontal{bottom:0;left:0;height:6px}.CodeMirror-overlayscroll-horizontal div{bottom:0;height:100%}.CodeMirror-overlayscroll-vertical{right:0;top:0;width:6px}.CodeMirror-overlayscroll-vertical div{right:0;width:100%}\n",""]);var s=a;},9633:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return p;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o),s=r(1240),l=r(9783),c=r(1899),u=r(9061),d=a()(i());d.i(s.Z),d.i(l.Z),d.i(c.Z),d.i(u.Z),d.push([e.id,".CodeEditor{}\n",""]);var p=d;},3223:function _(e,t,r){"use strict";r.d(t,{Z:function Z(){return s;}});var n=r(7499),i=r.n(n),o=r(8922),a=r.n(o)()(i());a.push([e.id,".CodeEditor.cm-s-material-palenight:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay,.CodeEditor.cm-s-material-palenight:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay>span,.CodeEditor.cm-s-material-palenight:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay>p{color:rgba(255,255,255,0.5)}.CodeEditor.cm-s-material-palenight .cm-highlight{background:rgba(0,0,0,0.25)}.CodeEditor.cm-s-material-palenight .CodeMirror{background:#242e34;color:#fff}.CodeEditor.cm-s-neo:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay,.CodeEditor.cm-s-neo:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay>span,.CodeEditor.cm-s-neo:not(.CodeEditor-Input_highlight) .cm-linerow.cm-overlay>p{color:rgba(0,0,0,0.5)}.CodeEditor.cm-s-neo .cm-highlight{background:rgba(0,0,0,0.1)}.CodeEditor.cm-s-neo .CodeMirror{background:#fff;color:#000}.CodeEditor .cm-linerow.cm-overlay,.CodeEditor .cm-linerow.cm-overlay .cm-lineNumber{opacity:0.75}.CodeMirror-scrollbar-filler{display:none !important}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{background:rgba(202,202,202,0.5) !important}.cm-linerow{position:relative;text-indent:47px;transition:background 0.5s cubic-bezier(0.16, 1, 0.3, 1),color 0.5s cubic-bezier(0.16, 1, 0.3, 1),opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1)}.cm-linerow>span,.cm-linerow>p{transition:color 0.5s cubic-bezier(0.16, 1, 0.3, 1)}.cm-lineNumber{color:#676e95;display:inline-block;left:0;margin:0;min-width:43px;padding:0 6px 0 10px;position:absolute;right:auto;text-align:right;text-indent:0;top:0;transition:opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}\n",""]);var s=a;},3379:function _(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++){if(t[n].identifier===e){r=n;break;}}return r;}function n(e,n){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=r(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var m=i(f,n);n.byIndex=s,t.splice(s,0,{identifier:d,updater:m,references:1});}a.push(d);}return a;}function i(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t);}else r.remove();};}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=r(o[a]);t[s].references--;}for(var l=n(e,i),c=0;c<o.length;c++){var u=r(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1));}o=l;};};},569:function _(e){"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head;}catch(e){r=null;}t[e]=r;}return t[e];}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r);};},9216:function _(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t;};},3565:function _(e,t,r){"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t);};},7795:function _(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function update(){},remove:function remove(){}};var t=e.insertStyleElement(e);return{update:function update(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options);}(t,e,r);},remove:function remove(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);}(t);}};};},4589:function _(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;){t.removeChild(t.firstChild);}t.appendChild(document.createTextNode(e));}};},6992:function _(e){"use strict";e.exports=__webpack_require__(4466);}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports;}r.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return r.d(t,{a:t}),t;},r.d=function(e,t){for(var n in t){r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]});}},r.g=function(){if("object"==(typeof globalThis==="undefined"?"undefined":_typeof(globalThis)))return globalThis;try{return this||new Function("return this")();}catch(e){if("object"==(typeof window==="undefined"?"undefined":_typeof(window)))return window;}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e;},r.nc=void 0;var n={};(function(){"use strict";r.r(n),r.d(n,{canonical:function canonical(){return J();},cmVariableContext:function cmVariableContext(){return I.VariablesContext;},default:function _default(){return oe;},modes:function modes(){return s.modes;},uppercase:function uppercase(){return te();}});var e=r(6992),t=r.n(e),i=r(6526),o=r.n(i),a=r(1022),s=(r(5355),r(7476)),l=r(4190),c=r.n(l),u=r(3379),d=r.n(u),p=r(7795),f=r.n(p),m=r(569),h=r.n(m),g=r(3565),y=r.n(g),v=r(9216),b=r.n(v),x=r(4589),k=r.n(x),w=r(9633),_={};_.styleTagTransform=k(),_.setAttributes=y(),_.insert=h().bind(null,"head"),_.domAPI=f(),_.insertStyleElement=b();d()(w.Z,_);w.Z&&w.Z.locals&&w.Z.locals;var S=["className","code","lang","options","children","theme"];function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r){Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);}}return e;},C.apply(this,arguments);}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),r.push.apply(r,n);}return r;}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){E(e,t,r[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t));});}return e;}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;}function L(e,t){return function(e){if(Array.isArray(e))return e;}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0){;}}catch(e){s=!0,i=e;}finally{try{a||null==r.return||r.return();}finally{if(s)throw i;}}return o;}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return z(e,t);}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++){n[r]=e[r];}return n;}function O(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++){r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);}return i;}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++){r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);}}return i;}var A=function A(r){r.className;var n=r.code,i=r.lang,o=r.options,l=r.children,u=r.theme,d=O(r,S),p=L((0,e.useState)(l&&"string"==typeof l?l:n),2),f=p[0],m=p[1],h=L((0,e.useState)((0,s.getMode)(i)),2),g=h[0],y=h[1];return(0,e.useEffect)(function(){m(l&&"string"==typeof l?l:n);},[n,l]),(0,e.useEffect)(function(){y(function(e){var t=(0,s.getMode)(i);return t!==e?t:e;});},[i]),t().createElement(a.fk,C({},d,{className:"CodeEditor",onBeforeChange:function onBeforeChange(e,t,r){return m(r);},options:M(M(M({},c()),o),{},{mode:g,theme:u}),value:f}));};A.propTypes={children:o().string,className:o().string,code:o().string,lang:o().string,options:o().object,theme:o().oneOf(["neo","material-palenight","tomorrow-night"])},A.defaultProps={className:"",code:"",options:{},theme:"material-palenight"};var N=A,I=__webpack_require__(3689);var D=r.n(I),P=r(9074),j=r.n(P),q=(r(2661),r(5365),r(622),r(7650),r(787)),F={};F.styleTagTransform=k(),F.setAttributes=y(),F.insert=h().bind(null,"head"),F.domAPI=f(),F.insertStyleElement=b();d()(q.Z,F);q.Z&&q.Z.locals&&q.Z.locals;r(318);var R=r(3223),W={};W.styleTagTransform=k(),W.setAttributes=y(),W.insert=h().bind(null,"head"),W.domAPI=f(),W.insertStyleElement=b();d()(R.Z,W);R.Z&&R.Z.locals&&R.Z.locals;function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),r.push.apply(r,n);}return r;}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;}function H(e,t){return function(e){if(Array.isArray(e))return e;}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0){;}}catch(e){s=!0,i=e;}finally{try{a||null==r.return||r.return();}finally{if(s)throw i;}}return o;}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return B(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return B(e,t);}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++){n[r]=e[r];}return n;}var V=function V(e){return t().createElement("span",{key:"ln-".concat(e),className:"cm-lineNumber"},e);},G=function G(e){var r=e.className,n=e.child;return t().createElement("div",{className:r},n);};G.propTypes={child:o().any,className:o().string};var K=function K(e){var r=e.gutteredInput,n=e.highlights,i=void 0===n?[]:n;return r.map(function(e,r){return t().createElement(G,{key:"cm-wrapped-".concat(r),child:e,className:["cm-linerow",i.length?i[r]:""].join(" ")});});};K.propTypes={gutteredInput:o().any,highlights:o().arrayOf(o().string)};var Z=function Z(e){var r=e.output,n=e.ranges,i=/\r?\n/,o=[],a=[],s=1,l=function l(e){e&&a.push("\n"),o.push(a),a=[V(s+=1)];},c=function c(e,t){1===e.length&&i.test(e)?l(!0):e.split(i).forEach(function(e){e.length?(a.push(e),t&&l()):l(!0);});};r.unshift(V(1)),r.forEach(function(e,t){t===r.length-1?"string"==typeof e?c(e,!0):(a.push(e),o.push(a)):i.test(e)?"string"==typeof e&&c(e):a.push(e);});var u=n&&n.length?function(e,t){var r=[];e.forEach(function(e){for(var t=H(e,2),n=t[0],i=t[1].line,o=n.line;o<i;){r[o]="cm-highlight",o+=1;}});for(var n=0;n<t;n+=1){r[n]||(r[n]="cm-overlay");}return r;}(n,o.length):[];return t().createElement("div",{className:"CodeMirror"},t().createElement(K,{gutteredInput:o,highlights:u}));},X=function X(e){var r=0,n=e.shift();return function i(o){if(!n)return o;if(r<=n.offset&&n.offset<=r+o.length){var a=n.offset-r,s=[o.slice(0,a),o.slice(a)],l=s[0],c=s[1],u=t().createElement(D(),{key:"variable-".concat(r),variable:n.text});return r+=a,n=e.shift(),[l,u,i(c)];}return r+=o.length,o;};};Z.propTypes={output:o().arrayOf(o().any),ranges:o().arrayOf(o().any)};var Y=function Y(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{tokenizeVariables:!1,highlightMode:!1,ranges:[]},i=(0,s.getMode)(r),o=[],a=function(e,t){if(!t.tokenizeVariables)return[e,function(e){return e;}];var r=0,n=[];return[e.replace(new RegExp(I.VARIABLE_REGEXP,"g"),function(e,t,i){var o=e.replace(/^\\<</,"<<").replace(/\\>>$/,">>");return o!==e?o:(n.push({text:t,offset:i-r}),r+=e.length,"");}),X(n)];}(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach(function(t){U(e,t,r[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t));});}return e;}({scrollbarStyle:"overlay"},n)),l=H(a,2),c=l[0],u=l[1],d=null,p="",f=0;function m(){var e=u(p),r=d?t().createElement("span",{key:f++,className:"".concat(d.replace(/(^|\s+)/g,"$1cm-"))},e):e;o.push(r);}return j().runMode(c,i,function(e,t){t!==d||n.highlightMode&&/\r?\n/.test(e)?(m(),d=t,p=e):p+=e;}),m(),n.highlightMode?t().createElement(Z,{output:o,ranges:n.ranges}):o;};var Q=r(559),J=r.n(Q),ee=r(5857),te=r.n(ee);function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),r.push.apply(r,n);}return r;}function ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(t){ie(e,t,r[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t));});}return e;}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;}var oe=function oe(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{className:"",customTheme:!1,dark:!1,editable:!1,inline:!1,tokenizeVariables:!1},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.dark?"material-palenight":"neo";if(n.customTheme&&(o=n.customTheme),n.foldGutter&&(n.editable=!0,n.gutters=["CodeMirror-linenumbers","CodeMirror-foldgutter"]),n.editable)return t().createElement(N,ne(ne({},i),{},{code:e,lang:r,theme:o,options:n}));var a=["cm-s-".concat(o)];n.className&&a.push(n.className),n.highlightMode&&a.push("CodeEditor");var s=n.inline?"span":"div";return t().createElement(s,{className:a.join(" ")},Y("string"==typeof e?e:"",r,n));};})(),module.exports=n;})();
8458
8458
 
8459
8459
  /***/ }),
8460
8460