parse-dashboard 8.2.0-alpha.2 → 8.2.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120],{71120:(e,o,n)=>{n.r(o),n.d(o,{a:()=>u,d:()=>l});var t=n(38950),r=Object.defineProperty,i=(e,o)=>r(e,"name",{value:o,configurable:!0});function a(e,o){return o.forEach((function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach((function(n){if("default"!==n&&!(n in e)){var t=Object.getOwnPropertyDescriptor(o,n);Object.defineProperty(e,n,t.get?t:{enumerable:!0,get:function(){return o[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var u={exports:{}};!function(e){function o(o,n,t){var r,i=o.getWrapperElement();return(r=i.appendChild(document.createElement("div"))).className=t?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof n?r.innerHTML=n:r.appendChild(n),e.addClass(i,"dialog-opened"),r}function n(e,o){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=o}i(o,"dialogDiv"),i(n,"closeNotification"),e.defineExtension("openDialog",(function(t,r,a){a||(a={}),n(this,null);var u=o(this,t,a.bottom),l=!1,c=this;function s(o){if("string"==typeof o)d.value=o;else{if(l)return;l=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus(),a.onClose&&a.onClose(u)}}i(s,"close");var f,d=u.getElementsByTagName("input")[0];return d?(d.focus(),a.value&&(d.value=a.value,!1!==a.selectValueOnOpen&&d.select()),a.onInput&&e.on(d,"input",(function(e){a.onInput(e,d.value,s)})),a.onKeyUp&&e.on(d,"keyup",(function(e){a.onKeyUp(e,d.value,s)})),e.on(d,"keydown",(function(o){a&&a.onKeyDown&&a.onKeyDown(o,d.value,s)||((27==o.keyCode||!1!==a.closeOnEnter&&13==o.keyCode)&&(d.blur(),e.e_stop(o),s()),13==o.keyCode&&r(d.value,o))})),!1!==a.closeOnBlur&&e.on(u,"focusout",(function(e){null!==e.relatedTarget&&s()}))):(f=u.getElementsByTagName("button")[0])&&(e.on(f,"click",(function(){s(),c.focus()})),!1!==a.closeOnBlur&&e.on(f,"blur",s),f.focus()),s})),e.defineExtension("openConfirm",(function(t,r,a){n(this,null);var u=o(this,t,a&&a.bottom),l=u.getElementsByTagName("button"),c=!1,s=this,f=1;function d(){c||(c=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),s.focus())}i(d,"close"),l[0].focus();for(var p=0;p<l.length;++p){var g=l[p];!function(o){e.on(g,"click",(function(n){e.e_preventDefault(n),d(),o&&o(s)}))}(r[p]),e.on(g,"blur",(function(){--f,setTimeout((function(){f<=0&&d()}),200)})),e.on(g,"focus",(function(){++f}))}})),e.defineExtension("openNotification",(function(t,r){n(this,s);var a,u=o(this,t,r&&r.bottom),l=!1,c=r&&void 0!==r.duration?r.duration:5e3;function s(){l||(l=!0,clearTimeout(a),e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u))}return i(s,"close"),e.on(u,"click",(function(o){e.e_preventDefault(o),s()})),c&&(a=setTimeout(s,c)),s}))}(t.a.exports);var l=a({__proto__:null,default:u.exports},[u.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120],{71120:(e,o,n)=>{n.d(o,{a:()=>u,d:()=>l});var t=n(38950),i=Object.defineProperty,r=(e,o)=>i(e,"name",{value:o,configurable:!0});function a(e,o){return o.forEach((function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach((function(n){if("default"!==n&&!(n in e)){var t=Object.getOwnPropertyDescriptor(o,n);Object.defineProperty(e,n,t.get?t:{enumerable:!0,get:function(){return o[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}r(a,"_mergeNamespaces");var u={exports:{}};!function(e){function o(o,n,t){var i,r=o.getWrapperElement();return(i=r.appendChild(document.createElement("div"))).className=t?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(r,"dialog-opened"),i}function n(e,o){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=o}r(o,"dialogDiv"),r(n,"closeNotification"),e.defineExtension("openDialog",(function(t,i,a){a||(a={}),n(this,null);var u=o(this,t,a.bottom),l=!1,c=this;function s(o){if("string"==typeof o)d.value=o;else{if(l)return;l=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus(),a.onClose&&a.onClose(u)}}r(s,"close");var f,d=u.getElementsByTagName("input")[0];return d?(d.focus(),a.value&&(d.value=a.value,!1!==a.selectValueOnOpen&&d.select()),a.onInput&&e.on(d,"input",(function(e){a.onInput(e,d.value,s)})),a.onKeyUp&&e.on(d,"keyup",(function(e){a.onKeyUp(e,d.value,s)})),e.on(d,"keydown",(function(o){a&&a.onKeyDown&&a.onKeyDown(o,d.value,s)||((27==o.keyCode||!1!==a.closeOnEnter&&13==o.keyCode)&&(d.blur(),e.e_stop(o),s()),13==o.keyCode&&i(d.value,o))})),!1!==a.closeOnBlur&&e.on(u,"focusout",(function(e){null!==e.relatedTarget&&s()}))):(f=u.getElementsByTagName("button")[0])&&(e.on(f,"click",(function(){s(),c.focus()})),!1!==a.closeOnBlur&&e.on(f,"blur",s),f.focus()),s})),e.defineExtension("openConfirm",(function(t,i,a){n(this,null);var u=o(this,t,a&&a.bottom),l=u.getElementsByTagName("button"),c=!1,s=this,f=1;function d(){c||(c=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),s.focus())}r(d,"close"),l[0].focus();for(var p=0;p<l.length;++p){var g=l[p];!function(o){e.on(g,"click",(function(n){e.e_preventDefault(n),d(),o&&o(s)}))}(i[p]),e.on(g,"blur",(function(){--f,setTimeout((function(){f<=0&&d()}),200)})),e.on(g,"focus",(function(){++f}))}})),e.defineExtension("openNotification",(function(t,i){n(this,s);var a,u=o(this,t,i&&i.bottom),l=!1,c=i&&void 0!==i.duration?i.duration:5e3;function s(){l||(l=!0,clearTimeout(a),e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u))}return r(s,"close"),e.on(u,"click",(function(o){e.e_preventDefault(o),s()})),c&&(a=setTimeout(s,c)),s}))}(t.a.exports);var l=a({__proto__:null,default:u.exports},[u.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[19],{66019:(e,r,n)=>{n.r(r),n.d(r,{b:()=>f});var t=n(38950),i=Object.defineProperty,o=(e,r)=>i(e,"name",{value:r,configurable:!0});function l(e,r){return r.forEach((function(r){r&&"string"!=typeof r&&!Array.isArray(r)&&Object.keys(r).forEach((function(n){if("default"!==n&&!(n in e)){var t=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,t.get?t:{enumerable:!0,get:function(){return r[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}o(l,"_mergeNamespaces");var a={exports:{}};!function(e){function r(r){return function(n,t){var i=t.line,l=n.getLine(i);function a(r){for(var o,a=t.ch,f=0;;){var u=a<=0?-1:l.lastIndexOf(r[0],a-1);if(-1!=u){if(1==f&&u<t.ch)break;if(o=n.getTokenTypeAt(e.Pos(i,u+1)),!/^(comment|string)/.test(o))return{ch:u+1,tokenType:o,pair:r};a=u-1}else{if(1==f)break;f=1,a=l.length}}}function f(r){var t,o,l=1,a=n.lastLine(),f=r.ch;e:for(var u=i;u<=a;++u)for(var s=n.getLine(u),c=u==i?f:0;;){var p=s.indexOf(r.pair[0],c),g=s.indexOf(r.pair[1],c);if(p<0&&(p=s.length),g<0&&(g=s.length),(c=Math.min(p,g))==s.length)break;if(n.getTokenTypeAt(e.Pos(u,c+1))==r.tokenType)if(c==p)++l;else if(! --l){t=u,o=c;break e}++c}return null==t||i==t?null:{from:e.Pos(i,f),to:e.Pos(t,o)}}o(a,"findOpening"),o(f,"findRange");for(var u=[],s=0;s<r.length;s++){var c=a(r[s]);c&&u.push(c)}for(u.sort((function(e,r){return e.ch-r.ch})),s=0;s<u.length;s++){var p=f(u[s]);if(p)return p}return null}}o(r,"bracketFolding"),e.registerHelper("fold","brace",r([["{","}"],["[","]"]])),e.registerHelper("fold","brace-paren",r([["{","}"],["[","]"],["(",")"]])),e.registerHelper("fold","import",(function(r,n){function t(n){if(n<r.firstLine()||n>r.lastLine())return null;var t=r.getTokenAt(e.Pos(n,1));if(/\S/.test(t.string)||(t=r.getTokenAt(e.Pos(n,t.end+1))),"keyword"!=t.type||"import"!=t.string)return null;for(var i=n,o=Math.min(r.lastLine(),n+10);i<=o;++i){var l=r.getLine(i).indexOf(";");if(-1!=l)return{startCh:t.end,end:e.Pos(i,l)}}}o(t,"hasImport");var i,l=n.line,a=t(l);if(!a||t(l-1)||(i=t(l-2))&&i.end.line==l-1)return null;for(var f=a.end;;){var u=t(f.line+1);if(null==u)break;f=u.end}return{from:r.clipPos(e.Pos(l,a.startCh+1)),to:f}})),e.registerHelper("fold","include",(function(r,n){function t(n){if(n<r.firstLine()||n>r.lastLine())return null;var t=r.getTokenAt(e.Pos(n,1));return/\S/.test(t.string)||(t=r.getTokenAt(e.Pos(n,t.end+1))),"meta"==t.type&&"#include"==t.string.slice(0,8)?t.start+8:void 0}o(t,"hasInclude");var i=n.line,l=t(i);if(null==l||null!=t(i-1))return null;for(var a=i;null!=t(a+1);)++a;return{from:e.Pos(i,l+1),to:r.clipPos(e.Pos(a))}}))}(t.a.exports);var f=l({__proto__:null,default:a.exports},[a.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[19],{66019:(e,r,n)=>{n.d(r,{b:()=>f});var t=n(38950),i=Object.defineProperty,o=(e,r)=>i(e,"name",{value:r,configurable:!0});function l(e,r){return r.forEach((function(r){r&&"string"!=typeof r&&!Array.isArray(r)&&Object.keys(r).forEach((function(n){if("default"!==n&&!(n in e)){var t=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,t.get?t:{enumerable:!0,get:function(){return r[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}o(l,"_mergeNamespaces");var a={exports:{}};!function(e){function r(r){return function(n,t){var i=t.line,l=n.getLine(i);function a(r){for(var o,a=t.ch,f=0;;){var u=a<=0?-1:l.lastIndexOf(r[0],a-1);if(-1!=u){if(1==f&&u<t.ch)break;if(o=n.getTokenTypeAt(e.Pos(i,u+1)),!/^(comment|string)/.test(o))return{ch:u+1,tokenType:o,pair:r};a=u-1}else{if(1==f)break;f=1,a=l.length}}}function f(r){var t,o,l=1,a=n.lastLine(),f=r.ch;e:for(var u=i;u<=a;++u)for(var s=n.getLine(u),c=u==i?f:0;;){var p=s.indexOf(r.pair[0],c),g=s.indexOf(r.pair[1],c);if(p<0&&(p=s.length),g<0&&(g=s.length),(c=Math.min(p,g))==s.length)break;if(n.getTokenTypeAt(e.Pos(u,c+1))==r.tokenType)if(c==p)++l;else if(! --l){t=u,o=c;break e}++c}return null==t||i==t?null:{from:e.Pos(i,f),to:e.Pos(t,o)}}o(a,"findOpening"),o(f,"findRange");for(var u=[],s=0;s<r.length;s++){var c=a(r[s]);c&&u.push(c)}for(u.sort((function(e,r){return e.ch-r.ch})),s=0;s<u.length;s++){var p=f(u[s]);if(p)return p}return null}}o(r,"bracketFolding"),e.registerHelper("fold","brace",r([["{","}"],["[","]"]])),e.registerHelper("fold","brace-paren",r([["{","}"],["[","]"],["(",")"]])),e.registerHelper("fold","import",(function(r,n){function t(n){if(n<r.firstLine()||n>r.lastLine())return null;var t=r.getTokenAt(e.Pos(n,1));if(/\S/.test(t.string)||(t=r.getTokenAt(e.Pos(n,t.end+1))),"keyword"!=t.type||"import"!=t.string)return null;for(var i=n,o=Math.min(r.lastLine(),n+10);i<=o;++i){var l=r.getLine(i).indexOf(";");if(-1!=l)return{startCh:t.end,end:e.Pos(i,l)}}}o(t,"hasImport");var i,l=n.line,a=t(l);if(!a||t(l-1)||(i=t(l-2))&&i.end.line==l-1)return null;for(var f=a.end;;){var u=t(f.line+1);if(null==u)break;f=u.end}return{from:r.clipPos(e.Pos(l,a.startCh+1)),to:f}})),e.registerHelper("fold","include",(function(r,n){function t(n){if(n<r.firstLine()||n>r.lastLine())return null;var t=r.getTokenAt(e.Pos(n,1));return/\S/.test(t.string)||(t=r.getTokenAt(e.Pos(n,t.end+1))),"meta"==t.type&&"#include"==t.string.slice(0,8)?t.start+8:void 0}o(t,"hasInclude");var i=n.line,l=t(i);if(null==l||null!=t(i-1))return null;for(var a=i;null!=t(a+1);)++a;return{from:e.Pos(i,l+1),to:r.clipPos(e.Pos(a))}}))}(t.a.exports);var f=l({__proto__:null,default:a.exports},[a.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120,221],{36221:(e,o,t)=>{t.r(o),t.d(o,{j:()=>l});var n=t(38950),r=t(71120),i=Object.defineProperty,a=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e,o){return o.forEach((function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach((function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return o[t]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(u,"_mergeNamespaces");var s={exports:{}};!function(e){function o(e,o,t,n,r){e.openDialog?e.openDialog(o,r,{value:n,selectValueOnOpen:!0,bottom:e.options.search.bottom}):r(prompt(t,n))}function t(e){return e.phrase("Jump to line:")+' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+e.phrase("(Use line:column or scroll% syntax)")+"</span>"}function n(e,o){var t=Number(o);return/^[-+]/.test(o)?e.getCursor().line+t:t-1}e.defineOption("search",{bottom:!1}),a(o,"dialog"),a(t,"getJumpDialog"),a(n,"interpretLine"),e.commands.jumpToLine=function(e){var r=e.getCursor();o(e,t(e),e.phrase("Jump to line:"),r.line+1+":"+r.ch,(function(o){var t;if(o)if(t=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(o))e.setCursor(n(e,t[1]),Number(t[2]));else if(t=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(o)){var i=Math.round(e.lineCount()*Number(t[1])/100);/^[-+]/.test(t[1])&&(i=r.line+i+1),e.setCursor(i-1,r.ch)}else(t=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(o))&&e.setCursor(n(e,t[1]),r.ch)}))},e.keyMap.default["Alt-G"]="jumpToLine"}(n.a.exports,r.a.exports);var l=u({__proto__:null,default:s.exports},[s.exports])},71120:(e,o,t)=>{t.r(o),t.d(o,{a:()=>u,d:()=>s});var n=t(38950),r=Object.defineProperty,i=(e,o)=>r(e,"name",{value:o,configurable:!0});function a(e,o){return o.forEach((function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach((function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return o[t]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var u={exports:{}};!function(e){function o(o,t,n){var r,i=o.getWrapperElement();return(r=i.appendChild(document.createElement("div"))).className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?r.innerHTML=t:r.appendChild(t),e.addClass(i,"dialog-opened"),r}function t(e,o){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=o}i(o,"dialogDiv"),i(t,"closeNotification"),e.defineExtension("openDialog",(function(n,r,a){a||(a={}),t(this,null);var u=o(this,n,a.bottom),s=!1,l=this;function c(o){if("string"==typeof o)p.value=o;else{if(s)return;s=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),l.focus(),a.onClose&&a.onClose(u)}}i(c,"close");var f,p=u.getElementsByTagName("input")[0];return p?(p.focus(),a.value&&(p.value=a.value,!1!==a.selectValueOnOpen&&p.select()),a.onInput&&e.on(p,"input",(function(e){a.onInput(e,p.value,c)})),a.onKeyUp&&e.on(p,"keyup",(function(e){a.onKeyUp(e,p.value,c)})),e.on(p,"keydown",(function(o){a&&a.onKeyDown&&a.onKeyDown(o,p.value,c)||((27==o.keyCode||!1!==a.closeOnEnter&&13==o.keyCode)&&(p.blur(),e.e_stop(o),c()),13==o.keyCode&&r(p.value,o))})),!1!==a.closeOnBlur&&e.on(u,"focusout",(function(e){null!==e.relatedTarget&&c()}))):(f=u.getElementsByTagName("button")[0])&&(e.on(f,"click",(function(){c(),l.focus()})),!1!==a.closeOnBlur&&e.on(f,"blur",c),f.focus()),c})),e.defineExtension("openConfirm",(function(n,r,a){t(this,null);var u=o(this,n,a&&a.bottom),s=u.getElementsByTagName("button"),l=!1,c=this,f=1;function p(){l||(l=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus())}i(p,"close"),s[0].focus();for(var d=0;d<s.length;++d){var m=s[d];!function(o){e.on(m,"click",(function(t){e.e_preventDefault(t),p(),o&&o(c)}))}(r[d]),e.on(m,"blur",(function(){--f,setTimeout((function(){f<=0&&p()}),200)})),e.on(m,"focus",(function(){++f}))}})),e.defineExtension("openNotification",(function(n,r){t(this,c);var a,u=o(this,n,r&&r.bottom),s=!1,l=r&&void 0!==r.duration?r.duration:5e3;function c(){s||(s=!0,clearTimeout(a),e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u))}return i(c,"close"),e.on(u,"click",(function(o){e.e_preventDefault(o),c()})),l&&(a=setTimeout(c,l)),c}))}(n.a.exports);var s=a({__proto__:null,default:u.exports},[u.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120,221],{36221:(e,o,t)=>{t.d(o,{j:()=>l});var n=t(38950),r=t(71120),i=Object.defineProperty,a=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e,o){return o.forEach((function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach((function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return o[t]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(u,"_mergeNamespaces");var s={exports:{}};!function(e){function o(e,o,t,n,r){e.openDialog?e.openDialog(o,r,{value:n,selectValueOnOpen:!0,bottom:e.options.search.bottom}):r(prompt(t,n))}function t(e){return e.phrase("Jump to line:")+' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+e.phrase("(Use line:column or scroll% syntax)")+"</span>"}function n(e,o){var t=Number(o);return/^[-+]/.test(o)?e.getCursor().line+t:t-1}e.defineOption("search",{bottom:!1}),a(o,"dialog"),a(t,"getJumpDialog"),a(n,"interpretLine"),e.commands.jumpToLine=function(e){var r=e.getCursor();o(e,t(e),e.phrase("Jump to line:"),r.line+1+":"+r.ch,(function(o){var t;if(o)if(t=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(o))e.setCursor(n(e,t[1]),Number(t[2]));else if(t=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(o)){var i=Math.round(e.lineCount()*Number(t[1])/100);/^[-+]/.test(t[1])&&(i=r.line+i+1),e.setCursor(i-1,r.ch)}else(t=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(o))&&e.setCursor(n(e,t[1]),r.ch)}))},e.keyMap.default["Alt-G"]="jumpToLine"}(n.a.exports,r.a.exports);var l=u({__proto__:null,default:s.exports},[s.exports])},71120:(e,o,t)=>{t.d(o,{a:()=>u,d:()=>s});var n=t(38950),r=Object.defineProperty,i=(e,o)=>r(e,"name",{value:o,configurable:!0});function a(e,o){return o.forEach((function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach((function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return o[t]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var u={exports:{}};!function(e){function o(o,t,n){var r,i=o.getWrapperElement();return(r=i.appendChild(document.createElement("div"))).className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?r.innerHTML=t:r.appendChild(t),e.addClass(i,"dialog-opened"),r}function t(e,o){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=o}i(o,"dialogDiv"),i(t,"closeNotification"),e.defineExtension("openDialog",(function(n,r,a){a||(a={}),t(this,null);var u=o(this,n,a.bottom),s=!1,l=this;function c(o){if("string"==typeof o)p.value=o;else{if(s)return;s=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),l.focus(),a.onClose&&a.onClose(u)}}i(c,"close");var f,p=u.getElementsByTagName("input")[0];return p?(p.focus(),a.value&&(p.value=a.value,!1!==a.selectValueOnOpen&&p.select()),a.onInput&&e.on(p,"input",(function(e){a.onInput(e,p.value,c)})),a.onKeyUp&&e.on(p,"keyup",(function(e){a.onKeyUp(e,p.value,c)})),e.on(p,"keydown",(function(o){a&&a.onKeyDown&&a.onKeyDown(o,p.value,c)||((27==o.keyCode||!1!==a.closeOnEnter&&13==o.keyCode)&&(p.blur(),e.e_stop(o),c()),13==o.keyCode&&r(p.value,o))})),!1!==a.closeOnBlur&&e.on(u,"focusout",(function(e){null!==e.relatedTarget&&c()}))):(f=u.getElementsByTagName("button")[0])&&(e.on(f,"click",(function(){c(),l.focus()})),!1!==a.closeOnBlur&&e.on(f,"blur",c),f.focus()),c})),e.defineExtension("openConfirm",(function(n,r,a){t(this,null);var u=o(this,n,a&&a.bottom),s=u.getElementsByTagName("button"),l=!1,c=this,f=1;function p(){l||(l=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus())}i(p,"close"),s[0].focus();for(var d=0;d<s.length;++d){var m=s[d];!function(o){e.on(m,"click",(function(t){e.e_preventDefault(t),p(),o&&o(c)}))}(r[d]),e.on(m,"blur",(function(){--f,setTimeout((function(){f<=0&&p()}),200)})),e.on(m,"focus",(function(){++f}))}})),e.defineExtension("openNotification",(function(n,r){t(this,c);var a,u=o(this,n,r&&r.bottom),s=!1,l=r&&void 0!==r.duration?r.duration:5e3;function c(){s||(s=!0,clearTimeout(a),e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u))}return i(c,"close"),e.on(u,"click",(function(o){e.e_preventDefault(o),c()})),l&&(a=setTimeout(c,l)),c}))}(n.a.exports);var s=a({__proto__:null,default:u.exports},[u.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[578],{91578:(t,e,r)=>{r.r(e),r.d(e,{a:()=>o,m:()=>s});var n=r(38950),a=Object.defineProperty,c=(t,e)=>a(t,"name",{value:e,configurable:!0});function i(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(r){if("default"!==r&&!(r in t)){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}))})),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}c(i,"_mergeNamespaces");var o={exports:{}};!function(t){var e=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),r=t.Pos,n={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function a(t){return t&&t.bracketRegex||/[(){}[\]]/}function i(t,e,c){var i=t.getLineHandle(e.line),s=e.ch-1,l=c&&c.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var h=a(c),u=!l&&s>=0&&h.test(i.text.charAt(s))&&n[i.text.charAt(s)]||h.test(i.text.charAt(s+1))&&n[i.text.charAt(++s)];if(!u)return null;var f=">"==u.charAt(1)?1:-1;if(c&&c.strict&&f>0!=(s==e.ch))return null;var g=t.getTokenTypeAt(r(e.line,s+1)),m=o(t,r(e.line,s+(f>0?1:0)),f,g,c);return null==m?null:{from:r(e.line,s),to:m&&m.pos,match:m&&m.ch==u.charAt(0),forward:f>0}}function o(t,e,c,i,o){for(var s=o&&o.maxScanLineLength||1e4,l=o&&o.maxScanLines||1e3,h=[],u=a(o),f=c>0?Math.min(e.line+l,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-l),g=e.line;g!=f;g+=c){var m=t.getLine(g);if(m){var d=c>0?0:m.length-1,k=c>0?m.length:-1;if(!(m.length>s))for(g==e.line&&(d=e.ch-(c<0?1:0));d!=k;d+=c){var p=m.charAt(d);if(u.test(p)&&(void 0===i||(t.getTokenTypeAt(r(g,d+1))||"")==(i||""))){var v=n[p];if(v&&">"==v.charAt(1)==c>0)h.push(p);else{if(!h.length)return{pos:r(g,d),ch:p};h.pop()}}}}}return g-c!=(c>0?t.lastLine():t.firstLine())&&null}function s(t,n,a){for(var o=t.state.matchBrackets.maxHighlightLineLength||1e3,s=a&&a.highlightNonMatching,l=[],h=t.listSelections(),u=0;u<h.length;u++){var f=h[u].empty()&&i(t,h[u].head,a);if(f&&(f.match||!1!==s)&&t.getLine(f.from.line).length<=o){var g=f.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";l.push(t.markText(f.from,r(f.from.line,f.from.ch+1),{className:g})),f.to&&t.getLine(f.to.line).length<=o&&l.push(t.markText(f.to,r(f.to.line,f.to.ch+1),{className:g}))}}if(l.length){e&&t.state.focused&&t.focus();var m=c((function(){t.operation((function(){for(var t=0;t<l.length;t++)l[t].clear()}))}),"clear");if(!n)return m;setTimeout(m,800)}}function l(t){t.operation((function(){t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=s(t,!1,t.state.matchBrackets)}))}function h(t){t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)}c(a,"bracketRegex"),c(i,"findMatchingBracket"),c(o,"scanForBracket"),c(s,"matchBrackets"),c(l,"doMatchBrackets"),c(h,"clearHighlighted"),t.defineOption("matchBrackets",!1,(function(e,r,n){n&&n!=t.Init&&(e.off("cursorActivity",l),e.off("focus",l),e.off("blur",h),h(e)),r&&(e.state.matchBrackets="object"==typeof r?r:{},e.on("cursorActivity",l),e.on("focus",l),e.on("blur",h))})),t.defineExtension("matchBrackets",(function(){s(this,!0)})),t.defineExtension("findMatchingBracket",(function(t,e,r){return(r||"boolean"==typeof e)&&(r?(r.strict=e,e=r):e=e?{strict:!0}:null),i(this,t,e)})),t.defineExtension("scanForBracket",(function(t,e,r,n){return o(this,t,e,r,n)}))}(n.a.exports);var s=i({__proto__:null,default:o.exports},[o.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[578],{91578:(t,e,r)=>{r.d(e,{a:()=>o,m:()=>s});var n=r(38950),a=Object.defineProperty,c=(t,e)=>a(t,"name",{value:e,configurable:!0});function i(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(r){if("default"!==r&&!(r in t)){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}))})),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}c(i,"_mergeNamespaces");var o={exports:{}};!function(t){var e=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),r=t.Pos,n={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function a(t){return t&&t.bracketRegex||/[(){}[\]]/}function i(t,e,c){var i=t.getLineHandle(e.line),s=e.ch-1,l=c&&c.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var h=a(c),u=!l&&s>=0&&h.test(i.text.charAt(s))&&n[i.text.charAt(s)]||h.test(i.text.charAt(s+1))&&n[i.text.charAt(++s)];if(!u)return null;var f=">"==u.charAt(1)?1:-1;if(c&&c.strict&&f>0!=(s==e.ch))return null;var g=t.getTokenTypeAt(r(e.line,s+1)),m=o(t,r(e.line,s+(f>0?1:0)),f,g,c);return null==m?null:{from:r(e.line,s),to:m&&m.pos,match:m&&m.ch==u.charAt(0),forward:f>0}}function o(t,e,c,i,o){for(var s=o&&o.maxScanLineLength||1e4,l=o&&o.maxScanLines||1e3,h=[],u=a(o),f=c>0?Math.min(e.line+l,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-l),g=e.line;g!=f;g+=c){var m=t.getLine(g);if(m){var d=c>0?0:m.length-1,k=c>0?m.length:-1;if(!(m.length>s))for(g==e.line&&(d=e.ch-(c<0?1:0));d!=k;d+=c){var p=m.charAt(d);if(u.test(p)&&(void 0===i||(t.getTokenTypeAt(r(g,d+1))||"")==(i||""))){var v=n[p];if(v&&">"==v.charAt(1)==c>0)h.push(p);else{if(!h.length)return{pos:r(g,d),ch:p};h.pop()}}}}}return g-c!=(c>0?t.lastLine():t.firstLine())&&null}function s(t,n,a){for(var o=t.state.matchBrackets.maxHighlightLineLength||1e3,s=a&&a.highlightNonMatching,l=[],h=t.listSelections(),u=0;u<h.length;u++){var f=h[u].empty()&&i(t,h[u].head,a);if(f&&(f.match||!1!==s)&&t.getLine(f.from.line).length<=o){var g=f.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";l.push(t.markText(f.from,r(f.from.line,f.from.ch+1),{className:g})),f.to&&t.getLine(f.to.line).length<=o&&l.push(t.markText(f.to,r(f.to.line,f.to.ch+1),{className:g}))}}if(l.length){e&&t.state.focused&&t.focus();var m=c((function(){t.operation((function(){for(var t=0;t<l.length;t++)l[t].clear()}))}),"clear");if(!n)return m;setTimeout(m,800)}}function l(t){t.operation((function(){t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=s(t,!1,t.state.matchBrackets)}))}function h(t){t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)}c(a,"bracketRegex"),c(i,"findMatchingBracket"),c(o,"scanForBracket"),c(s,"matchBrackets"),c(l,"doMatchBrackets"),c(h,"clearHighlighted"),t.defineOption("matchBrackets",!1,(function(e,r,n){n&&n!=t.Init&&(e.off("cursorActivity",l),e.off("focus",l),e.off("blur",h),h(e)),r&&(e.state.matchBrackets="object"==typeof r?r:{},e.on("cursorActivity",l),e.on("focus",l),e.on("blur",h))})),t.defineExtension("matchBrackets",(function(){s(this,!0)})),t.defineExtension("findMatchingBracket",(function(t,e,r){return(r||"boolean"==typeof e)&&(r?(r.strict=e,e=r):e=e?{strict:!0}:null),i(this,t,e)})),t.defineExtension("scanForBracket",(function(t,e,r,n){return o(this,t,e,r,n)}))}(n.a.exports);var s=i({__proto__:null,default:o.exports},[o.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[647],{49181:(e,t,n)=>{n.d(t,{C:()=>a,P:()=>o,R:()=>s});var i=Object.defineProperty,r=(e,t)=>i(e,"name",{value:t,configurable:!0});class a{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let i=null,r=null;return"string"==typeof e?(r=new RegExp(e,n?"i":"g").test(this._sourceText.substr(this._pos,e.length)),i=e):e instanceof RegExp&&(r=this._sourceText.slice(this._pos).match(e),i=null==r?void 0:r[0]),!(null==r||!("string"==typeof e||r instanceof Array&&this._sourceText.startsWith(r[0],this._pos)))&&(t&&(this._start=this._pos,i&&i.length&&(this._pos+=i.length)),r)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let i=0;for(;n.length>i;)9===n.charCodeAt(i)?t+=2:t++,i++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}r(a,"CharacterStream");class s{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new o(e,t)}setEnd(e,t){this.end=new o(e,t)}}r(s,"Range");class o{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}r(o,"Position")},82647:(e,t,n)=>{n.r(t);var i=n(38950),r=(n(34729),n(85236)),a=n(34627),s=n(26788),o=n(34058),l=n(50080),c=n(93544),u=n(14552),d=n(59847),p=n(2629),f=n(49181),E=n(30183),h=(n(75909),n(63696),n(78325),Object.defineProperty),T=(e,t)=>h(e,"name",{value:t,configurable:!0});function g(e){let t;return m(e,(e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}})),t}function R(e,t,n){return n===E.S.name&&e.getQueryType()===t?E.S:n===E.T.name&&e.getQueryType()===t?E.T:n===E.a.name&&(0,r.ML)(t)?E.a:"getFields"in t?t.getFields()[n]:null}function m(e,t){const n=[];let i=e;for(;null==i?void 0:i.kind;)n.push(i),i=i.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}function v(e){const t=Object.keys(e),n=t.length,i=new Array(n);for(let r=0;r<n;++r)i[r]=e[t[r]];return i}function _(e,t){return y(t,S(e.string))}function y(e,t){return t?I(I(e.map((e=>({proximity:N(S(e.label),t),entry:e}))),(e=>e.proximity<=2)),(e=>!e.entry.isDeprecated)).sort(((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length)).map((e=>e.entry)):I(e,(e=>!e.isDeprecated))}function I(e,t){const n=e.filter(t);return 0===n.length?e:n}function S(e){return e.toLowerCase().replace(/\W/g,"")}function N(e,t){let n=D(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}function D(e,t){let n,i;const r=[],a=e.length,s=t.length;for(n=0;n<=a;n++)r[n]=[n];for(i=1;i<=s;i++)r[0][i]=i;for(n=1;n<=a;n++)for(i=1;i<=s;i++){const a=e[n-1]===t[i-1]?0:1;r[n][i]=Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+a),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(r[n][i]=Math.min(r[n][i],r[n-2][i-2]+a))}return r[a][s]}T(g,"getDefinitionState"),T(R,"getFieldDef"),T(m,"forEachState"),T(v,"objectValues"),T(_,"hintList"),T(y,"filterAndSortList"),T(I,"filterNonEmpty"),T(S,"normalizeText"),T(N,"getProximity"),T(D,"lexicalDistance");const k={command:"editor.action.triggerSuggest",title:"Suggestions"},F=T((e=>{const t=[];if(e)try{(0,a.YR)((0,s.qg)(e),{FragmentDefinition(e){t.push(e)}})}catch(e){return[]}return t}),"collectFragmentDefs");function A(e,t,n,i,a,s){var o;const l=Object.assign(Object.assign({},s),{schema:e}),c=i||H(t,n),u="Invalid"===c.state.kind?c.state.prevState:c.state;if(!u)return[];const d=u.kind,f=u.step,E=J(e,c.state);if(d===p.R.DOCUMENT)return _(c,[{label:"query",kind:p.C.Function},{label:"mutation",kind:p.C.Function},{label:"subscription",kind:p.C.Function},{label:"fragment",kind:p.C.Function},{label:"{",kind:p.C.Constructor}]);if(d===p.R.IMPLEMENTS||d===p.R.NAMED_TYPE&&(null===(o=u.prevState)||void 0===o?void 0:o.kind)===p.R.IMPLEMENTS)return L(c,u,e,t,E);if(d===p.R.SELECTION_SET||d===p.R.FIELD||d===p.R.ALIASED_FIELD)return O(c,E,l);if(d===p.R.ARGUMENTS||d===p.R.ARGUMENT&&0===f){const e=E.argDefs;if(e)return _(c,e.map((e=>{var t;return{label:e.name,insertText:e.name+": ",command:k,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:p.C.Variable,type:e.type}})))}if((d===p.R.OBJECT_VALUE||d===p.R.OBJECT_FIELD&&0===f)&&E.objectFieldDefs){const e=v(E.objectFieldDefs),t=d===p.R.OBJECT_VALUE?p.C.Value:p.C.Field;return _(c,e.map((e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t,type:e.type}})))}if(d===p.R.ENUM_VALUE||d===p.R.LIST_VALUE&&1===f||d===p.R.OBJECT_FIELD&&2===f||d===p.R.ARGUMENT&&2===f)return M(c,E,t,e);if(d===p.R.VARIABLE&&1===f){const n=(0,r.MR)(E.inputType);return _(c,V(t,e,c).filter((e=>e.detail===(null==n?void 0:n.name))))}return d===p.R.TYPE_CONDITION&&1===f||d===p.R.NAMED_TYPE&&null!=u.prevState&&u.prevState.kind===p.R.TYPE_CONDITION?x(c,E,e):d===p.R.FRAGMENT_SPREAD&&1===f?P(c,E,e,t,Array.isArray(a)?a:F(a)):d===p.R.VARIABLE_DEFINITION&&2===f||d===p.R.LIST_TYPE&&1===f||d===p.R.NAMED_TYPE&&u.prevState&&(u.prevState.kind===p.R.VARIABLE_DEFINITION||u.prevState.kind===p.R.LIST_TYPE||u.prevState.kind===p.R.NON_NULL_TYPE)?B(c,e):d===p.R.DIRECTIVE?j(c,u,e):[]}T(A,"getAutocompleteSuggestions");const b=" {\n $1\n}",C=T((e=>{const t=e.type;if((0,r.ML)(t))return b;if((0,r.Fs)(t)&&(0,r.ML)(t.ofType))return b;if((0,r.bd)(t)){if((0,r.ML)(t.ofType))return b;if((0,r.Fs)(t.ofType)&&(0,r.ML)(t.ofType.ofType))return b}return null}),"getInsertText");function O(e,t,n){var i;if(t.parentType){const a=t.parentType;let s=[];return"getFields"in a&&(s=v(a.getFields())),(0,r.ML)(a)&&s.push(o.of),a===(null===(i=null==n?void 0:n.schema)||void 0===i?void 0:i.getQueryType())&&s.push(o.S0,o.Xe),_(e,s.map(((e,t)=>{var n;const i={sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:p.C.Field,type:e.type},r=C(e);return r&&(i.insertText=e.name+r,i.insertTextFormat=p.I.Snippet,i.command=k),i})))}return[]}function M(e,t,n,i){const a=(0,r.MR)(t.inputType),s=V(n,i,e).filter((e=>e.detail===a.name));return a instanceof r.Zb?_(e,a.getValues().map((e=>{var t;return{label:e.name,detail:String(a),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:p.C.EnumMember,type:a}})).concat(s)):a===l.kk?_(e,s.concat([{label:"true",detail:String(l.kk),documentation:"Not false.",kind:p.C.Variable,type:l.kk},{label:"false",detail:String(l.kk),documentation:"Not true.",kind:p.C.Variable,type:l.kk}])):s}function L(e,t,n,i,a){if(t.needsSeperator)return[];const s=v(n.getTypeMap()).filter(r.kD),o=s.map((({name:e})=>e)),l=new Set;G(i,((e,t)=>{var i,s,c,u,d;if(t.name&&(t.kind!==p.R.INTERFACE_DEF||o.includes(t.name)||l.add(t.name),t.kind===p.R.NAMED_TYPE&&(null===(i=t.prevState)||void 0===i?void 0:i.kind)===p.R.IMPLEMENTS))if(a.interfaceDef){if(null===(s=a.interfaceDef)||void 0===s?void 0:s.getInterfaces().find((({name:e})=>e===t.name)))return;const e=n.getType(t.name),i=null===(c=a.interfaceDef)||void 0===c?void 0:c.toConfig();a.interfaceDef=new r.VA(Object.assign(Object.assign({},i),{interfaces:[...i.interfaces,e||new r.VA({name:t.name,fields:{}})]}))}else if(a.objectTypeDef){if(null===(u=a.objectTypeDef)||void 0===u?void 0:u.getInterfaces().find((({name:e})=>e===t.name)))return;const e=n.getType(t.name),i=null===(d=a.objectTypeDef)||void 0===d?void 0:d.toConfig();a.objectTypeDef=new r.bh(Object.assign(Object.assign({},i),{interfaces:[...i.interfaces,e||new r.VA({name:t.name,fields:{}})]}))}}));const c=a.interfaceDef||a.objectTypeDef,u=((null==c?void 0:c.getInterfaces())||[]).map((({name:e})=>e));return _(e,s.concat([...l].map((e=>({name:e})))).filter((({name:e})=>e!==(null==c?void 0:c.name)&&!u.includes(e))).map((e=>{const t={label:e.name,kind:p.C.Interface,type:e};return(null==e?void 0:e.description)&&(t.documentation=e.description),t})))}function x(e,t,n,i){let a;if(t.parentType)if((0,r.Lc)(t.parentType)){const e=(0,r.N_)(t.parentType),i=n.getPossibleTypes(e),s=Object.create(null);i.forEach((e=>{e.getInterfaces().forEach((e=>{s[e.name]=e}))})),a=i.concat(v(s))}else a=[t.parentType];else a=v(n.getTypeMap()).filter(r.ML);return _(e,a.map((e=>{const t=(0,r.MR)(e);return{label:String(e),documentation:(null==t?void 0:t.description)||"",kind:p.C.Field}})))}function P(e,t,n,i,a){if(!i)return[];const s=n.getTypeMap(),o=g(e.state),l=w(i);return a&&a.length>0&&l.push(...a),_(e,l.filter((e=>s[e.typeCondition.name.value]&&!(o&&o.kind===p.R.FRAGMENT_DEFINITION&&o.name===e.name.value)&&(0,r.ML)(t.parentType)&&(0,r.ML)(s[e.typeCondition.name.value])&&(0,c.uI)(n,t.parentType,s[e.typeCondition.name.value]))).map((e=>({label:e.name.value,detail:String(s[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,kind:p.C.Field,type:s[e.typeCondition.name.value]}))))}T(O,"getSuggestionsForFieldNames"),T(M,"getSuggestionsForInputValues"),T(L,"getSuggestionsForImplements"),T(x,"getSuggestionsForFragmentTypeConditions"),T(P,"getSuggestionsForFragmentSpread");const U=T(((e,t)=>{var n,i,r,a,s,o,l,c,u,d;return(null===(n=e.prevState)||void 0===n?void 0:n.kind)===t?e.prevState:(null===(r=null===(i=e.prevState)||void 0===i?void 0:i.prevState)||void 0===r?void 0:r.kind)===t?e.prevState.prevState:(null===(o=null===(s=null===(a=e.prevState)||void 0===a?void 0:a.prevState)||void 0===s?void 0:s.prevState)||void 0===o?void 0:o.kind)===t?e.prevState.prevState.prevState:(null===(d=null===(u=null===(c=null===(l=e.prevState)||void 0===l?void 0:l.prevState)||void 0===c?void 0:c.prevState)||void 0===u?void 0:u.prevState)||void 0===d?void 0:d.kind)===t?e.prevState.prevState.prevState.prevState:void 0}),"getParentDefinition");function V(e,t,n){let i,r=null;const a=Object.create({});return G(e,((e,s)=>{if((null==s?void 0:s.kind)===p.R.VARIABLE&&s.name&&(r=s.name),(null==s?void 0:s.kind)===p.R.NAMED_TYPE&&r){const e=U(s,p.R.TYPE);(null==e?void 0:e.type)&&(i=t.getType(null==e?void 0:e.type))}r&&i&&(a[r]||(a[r]={detail:i.toString(),insertText:"$"===n.string?r:"$"+r,label:r,type:i,kind:p.C.Variable},r=null,i=null))})),v(a)}function w(e){const t=[];return G(e,((e,n)=>{n.kind===p.R.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:p.R.FRAGMENT_DEFINITION,name:{kind:u.b.NAME,value:n.name},selectionSet:{kind:p.R.SELECTION_SET,selections:[]},typeCondition:{kind:p.R.NAMED_TYPE,name:{kind:u.b.NAME,value:n.type}}})})),t}function B(e,t,n){return _(e,v(t.getTypeMap()).filter(r.dX).map((e=>({label:e.name,documentation:e.description,kind:p.C.Variable}))))}function j(e,t,n,i){var r;return(null===(r=t.prevState)||void 0===r?void 0:r.kind)?_(e,n.getDirectives().filter((e=>Y(t.prevState,e))).map((e=>({label:e.name,documentation:e.description||"",kind:p.C.Function})))):[]}function H(e,t){let n=null,i=null,r=null;const a=G(e,((e,a,s,o)=>{if(o===t.line&&e.getCurrentPosition()>=t.character)return n=s,i=Object.assign({},a),r=e.current(),"BREAK"}));return{start:a.start,end:a.end,string:r||a.string,state:i||a.state,style:n||a.style}}function G(e,t){const n=e.split("\n"),i=(0,p.o)();let r=i.startState(),a="",s=new f.C("");for(let e=0;e<n.length;e++){for(s=new f.C(n[e]);!s.eol()&&(a=i.token(s,r),"BREAK"!==t(s,r,a,e)););t(s,r,a,e),r.kind||(r=i.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:r,style:a}}function Y(e,t){var n;if(!e||!e.kind)return!1;const i=e.kind,r=t.locations;switch(i){case p.R.QUERY:return-1!==r.indexOf(d.H.QUERY);case p.R.MUTATION:return-1!==r.indexOf(d.H.MUTATION);case p.R.SUBSCRIPTION:return-1!==r.indexOf(d.H.SUBSCRIPTION);case p.R.FIELD:case p.R.ALIASED_FIELD:return-1!==r.indexOf(d.H.FIELD);case p.R.FRAGMENT_DEFINITION:return-1!==r.indexOf(d.H.FRAGMENT_DEFINITION);case p.R.FRAGMENT_SPREAD:return-1!==r.indexOf(d.H.FRAGMENT_SPREAD);case p.R.INLINE_FRAGMENT:return-1!==r.indexOf(d.H.INLINE_FRAGMENT);case p.R.SCHEMA_DEF:return-1!==r.indexOf(d.H.SCHEMA);case p.R.SCALAR_DEF:return-1!==r.indexOf(d.H.SCALAR);case p.R.OBJECT_TYPE_DEF:return-1!==r.indexOf(d.H.OBJECT);case p.R.FIELD_DEF:return-1!==r.indexOf(d.H.FIELD_DEFINITION);case p.R.INTERFACE_DEF:return-1!==r.indexOf(d.H.INTERFACE);case p.R.UNION_DEF:return-1!==r.indexOf(d.H.UNION);case p.R.ENUM_DEF:return-1!==r.indexOf(d.H.ENUM);case p.R.ENUM_VALUE:return-1!==r.indexOf(d.H.ENUM_VALUE);case p.R.INPUT_DEF:return-1!==r.indexOf(d.H.INPUT_OBJECT);case p.R.INPUT_VALUE_DEF:switch(null===(n=e.prevState)||void 0===n?void 0:n.kind){case p.R.ARGUMENTS_DEF:return-1!==r.indexOf(d.H.ARGUMENT_DEFINITION);case p.R.INPUT_DEF:return-1!==r.indexOf(d.H.INPUT_FIELD_DEFINITION)}}return!1}function J(e,t){let n,i,a,s,o,l,c,u,d,f,E;return m(t,(t=>{var h;switch(t.kind){case p.R.QUERY:case"ShortQuery":f=e.getQueryType();break;case p.R.MUTATION:f=e.getMutationType();break;case p.R.SUBSCRIPTION:f=e.getSubscriptionType();break;case p.R.INLINE_FRAGMENT:case p.R.FRAGMENT_DEFINITION:t.type&&(f=e.getType(t.type));break;case p.R.FIELD:case p.R.ALIASED_FIELD:f&&t.name?(o=d?R(e,d,t.name):null,f=o?o.type:null):o=null;break;case p.R.SELECTION_SET:d=(0,r.MR)(f);break;case p.R.DIRECTIVE:a=t.name?e.getDirective(t.name):null;break;case p.R.INTERFACE_DEF:t.name&&(c=null,E=new r.VA({name:t.name,interfaces:[],fields:{}}));break;case p.R.OBJECT_TYPE_DEF:t.name&&(E=null,c=new r.bh({name:t.name,interfaces:[],fields:{}}));break;case p.R.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case p.R.FIELD:i=o&&o.args;break;case p.R.DIRECTIVE:i=a&&a.args;break;case p.R.ALIASED_FIELD:{const n=null===(h=t.prevState)||void 0===h?void 0:h.name;if(!n){i=null;break}const r=d?R(e,d,n):null;if(!r){i=null;break}i=r.args;break}default:i=null}else i=null;break;case p.R.ARGUMENT:if(i)for(let e=0;e<i.length;e++)if(i[e].name===t.name){n=i[e];break}l=null==n?void 0:n.type;break;case p.R.ENUM_VALUE:const T=(0,r.MR)(l);s=T instanceof r.Zb?T.getValues().find((e=>e.value===t.name)):null;break;case p.R.LIST_VALUE:const g=(0,r.yl)(l);l=g instanceof r.KT?g.ofType:null;break;case p.R.OBJECT_VALUE:const m=(0,r.MR)(l);u=m instanceof r.zP?m.getFields():null;break;case p.R.OBJECT_FIELD:const v=t.name&&u?u[t.name]:null;l=null==v?void 0:v.type;break;case p.R.NAMED_TYPE:t.name&&(f=e.getType(t.name))}})),{argDef:n,argDefs:i,directiveDef:a,enumValue:s,fieldDef:o,inputType:l,objectFieldDefs:u,parentType:d,type:f,interfaceDef:E,objectTypeDef:c}}T(V,"getVariableCompletions"),T(w,"getFragmentDefinitions"),T(B,"getSuggestionsForVariableDefinition"),T(j,"getSuggestionsForDirective"),T(H,"getTokenAtPosition"),T(G,"runOnlineParser"),T(Y,"canUseDirective"),T(J,"getTypeInfo"),i.C.registerHelper("hint","graphql",((e,t)=>{const n=t.schema;if(!n)return;const r=e.getCursor(),a=e.getTokenAt(r),s=null!==a.type&&/"|\w/.test(a.string[0])?a.start:a.end,o=new f.P(r.line,s),l={list:A(n,e.getValue(),o,a,t.externalFragments).map((e=>({text:e.label,type:e.type,description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}))),from:{line:r.line,ch:s},to:{line:r.line,ch:a.end}};return(null==l?void 0:l.list)&&l.list.length>0&&(l.from=i.C.Pos(l.from.line,l.from.ch),l.to=i.C.Pos(l.to.line,l.to.ch),i.C.signal(e,"hasCompletion",e,l,a)),l}))}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[647],{49181:(e,t,n)=>{n.d(t,{C:()=>a,P:()=>o,R:()=>s});var i=Object.defineProperty,r=(e,t)=>i(e,"name",{value:t,configurable:!0});class a{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let i=null,r=null;return"string"==typeof e?(r=new RegExp(e,n?"i":"g").test(this._sourceText.substr(this._pos,e.length)),i=e):e instanceof RegExp&&(r=this._sourceText.slice(this._pos).match(e),i=null==r?void 0:r[0]),!(null==r||!("string"==typeof e||r instanceof Array&&this._sourceText.startsWith(r[0],this._pos)))&&(t&&(this._start=this._pos,i&&i.length&&(this._pos+=i.length)),r)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let i=0;for(;n.length>i;)9===n.charCodeAt(i)?t+=2:t++,i++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}r(a,"CharacterStream");class s{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new o(e,t)}setEnd(e,t){this.end=new o(e,t)}}r(s,"Range");class o{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}r(o,"Position")},82647:(e,t,n)=>{n.r(t);var i=n(38950),r=(n(34729),n(85236)),a=n(50080),s=n(14552),o=n(34058),l=n(26788),c=n(34627),u=n(59847),d=n(93544),p=n(2629),f=n(49181),E=n(30183),h=(n(75909),n(63696),n(78325),Object.defineProperty),T=(e,t)=>h(e,"name",{value:t,configurable:!0});function g(e){let t;return m(e,(e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}})),t}function R(e,t,n){return n===E.S.name&&e.getQueryType()===t?E.S:n===E.T.name&&e.getQueryType()===t?E.T:n===E.a.name&&(0,r.ML)(t)?E.a:"getFields"in t?t.getFields()[n]:null}function m(e,t){const n=[];let i=e;for(;null==i?void 0:i.kind;)n.push(i),i=i.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}function v(e){const t=Object.keys(e),n=t.length,i=new Array(n);for(let r=0;r<n;++r)i[r]=e[t[r]];return i}function _(e,t){return y(t,S(e.string))}function y(e,t){return t?I(I(e.map((e=>({proximity:N(S(e.label),t),entry:e}))),(e=>e.proximity<=2)),(e=>!e.entry.isDeprecated)).sort(((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length)).map((e=>e.entry)):I(e,(e=>!e.isDeprecated))}function I(e,t){const n=e.filter(t);return 0===n.length?e:n}function S(e){return e.toLowerCase().replace(/\W/g,"")}function N(e,t){let n=D(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}function D(e,t){let n,i;const r=[],a=e.length,s=t.length;for(n=0;n<=a;n++)r[n]=[n];for(i=1;i<=s;i++)r[0][i]=i;for(n=1;n<=a;n++)for(i=1;i<=s;i++){const a=e[n-1]===t[i-1]?0:1;r[n][i]=Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+a),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(r[n][i]=Math.min(r[n][i],r[n-2][i-2]+a))}return r[a][s]}T(g,"getDefinitionState"),T(R,"getFieldDef"),T(m,"forEachState"),T(v,"objectValues"),T(_,"hintList"),T(y,"filterAndSortList"),T(I,"filterNonEmpty"),T(S,"normalizeText"),T(N,"getProximity"),T(D,"lexicalDistance");const k={command:"editor.action.triggerSuggest",title:"Suggestions"},F=T((e=>{const t=[];if(e)try{(0,c.YR)((0,l.qg)(e),{FragmentDefinition(e){t.push(e)}})}catch(e){return[]}return t}),"collectFragmentDefs");function A(e,t,n,i,a,s){var o;const l=Object.assign(Object.assign({},s),{schema:e}),c=i||H(t,n),u="Invalid"===c.state.kind?c.state.prevState:c.state;if(!u)return[];const d=u.kind,f=u.step,E=J(e,c.state);if(d===p.R.DOCUMENT)return _(c,[{label:"query",kind:p.C.Function},{label:"mutation",kind:p.C.Function},{label:"subscription",kind:p.C.Function},{label:"fragment",kind:p.C.Function},{label:"{",kind:p.C.Constructor}]);if(d===p.R.IMPLEMENTS||d===p.R.NAMED_TYPE&&(null===(o=u.prevState)||void 0===o?void 0:o.kind)===p.R.IMPLEMENTS)return L(c,u,e,t,E);if(d===p.R.SELECTION_SET||d===p.R.FIELD||d===p.R.ALIASED_FIELD)return O(c,E,l);if(d===p.R.ARGUMENTS||d===p.R.ARGUMENT&&0===f){const e=E.argDefs;if(e)return _(c,e.map((e=>{var t;return{label:e.name,insertText:e.name+": ",command:k,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:p.C.Variable,type:e.type}})))}if((d===p.R.OBJECT_VALUE||d===p.R.OBJECT_FIELD&&0===f)&&E.objectFieldDefs){const e=v(E.objectFieldDefs),t=d===p.R.OBJECT_VALUE?p.C.Value:p.C.Field;return _(c,e.map((e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t,type:e.type}})))}if(d===p.R.ENUM_VALUE||d===p.R.LIST_VALUE&&1===f||d===p.R.OBJECT_FIELD&&2===f||d===p.R.ARGUMENT&&2===f)return M(c,E,t,e);if(d===p.R.VARIABLE&&1===f){const n=(0,r.MR)(E.inputType);return _(c,V(t,e,c).filter((e=>e.detail===(null==n?void 0:n.name))))}return d===p.R.TYPE_CONDITION&&1===f||d===p.R.NAMED_TYPE&&null!=u.prevState&&u.prevState.kind===p.R.TYPE_CONDITION?x(c,E,e):d===p.R.FRAGMENT_SPREAD&&1===f?P(c,E,e,t,Array.isArray(a)?a:F(a)):d===p.R.VARIABLE_DEFINITION&&2===f||d===p.R.LIST_TYPE&&1===f||d===p.R.NAMED_TYPE&&u.prevState&&(u.prevState.kind===p.R.VARIABLE_DEFINITION||u.prevState.kind===p.R.LIST_TYPE||u.prevState.kind===p.R.NON_NULL_TYPE)?B(c,e):d===p.R.DIRECTIVE?j(c,u,e):[]}T(A,"getAutocompleteSuggestions");const b=" {\n $1\n}",C=T((e=>{const t=e.type;if((0,r.ML)(t))return b;if((0,r.Fs)(t)&&(0,r.ML)(t.ofType))return b;if((0,r.bd)(t)){if((0,r.ML)(t.ofType))return b;if((0,r.Fs)(t.ofType)&&(0,r.ML)(t.ofType.ofType))return b}return null}),"getInsertText");function O(e,t,n){var i;if(t.parentType){const a=t.parentType;let s=[];return"getFields"in a&&(s=v(a.getFields())),(0,r.ML)(a)&&s.push(o.of),a===(null===(i=null==n?void 0:n.schema)||void 0===i?void 0:i.getQueryType())&&s.push(o.S0,o.Xe),_(e,s.map(((e,t)=>{var n;const i={sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:p.C.Field,type:e.type},r=C(e);return r&&(i.insertText=e.name+r,i.insertTextFormat=p.I.Snippet,i.command=k),i})))}return[]}function M(e,t,n,i){const s=(0,r.MR)(t.inputType),o=V(n,i,e).filter((e=>e.detail===s.name));return s instanceof r.Zb?_(e,s.getValues().map((e=>{var t;return{label:e.name,detail:String(s),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:p.C.EnumMember,type:s}})).concat(o)):s===a.kk?_(e,o.concat([{label:"true",detail:String(a.kk),documentation:"Not false.",kind:p.C.Variable,type:a.kk},{label:"false",detail:String(a.kk),documentation:"Not true.",kind:p.C.Variable,type:a.kk}])):o}function L(e,t,n,i,a){if(t.needsSeperator)return[];const s=v(n.getTypeMap()).filter(r.kD),o=s.map((({name:e})=>e)),l=new Set;G(i,((e,t)=>{var i,s,c,u,d;if(t.name&&(t.kind!==p.R.INTERFACE_DEF||o.includes(t.name)||l.add(t.name),t.kind===p.R.NAMED_TYPE&&(null===(i=t.prevState)||void 0===i?void 0:i.kind)===p.R.IMPLEMENTS))if(a.interfaceDef){if(null===(s=a.interfaceDef)||void 0===s?void 0:s.getInterfaces().find((({name:e})=>e===t.name)))return;const e=n.getType(t.name),i=null===(c=a.interfaceDef)||void 0===c?void 0:c.toConfig();a.interfaceDef=new r.VA(Object.assign(Object.assign({},i),{interfaces:[...i.interfaces,e||new r.VA({name:t.name,fields:{}})]}))}else if(a.objectTypeDef){if(null===(u=a.objectTypeDef)||void 0===u?void 0:u.getInterfaces().find((({name:e})=>e===t.name)))return;const e=n.getType(t.name),i=null===(d=a.objectTypeDef)||void 0===d?void 0:d.toConfig();a.objectTypeDef=new r.bh(Object.assign(Object.assign({},i),{interfaces:[...i.interfaces,e||new r.VA({name:t.name,fields:{}})]}))}}));const c=a.interfaceDef||a.objectTypeDef,u=((null==c?void 0:c.getInterfaces())||[]).map((({name:e})=>e));return _(e,s.concat([...l].map((e=>({name:e})))).filter((({name:e})=>e!==(null==c?void 0:c.name)&&!u.includes(e))).map((e=>{const t={label:e.name,kind:p.C.Interface,type:e};return(null==e?void 0:e.description)&&(t.documentation=e.description),t})))}function x(e,t,n,i){let a;if(t.parentType)if((0,r.Lc)(t.parentType)){const e=(0,r.N_)(t.parentType),i=n.getPossibleTypes(e),s=Object.create(null);i.forEach((e=>{e.getInterfaces().forEach((e=>{s[e.name]=e}))})),a=i.concat(v(s))}else a=[t.parentType];else a=v(n.getTypeMap()).filter(r.ML);return _(e,a.map((e=>{const t=(0,r.MR)(e);return{label:String(e),documentation:(null==t?void 0:t.description)||"",kind:p.C.Field}})))}function P(e,t,n,i,a){if(!i)return[];const s=n.getTypeMap(),o=g(e.state),l=w(i);return a&&a.length>0&&l.push(...a),_(e,l.filter((e=>s[e.typeCondition.name.value]&&!(o&&o.kind===p.R.FRAGMENT_DEFINITION&&o.name===e.name.value)&&(0,r.ML)(t.parentType)&&(0,r.ML)(s[e.typeCondition.name.value])&&(0,d.uI)(n,t.parentType,s[e.typeCondition.name.value]))).map((e=>({label:e.name.value,detail:String(s[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,kind:p.C.Field,type:s[e.typeCondition.name.value]}))))}T(O,"getSuggestionsForFieldNames"),T(M,"getSuggestionsForInputValues"),T(L,"getSuggestionsForImplements"),T(x,"getSuggestionsForFragmentTypeConditions"),T(P,"getSuggestionsForFragmentSpread");const U=T(((e,t)=>{var n,i,r,a,s,o,l,c,u,d;return(null===(n=e.prevState)||void 0===n?void 0:n.kind)===t?e.prevState:(null===(r=null===(i=e.prevState)||void 0===i?void 0:i.prevState)||void 0===r?void 0:r.kind)===t?e.prevState.prevState:(null===(o=null===(s=null===(a=e.prevState)||void 0===a?void 0:a.prevState)||void 0===s?void 0:s.prevState)||void 0===o?void 0:o.kind)===t?e.prevState.prevState.prevState:(null===(d=null===(u=null===(c=null===(l=e.prevState)||void 0===l?void 0:l.prevState)||void 0===c?void 0:c.prevState)||void 0===u?void 0:u.prevState)||void 0===d?void 0:d.kind)===t?e.prevState.prevState.prevState.prevState:void 0}),"getParentDefinition");function V(e,t,n){let i,r=null;const a=Object.create({});return G(e,((e,s)=>{if((null==s?void 0:s.kind)===p.R.VARIABLE&&s.name&&(r=s.name),(null==s?void 0:s.kind)===p.R.NAMED_TYPE&&r){const e=U(s,p.R.TYPE);(null==e?void 0:e.type)&&(i=t.getType(null==e?void 0:e.type))}r&&i&&(a[r]||(a[r]={detail:i.toString(),insertText:"$"===n.string?r:"$"+r,label:r,type:i,kind:p.C.Variable},r=null,i=null))})),v(a)}function w(e){const t=[];return G(e,((e,n)=>{n.kind===p.R.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:p.R.FRAGMENT_DEFINITION,name:{kind:s.b.NAME,value:n.name},selectionSet:{kind:p.R.SELECTION_SET,selections:[]},typeCondition:{kind:p.R.NAMED_TYPE,name:{kind:s.b.NAME,value:n.type}}})})),t}function B(e,t,n){return _(e,v(t.getTypeMap()).filter(r.dX).map((e=>({label:e.name,documentation:e.description,kind:p.C.Variable}))))}function j(e,t,n,i){var r;return(null===(r=t.prevState)||void 0===r?void 0:r.kind)?_(e,n.getDirectives().filter((e=>Y(t.prevState,e))).map((e=>({label:e.name,documentation:e.description||"",kind:p.C.Function})))):[]}function H(e,t){let n=null,i=null,r=null;const a=G(e,((e,a,s,o)=>{if(o===t.line&&e.getCurrentPosition()>=t.character)return n=s,i=Object.assign({},a),r=e.current(),"BREAK"}));return{start:a.start,end:a.end,string:r||a.string,state:i||a.state,style:n||a.style}}function G(e,t){const n=e.split("\n"),i=(0,p.o)();let r=i.startState(),a="",s=new f.C("");for(let e=0;e<n.length;e++){for(s=new f.C(n[e]);!s.eol()&&(a=i.token(s,r),"BREAK"!==t(s,r,a,e)););t(s,r,a,e),r.kind||(r=i.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:r,style:a}}function Y(e,t){var n;if(!e||!e.kind)return!1;const i=e.kind,r=t.locations;switch(i){case p.R.QUERY:return-1!==r.indexOf(u.H.QUERY);case p.R.MUTATION:return-1!==r.indexOf(u.H.MUTATION);case p.R.SUBSCRIPTION:return-1!==r.indexOf(u.H.SUBSCRIPTION);case p.R.FIELD:case p.R.ALIASED_FIELD:return-1!==r.indexOf(u.H.FIELD);case p.R.FRAGMENT_DEFINITION:return-1!==r.indexOf(u.H.FRAGMENT_DEFINITION);case p.R.FRAGMENT_SPREAD:return-1!==r.indexOf(u.H.FRAGMENT_SPREAD);case p.R.INLINE_FRAGMENT:return-1!==r.indexOf(u.H.INLINE_FRAGMENT);case p.R.SCHEMA_DEF:return-1!==r.indexOf(u.H.SCHEMA);case p.R.SCALAR_DEF:return-1!==r.indexOf(u.H.SCALAR);case p.R.OBJECT_TYPE_DEF:return-1!==r.indexOf(u.H.OBJECT);case p.R.FIELD_DEF:return-1!==r.indexOf(u.H.FIELD_DEFINITION);case p.R.INTERFACE_DEF:return-1!==r.indexOf(u.H.INTERFACE);case p.R.UNION_DEF:return-1!==r.indexOf(u.H.UNION);case p.R.ENUM_DEF:return-1!==r.indexOf(u.H.ENUM);case p.R.ENUM_VALUE:return-1!==r.indexOf(u.H.ENUM_VALUE);case p.R.INPUT_DEF:return-1!==r.indexOf(u.H.INPUT_OBJECT);case p.R.INPUT_VALUE_DEF:switch(null===(n=e.prevState)||void 0===n?void 0:n.kind){case p.R.ARGUMENTS_DEF:return-1!==r.indexOf(u.H.ARGUMENT_DEFINITION);case p.R.INPUT_DEF:return-1!==r.indexOf(u.H.INPUT_FIELD_DEFINITION)}}return!1}function J(e,t){let n,i,a,s,o,l,c,u,d,f,E;return m(t,(t=>{var h;switch(t.kind){case p.R.QUERY:case"ShortQuery":f=e.getQueryType();break;case p.R.MUTATION:f=e.getMutationType();break;case p.R.SUBSCRIPTION:f=e.getSubscriptionType();break;case p.R.INLINE_FRAGMENT:case p.R.FRAGMENT_DEFINITION:t.type&&(f=e.getType(t.type));break;case p.R.FIELD:case p.R.ALIASED_FIELD:f&&t.name?(o=d?R(e,d,t.name):null,f=o?o.type:null):o=null;break;case p.R.SELECTION_SET:d=(0,r.MR)(f);break;case p.R.DIRECTIVE:a=t.name?e.getDirective(t.name):null;break;case p.R.INTERFACE_DEF:t.name&&(c=null,E=new r.VA({name:t.name,interfaces:[],fields:{}}));break;case p.R.OBJECT_TYPE_DEF:t.name&&(E=null,c=new r.bh({name:t.name,interfaces:[],fields:{}}));break;case p.R.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case p.R.FIELD:i=o&&o.args;break;case p.R.DIRECTIVE:i=a&&a.args;break;case p.R.ALIASED_FIELD:{const n=null===(h=t.prevState)||void 0===h?void 0:h.name;if(!n){i=null;break}const r=d?R(e,d,n):null;if(!r){i=null;break}i=r.args;break}default:i=null}else i=null;break;case p.R.ARGUMENT:if(i)for(let e=0;e<i.length;e++)if(i[e].name===t.name){n=i[e];break}l=null==n?void 0:n.type;break;case p.R.ENUM_VALUE:const T=(0,r.MR)(l);s=T instanceof r.Zb?T.getValues().find((e=>e.value===t.name)):null;break;case p.R.LIST_VALUE:const g=(0,r.yl)(l);l=g instanceof r.KT?g.ofType:null;break;case p.R.OBJECT_VALUE:const m=(0,r.MR)(l);u=m instanceof r.zP?m.getFields():null;break;case p.R.OBJECT_FIELD:const v=t.name&&u?u[t.name]:null;l=null==v?void 0:v.type;break;case p.R.NAMED_TYPE:t.name&&(f=e.getType(t.name))}})),{argDef:n,argDefs:i,directiveDef:a,enumValue:s,fieldDef:o,inputType:l,objectFieldDefs:u,parentType:d,type:f,interfaceDef:E,objectTypeDef:c}}T(V,"getVariableCompletions"),T(w,"getFragmentDefinitions"),T(B,"getSuggestionsForVariableDefinition"),T(j,"getSuggestionsForDirective"),T(H,"getTokenAtPosition"),T(G,"runOnlineParser"),T(Y,"canUseDirective"),T(J,"getTypeInfo"),i.C.registerHelper("hint","graphql",((e,t)=>{const n=t.schema;if(!n)return;const r=e.getCursor(),a=e.getTokenAt(r),s=null!==a.type&&/"|\w/.test(a.string[0])?a.start:a.end,o=new f.P(r.line,s),l={list:A(n,e.getValue(),o,a,t.externalFragments).map((e=>({text:e.label,type:e.type,description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}))),from:{line:r.line,ch:s},to:{line:r.line,ch:a.end}};return(null==l?void 0:l.list)&&l.list.length>0&&(l.from=i.C.Pos(l.from.line,l.from.ch),l.to=i.C.Pos(l.to.line,l.to.ch),i.C.signal(e,"hasCompletion",e,l,a)),l}))}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[729],{34729:(t,e,i)=>{i.r(e),i.d(e,{s:()=>l});var n=i(38950),o=Object.defineProperty,s=(t,e)=>o(t,"name",{value:e,configurable:!0});function r(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(i){if("default"!==i&&!(i in t)){var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return e[i]}})}}))})),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}s(r,"_mergeNamespaces");var c={exports:{}};!function(t){var e="CodeMirror-hint-active";function i(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}t.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var o in i)n[o]=i[o];return t.showHint(n)},t.defineExtension("showHint",(function(e){e=r(this,this.getCursor("start"),e);var n=this.listSelections();if(!(n.length>1)){if(this.somethingSelected()){if(!e.hint.supportsSelection)return;for(var o=0;o<n.length;o++)if(n[o].head.line!=n[o].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var s=this.state.completionActive=new i(this,e);s.options.hint&&(t.signal(this,"startCompletion",this),s.update(!0))}})),t.defineExtension("closeHint",(function(){this.state.completionActive&&this.state.completionActive.close()})),s(i,"Completion");var n=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},o=window.cancelAnimationFrame||clearTimeout;function r(t,e,i){var n=t.options.hintOptions,o={};for(var s in p)o[s]=p[s];if(n)for(var s in n)void 0!==n[s]&&(o[s]=n[s]);if(i)for(var s in i)void 0!==i[s]&&(o[s]=i[s]);return o.hint.resolve&&(o.hint=o.hint.resolve(t,e)),o}function c(t){return"string"==typeof t?t:t.text}function l(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(1-e.menuSize(),!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close};/Mac/.test(navigator.platform)&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var n=t.options.customKeys,o=n?{}:i;function r(t,n){var r;r="string"!=typeof n?s((function(t){return n(t,e)}),"bound"):i.hasOwnProperty(n)?i[n]:n,o[t]=r}if(s(r,"addBinding"),n)for(var c in n)n.hasOwnProperty(c)&&r(c,n[c]);var l=t.options.extraKeys;if(l)for(var c in l)l.hasOwnProperty(c)&&r(c,l[c]);return o}function h(t,e){for(;e&&e!=t;){if("LI"===e.nodeName.toUpperCase()&&e.parentNode==t)return e;e=e.parentNode}}function a(i,n){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=i,this.data=n,this.picked=!1;var o=this,s=i.cm,r=s.getInputField().ownerDocument,a=r.defaultView||r.parentWindow,u=this.hints=r.createElement("ul");u.setAttribute("role","listbox"),u.setAttribute("aria-expanded","true"),u.id=this.id;var f=i.cm.options.theme;u.className="CodeMirror-hints "+f,this.selectedHint=n.selectedHint||0;for(var d=n.list,p=0;p<d.length;++p){var m=u.appendChild(r.createElement("li")),g=d[p],v="CodeMirror-hint"+(p!=this.selectedHint?"":" "+e);null!=g.className&&(v=g.className+" "+v),m.className=v,p==this.selectedHint&&m.setAttribute("aria-selected","true"),m.id=this.id+"-"+p,m.setAttribute("role","option"),g.render?g.render(m,n,g):m.appendChild(r.createTextNode(g.displayText||c(g))),m.hintId=p}var y=i.options.container||r.body,b=s.cursorCoords(i.options.alignWithWord?n.from:null),w=b.left,H=b.bottom,A=!0,C=0,k=0;if(y!==r.body){var x=-1!==["absolute","relative","fixed"].indexOf(a.getComputedStyle(y).position)?y:y.offsetParent,O=x.getBoundingClientRect(),S=r.body.getBoundingClientRect();C=O.left-S.left-x.scrollLeft,k=O.top-S.top-x.scrollTop}u.style.left=w-C+"px",u.style.top=H-k+"px";var T=a.innerWidth||Math.max(r.body.offsetWidth,r.documentElement.offsetWidth),F=a.innerHeight||Math.max(r.body.offsetHeight,r.documentElement.offsetHeight);y.appendChild(u),s.getInputField().setAttribute("aria-autocomplete","list"),s.getInputField().setAttribute("aria-owns",this.id),s.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var M,N=i.options.moveOnOverlap?u.getBoundingClientRect():new DOMRect,P=!!i.options.paddingForScrollbar&&u.scrollHeight>u.clientHeight+1;if(setTimeout((function(){M=s.getScrollInfo()})),N.bottom-F>0){var E=N.bottom-N.top;if(b.top-(b.bottom-N.top)-E>0)u.style.top=(H=b.top-E-k)+"px",A=!1;else if(E>F){u.style.height=F-5+"px",u.style.top=(H=b.bottom-N.top-k)+"px";var I=s.getCursor();n.from.ch!=I.ch&&(b=s.cursorCoords(I),u.style.left=(w=b.left-C)+"px",N=u.getBoundingClientRect())}}var W,R=N.right-T;if(P&&(R+=s.display.nativeBarWidth),R>0&&(N.right-N.left>T&&(u.style.width=T-5+"px",R-=N.right-N.left-T),u.style.left=(w=b.left-R-C)+"px"),P)for(var B=u.firstChild;B;B=B.nextSibling)B.style.paddingRight=s.display.nativeBarWidth+"px";s.addKeyMap(this.keyMap=l(i,{moveFocus:function(t,e){o.changeActive(o.selectedHint+t,e)},setFocus:function(t){o.changeActive(t)},menuSize:function(){return o.screenAmount()},length:d.length,close:function(){i.close()},pick:function(){o.pick()},data:n})),i.options.closeOnUnfocus&&(s.on("blur",this.onBlur=function(){W=setTimeout((function(){i.close()}),100)}),s.on("focus",this.onFocus=function(){clearTimeout(W)})),s.on("scroll",this.onScroll=function(){var t=s.getScrollInfo(),e=s.getWrapperElement().getBoundingClientRect();M||(M=s.getScrollInfo());var n=H+M.top-t.top,o=n-(a.pageYOffset||(r.documentElement||r.body).scrollTop);if(A||(o+=u.offsetHeight),o<=e.top||o>=e.bottom)return i.close();u.style.top=n+"px",u.style.left=w+M.left-t.left+"px"}),t.on(u,"dblclick",(function(t){var e=h(u,t.target||t.srcElement);e&&null!=e.hintId&&(o.changeActive(e.hintId),o.pick())})),t.on(u,"click",(function(t){var e=h(u,t.target||t.srcElement);e&&null!=e.hintId&&(o.changeActive(e.hintId),i.options.completeOnSingleClick&&o.pick())})),t.on(u,"mousedown",(function(){setTimeout((function(){s.focus()}),20)}));var K=this.getSelectedHintRange();return 0===K.from&&0===K.to||this.scrollToActive(),t.signal(n,"select",d[this.selectedHint],u.childNodes[this.selectedHint]),!0}function u(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function f(t,e,i,n){if(t.async)t(e,n,i);else{var o=t(e,i);o&&o.then?o.then(n):n(o)}}function d(e,i){var n,o=e.getHelpers(i,"hint");if(o.length){var r=s((function(t,e,i){var n=u(t,o);function r(o){if(o==n.length)return e(null);f(n[o],t,i,(function(t){t&&t.list.length>0?e(t):r(o+1)}))}s(r,"run"),r(0)}),"resolved");return r.async=!0,r.supportsSelection=!0,r}return(n=e.getHelper(e.getCursor(),"hintWords"))?function(e){return t.hint.fromList(e,{words:n})}:t.hint.anyword?function(e,i){return t.hint.anyword(e,i)}:function(){}}i.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&t.signal(this.data,"close"),this.widget&&this.widget.close(),t.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(e,i){var n=e.list[i],o=this;this.cm.operation((function(){n.hint?n.hint(o.cm,e,n):o.cm.replaceRange(c(n),n.from||e.from,n.to||e.to,"complete"),t.signal(e,"pick",n),o.cm.scrollIntoView()})),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(o(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var s=this;this.debounce=n((function(){s.update()})),this.widget&&this.widget.disable()}},update:function(t){if(null!=this.tick){var e=this,i=++this.tick;f(this.options.hint,this.cm,this.options,(function(n){e.tick==i&&e.finishUpdate(n,t)}))}},finishUpdate:function(e,i){this.data&&t.signal(this.data,"update");var n=this.widget&&this.widget.picked||i&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=e,e&&e.list.length&&(n&&1==e.list.length?this.pick(e,0):(this.widget=new a(this,e),t.signal(e,"shown")))}},s(r,"parseOptions"),s(c,"getText"),s(l,"buildKeyMap"),s(h,"getHintElement"),s(a,"Widget"),a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(i,n){if(i>=this.data.list.length?i=n?this.data.list.length-1:0:i<0&&(i=n?0:this.data.list.length-1),this.selectedHint!=i){var o=this.hints.childNodes[this.selectedHint];o&&(o.className=o.className.replace(" "+e,""),o.removeAttribute("aria-selected")),(o=this.hints.childNodes[this.selectedHint=i]).className+=" "+e,o.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",o.id),this.scrollToActive(),t.signal(this.data,"select",this.data.list[this.selectedHint],o)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}},s(u,"applicableHelpers"),s(f,"fetchHints"),s(d,"resolveAutoHints"),t.registerHelper("hint","auto",{resolve:d}),t.registerHelper("hint","fromList",(function(e,i){var n,o=e.getCursor(),s=e.getTokenAt(o),r=t.Pos(o.line,s.start),c=o;s.start<o.ch&&/\w/.test(s.string.charAt(o.ch-s.start-1))?n=s.string.substr(0,o.ch-s.start):(n="",r=o);for(var l=[],h=0;h<i.words.length;h++){var a=i.words[h];a.slice(0,n.length)==n&&l.push(a)}if(l.length)return{list:l,from:r,to:c}})),t.commands.autocomplete=t.showHint;var p={hint:t.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};t.defineOption("hintOptions",null)}(n.a.exports);var l=r({__proto__:null,default:c.exports},[c.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[729],{34729:(t,e,i)=>{i.d(e,{s:()=>l});var n=i(38950),o=Object.defineProperty,s=(t,e)=>o(t,"name",{value:e,configurable:!0});function r(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(i){if("default"!==i&&!(i in t)){var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return e[i]}})}}))})),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}s(r,"_mergeNamespaces");var c={exports:{}};!function(t){var e="CodeMirror-hint-active";function i(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}t.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var o in i)n[o]=i[o];return t.showHint(n)},t.defineExtension("showHint",(function(e){e=r(this,this.getCursor("start"),e);var n=this.listSelections();if(!(n.length>1)){if(this.somethingSelected()){if(!e.hint.supportsSelection)return;for(var o=0;o<n.length;o++)if(n[o].head.line!=n[o].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var s=this.state.completionActive=new i(this,e);s.options.hint&&(t.signal(this,"startCompletion",this),s.update(!0))}})),t.defineExtension("closeHint",(function(){this.state.completionActive&&this.state.completionActive.close()})),s(i,"Completion");var n=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},o=window.cancelAnimationFrame||clearTimeout;function r(t,e,i){var n=t.options.hintOptions,o={};for(var s in p)o[s]=p[s];if(n)for(var s in n)void 0!==n[s]&&(o[s]=n[s]);if(i)for(var s in i)void 0!==i[s]&&(o[s]=i[s]);return o.hint.resolve&&(o.hint=o.hint.resolve(t,e)),o}function c(t){return"string"==typeof t?t:t.text}function l(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(1-e.menuSize(),!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close};/Mac/.test(navigator.platform)&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var n=t.options.customKeys,o=n?{}:i;function r(t,n){var r;r="string"!=typeof n?s((function(t){return n(t,e)}),"bound"):i.hasOwnProperty(n)?i[n]:n,o[t]=r}if(s(r,"addBinding"),n)for(var c in n)n.hasOwnProperty(c)&&r(c,n[c]);var l=t.options.extraKeys;if(l)for(var c in l)l.hasOwnProperty(c)&&r(c,l[c]);return o}function h(t,e){for(;e&&e!=t;){if("LI"===e.nodeName.toUpperCase()&&e.parentNode==t)return e;e=e.parentNode}}function a(i,n){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=i,this.data=n,this.picked=!1;var o=this,s=i.cm,r=s.getInputField().ownerDocument,a=r.defaultView||r.parentWindow,u=this.hints=r.createElement("ul");u.setAttribute("role","listbox"),u.setAttribute("aria-expanded","true"),u.id=this.id;var f=i.cm.options.theme;u.className="CodeMirror-hints "+f,this.selectedHint=n.selectedHint||0;for(var d=n.list,p=0;p<d.length;++p){var m=u.appendChild(r.createElement("li")),g=d[p],v="CodeMirror-hint"+(p!=this.selectedHint?"":" "+e);null!=g.className&&(v=g.className+" "+v),m.className=v,p==this.selectedHint&&m.setAttribute("aria-selected","true"),m.id=this.id+"-"+p,m.setAttribute("role","option"),g.render?g.render(m,n,g):m.appendChild(r.createTextNode(g.displayText||c(g))),m.hintId=p}var y=i.options.container||r.body,b=s.cursorCoords(i.options.alignWithWord?n.from:null),w=b.left,H=b.bottom,A=!0,C=0,k=0;if(y!==r.body){var x=-1!==["absolute","relative","fixed"].indexOf(a.getComputedStyle(y).position)?y:y.offsetParent,O=x.getBoundingClientRect(),S=r.body.getBoundingClientRect();C=O.left-S.left-x.scrollLeft,k=O.top-S.top-x.scrollTop}u.style.left=w-C+"px",u.style.top=H-k+"px";var T=a.innerWidth||Math.max(r.body.offsetWidth,r.documentElement.offsetWidth),F=a.innerHeight||Math.max(r.body.offsetHeight,r.documentElement.offsetHeight);y.appendChild(u),s.getInputField().setAttribute("aria-autocomplete","list"),s.getInputField().setAttribute("aria-owns",this.id),s.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var M,N=i.options.moveOnOverlap?u.getBoundingClientRect():new DOMRect,P=!!i.options.paddingForScrollbar&&u.scrollHeight>u.clientHeight+1;if(setTimeout((function(){M=s.getScrollInfo()})),N.bottom-F>0){var E=N.bottom-N.top;if(b.top-(b.bottom-N.top)-E>0)u.style.top=(H=b.top-E-k)+"px",A=!1;else if(E>F){u.style.height=F-5+"px",u.style.top=(H=b.bottom-N.top-k)+"px";var I=s.getCursor();n.from.ch!=I.ch&&(b=s.cursorCoords(I),u.style.left=(w=b.left-C)+"px",N=u.getBoundingClientRect())}}var W,R=N.right-T;if(P&&(R+=s.display.nativeBarWidth),R>0&&(N.right-N.left>T&&(u.style.width=T-5+"px",R-=N.right-N.left-T),u.style.left=(w=b.left-R-C)+"px"),P)for(var B=u.firstChild;B;B=B.nextSibling)B.style.paddingRight=s.display.nativeBarWidth+"px";s.addKeyMap(this.keyMap=l(i,{moveFocus:function(t,e){o.changeActive(o.selectedHint+t,e)},setFocus:function(t){o.changeActive(t)},menuSize:function(){return o.screenAmount()},length:d.length,close:function(){i.close()},pick:function(){o.pick()},data:n})),i.options.closeOnUnfocus&&(s.on("blur",this.onBlur=function(){W=setTimeout((function(){i.close()}),100)}),s.on("focus",this.onFocus=function(){clearTimeout(W)})),s.on("scroll",this.onScroll=function(){var t=s.getScrollInfo(),e=s.getWrapperElement().getBoundingClientRect();M||(M=s.getScrollInfo());var n=H+M.top-t.top,o=n-(a.pageYOffset||(r.documentElement||r.body).scrollTop);if(A||(o+=u.offsetHeight),o<=e.top||o>=e.bottom)return i.close();u.style.top=n+"px",u.style.left=w+M.left-t.left+"px"}),t.on(u,"dblclick",(function(t){var e=h(u,t.target||t.srcElement);e&&null!=e.hintId&&(o.changeActive(e.hintId),o.pick())})),t.on(u,"click",(function(t){var e=h(u,t.target||t.srcElement);e&&null!=e.hintId&&(o.changeActive(e.hintId),i.options.completeOnSingleClick&&o.pick())})),t.on(u,"mousedown",(function(){setTimeout((function(){s.focus()}),20)}));var K=this.getSelectedHintRange();return 0===K.from&&0===K.to||this.scrollToActive(),t.signal(n,"select",d[this.selectedHint],u.childNodes[this.selectedHint]),!0}function u(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function f(t,e,i,n){if(t.async)t(e,n,i);else{var o=t(e,i);o&&o.then?o.then(n):n(o)}}function d(e,i){var n,o=e.getHelpers(i,"hint");if(o.length){var r=s((function(t,e,i){var n=u(t,o);function r(o){if(o==n.length)return e(null);f(n[o],t,i,(function(t){t&&t.list.length>0?e(t):r(o+1)}))}s(r,"run"),r(0)}),"resolved");return r.async=!0,r.supportsSelection=!0,r}return(n=e.getHelper(e.getCursor(),"hintWords"))?function(e){return t.hint.fromList(e,{words:n})}:t.hint.anyword?function(e,i){return t.hint.anyword(e,i)}:function(){}}i.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&t.signal(this.data,"close"),this.widget&&this.widget.close(),t.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(e,i){var n=e.list[i],o=this;this.cm.operation((function(){n.hint?n.hint(o.cm,e,n):o.cm.replaceRange(c(n),n.from||e.from,n.to||e.to,"complete"),t.signal(e,"pick",n),o.cm.scrollIntoView()})),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(o(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var s=this;this.debounce=n((function(){s.update()})),this.widget&&this.widget.disable()}},update:function(t){if(null!=this.tick){var e=this,i=++this.tick;f(this.options.hint,this.cm,this.options,(function(n){e.tick==i&&e.finishUpdate(n,t)}))}},finishUpdate:function(e,i){this.data&&t.signal(this.data,"update");var n=this.widget&&this.widget.picked||i&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=e,e&&e.list.length&&(n&&1==e.list.length?this.pick(e,0):(this.widget=new a(this,e),t.signal(e,"shown")))}},s(r,"parseOptions"),s(c,"getText"),s(l,"buildKeyMap"),s(h,"getHintElement"),s(a,"Widget"),a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(i,n){if(i>=this.data.list.length?i=n?this.data.list.length-1:0:i<0&&(i=n?0:this.data.list.length-1),this.selectedHint!=i){var o=this.hints.childNodes[this.selectedHint];o&&(o.className=o.className.replace(" "+e,""),o.removeAttribute("aria-selected")),(o=this.hints.childNodes[this.selectedHint=i]).className+=" "+e,o.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",o.id),this.scrollToActive(),t.signal(this.data,"select",this.data.list[this.selectedHint],o)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}},s(u,"applicableHelpers"),s(f,"fetchHints"),s(d,"resolveAutoHints"),t.registerHelper("hint","auto",{resolve:d}),t.registerHelper("hint","fromList",(function(e,i){var n,o=e.getCursor(),s=e.getTokenAt(o),r=t.Pos(o.line,s.start),c=o;s.start<o.ch&&/\w/.test(s.string.charAt(o.ch-s.start-1))?n=s.string.substr(0,o.ch-s.start):(n="",r=o);for(var l=[],h=0;h<i.words.length;h++){var a=i.words[h];a.slice(0,n.length)==n&&l.push(a)}if(l.length)return{list:l,from:r,to:c}})),t.commands.autocomplete=t.showHint;var p={hint:t.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};t.defineOption("hintOptions",null)}(n.a.exports);var l=r({__proto__:null,default:c.exports},[c.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[75,578,866],{34075:(e,t,n)=>{n.r(t),n.d(t,{s:()=>f});var r=n(38950),o=n(98866),i=n(91578),l=Object.defineProperty,a=(e,t)=>l(e,"name",{value:t,configurable:!0});function s(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(s,"_mergeNamespaces");var c={exports:{}};!function(e){var t=e.commands,n=e.Pos;function r(t,r,o){if(o<0&&0==r.ch)return t.clipPos(n(r.line-1));var i=t.getLine(r.line);if(o>0&&r.ch>=i.length)return t.clipPos(n(r.line+1,0));for(var l,a="start",s=r.ch,c=s,f=o<0?0:i.length,u=0;c!=f;c+=o,u++){var h=i.charAt(o<0?c-1:c),d="_"!=h&&e.isWordChar(h)?"w":"o";if("w"==d&&h.toUpperCase()==h&&(d="W"),"start"==a)"o"!=d?(a="in",l=d):s=c+o;else if("in"==a&&l!=d){if("w"==l&&"W"==d&&o<0&&c--,"W"==l&&"w"==d&&o>0){if(c==s+1){l="w";continue}c--}break}}return n(r.line,c)}function o(e,t){e.extendSelectionsBy((function(n){return e.display.shift||e.doc.extend||n.empty()?r(e.doc,n.head,t):t<0?n.from():n.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,o=[],i=-1,l=0;l<e;l++){var a=t.listSelections()[l].head;if(!(a.line<=i)){var s=n(a.line+(r?0:1),0);t.replaceRange("\n",s,null,"+insertLine"),t.indentLine(s.line,null,!0),o.push({head:s,anchor:s}),i=a.line+1}}t.setSelections(o)})),t.execCommand("indentAuto")}function l(t,r){for(var o=r.ch,i=o,l=t.getLine(r.line);o&&e.isWordChar(l.charAt(o-1));)--o;for(;i<l.length&&e.isWordChar(l.charAt(i));)++i;return{from:n(r.line,o),to:n(r.line,i),word:l.slice(o,i)}}function s(e,t){for(var n=e.listSelections(),r=[],o=0;o<n.length;o++){var i=n[o],l=e.findPosV(i.anchor,t,"line",i.anchor.goalColumn),a=e.findPosV(i.head,t,"line",i.head.goalColumn);l.goalColumn=null!=i.anchor.goalColumn?i.anchor.goalColumn:e.cursorCoords(i.anchor,"div").left,a.goalColumn=null!=i.head.goalColumn?i.head.goalColumn:e.cursorCoords(i.head,"div").left;var s={anchor:l,head:a};r.push(i),r.push(s)}e.setSelections(r)}function c(t,n,r){for(var o=0;o<t.length;o++)if(0==e.cmpPos(t[o].from(),n)&&0==e.cmpPos(t[o].to(),r))return!0;return!1}a(r,"findPosSubword"),a(o,"moveSubword"),t.goSubwordLeft=function(e){o(e,-1)},t.goSubwordRight=function(e){o(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++)for(var i=t[o].from(),l=t[o].to(),a=i.line;a<=l.line;++a)l.line>i.line&&a==l.line&&0==l.ch||r.push({anchor:a==i.line?i:n(a,0),head:a==l.line?l:n(a)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++){var i=t[o];r.push({anchor:n(i.from().line,0),head:n(i.to().line+1,0)})}e.setSelections(r)},a(i,"insertLine"),t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},a(l,"wordAt"),t.selectNextOccurrence=function(t){var r=t.getCursor("from"),o=t.getCursor("to"),i=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,o)){var a=l(t,r);if(!a.word)return;t.setSelection(a.from,a.to),i=!0}else{var s=t.getRange(r,o),f=i?new RegExp("\\b"+s+"\\b"):s,u=t.getSearchCursor(f,o),h=u.findNext();if(h||(h=(u=t.getSearchCursor(f,n(t.firstLine(),0))).findNext()),!h||c(t.listSelections(),u.from(),u.to()))return;t.addSelection(u.from(),u.to())}i&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor("anchor"),o=n.getCursor("head");t.selectNextOccurrence(n),0!=e.cmpPos(r,o)&&n.doc.setSelections(n.doc.listSelections().filter((function(e){return e.anchor!=r||e.head!=o})))},a(s,"addCursorToSelection"),t.addCursorToPrevLine=function(e){s(e,-1)},t.addCursorToNextLine=function(e){s(e,1)},a(c,"isSelectedRange");var f="(){}[]";function u(t){for(var r=t.listSelections(),o=[],i=0;i<r.length;i++){var l=r[i],a=l.head,s=t.scanForBracket(a,-1);if(!s)return!1;for(;;){var c=t.scanForBracket(a,1);if(!c)return!1;if(c.ch==f.charAt(f.indexOf(s.ch)+1)){var u=n(s.pos.line,s.pos.ch+1);if(0!=e.cmpPos(u,l.from())||0!=e.cmpPos(c.pos,l.to())){o.push({anchor:u,head:c.pos});break}if(!(s=t.scanForBracket(s.pos,-1)))return!1}a=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(o),!0}function h(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function d(t,r,o){if(t.isReadOnly())return e.Pass;for(var i,l=t.listSelections(),a=[],s=0;s<l.length;s++){var c=l[s];if(!c.empty()){for(var f=c.from().line,u=c.to().line;s<l.length-1&&l[s+1].from().line==u;)u=l[++s].to().line;l[s].to().ch||u--,a.push(f,u)}}a.length?i=!0:a.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],l=0;l<a.length;l+=2){var s=a[l],c=a[l+1],f=n(s,0),u=n(c),h=t.getRange(f,u,!1);r?h.sort((function(e,t){return e<t?-o:e==t?0:o})):h.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-o:e==t?0:o})),t.replaceRange(h,f,u),i&&e.push({anchor:f,head:n(c+1,0)})}i&&t.setSelections(e,0)}))}function g(t,n){t.operation((function(){for(var r=t.listSelections(),o=[],i=[],a=0;a<r.length;a++)(c=r[a]).empty()?(o.push(a),i.push("")):i.push(n(t.getRange(c.from(),c.to())));var s;for(t.replaceSelections(i,"around","case"),a=o.length-1;a>=0;a--){var c=r[o[a]];if(!(s&&e.cmpPos(c.head,s)>0)){var f=l(t,c.head);s=f.from,t.replaceRange(n(f.word),f.from,f.to)}}}))}function m(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var o=l(t,n);if(!o.word)return;n=o.from,r=o.to}return{from:n,to:r,query:t.getRange(n,r),word:o}}function p(e,t){var r=m(e);if(r){var o=r.query,i=e.getSearchCursor(o,t?r.to:r.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(o,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):r.word&&e.setSelection(r.from,r.to))}}a(u,"selectBetweenBrackets"),t.selectScope=function(e){u(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!u(t))return e.Pass},a(h,"puncType"),t.goToBracket=function(t){t.extendSelectionsBy((function(r){var o=t.scanForBracket(r.head,1,h(t.getTokenTypeAt(r.head)));if(o&&0!=e.cmpPos(o.pos,r.head))return o.pos;var i=t.scanForBracket(r.head,-1,h(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return i&&n(i.pos.line,i.pos.ch+1)||r.head}))},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=t.firstLine()-1,l=[],a=0;a<r.length;a++){var s=r[a],c=s.from().line-1,f=s.to().line;l.push({anchor:n(s.anchor.line-1,s.anchor.ch),head:n(s.head.line-1,s.head.ch)}),0!=s.to().ch||s.empty()||--f,c>i?o.push(c,f):o.length&&(o[o.length-1]=f),i=f}t.operation((function(){for(var e=0;e<o.length;e+=2){var r=o[e],i=o[e+1],a=t.getLine(r);t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),i>t.lastLine()?t.replaceRange("\n"+a,n(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",n(i,0),null,"+swapLine")}t.setSelections(l),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=t.lastLine()+1,l=r.length-1;l>=0;l--){var a=r[l],s=a.to().line+1,c=a.from().line;0!=a.to().ch||a.empty()||s--,s<i?o.push(s,c):o.length&&(o[o.length-1]=c),i=c}t.operation((function(){for(var e=o.length-2;e>=0;e-=2){var r=o[e],i=o[e+1],l=t.getLine(r);r==t.lastLine()?t.replaceRange("",n(r-1),n(r),"+swapLine"):t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),t.replaceRange(l+"\n",n(i,0),null,"+swapLine")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++){for(var i=t[o],l=i.from(),a=l.line,s=i.to().line;o<t.length-1&&t[o+1].from().line==s;)s=t[++o].to().line;r.push({start:a,end:s,anchor:!i.empty()&&l})}e.operation((function(){for(var t=0,o=[],i=0;i<r.length;i++){for(var l,a=r[i],s=a.anchor&&n(a.anchor.line-t,a.anchor.ch),c=a.start;c<=a.end;c++){var f=c-t;c==a.end&&(l=n(f,e.getLine(f).length+1)),f<e.lastLine()&&(e.replaceRange(" ",n(f),n(f+1,/^\s*/.exec(e.getLine(f+1))[0].length)),++t)}o.push({anchor:s||l,head:l})}e.setSelections(o,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var o=e.listSelections()[r];o.empty()?e.replaceRange(e.getLine(o.head.line)+"\n",n(o.head.line,0)):e.replaceRange(e.getRange(o.from(),o.to()),o.from())}e.scrollIntoView()}))},a(d,"sortLines"),t.sortLines=function(e){d(e,!0,1)},t.reverseSortLines=function(e){d(e,!0,-1)},t.sortLinesInsensitive=function(e){d(e,!1,1)},t.reverseSortLinesInsensitive=function(e){d(e,!1,-1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var o=t[r].from(),i=t[r].to(),l=t[r].empty()?e.findMarksAt(o):e.findMarks(o,i),a=0;a<l.length;a++)if(l[a].sublimeBookmark){l[a].clear();for(var s=0;s<n.length;s++)n[s]==l[a]&&n.splice(s--,1);break}a==l.length&&n.push(e.markText(o,i,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var o=t[r].find();o?n.push({anchor:o.from,head:o.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},a(g,"modifyWordOrSelection"),t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation((function(){for(var r=t.listSelections(),o=t.getOption("indentUnit"),i=r.length-1;i>=0;i--){var l=r[i].head,a=t.getRange({line:l.line,ch:0},l),s=e.countColumn(a,null,t.getOption("tabSize")),c=t.findPosH(l,-1,"char",!1);if(a&&!/\S/.test(a)&&s%o==0){var f=new n(l.line,e.findColumn(a,s-o,o));f.ch!=l.ch&&(c=f)}t.replaceRange("",c,l,"+delete")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange("",t[r].anchor,n(t[r].to().line),"+delete");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){g(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){g(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),o=n;if(e.cmpPos(r,o)>0){var i=o;o=r,r=i}t.state.sublimeKilled=t.getRange(r,o),t.replaceRange("",r,o)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},t.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},a(m,"getTarget"),a(p,"findAndGoTo"),t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=m(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],o=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&o++;e.setSelections(r,o)}};var C=e.keyMap;C.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},e.normalizeKeyMap(C.macSublime),C.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},e.normalizeKeyMap(C.pcSublime);var v=C.default==C.macDefault;C.sublime=v?C.macSublime:C.pcSublime}(r.a.exports,o.a.exports,i.a.exports);var f=s({__proto__:null,default:c.exports},[c.exports])},91578:(e,t,n)=>{n.r(t),n.d(t,{a:()=>a,m:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(l,"_mergeNamespaces");var a={exports:{}};!function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function o(e){return e&&e.bracketRegex||/[(){}[\]]/}function l(e,t,i){var l=e.getLineHandle(t.line),s=t.ch-1,c=i&&i.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var f=o(i),u=!c&&s>=0&&f.test(l.text.charAt(s))&&r[l.text.charAt(s)]||f.test(l.text.charAt(s+1))&&r[l.text.charAt(++s)];if(!u)return null;var h=">"==u.charAt(1)?1:-1;if(i&&i.strict&&h>0!=(s==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,s+1)),g=a(e,n(t.line,s+(h>0?1:0)),h,d,i);return null==g?null:{from:n(t.line,s),to:g&&g.pos,match:g&&g.ch==u.charAt(0),forward:h>0}}function a(e,t,i,l,a){for(var s=a&&a.maxScanLineLength||1e4,c=a&&a.maxScanLines||1e3,f=[],u=o(a),h=i>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=h;d+=i){var g=e.getLine(d);if(g){var m=i>0?0:g.length-1,p=i>0?g.length:-1;if(!(g.length>s))for(d==t.line&&(m=t.ch-(i<0?1:0));m!=p;m+=i){var C=g.charAt(m);if(u.test(C)&&(void 0===l||(e.getTokenTypeAt(n(d,m+1))||"")==(l||""))){var v=r[C];if(v&&">"==v.charAt(1)==i>0)f.push(C);else{if(!f.length)return{pos:n(d,m),ch:C};f.pop()}}}}}return d-i!=(i>0?e.lastLine():e.firstLine())&&null}function s(e,r,o){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=o&&o.highlightNonMatching,c=[],f=e.listSelections(),u=0;u<f.length;u++){var h=f[u].empty()&&l(e,f[u].head,o);if(h&&(h.match||!1!==s)&&e.getLine(h.from.line).length<=a){var d=h.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";c.push(e.markText(h.from,n(h.from.line,h.from.ch+1),{className:d})),h.to&&e.getLine(h.to.line).length<=a&&c.push(e.markText(h.to,n(h.to.line,h.to.ch+1),{className:d}))}}if(c.length){t&&e.state.focused&&e.focus();var g=i((function(){e.operation((function(){for(var e=0;e<c.length;e++)c[e].clear()}))}),"clear");if(!r)return g;setTimeout(g,800)}}function c(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)}))}function f(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}i(o,"bracketRegex"),i(l,"findMatchingBracket"),i(a,"scanForBracket"),i(s,"matchBrackets"),i(c,"doMatchBrackets"),i(f,"clearHighlighted"),e.defineOption("matchBrackets",!1,(function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",c),t.off("focus",c),t.off("blur",f),f(t)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",c),t.on("focus",c),t.on("blur",f))})),e.defineExtension("matchBrackets",(function(){s(this,!0)})),e.defineExtension("findMatchingBracket",(function(e,t,n){return(n||"boolean"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),l(this,e,t)})),e.defineExtension("scanForBracket",(function(e,t,n,r){return a(this,e,t,n,r)}))}(r.a.exports);var s=l({__proto__:null,default:a.exports},[a.exports])},98866:(e,t,n)=>{n.r(t),n.d(t,{a:()=>a,s:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(l,"_mergeNamespaces");var a={exports:{}};!function(e){var t,n,r=e.Pos;function o(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function l(e,t){for(var n=o(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function a(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function s(e,t,n){t=l(t,"g");for(var o=n.line,i=n.ch,a=e.lastLine();o<=a;o++,i=0){t.lastIndex=i;var s=e.getLine(o),c=t.exec(s);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function c(e,t,n){if(!a(t))return s(e,t,n);t=l(t,"gm");for(var o,i=1,c=n.line,f=e.lastLine();c<=f;){for(var u=0;u<i&&!(c>f);u++){var h=e.getLine(c++);o=null==o?h:o+"\n"+h}i*=2,t.lastIndex=n.ch;var d=t.exec(o);if(d){var g=o.slice(0,d.index).split("\n"),m=d[0].split("\n"),p=n.line+g.length-1,C=g[g.length-1].length;return{from:r(p,C),to:r(p+m.length-1,1==m.length?C+m[0].length:m[m.length-1].length),match:d}}}}function f(e,t,n){for(var r,o=0;o<=e.length;){t.lastIndex=o;var i=t.exec(e);if(!i)break;var l=i.index+i[0].length;if(l>e.length-n)break;(!r||l>r.index+r[0].length)&&(r=i),o=i.index+1}return r}function u(e,t,n){t=l(t,"g");for(var o=n.line,i=n.ch,a=e.firstLine();o>=a;o--,i=-1){var s=e.getLine(o),c=f(s,t,i<0?0:s.length-i);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function h(e,t,n){if(!a(t))return u(e,t,n);t=l(t,"gm");for(var o,i=1,s=e.getLine(n.line).length-n.ch,c=n.line,h=e.firstLine();c>=h;){for(var d=0;d<i&&c>=h;d++){var g=e.getLine(c--);o=null==o?g:g+"\n"+o}i*=2;var m=f(o,t,s);if(m){var p=o.slice(0,m.index).split("\n"),C=m[0].split("\n"),v=c+p.length,S=p[p.length-1].length;return{from:r(v,S),to:r(v+C.length-1,1==C.length?S+C[0].length:C[C.length-1].length),match:m}}}}function d(e,t,n,r){if(e.length==t.length)return n;for(var o=0,i=n+Math.max(0,e.length-t.length);;){if(o==i)return o;var l=o+i>>1,a=r(e.slice(0,l)).length;if(a==n)return l;a>n?i=l:o=l+1}}function g(e,o,i,l){if(!o.length)return null;var a=l?t:n,s=a(o).split(/\r|\n\r?/);e:for(var c=i.line,f=i.ch,u=e.lastLine()+1-s.length;c<=u;c++,f=0){var h=e.getLine(c).slice(f),g=a(h);if(1==s.length){var m=g.indexOf(s[0]);if(-1==m)continue e;return i=d(h,g,m,a)+f,{from:r(c,d(h,g,m,a)+f),to:r(c,d(h,g,m+s[0].length,a)+f)}}var p=g.length-s[0].length;if(g.slice(p)==s[0]){for(var C=1;C<s.length-1;C++)if(a(e.getLine(c+C))!=s[C])continue e;var v=e.getLine(c+s.length-1),S=a(v),k=s[s.length-1];if(S.slice(0,k.length)==k)return{from:r(c,d(h,g,p,a)+f),to:r(c+s.length-1,d(v,S,k.length,a))}}}}function m(e,o,i,l){if(!o.length)return null;var a=l?t:n,s=a(o).split(/\r|\n\r?/);e:for(var c=i.line,f=i.ch,u=e.firstLine()-1+s.length;c>=u;c--,f=-1){var h=e.getLine(c);f>-1&&(h=h.slice(0,f));var g=a(h);if(1==s.length){var m=g.lastIndexOf(s[0]);if(-1==m)continue e;return{from:r(c,d(h,g,m,a)),to:r(c,d(h,g,m+s[0].length,a))}}var p=s[s.length-1];if(g.slice(0,p.length)==p){var C=1;for(i=c-s.length+1;C<s.length-1;C++)if(a(e.getLine(i+C))!=s[C])continue e;var v=e.getLine(c+1-s.length),S=a(v);if(S.slice(S.length-s[0].length)==s[0])return{from:r(c+1-s.length,d(v,S,v.length-s[0].length,a)),to:r(c,d(h,g,p.length,a))}}}}function p(e,t,n,o){var i;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},"object"==typeof o?i=o.caseFold:(i=o,o=null),"string"==typeof t?(null==i&&(i=!1),this.matches=function(n,r){return(n?m:g)(e,t,r,i)}):(t=l(t,"gm"),o&&!1===o.multiline?this.matches=function(n,r){return(n?u:s)(e,t,r)}:this.matches=function(n,r){return(n?h:c)(e,t,r)})}i(o,"regexpFlags"),i(l,"ensureFlags"),i(a,"maybeMultiline"),i(s,"searchRegexpForward"),i(c,"searchRegexpForwardMultiline"),i(f,"lastMatchIn"),i(u,"searchRegexpBackward"),i(h,"searchRegexpBackwardMultiline"),String.prototype.normalize?(t=i((function(e){return e.normalize("NFD").toLowerCase()}),"doFold"),n=i((function(e){return e.normalize("NFD")}),"noFold")):(t=i((function(e){return e.toLowerCase()}),"doFold"),n=i((function(e){return e}),"noFold")),i(d,"adjustPos"),i(g,"searchStringForward"),i(m,"searchStringBackward"),i(p,"SearchCursor"),p.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var n=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(n=r(n.line,n.ch),t?(n.ch--,n.ch<0&&(n.line--,n.ch=(this.doc.getLine(n.line)||"").length)):(n.ch++,n.ch>(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var o=this.matches(t,n);if(this.afterEmptyMatch=o&&0==e.cmpPos(o.from,o.to),o)return this.pos=o,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var o=e.splitLines(t);this.doc.replaceRange(o,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+o.length-1,o[o.length-1].length+(1==o.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,n){return new p(this.doc,e,t,n)})),e.defineDocExtension("getSearchCursor",(function(e,t,n){return new p(this,e,t,n)})),e.defineExtension("selectMatches",(function(t,n){for(var r=[],o=this.getSearchCursor(t,this.getCursor("from"),n);o.findNext()&&!(e.cmpPos(o.to(),this.getCursor("to"))>0);)r.push({anchor:o.from(),head:o.to()});r.length&&this.setSelections(r,0)}))}(r.a.exports);var s=l({__proto__:null,default:a.exports},[a.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[75,578,866],{34075:(e,t,n)=>{n.d(t,{s:()=>f});var r=n(38950),o=n(98866),i=n(91578),l=Object.defineProperty,a=(e,t)=>l(e,"name",{value:t,configurable:!0});function s(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(s,"_mergeNamespaces");var c={exports:{}};!function(e){var t=e.commands,n=e.Pos;function r(t,r,o){if(o<0&&0==r.ch)return t.clipPos(n(r.line-1));var i=t.getLine(r.line);if(o>0&&r.ch>=i.length)return t.clipPos(n(r.line+1,0));for(var l,a="start",s=r.ch,c=s,f=o<0?0:i.length,u=0;c!=f;c+=o,u++){var h=i.charAt(o<0?c-1:c),d="_"!=h&&e.isWordChar(h)?"w":"o";if("w"==d&&h.toUpperCase()==h&&(d="W"),"start"==a)"o"!=d?(a="in",l=d):s=c+o;else if("in"==a&&l!=d){if("w"==l&&"W"==d&&o<0&&c--,"W"==l&&"w"==d&&o>0){if(c==s+1){l="w";continue}c--}break}}return n(r.line,c)}function o(e,t){e.extendSelectionsBy((function(n){return e.display.shift||e.doc.extend||n.empty()?r(e.doc,n.head,t):t<0?n.from():n.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,o=[],i=-1,l=0;l<e;l++){var a=t.listSelections()[l].head;if(!(a.line<=i)){var s=n(a.line+(r?0:1),0);t.replaceRange("\n",s,null,"+insertLine"),t.indentLine(s.line,null,!0),o.push({head:s,anchor:s}),i=a.line+1}}t.setSelections(o)})),t.execCommand("indentAuto")}function l(t,r){for(var o=r.ch,i=o,l=t.getLine(r.line);o&&e.isWordChar(l.charAt(o-1));)--o;for(;i<l.length&&e.isWordChar(l.charAt(i));)++i;return{from:n(r.line,o),to:n(r.line,i),word:l.slice(o,i)}}function s(e,t){for(var n=e.listSelections(),r=[],o=0;o<n.length;o++){var i=n[o],l=e.findPosV(i.anchor,t,"line",i.anchor.goalColumn),a=e.findPosV(i.head,t,"line",i.head.goalColumn);l.goalColumn=null!=i.anchor.goalColumn?i.anchor.goalColumn:e.cursorCoords(i.anchor,"div").left,a.goalColumn=null!=i.head.goalColumn?i.head.goalColumn:e.cursorCoords(i.head,"div").left;var s={anchor:l,head:a};r.push(i),r.push(s)}e.setSelections(r)}function c(t,n,r){for(var o=0;o<t.length;o++)if(0==e.cmpPos(t[o].from(),n)&&0==e.cmpPos(t[o].to(),r))return!0;return!1}a(r,"findPosSubword"),a(o,"moveSubword"),t.goSubwordLeft=function(e){o(e,-1)},t.goSubwordRight=function(e){o(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++)for(var i=t[o].from(),l=t[o].to(),a=i.line;a<=l.line;++a)l.line>i.line&&a==l.line&&0==l.ch||r.push({anchor:a==i.line?i:n(a,0),head:a==l.line?l:n(a)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++){var i=t[o];r.push({anchor:n(i.from().line,0),head:n(i.to().line+1,0)})}e.setSelections(r)},a(i,"insertLine"),t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},a(l,"wordAt"),t.selectNextOccurrence=function(t){var r=t.getCursor("from"),o=t.getCursor("to"),i=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,o)){var a=l(t,r);if(!a.word)return;t.setSelection(a.from,a.to),i=!0}else{var s=t.getRange(r,o),f=i?new RegExp("\\b"+s+"\\b"):s,u=t.getSearchCursor(f,o),h=u.findNext();if(h||(h=(u=t.getSearchCursor(f,n(t.firstLine(),0))).findNext()),!h||c(t.listSelections(),u.from(),u.to()))return;t.addSelection(u.from(),u.to())}i&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor("anchor"),o=n.getCursor("head");t.selectNextOccurrence(n),0!=e.cmpPos(r,o)&&n.doc.setSelections(n.doc.listSelections().filter((function(e){return e.anchor!=r||e.head!=o})))},a(s,"addCursorToSelection"),t.addCursorToPrevLine=function(e){s(e,-1)},t.addCursorToNextLine=function(e){s(e,1)},a(c,"isSelectedRange");var f="(){}[]";function u(t){for(var r=t.listSelections(),o=[],i=0;i<r.length;i++){var l=r[i],a=l.head,s=t.scanForBracket(a,-1);if(!s)return!1;for(;;){var c=t.scanForBracket(a,1);if(!c)return!1;if(c.ch==f.charAt(f.indexOf(s.ch)+1)){var u=n(s.pos.line,s.pos.ch+1);if(0!=e.cmpPos(u,l.from())||0!=e.cmpPos(c.pos,l.to())){o.push({anchor:u,head:c.pos});break}if(!(s=t.scanForBracket(s.pos,-1)))return!1}a=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(o),!0}function h(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function d(t,r,o){if(t.isReadOnly())return e.Pass;for(var i,l=t.listSelections(),a=[],s=0;s<l.length;s++){var c=l[s];if(!c.empty()){for(var f=c.from().line,u=c.to().line;s<l.length-1&&l[s+1].from().line==u;)u=l[++s].to().line;l[s].to().ch||u--,a.push(f,u)}}a.length?i=!0:a.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],l=0;l<a.length;l+=2){var s=a[l],c=a[l+1],f=n(s,0),u=n(c),h=t.getRange(f,u,!1);r?h.sort((function(e,t){return e<t?-o:e==t?0:o})):h.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-o:e==t?0:o})),t.replaceRange(h,f,u),i&&e.push({anchor:f,head:n(c+1,0)})}i&&t.setSelections(e,0)}))}function g(t,n){t.operation((function(){for(var r=t.listSelections(),o=[],i=[],a=0;a<r.length;a++)(c=r[a]).empty()?(o.push(a),i.push("")):i.push(n(t.getRange(c.from(),c.to())));var s;for(t.replaceSelections(i,"around","case"),a=o.length-1;a>=0;a--){var c=r[o[a]];if(!(s&&e.cmpPos(c.head,s)>0)){var f=l(t,c.head);s=f.from,t.replaceRange(n(f.word),f.from,f.to)}}}))}function m(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var o=l(t,n);if(!o.word)return;n=o.from,r=o.to}return{from:n,to:r,query:t.getRange(n,r),word:o}}function p(e,t){var r=m(e);if(r){var o=r.query,i=e.getSearchCursor(o,t?r.to:r.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(o,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):r.word&&e.setSelection(r.from,r.to))}}a(u,"selectBetweenBrackets"),t.selectScope=function(e){u(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!u(t))return e.Pass},a(h,"puncType"),t.goToBracket=function(t){t.extendSelectionsBy((function(r){var o=t.scanForBracket(r.head,1,h(t.getTokenTypeAt(r.head)));if(o&&0!=e.cmpPos(o.pos,r.head))return o.pos;var i=t.scanForBracket(r.head,-1,h(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return i&&n(i.pos.line,i.pos.ch+1)||r.head}))},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=t.firstLine()-1,l=[],a=0;a<r.length;a++){var s=r[a],c=s.from().line-1,f=s.to().line;l.push({anchor:n(s.anchor.line-1,s.anchor.ch),head:n(s.head.line-1,s.head.ch)}),0!=s.to().ch||s.empty()||--f,c>i?o.push(c,f):o.length&&(o[o.length-1]=f),i=f}t.operation((function(){for(var e=0;e<o.length;e+=2){var r=o[e],i=o[e+1],a=t.getLine(r);t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),i>t.lastLine()?t.replaceRange("\n"+a,n(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",n(i,0),null,"+swapLine")}t.setSelections(l),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=t.lastLine()+1,l=r.length-1;l>=0;l--){var a=r[l],s=a.to().line+1,c=a.from().line;0!=a.to().ch||a.empty()||s--,s<i?o.push(s,c):o.length&&(o[o.length-1]=c),i=c}t.operation((function(){for(var e=o.length-2;e>=0;e-=2){var r=o[e],i=o[e+1],l=t.getLine(r);r==t.lastLine()?t.replaceRange("",n(r-1),n(r),"+swapLine"):t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),t.replaceRange(l+"\n",n(i,0),null,"+swapLine")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++){for(var i=t[o],l=i.from(),a=l.line,s=i.to().line;o<t.length-1&&t[o+1].from().line==s;)s=t[++o].to().line;r.push({start:a,end:s,anchor:!i.empty()&&l})}e.operation((function(){for(var t=0,o=[],i=0;i<r.length;i++){for(var l,a=r[i],s=a.anchor&&n(a.anchor.line-t,a.anchor.ch),c=a.start;c<=a.end;c++){var f=c-t;c==a.end&&(l=n(f,e.getLine(f).length+1)),f<e.lastLine()&&(e.replaceRange(" ",n(f),n(f+1,/^\s*/.exec(e.getLine(f+1))[0].length)),++t)}o.push({anchor:s||l,head:l})}e.setSelections(o,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var o=e.listSelections()[r];o.empty()?e.replaceRange(e.getLine(o.head.line)+"\n",n(o.head.line,0)):e.replaceRange(e.getRange(o.from(),o.to()),o.from())}e.scrollIntoView()}))},a(d,"sortLines"),t.sortLines=function(e){d(e,!0,1)},t.reverseSortLines=function(e){d(e,!0,-1)},t.sortLinesInsensitive=function(e){d(e,!1,1)},t.reverseSortLinesInsensitive=function(e){d(e,!1,-1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var o=t[r].from(),i=t[r].to(),l=t[r].empty()?e.findMarksAt(o):e.findMarks(o,i),a=0;a<l.length;a++)if(l[a].sublimeBookmark){l[a].clear();for(var s=0;s<n.length;s++)n[s]==l[a]&&n.splice(s--,1);break}a==l.length&&n.push(e.markText(o,i,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var o=t[r].find();o?n.push({anchor:o.from,head:o.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},a(g,"modifyWordOrSelection"),t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation((function(){for(var r=t.listSelections(),o=t.getOption("indentUnit"),i=r.length-1;i>=0;i--){var l=r[i].head,a=t.getRange({line:l.line,ch:0},l),s=e.countColumn(a,null,t.getOption("tabSize")),c=t.findPosH(l,-1,"char",!1);if(a&&!/\S/.test(a)&&s%o==0){var f=new n(l.line,e.findColumn(a,s-o,o));f.ch!=l.ch&&(c=f)}t.replaceRange("",c,l,"+delete")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange("",t[r].anchor,n(t[r].to().line),"+delete");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){g(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){g(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),o=n;if(e.cmpPos(r,o)>0){var i=o;o=r,r=i}t.state.sublimeKilled=t.getRange(r,o),t.replaceRange("",r,o)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},t.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},a(m,"getTarget"),a(p,"findAndGoTo"),t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=m(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],o=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&o++;e.setSelections(r,o)}};var C=e.keyMap;C.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},e.normalizeKeyMap(C.macSublime),C.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},e.normalizeKeyMap(C.pcSublime);var v=C.default==C.macDefault;C.sublime=v?C.macSublime:C.pcSublime}(r.a.exports,o.a.exports,i.a.exports);var f=s({__proto__:null,default:c.exports},[c.exports])},91578:(e,t,n)=>{n.d(t,{a:()=>a,m:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(l,"_mergeNamespaces");var a={exports:{}};!function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function o(e){return e&&e.bracketRegex||/[(){}[\]]/}function l(e,t,i){var l=e.getLineHandle(t.line),s=t.ch-1,c=i&&i.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var f=o(i),u=!c&&s>=0&&f.test(l.text.charAt(s))&&r[l.text.charAt(s)]||f.test(l.text.charAt(s+1))&&r[l.text.charAt(++s)];if(!u)return null;var h=">"==u.charAt(1)?1:-1;if(i&&i.strict&&h>0!=(s==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,s+1)),g=a(e,n(t.line,s+(h>0?1:0)),h,d,i);return null==g?null:{from:n(t.line,s),to:g&&g.pos,match:g&&g.ch==u.charAt(0),forward:h>0}}function a(e,t,i,l,a){for(var s=a&&a.maxScanLineLength||1e4,c=a&&a.maxScanLines||1e3,f=[],u=o(a),h=i>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=h;d+=i){var g=e.getLine(d);if(g){var m=i>0?0:g.length-1,p=i>0?g.length:-1;if(!(g.length>s))for(d==t.line&&(m=t.ch-(i<0?1:0));m!=p;m+=i){var C=g.charAt(m);if(u.test(C)&&(void 0===l||(e.getTokenTypeAt(n(d,m+1))||"")==(l||""))){var v=r[C];if(v&&">"==v.charAt(1)==i>0)f.push(C);else{if(!f.length)return{pos:n(d,m),ch:C};f.pop()}}}}}return d-i!=(i>0?e.lastLine():e.firstLine())&&null}function s(e,r,o){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=o&&o.highlightNonMatching,c=[],f=e.listSelections(),u=0;u<f.length;u++){var h=f[u].empty()&&l(e,f[u].head,o);if(h&&(h.match||!1!==s)&&e.getLine(h.from.line).length<=a){var d=h.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";c.push(e.markText(h.from,n(h.from.line,h.from.ch+1),{className:d})),h.to&&e.getLine(h.to.line).length<=a&&c.push(e.markText(h.to,n(h.to.line,h.to.ch+1),{className:d}))}}if(c.length){t&&e.state.focused&&e.focus();var g=i((function(){e.operation((function(){for(var e=0;e<c.length;e++)c[e].clear()}))}),"clear");if(!r)return g;setTimeout(g,800)}}function c(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)}))}function f(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}i(o,"bracketRegex"),i(l,"findMatchingBracket"),i(a,"scanForBracket"),i(s,"matchBrackets"),i(c,"doMatchBrackets"),i(f,"clearHighlighted"),e.defineOption("matchBrackets",!1,(function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",c),t.off("focus",c),t.off("blur",f),f(t)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",c),t.on("focus",c),t.on("blur",f))})),e.defineExtension("matchBrackets",(function(){s(this,!0)})),e.defineExtension("findMatchingBracket",(function(e,t,n){return(n||"boolean"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),l(this,e,t)})),e.defineExtension("scanForBracket",(function(e,t,n,r){return a(this,e,t,n,r)}))}(r.a.exports);var s=l({__proto__:null,default:a.exports},[a.exports])},98866:(e,t,n)=>{n.d(t,{a:()=>a,s:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(l,"_mergeNamespaces");var a={exports:{}};!function(e){var t,n,r=e.Pos;function o(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function l(e,t){for(var n=o(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function a(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function s(e,t,n){t=l(t,"g");for(var o=n.line,i=n.ch,a=e.lastLine();o<=a;o++,i=0){t.lastIndex=i;var s=e.getLine(o),c=t.exec(s);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function c(e,t,n){if(!a(t))return s(e,t,n);t=l(t,"gm");for(var o,i=1,c=n.line,f=e.lastLine();c<=f;){for(var u=0;u<i&&!(c>f);u++){var h=e.getLine(c++);o=null==o?h:o+"\n"+h}i*=2,t.lastIndex=n.ch;var d=t.exec(o);if(d){var g=o.slice(0,d.index).split("\n"),m=d[0].split("\n"),p=n.line+g.length-1,C=g[g.length-1].length;return{from:r(p,C),to:r(p+m.length-1,1==m.length?C+m[0].length:m[m.length-1].length),match:d}}}}function f(e,t,n){for(var r,o=0;o<=e.length;){t.lastIndex=o;var i=t.exec(e);if(!i)break;var l=i.index+i[0].length;if(l>e.length-n)break;(!r||l>r.index+r[0].length)&&(r=i),o=i.index+1}return r}function u(e,t,n){t=l(t,"g");for(var o=n.line,i=n.ch,a=e.firstLine();o>=a;o--,i=-1){var s=e.getLine(o),c=f(s,t,i<0?0:s.length-i);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function h(e,t,n){if(!a(t))return u(e,t,n);t=l(t,"gm");for(var o,i=1,s=e.getLine(n.line).length-n.ch,c=n.line,h=e.firstLine();c>=h;){for(var d=0;d<i&&c>=h;d++){var g=e.getLine(c--);o=null==o?g:g+"\n"+o}i*=2;var m=f(o,t,s);if(m){var p=o.slice(0,m.index).split("\n"),C=m[0].split("\n"),v=c+p.length,S=p[p.length-1].length;return{from:r(v,S),to:r(v+C.length-1,1==C.length?S+C[0].length:C[C.length-1].length),match:m}}}}function d(e,t,n,r){if(e.length==t.length)return n;for(var o=0,i=n+Math.max(0,e.length-t.length);;){if(o==i)return o;var l=o+i>>1,a=r(e.slice(0,l)).length;if(a==n)return l;a>n?i=l:o=l+1}}function g(e,o,i,l){if(!o.length)return null;var a=l?t:n,s=a(o).split(/\r|\n\r?/);e:for(var c=i.line,f=i.ch,u=e.lastLine()+1-s.length;c<=u;c++,f=0){var h=e.getLine(c).slice(f),g=a(h);if(1==s.length){var m=g.indexOf(s[0]);if(-1==m)continue e;return i=d(h,g,m,a)+f,{from:r(c,d(h,g,m,a)+f),to:r(c,d(h,g,m+s[0].length,a)+f)}}var p=g.length-s[0].length;if(g.slice(p)==s[0]){for(var C=1;C<s.length-1;C++)if(a(e.getLine(c+C))!=s[C])continue e;var v=e.getLine(c+s.length-1),S=a(v),k=s[s.length-1];if(S.slice(0,k.length)==k)return{from:r(c,d(h,g,p,a)+f),to:r(c+s.length-1,d(v,S,k.length,a))}}}}function m(e,o,i,l){if(!o.length)return null;var a=l?t:n,s=a(o).split(/\r|\n\r?/);e:for(var c=i.line,f=i.ch,u=e.firstLine()-1+s.length;c>=u;c--,f=-1){var h=e.getLine(c);f>-1&&(h=h.slice(0,f));var g=a(h);if(1==s.length){var m=g.lastIndexOf(s[0]);if(-1==m)continue e;return{from:r(c,d(h,g,m,a)),to:r(c,d(h,g,m+s[0].length,a))}}var p=s[s.length-1];if(g.slice(0,p.length)==p){var C=1;for(i=c-s.length+1;C<s.length-1;C++)if(a(e.getLine(i+C))!=s[C])continue e;var v=e.getLine(c+1-s.length),S=a(v);if(S.slice(S.length-s[0].length)==s[0])return{from:r(c+1-s.length,d(v,S,v.length-s[0].length,a)),to:r(c,d(h,g,p.length,a))}}}}function p(e,t,n,o){var i;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},"object"==typeof o?i=o.caseFold:(i=o,o=null),"string"==typeof t?(null==i&&(i=!1),this.matches=function(n,r){return(n?m:g)(e,t,r,i)}):(t=l(t,"gm"),o&&!1===o.multiline?this.matches=function(n,r){return(n?u:s)(e,t,r)}:this.matches=function(n,r){return(n?h:c)(e,t,r)})}i(o,"regexpFlags"),i(l,"ensureFlags"),i(a,"maybeMultiline"),i(s,"searchRegexpForward"),i(c,"searchRegexpForwardMultiline"),i(f,"lastMatchIn"),i(u,"searchRegexpBackward"),i(h,"searchRegexpBackwardMultiline"),String.prototype.normalize?(t=i((function(e){return e.normalize("NFD").toLowerCase()}),"doFold"),n=i((function(e){return e.normalize("NFD")}),"noFold")):(t=i((function(e){return e.toLowerCase()}),"doFold"),n=i((function(e){return e}),"noFold")),i(d,"adjustPos"),i(g,"searchStringForward"),i(m,"searchStringBackward"),i(p,"SearchCursor"),p.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var n=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(n=r(n.line,n.ch),t?(n.ch--,n.ch<0&&(n.line--,n.ch=(this.doc.getLine(n.line)||"").length)):(n.ch++,n.ch>(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var o=this.matches(t,n);if(this.afterEmptyMatch=o&&0==e.cmpPos(o.from,o.to),o)return this.pos=o,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var o=e.splitLines(t);this.doc.replaceRange(o,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+o.length-1,o[o.length-1].length+(1==o.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,n){return new p(this.doc,e,t,n)})),e.defineDocExtension("getSearchCursor",(function(e,t,n){return new p(this,e,t,n)})),e.defineExtension("selectMatches",(function(t,n){for(var r=[],o=this.getSearchCursor(t,this.getCursor("from"),n);o.findNext()&&!(e.cmpPos(o.to(),this.getCursor("to"))>0);)r.push({anchor:o.from(),head:o.to()});r.length&&this.setSelections(r,0)}))}(r.a.exports);var s=l({__proto__:null,default:a.exports},[a.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[753],{66753:(e,n,t)=>{t.r(n),t.d(n,{c:()=>c});var i=t(38950),l=Object.defineProperty,o=(e,n)=>l(e,"name",{value:n,configurable:!0});function r(e,n){return n.forEach((function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach((function(t){if("default"!==t&&!(t in e)){var i=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:function(){return n[t]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}o(r,"_mergeNamespaces");var a={exports:{}};!function(e){var n={},t=/[^\s\u00a0]/,i=e.Pos,l=e.cmpPos;function r(e){var n=e.search(t);return-1==n?0:n}function a(e,n,t){return/\bstring\b/.test(e.getTokenTypeAt(i(n.line,0)))&&!/^[\'\"\`]/.test(t)}function c(e,n){var t=e.getMode();return!1!==t.useInnerComments&&t.innerMode?e.getModeAt(n):t}o(r,"firstNonWS"),e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",(function(e){e||(e=n);for(var t=this,l=1/0,o=this.listSelections(),r=null,a=o.length-1;a>=0;a--){var c=o[a].from(),m=o[a].to();c.line>=l||(m.line>=l&&(m=i(l,0)),l=c.line,null==r?t.uncomment(c,m,e)?r="un":(t.lineComment(c,m,e),r="line"):"un"==r?t.uncomment(c,m,e):t.lineComment(c,m,e))}})),o(a,"probablyInsideString"),o(c,"getMode"),e.defineExtension("lineComment",(function(e,l,o){o||(o=n);var m=this,s=c(m,e),f=m.getLine(e.line);if(null!=f&&!a(m,e,f)){var g=o.lineComment||s.lineComment;if(g){var u=Math.min(0!=l.ch||l.line==e.line?l.line+1:l.line,m.lastLine()+1),d=null==o.padding?" ":o.padding,h=o.commentBlankLines||e.line==l.line;m.operation((function(){if(o.indent){for(var n=null,l=e.line;l<u;++l){var a=(c=m.getLine(l)).slice(0,r(c));(null==n||n.length>a.length)&&(n=a)}for(l=e.line;l<u;++l){var c=m.getLine(l),s=n.length;(h||t.test(c))&&(c.slice(0,s)!=n&&(s=r(c)),m.replaceRange(n+g+d,i(l,0),i(l,s)))}}else for(l=e.line;l<u;++l)(h||t.test(m.getLine(l)))&&m.replaceRange(g+d,i(l,0))}))}else(o.blockCommentStart||s.blockCommentStart)&&(o.fullLines=!0,m.blockComment(e,l,o))}})),e.defineExtension("blockComment",(function(e,o,r){r||(r=n);var a=this,m=c(a,e),s=r.blockCommentStart||m.blockCommentStart,f=r.blockCommentEnd||m.blockCommentEnd;if(s&&f){if(!/\bcomment\b/.test(a.getTokenTypeAt(i(e.line,0)))){var g=Math.min(o.line,a.lastLine());g!=e.line&&0==o.ch&&t.test(a.getLine(g))&&--g;var u=null==r.padding?" ":r.padding;e.line>g||a.operation((function(){if(0!=r.fullLines){var n=t.test(a.getLine(g));a.replaceRange(u+f,i(g)),a.replaceRange(s+u,i(e.line,0));var c=r.blockCommentLead||m.blockCommentLead;if(null!=c)for(var d=e.line+1;d<=g;++d)(d!=g||n)&&a.replaceRange(c+u,i(d,0))}else{var h=0==l(a.getCursor("to"),o),p=!a.somethingSelected();a.replaceRange(f,o),h&&a.setSelection(p?o:a.getCursor("from"),o),a.replaceRange(s,e)}}))}}else(r.lineComment||m.lineComment)&&0!=r.fullLines&&a.lineComment(e,o,r)})),e.defineExtension("uncomment",(function(e,l,o){o||(o=n);var r,a=this,m=c(a,e),s=Math.min(0!=l.ch||l.line==e.line?l.line:l.line-1,a.lastLine()),f=Math.min(e.line,s),g=o.lineComment||m.lineComment,u=[],d=null==o.padding?" ":o.padding;e:if(g){for(var h=f;h<=s;++h){var p=a.getLine(h),v=p.indexOf(g);if(v>-1&&!/comment/.test(a.getTokenTypeAt(i(h,v+1)))&&(v=-1),-1==v&&t.test(p))break e;if(v>-1&&t.test(p.slice(0,v)))break e;u.push(p)}if(a.operation((function(){for(var e=f;e<=s;++e){var n=u[e-f],t=n.indexOf(g),l=t+g.length;t<0||(n.slice(l,l+d.length)==d&&(l+=d.length),r=!0,a.replaceRange("",i(e,t),i(e,l)))}})),r)return!0}var b=o.blockCommentStart||m.blockCommentStart,C=o.blockCommentEnd||m.blockCommentEnd;if(!b||!C)return!1;var k=o.blockCommentLead||m.blockCommentLead,L=a.getLine(f),x=L.indexOf(b);if(-1==x)return!1;var O=s==f?L:a.getLine(s),y=O.indexOf(C,s==f?x+b.length:0),S=i(f,x+1),R=i(s,y+1);if(-1==y||!/comment/.test(a.getTokenTypeAt(S))||!/comment/.test(a.getTokenTypeAt(R))||a.getRange(S,R,"\n").indexOf(C)>-1)return!1;var T=L.lastIndexOf(b,e.ch),E=-1==T?-1:L.slice(0,e.ch).indexOf(C,T+b.length);if(-1!=T&&-1!=E&&E+C.length!=e.ch)return!1;E=O.indexOf(C,l.ch);var M=O.slice(l.ch).lastIndexOf(b,E-l.ch);return T=-1==E||-1==M?-1:l.ch+M,(-1==E||-1==T||T==l.ch)&&(a.operation((function(){a.replaceRange("",i(s,y-(d&&O.slice(y-d.length,y)==d?d.length:0)),i(s,y+C.length));var e=x+b.length;if(d&&L.slice(e,e+d.length)==d&&(e+=d.length),a.replaceRange("",i(f,x),i(f,e)),k)for(var n=f+1;n<=s;++n){var l=a.getLine(n),o=l.indexOf(k);if(-1!=o&&!t.test(l.slice(0,o))){var r=o+k.length;d&&l.slice(r,r+d.length)==d&&(r+=d.length),a.replaceRange("",i(n,o),i(n,r))}}})),!0)}))}(i.a.exports);var c=r({__proto__:null,default:a.exports},[a.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[753],{66753:(e,n,t)=>{t.d(n,{c:()=>c});var i=t(38950),l=Object.defineProperty,o=(e,n)=>l(e,"name",{value:n,configurable:!0});function r(e,n){return n.forEach((function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach((function(t){if("default"!==t&&!(t in e)){var i=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:function(){return n[t]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}o(r,"_mergeNamespaces");var a={exports:{}};!function(e){var n={},t=/[^\s\u00a0]/,i=e.Pos,l=e.cmpPos;function r(e){var n=e.search(t);return-1==n?0:n}function a(e,n,t){return/\bstring\b/.test(e.getTokenTypeAt(i(n.line,0)))&&!/^[\'\"\`]/.test(t)}function c(e,n){var t=e.getMode();return!1!==t.useInnerComments&&t.innerMode?e.getModeAt(n):t}o(r,"firstNonWS"),e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",(function(e){e||(e=n);for(var t=this,l=1/0,o=this.listSelections(),r=null,a=o.length-1;a>=0;a--){var c=o[a].from(),m=o[a].to();c.line>=l||(m.line>=l&&(m=i(l,0)),l=c.line,null==r?t.uncomment(c,m,e)?r="un":(t.lineComment(c,m,e),r="line"):"un"==r?t.uncomment(c,m,e):t.lineComment(c,m,e))}})),o(a,"probablyInsideString"),o(c,"getMode"),e.defineExtension("lineComment",(function(e,l,o){o||(o=n);var m=this,s=c(m,e),f=m.getLine(e.line);if(null!=f&&!a(m,e,f)){var g=o.lineComment||s.lineComment;if(g){var u=Math.min(0!=l.ch||l.line==e.line?l.line+1:l.line,m.lastLine()+1),d=null==o.padding?" ":o.padding,h=o.commentBlankLines||e.line==l.line;m.operation((function(){if(o.indent){for(var n=null,l=e.line;l<u;++l){var a=(c=m.getLine(l)).slice(0,r(c));(null==n||n.length>a.length)&&(n=a)}for(l=e.line;l<u;++l){var c=m.getLine(l),s=n.length;(h||t.test(c))&&(c.slice(0,s)!=n&&(s=r(c)),m.replaceRange(n+g+d,i(l,0),i(l,s)))}}else for(l=e.line;l<u;++l)(h||t.test(m.getLine(l)))&&m.replaceRange(g+d,i(l,0))}))}else(o.blockCommentStart||s.blockCommentStart)&&(o.fullLines=!0,m.blockComment(e,l,o))}})),e.defineExtension("blockComment",(function(e,o,r){r||(r=n);var a=this,m=c(a,e),s=r.blockCommentStart||m.blockCommentStart,f=r.blockCommentEnd||m.blockCommentEnd;if(s&&f){if(!/\bcomment\b/.test(a.getTokenTypeAt(i(e.line,0)))){var g=Math.min(o.line,a.lastLine());g!=e.line&&0==o.ch&&t.test(a.getLine(g))&&--g;var u=null==r.padding?" ":r.padding;e.line>g||a.operation((function(){if(0!=r.fullLines){var n=t.test(a.getLine(g));a.replaceRange(u+f,i(g)),a.replaceRange(s+u,i(e.line,0));var c=r.blockCommentLead||m.blockCommentLead;if(null!=c)for(var d=e.line+1;d<=g;++d)(d!=g||n)&&a.replaceRange(c+u,i(d,0))}else{var h=0==l(a.getCursor("to"),o),p=!a.somethingSelected();a.replaceRange(f,o),h&&a.setSelection(p?o:a.getCursor("from"),o),a.replaceRange(s,e)}}))}}else(r.lineComment||m.lineComment)&&0!=r.fullLines&&a.lineComment(e,o,r)})),e.defineExtension("uncomment",(function(e,l,o){o||(o=n);var r,a=this,m=c(a,e),s=Math.min(0!=l.ch||l.line==e.line?l.line:l.line-1,a.lastLine()),f=Math.min(e.line,s),g=o.lineComment||m.lineComment,u=[],d=null==o.padding?" ":o.padding;e:if(g){for(var h=f;h<=s;++h){var p=a.getLine(h),v=p.indexOf(g);if(v>-1&&!/comment/.test(a.getTokenTypeAt(i(h,v+1)))&&(v=-1),-1==v&&t.test(p))break e;if(v>-1&&t.test(p.slice(0,v)))break e;u.push(p)}if(a.operation((function(){for(var e=f;e<=s;++e){var n=u[e-f],t=n.indexOf(g),l=t+g.length;t<0||(n.slice(l,l+d.length)==d&&(l+=d.length),r=!0,a.replaceRange("",i(e,t),i(e,l)))}})),r)return!0}var b=o.blockCommentStart||m.blockCommentStart,C=o.blockCommentEnd||m.blockCommentEnd;if(!b||!C)return!1;var k=o.blockCommentLead||m.blockCommentLead,L=a.getLine(f),x=L.indexOf(b);if(-1==x)return!1;var O=s==f?L:a.getLine(s),y=O.indexOf(C,s==f?x+b.length:0),S=i(f,x+1),R=i(s,y+1);if(-1==y||!/comment/.test(a.getTokenTypeAt(S))||!/comment/.test(a.getTokenTypeAt(R))||a.getRange(S,R,"\n").indexOf(C)>-1)return!1;var T=L.lastIndexOf(b,e.ch),E=-1==T?-1:L.slice(0,e.ch).indexOf(C,T+b.length);if(-1!=T&&-1!=E&&E+C.length!=e.ch)return!1;E=O.indexOf(C,l.ch);var M=O.slice(l.ch).lastIndexOf(b,E-l.ch);return T=-1==E||-1==M?-1:l.ch+M,(-1==E||-1==T||T==l.ch)&&(a.operation((function(){a.replaceRange("",i(s,y-(d&&O.slice(y-d.length,y)==d?d.length:0)),i(s,y+C.length));var e=x+b.length;if(d&&L.slice(e,e+d.length)==d&&(e+=d.length),a.replaceRange("",i(f,x),i(f,e)),k)for(var n=f+1;n<=s;++n){var l=a.getLine(n),o=l.indexOf(k);if(-1!=o&&!t.test(l.slice(0,o))){var r=o+k.length;d&&l.slice(r,r+d.length)==d&&(r+=d.length),a.replaceRange("",i(n,o),i(n,r))}}})),!0)}))}(i.a.exports);var c=r({__proto__:null,default:a.exports},[a.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[817],{85817:(e,t,r)=>{r.r(t),r.d(t,{c:()=>l});var n=r(38950),a=Object.defineProperty,i=(e,t)=>a(e,"name",{value:t,configurable:!0});function s(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(r){if("default"!==r&&!(r in e)){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(s,"_mergeNamespaces");var o={exports:{}};!function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},r=e.Pos;function n(e,r){return"pairs"==r&&"string"==typeof e?e:"object"==typeof e&&null!=e[r]?e[r]:t[r]}e.defineOption("autoCloseBrackets",!1,(function(t,r,i){i&&i!=e.Init&&(t.removeKeyMap(a),t.state.closeBrackets=null),r&&(s(n(r,"pairs")),t.state.closeBrackets=r,t.addKeyMap(a))})),i(n,"getOption");var a={Backspace:c,Enter:u};function s(e){for(var t=0;t<e.length;t++){var r=e.charAt(t),n="'"+r+"'";a[n]||(a[n]=o(r))}}function o(e){return function(t){return p(t,e)}}function l(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function c(t){var a=l(t);if(!a||t.getOption("disableInput"))return e.Pass;for(var i=n(a,"pairs"),s=t.listSelections(),o=0;o<s.length;o++){if(!s[o].empty())return e.Pass;var c=d(t,s[o].head);if(!c||i.indexOf(c)%2!=0)return e.Pass}for(o=s.length-1;o>=0;o--){var u=s[o].head;t.replaceRange("",r(u.line,u.ch-1),r(u.line,u.ch+1),"+delete")}}function u(t){var r=l(t),a=r&&n(r,"explode");if(!a||t.getOption("disableInput"))return e.Pass;for(var i=t.listSelections(),s=0;s<i.length;s++){if(!i[s].empty())return e.Pass;var o=d(t,i[s].head);if(!o||a.indexOf(o)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||"\n";t.replaceSelection(e+e,null),f(t,-1),i=t.listSelections();for(var r=0;r<i.length;r++){var n=i[r].head.line;t.indentLine(n,null,!0),t.indentLine(n+1,null,!0)}}))}function f(e,t){for(var r=[],n=e.listSelections(),a=0,i=0;i<n.length;i++){var s=n[i];s.head==e.getCursor()&&(a=i);var o=s.head.ch||t>0?{line:s.head.line,ch:s.head.ch+t}:{line:s.head.line-1};r.push({anchor:o,head:o})}e.setSelections(r,a)}function h(t){var n=e.cmpPos(t.anchor,t.head)>0;return{anchor:new r(t.anchor.line,t.anchor.ch+(n?-1:1)),head:new r(t.head.line,t.head.ch+(n?1:-1))}}function p(t,a){var i=l(t);if(!i||t.getOption("disableInput"))return e.Pass;var s=n(i,"pairs"),o=s.indexOf(a);if(-1==o)return e.Pass;for(var c,u=n(i,"closeBefore"),p=n(i,"triples"),d=s.charAt(o+1)==a,v=t.listSelections(),b=o%2==0,k=0;k<v.length;k++){var y,S=v[k],O=S.head,P=t.getRange(O,r(O.line,O.ch+1));if(b&&!S.empty())y="surround";else if(!d&&b||P!=a)if(d&&O.ch>1&&p.indexOf(a)>=0&&t.getRange(r(O.line,O.ch-2),O)==a+a){if(O.ch>2&&/\bstring/.test(t.getTokenTypeAt(r(O.line,O.ch-2))))return e.Pass;y="addFour"}else if(d){var x=0==O.ch?" ":t.getRange(r(O.line,O.ch-1),O);if(e.isWordChar(P)||x==a||e.isWordChar(x))return e.Pass;y="both"}else{if(!b||!(0===P.length||/\s/.test(P)||u.indexOf(P)>-1))return e.Pass;y="both"}else y=d&&g(t,O)?"both":p.indexOf(a)>=0&&t.getRange(O,r(O.line,O.ch+3))==a+a+a?"skipThree":"skip";if(c){if(c!=y)return e.Pass}else c=y}var A=o%2?s.charAt(o-1):a,m=o%2?a:s.charAt(o+1);t.operation((function(){if("skip"==c)f(t,1);else if("skipThree"==c)f(t,3);else if("surround"==c){for(var e=t.getSelections(),r=0;r<e.length;r++)e[r]=A+e[r]+m;for(t.replaceSelections(e,"around"),e=t.listSelections().slice(),r=0;r<e.length;r++)e[r]=h(e[r]);t.setSelections(e)}else"both"==c?(t.replaceSelection(A+m,null),t.triggerElectric(A+m),f(t,-1)):"addFour"==c&&(t.replaceSelection(A+A+A+A,"before"),f(t,1))}))}function d(e,t){var n=e.getRange(r(t.line,t.ch-1),r(t.line,t.ch+1));return 2==n.length?n:null}function g(e,t){var n=e.getTokenAt(r(t.line,t.ch+1));return/\bstring/.test(n.type)&&n.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}i(s,"ensureBound"),s(t.pairs+"`"),i(o,"handler"),i(l,"getConfig"),i(c,"handleBackspace"),i(u,"handleEnter"),i(f,"moveSel"),i(h,"contractSelection"),i(p,"handleChar"),i(d,"charsAround"),i(g,"stringStartsAfter")}(n.a.exports);var l=s({__proto__:null,default:o.exports},[o.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[817],{85817:(e,t,n)=>{n.d(t,{c:()=>l});var r=n(38950),a=Object.defineProperty,i=(e,t)=>a(e,"name",{value:t,configurable:!0});function s(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(s,"_mergeNamespaces");var o={exports:{}};!function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,i){i&&i!=e.Init&&(t.removeKeyMap(a),t.state.closeBrackets=null),n&&(s(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(a))})),i(r,"getOption");var a={Backspace:c,Enter:u};function s(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r="'"+n+"'";a[r]||(a[r]=o(n))}}function o(e){return function(t){return p(t,e)}}function l(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function c(t){var a=l(t);if(!a||t.getOption("disableInput"))return e.Pass;for(var i=r(a,"pairs"),s=t.listSelections(),o=0;o<s.length;o++){if(!s[o].empty())return e.Pass;var c=d(t,s[o].head);if(!c||i.indexOf(c)%2!=0)return e.Pass}for(o=s.length-1;o>=0;o--){var u=s[o].head;t.replaceRange("",n(u.line,u.ch-1),n(u.line,u.ch+1),"+delete")}}function u(t){var n=l(t),a=n&&r(n,"explode");if(!a||t.getOption("disableInput"))return e.Pass;for(var i=t.listSelections(),s=0;s<i.length;s++){if(!i[s].empty())return e.Pass;var o=d(t,i[s].head);if(!o||a.indexOf(o)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||"\n";t.replaceSelection(e+e,null),f(t,-1),i=t.listSelections();for(var n=0;n<i.length;n++){var r=i[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}function f(e,t){for(var n=[],r=e.listSelections(),a=0,i=0;i<r.length;i++){var s=r[i];s.head==e.getCursor()&&(a=i);var o=s.head.ch||t>0?{line:s.head.line,ch:s.head.ch+t}:{line:s.head.line-1};n.push({anchor:o,head:o})}e.setSelections(n,a)}function h(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function p(t,a){var i=l(t);if(!i||t.getOption("disableInput"))return e.Pass;var s=r(i,"pairs"),o=s.indexOf(a);if(-1==o)return e.Pass;for(var c,u=r(i,"closeBefore"),p=r(i,"triples"),d=s.charAt(o+1)==a,v=t.listSelections(),b=o%2==0,k=0;k<v.length;k++){var y,S=v[k],O=S.head,P=t.getRange(O,n(O.line,O.ch+1));if(b&&!S.empty())y="surround";else if(!d&&b||P!=a)if(d&&O.ch>1&&p.indexOf(a)>=0&&t.getRange(n(O.line,O.ch-2),O)==a+a){if(O.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(O.line,O.ch-2))))return e.Pass;y="addFour"}else if(d){var x=0==O.ch?" ":t.getRange(n(O.line,O.ch-1),O);if(e.isWordChar(P)||x==a||e.isWordChar(x))return e.Pass;y="both"}else{if(!b||!(0===P.length||/\s/.test(P)||u.indexOf(P)>-1))return e.Pass;y="both"}else y=d&&g(t,O)?"both":p.indexOf(a)>=0&&t.getRange(O,n(O.line,O.ch+3))==a+a+a?"skipThree":"skip";if(c){if(c!=y)return e.Pass}else c=y}var A=o%2?s.charAt(o-1):a,m=o%2?a:s.charAt(o+1);t.operation((function(){if("skip"==c)f(t,1);else if("skipThree"==c)f(t,3);else if("surround"==c){for(var e=t.getSelections(),n=0;n<e.length;n++)e[n]=A+e[n]+m;for(t.replaceSelections(e,"around"),e=t.listSelections().slice(),n=0;n<e.length;n++)e[n]=h(e[n]);t.setSelections(e)}else"both"==c?(t.replaceSelection(A+m,null),t.triggerElectric(A+m),f(t,-1)):"addFour"==c&&(t.replaceSelection(A+A+A+A,"before"),f(t,1))}))}function d(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function g(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}i(s,"ensureBound"),s(t.pairs+"`"),i(o,"handler"),i(l,"getConfig"),i(c,"handleBackspace"),i(u,"handleEnter"),i(f,"moveSel"),i(h,"contractSelection"),i(p,"handleChar"),i(d,"charsAround"),i(g,"stringStartsAfter")}(r.a.exports);var l=s({__proto__:null,default:o.exports},[o.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120,844,866],{71120:(e,t,n)=>{n.r(t),n.d(t,{a:()=>c,d:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function a(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var c={exports:{}};!function(e){function t(t,n,r){var o,i=t.getWrapperElement();return(o=i.appendChild(document.createElement("div"))).className=r?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof n?o.innerHTML=n:o.appendChild(n),e.addClass(i,"dialog-opened"),o}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}i(t,"dialogDiv"),i(n,"closeNotification"),e.defineExtension("openDialog",(function(r,o,a){a||(a={}),n(this,null);var c=t(this,r,a.bottom),s=!1,l=this;function u(t){if("string"==typeof t)h.value=t;else{if(s)return;s=!0,e.rmClass(c.parentNode,"dialog-opened"),c.parentNode.removeChild(c),l.focus(),a.onClose&&a.onClose(c)}}i(u,"close");var f,h=c.getElementsByTagName("input")[0];return h?(h.focus(),a.value&&(h.value=a.value,!1!==a.selectValueOnOpen&&h.select()),a.onInput&&e.on(h,"input",(function(e){a.onInput(e,h.value,u)})),a.onKeyUp&&e.on(h,"keyup",(function(e){a.onKeyUp(e,h.value,u)})),e.on(h,"keydown",(function(t){a&&a.onKeyDown&&a.onKeyDown(t,h.value,u)||((27==t.keyCode||!1!==a.closeOnEnter&&13==t.keyCode)&&(h.blur(),e.e_stop(t),u()),13==t.keyCode&&o(h.value,t))})),!1!==a.closeOnBlur&&e.on(c,"focusout",(function(e){null!==e.relatedTarget&&u()}))):(f=c.getElementsByTagName("button")[0])&&(e.on(f,"click",(function(){u(),l.focus()})),!1!==a.closeOnBlur&&e.on(f,"blur",u),f.focus()),u})),e.defineExtension("openConfirm",(function(r,o,a){n(this,null);var c=t(this,r,a&&a.bottom),s=c.getElementsByTagName("button"),l=!1,u=this,f=1;function h(){l||(l=!0,e.rmClass(c.parentNode,"dialog-opened"),c.parentNode.removeChild(c),u.focus())}i(h,"close"),s[0].focus();for(var p=0;p<s.length;++p){var g=s[p];!function(t){e.on(g,"click",(function(n){e.e_preventDefault(n),h(),t&&t(u)}))}(o[p]),e.on(g,"blur",(function(){--f,setTimeout((function(){f<=0&&h()}),200)})),e.on(g,"focus",(function(){++f}))}})),e.defineExtension("openNotification",(function(r,o){n(this,u);var a,c=t(this,r,o&&o.bottom),s=!1,l=o&&void 0!==o.duration?o.duration:5e3;function u(){s||(s=!0,clearTimeout(a),e.rmClass(c.parentNode,"dialog-opened"),c.parentNode.removeChild(c))}return i(u,"close"),e.on(c,"click",(function(t){e.e_preventDefault(t),u()})),l&&(a=setTimeout(u,l)),u}))}(r.a.exports);var s=a({__proto__:null,default:c.exports},[c.exports])},71844:(e,t,n)=>{n.r(t),n.d(t,{s:()=>u});var r=n(38950),o=n(98866),i=n(71120),a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0});function s(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}c(s,"_mergeNamespaces");var l={exports:{}};!function(e){function t(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,"searching";n?t.pos=n.index:t.skipToEnd()}}}function n(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function r(e){return e.state.search||(e.state.search=new n)}function o(e){return"string"==typeof e&&e==e.toLowerCase()}function i(e,t,n){return e.getSearchCursor(t,n,{caseFold:o(t),multiline:!0})}function a(e,t,n,r,o){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){d(e)},onKeyDown:o,bottom:e.options.search.bottom})}function s(e,t,n,r,o){e.openDialog?e.openDialog(t,o,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):o(prompt(n,r))}function l(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}function u(e){return e.replace(/\\([nrt\\])/g,(function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"==t?"\\":e}))}function f(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(e){}else e=u(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function h(e,n,r){n.queryText=r,n.query=f(r),e.removeOverlay(n.overlay,o(n.query)),n.overlay=t(n.query,o(n.query)),e.addOverlay(n.overlay),e.showMatchesOnScrollbar&&(n.annotate&&(n.annotate.clear(),n.annotate=null),n.annotate=e.showMatchesOnScrollbar(n.query,o(n.query)))}function p(t,n,o,i){var l=r(t);if(l.query)return g(t,n);var u=t.getSelection()||l.lastQuery;if(u instanceof RegExp&&"x^"==u.source&&(u=null),o&&t.openDialog){var f=null,p=c((function(n,r){e.e_stop(r),n&&(n!=l.queryText&&(h(t,l,n),l.posFrom=l.posTo=t.getCursor()),f&&(f.style.opacity=1),g(t,r.shiftKey,(function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(".CodeMirror-dialog"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,"window").top&&((f=r).style.opacity=.4)})))}),"searchNext");a(t,v(t),u,p,(function(n,o){var i=e.keyName(n),a=t.getOption("extraKeys"),c=a&&a[i]||e.keyMap[t.getOption("keyMap")][i];"findNext"==c||"findPrev"==c||"findPersistentNext"==c||"findPersistentPrev"==c?(e.e_stop(n),h(t,r(t),o),t.execCommand(c)):"find"!=c&&"findPersistent"!=c||(e.e_stop(n),p(o,n))})),i&&u&&(h(t,l,u),g(t,n))}else s(t,v(t),"Search for:",u,(function(e){e&&!l.query&&t.operation((function(){h(t,l,e),l.posFrom=l.posTo=t.getCursor(),g(t,n)}))}))}function g(t,n,o){t.operation((function(){var a=r(t),c=i(t,a.query,n?a.posFrom:a.posTo);(c.find(n)||(c=i(t,a.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(n))&&(t.setSelection(c.from(),c.to()),t.scrollIntoView({from:c.from(),to:c.to()},20),a.posFrom=c.from(),a.posTo=c.to(),o&&o(c.from(),c.to()))}))}function d(e){e.operation((function(){var t=r(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function m(e,t){var n=e?document.createElement(e):document.createDocumentFragment();for(var r in t)n[r]=t[r];for(var o=2;o<arguments.length;o++){var i=arguments[o];n.appendChild("string"==typeof i?document.createTextNode(i):i)}return n}function v(e){return m("",null,m("span",{className:"CodeMirror-search-label"},e.phrase("Search:"))," ",m("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",m("span",{style:"color: #888",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function y(e){return m("",null," ",m("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",m("span",{style:"color: #888",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function x(e){return m("",null,m("span",{className:"CodeMirror-search-label"},e.phrase("With:"))," ",m("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"}))}function b(e){return m("",null,m("span",{className:"CodeMirror-search-label"},e.phrase("Replace?"))," ",m("button",{},e.phrase("Yes"))," ",m("button",{},e.phrase("No"))," ",m("button",{},e.phrase("All"))," ",m("button",{},e.phrase("Stop")))}function C(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if("string"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function O(e,t){if(!e.getOption("readOnly")){var n=e.getSelection()||r(e).lastQuery,o=t?e.phrase("Replace all:"):e.phrase("Replace:"),a=m("",null,m("span",{className:"CodeMirror-search-label"},o),y(e));s(e,a,o,n,(function(n){n&&(n=f(n),s(e,x(e),e.phrase("Replace with:"),"",(function(r){if(r=u(r),t)C(e,n,r);else{d(e);var o=i(e,n,e.getCursor("from")),a=c((function(){var t,c=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||c&&o.from().line==c.line&&o.from().ch==c.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),l(e,b(e),e.phrase("Replace?"),[function(){s(t)},a,function(){C(e,n,r)}]))}),"advance"),s=c((function(e){o.replace("string"==typeof n?r:r.replace(/\$(\d)/g,(function(t,n){return e[n]}))),a()}),"doReplace");a()}})))}))}}e.defineOption("search",{bottom:!1}),c(t,"searchOverlay"),c(n,"SearchState"),c(r,"getSearchState"),c(o,"queryCaseInsensitive"),c(i,"getSearchCursor"),c(a,"persistentDialog"),c(s,"dialog"),c(l,"confirmDialog"),c(u,"parseString"),c(f,"parseQuery"),c(h,"startSearch"),c(p,"doSearch"),c(g,"findNext"),c(d,"clearSearch"),c(m,"el"),c(v,"getQueryDialog"),c(y,"getReplaceQueryDialog"),c(x,"getReplacementQueryDialog"),c(b,"getDoReplaceConfirm"),c(C,"replaceAll"),c(O,"replace"),e.commands.find=function(e){d(e),p(e)},e.commands.findPersistent=function(e){d(e),p(e,!1,!0)},e.commands.findPersistentNext=function(e){p(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){p(e,!0,!0,!0)},e.commands.findNext=p,e.commands.findPrev=function(e){p(e,!0)},e.commands.clearSearch=d,e.commands.replace=O,e.commands.replaceAll=function(e){O(e,!0)}}(r.a.exports,o.a.exports,i.a.exports);var u=s({__proto__:null,default:l.exports},[l.exports])},98866:(e,t,n)=>{n.r(t),n.d(t,{a:()=>c,s:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function a(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var c={exports:{}};!function(e){var t,n,r=e.Pos;function o(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function a(e,t){for(var n=o(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function c(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function s(e,t,n){t=a(t,"g");for(var o=n.line,i=n.ch,c=e.lastLine();o<=c;o++,i=0){t.lastIndex=i;var s=e.getLine(o),l=t.exec(s);if(l)return{from:r(o,l.index),to:r(o,l.index+l[0].length),match:l}}}function l(e,t,n){if(!c(t))return s(e,t,n);t=a(t,"gm");for(var o,i=1,l=n.line,u=e.lastLine();l<=u;){for(var f=0;f<i&&!(l>u);f++){var h=e.getLine(l++);o=null==o?h:o+"\n"+h}i*=2,t.lastIndex=n.ch;var p=t.exec(o);if(p){var g=o.slice(0,p.index).split("\n"),d=p[0].split("\n"),m=n.line+g.length-1,v=g[g.length-1].length;return{from:r(m,v),to:r(m+d.length-1,1==d.length?v+d[0].length:d[d.length-1].length),match:p}}}}function u(e,t,n){for(var r,o=0;o<=e.length;){t.lastIndex=o;var i=t.exec(e);if(!i)break;var a=i.index+i[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=i),o=i.index+1}return r}function f(e,t,n){t=a(t,"g");for(var o=n.line,i=n.ch,c=e.firstLine();o>=c;o--,i=-1){var s=e.getLine(o),l=u(s,t,i<0?0:s.length-i);if(l)return{from:r(o,l.index),to:r(o,l.index+l[0].length),match:l}}}function h(e,t,n){if(!c(t))return f(e,t,n);t=a(t,"gm");for(var o,i=1,s=e.getLine(n.line).length-n.ch,l=n.line,h=e.firstLine();l>=h;){for(var p=0;p<i&&l>=h;p++){var g=e.getLine(l--);o=null==o?g:g+"\n"+o}i*=2;var d=u(o,t,s);if(d){var m=o.slice(0,d.index).split("\n"),v=d[0].split("\n"),y=l+m.length,x=m[m.length-1].length;return{from:r(y,x),to:r(y+v.length-1,1==v.length?x+v[0].length:v[v.length-1].length),match:d}}}}function p(e,t,n,r){if(e.length==t.length)return n;for(var o=0,i=n+Math.max(0,e.length-t.length);;){if(o==i)return o;var a=o+i>>1,c=r(e.slice(0,a)).length;if(c==n)return a;c>n?i=a:o=a+1}}function g(e,o,i,a){if(!o.length)return null;var c=a?t:n,s=c(o).split(/\r|\n\r?/);e:for(var l=i.line,u=i.ch,f=e.lastLine()+1-s.length;l<=f;l++,u=0){var h=e.getLine(l).slice(u),g=c(h);if(1==s.length){var d=g.indexOf(s[0]);if(-1==d)continue e;return i=p(h,g,d,c)+u,{from:r(l,p(h,g,d,c)+u),to:r(l,p(h,g,d+s[0].length,c)+u)}}var m=g.length-s[0].length;if(g.slice(m)==s[0]){for(var v=1;v<s.length-1;v++)if(c(e.getLine(l+v))!=s[v])continue e;var y=e.getLine(l+s.length-1),x=c(y),b=s[s.length-1];if(x.slice(0,b.length)==b)return{from:r(l,p(h,g,m,c)+u),to:r(l+s.length-1,p(y,x,b.length,c))}}}}function d(e,o,i,a){if(!o.length)return null;var c=a?t:n,s=c(o).split(/\r|\n\r?/);e:for(var l=i.line,u=i.ch,f=e.firstLine()-1+s.length;l>=f;l--,u=-1){var h=e.getLine(l);u>-1&&(h=h.slice(0,u));var g=c(h);if(1==s.length){var d=g.lastIndexOf(s[0]);if(-1==d)continue e;return{from:r(l,p(h,g,d,c)),to:r(l,p(h,g,d+s[0].length,c))}}var m=s[s.length-1];if(g.slice(0,m.length)==m){var v=1;for(i=l-s.length+1;v<s.length-1;v++)if(c(e.getLine(i+v))!=s[v])continue e;var y=e.getLine(l+1-s.length),x=c(y);if(x.slice(x.length-s[0].length)==s[0])return{from:r(l+1-s.length,p(y,x,y.length-s[0].length,c)),to:r(l,p(h,g,m.length,c))}}}}function m(e,t,n,o){var i;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},"object"==typeof o?i=o.caseFold:(i=o,o=null),"string"==typeof t?(null==i&&(i=!1),this.matches=function(n,r){return(n?d:g)(e,t,r,i)}):(t=a(t,"gm"),o&&!1===o.multiline?this.matches=function(n,r){return(n?f:s)(e,t,r)}:this.matches=function(n,r){return(n?h:l)(e,t,r)})}i(o,"regexpFlags"),i(a,"ensureFlags"),i(c,"maybeMultiline"),i(s,"searchRegexpForward"),i(l,"searchRegexpForwardMultiline"),i(u,"lastMatchIn"),i(f,"searchRegexpBackward"),i(h,"searchRegexpBackwardMultiline"),String.prototype.normalize?(t=i((function(e){return e.normalize("NFD").toLowerCase()}),"doFold"),n=i((function(e){return e.normalize("NFD")}),"noFold")):(t=i((function(e){return e.toLowerCase()}),"doFold"),n=i((function(e){return e}),"noFold")),i(p,"adjustPos"),i(g,"searchStringForward"),i(d,"searchStringBackward"),i(m,"SearchCursor"),m.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var n=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(n=r(n.line,n.ch),t?(n.ch--,n.ch<0&&(n.line--,n.ch=(this.doc.getLine(n.line)||"").length)):(n.ch++,n.ch>(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var o=this.matches(t,n);if(this.afterEmptyMatch=o&&0==e.cmpPos(o.from,o.to),o)return this.pos=o,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var o=e.splitLines(t);this.doc.replaceRange(o,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+o.length-1,o[o.length-1].length+(1==o.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,n){return new m(this.doc,e,t,n)})),e.defineDocExtension("getSearchCursor",(function(e,t,n){return new m(this,e,t,n)})),e.defineExtension("selectMatches",(function(t,n){for(var r=[],o=this.getSearchCursor(t,this.getCursor("from"),n);o.findNext()&&!(e.cmpPos(o.to(),this.getCursor("to"))>0);)r.push({anchor:o.from(),head:o.to()});r.length&&this.setSelections(r,0)}))}(r.a.exports);var s=a({__proto__:null,default:c.exports},[c.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120,844,866],{71120:(e,t,n)=>{n.d(t,{a:()=>c,d:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function a(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var c={exports:{}};!function(e){function t(t,n,r){var o,i=t.getWrapperElement();return(o=i.appendChild(document.createElement("div"))).className=r?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof n?o.innerHTML=n:o.appendChild(n),e.addClass(i,"dialog-opened"),o}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}i(t,"dialogDiv"),i(n,"closeNotification"),e.defineExtension("openDialog",(function(r,o,a){a||(a={}),n(this,null);var c=t(this,r,a.bottom),s=!1,l=this;function u(t){if("string"==typeof t)h.value=t;else{if(s)return;s=!0,e.rmClass(c.parentNode,"dialog-opened"),c.parentNode.removeChild(c),l.focus(),a.onClose&&a.onClose(c)}}i(u,"close");var f,h=c.getElementsByTagName("input")[0];return h?(h.focus(),a.value&&(h.value=a.value,!1!==a.selectValueOnOpen&&h.select()),a.onInput&&e.on(h,"input",(function(e){a.onInput(e,h.value,u)})),a.onKeyUp&&e.on(h,"keyup",(function(e){a.onKeyUp(e,h.value,u)})),e.on(h,"keydown",(function(t){a&&a.onKeyDown&&a.onKeyDown(t,h.value,u)||((27==t.keyCode||!1!==a.closeOnEnter&&13==t.keyCode)&&(h.blur(),e.e_stop(t),u()),13==t.keyCode&&o(h.value,t))})),!1!==a.closeOnBlur&&e.on(c,"focusout",(function(e){null!==e.relatedTarget&&u()}))):(f=c.getElementsByTagName("button")[0])&&(e.on(f,"click",(function(){u(),l.focus()})),!1!==a.closeOnBlur&&e.on(f,"blur",u),f.focus()),u})),e.defineExtension("openConfirm",(function(r,o,a){n(this,null);var c=t(this,r,a&&a.bottom),s=c.getElementsByTagName("button"),l=!1,u=this,f=1;function h(){l||(l=!0,e.rmClass(c.parentNode,"dialog-opened"),c.parentNode.removeChild(c),u.focus())}i(h,"close"),s[0].focus();for(var p=0;p<s.length;++p){var g=s[p];!function(t){e.on(g,"click",(function(n){e.e_preventDefault(n),h(),t&&t(u)}))}(o[p]),e.on(g,"blur",(function(){--f,setTimeout((function(){f<=0&&h()}),200)})),e.on(g,"focus",(function(){++f}))}})),e.defineExtension("openNotification",(function(r,o){n(this,u);var a,c=t(this,r,o&&o.bottom),s=!1,l=o&&void 0!==o.duration?o.duration:5e3;function u(){s||(s=!0,clearTimeout(a),e.rmClass(c.parentNode,"dialog-opened"),c.parentNode.removeChild(c))}return i(u,"close"),e.on(c,"click",(function(t){e.e_preventDefault(t),u()})),l&&(a=setTimeout(u,l)),u}))}(r.a.exports);var s=a({__proto__:null,default:c.exports},[c.exports])},71844:(e,t,n)=>{n.d(t,{s:()=>u});var r=n(38950),o=n(98866),i=n(71120),a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0});function s(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}c(s,"_mergeNamespaces");var l={exports:{}};!function(e){function t(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,"searching";n?t.pos=n.index:t.skipToEnd()}}}function n(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function r(e){return e.state.search||(e.state.search=new n)}function o(e){return"string"==typeof e&&e==e.toLowerCase()}function i(e,t,n){return e.getSearchCursor(t,n,{caseFold:o(t),multiline:!0})}function a(e,t,n,r,o){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){d(e)},onKeyDown:o,bottom:e.options.search.bottom})}function s(e,t,n,r,o){e.openDialog?e.openDialog(t,o,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):o(prompt(n,r))}function l(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}function u(e){return e.replace(/\\([nrt\\])/g,(function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"==t?"\\":e}))}function f(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(e){}else e=u(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function h(e,n,r){n.queryText=r,n.query=f(r),e.removeOverlay(n.overlay,o(n.query)),n.overlay=t(n.query,o(n.query)),e.addOverlay(n.overlay),e.showMatchesOnScrollbar&&(n.annotate&&(n.annotate.clear(),n.annotate=null),n.annotate=e.showMatchesOnScrollbar(n.query,o(n.query)))}function p(t,n,o,i){var l=r(t);if(l.query)return g(t,n);var u=t.getSelection()||l.lastQuery;if(u instanceof RegExp&&"x^"==u.source&&(u=null),o&&t.openDialog){var f=null,p=c((function(n,r){e.e_stop(r),n&&(n!=l.queryText&&(h(t,l,n),l.posFrom=l.posTo=t.getCursor()),f&&(f.style.opacity=1),g(t,r.shiftKey,(function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(".CodeMirror-dialog"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,"window").top&&((f=r).style.opacity=.4)})))}),"searchNext");a(t,v(t),u,p,(function(n,o){var i=e.keyName(n),a=t.getOption("extraKeys"),c=a&&a[i]||e.keyMap[t.getOption("keyMap")][i];"findNext"==c||"findPrev"==c||"findPersistentNext"==c||"findPersistentPrev"==c?(e.e_stop(n),h(t,r(t),o),t.execCommand(c)):"find"!=c&&"findPersistent"!=c||(e.e_stop(n),p(o,n))})),i&&u&&(h(t,l,u),g(t,n))}else s(t,v(t),"Search for:",u,(function(e){e&&!l.query&&t.operation((function(){h(t,l,e),l.posFrom=l.posTo=t.getCursor(),g(t,n)}))}))}function g(t,n,o){t.operation((function(){var a=r(t),c=i(t,a.query,n?a.posFrom:a.posTo);(c.find(n)||(c=i(t,a.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(n))&&(t.setSelection(c.from(),c.to()),t.scrollIntoView({from:c.from(),to:c.to()},20),a.posFrom=c.from(),a.posTo=c.to(),o&&o(c.from(),c.to()))}))}function d(e){e.operation((function(){var t=r(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function m(e,t){var n=e?document.createElement(e):document.createDocumentFragment();for(var r in t)n[r]=t[r];for(var o=2;o<arguments.length;o++){var i=arguments[o];n.appendChild("string"==typeof i?document.createTextNode(i):i)}return n}function v(e){return m("",null,m("span",{className:"CodeMirror-search-label"},e.phrase("Search:"))," ",m("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",m("span",{style:"color: #888",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function y(e){return m("",null," ",m("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",m("span",{style:"color: #888",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function x(e){return m("",null,m("span",{className:"CodeMirror-search-label"},e.phrase("With:"))," ",m("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"}))}function b(e){return m("",null,m("span",{className:"CodeMirror-search-label"},e.phrase("Replace?"))," ",m("button",{},e.phrase("Yes"))," ",m("button",{},e.phrase("No"))," ",m("button",{},e.phrase("All"))," ",m("button",{},e.phrase("Stop")))}function C(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if("string"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function O(e,t){if(!e.getOption("readOnly")){var n=e.getSelection()||r(e).lastQuery,o=t?e.phrase("Replace all:"):e.phrase("Replace:"),a=m("",null,m("span",{className:"CodeMirror-search-label"},o),y(e));s(e,a,o,n,(function(n){n&&(n=f(n),s(e,x(e),e.phrase("Replace with:"),"",(function(r){if(r=u(r),t)C(e,n,r);else{d(e);var o=i(e,n,e.getCursor("from")),a=c((function(){var t,c=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||c&&o.from().line==c.line&&o.from().ch==c.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),l(e,b(e),e.phrase("Replace?"),[function(){s(t)},a,function(){C(e,n,r)}]))}),"advance"),s=c((function(e){o.replace("string"==typeof n?r:r.replace(/\$(\d)/g,(function(t,n){return e[n]}))),a()}),"doReplace");a()}})))}))}}e.defineOption("search",{bottom:!1}),c(t,"searchOverlay"),c(n,"SearchState"),c(r,"getSearchState"),c(o,"queryCaseInsensitive"),c(i,"getSearchCursor"),c(a,"persistentDialog"),c(s,"dialog"),c(l,"confirmDialog"),c(u,"parseString"),c(f,"parseQuery"),c(h,"startSearch"),c(p,"doSearch"),c(g,"findNext"),c(d,"clearSearch"),c(m,"el"),c(v,"getQueryDialog"),c(y,"getReplaceQueryDialog"),c(x,"getReplacementQueryDialog"),c(b,"getDoReplaceConfirm"),c(C,"replaceAll"),c(O,"replace"),e.commands.find=function(e){d(e),p(e)},e.commands.findPersistent=function(e){d(e),p(e,!1,!0)},e.commands.findPersistentNext=function(e){p(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){p(e,!0,!0,!0)},e.commands.findNext=p,e.commands.findPrev=function(e){p(e,!0)},e.commands.clearSearch=d,e.commands.replace=O,e.commands.replaceAll=function(e){O(e,!0)}}(r.a.exports,o.a.exports,i.a.exports);var u=s({__proto__:null,default:l.exports},[l.exports])},98866:(e,t,n)=>{n.d(t,{a:()=>c,s:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function a(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var c={exports:{}};!function(e){var t,n,r=e.Pos;function o(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function a(e,t){for(var n=o(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function c(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function s(e,t,n){t=a(t,"g");for(var o=n.line,i=n.ch,c=e.lastLine();o<=c;o++,i=0){t.lastIndex=i;var s=e.getLine(o),l=t.exec(s);if(l)return{from:r(o,l.index),to:r(o,l.index+l[0].length),match:l}}}function l(e,t,n){if(!c(t))return s(e,t,n);t=a(t,"gm");for(var o,i=1,l=n.line,u=e.lastLine();l<=u;){for(var f=0;f<i&&!(l>u);f++){var h=e.getLine(l++);o=null==o?h:o+"\n"+h}i*=2,t.lastIndex=n.ch;var p=t.exec(o);if(p){var g=o.slice(0,p.index).split("\n"),d=p[0].split("\n"),m=n.line+g.length-1,v=g[g.length-1].length;return{from:r(m,v),to:r(m+d.length-1,1==d.length?v+d[0].length:d[d.length-1].length),match:p}}}}function u(e,t,n){for(var r,o=0;o<=e.length;){t.lastIndex=o;var i=t.exec(e);if(!i)break;var a=i.index+i[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=i),o=i.index+1}return r}function f(e,t,n){t=a(t,"g");for(var o=n.line,i=n.ch,c=e.firstLine();o>=c;o--,i=-1){var s=e.getLine(o),l=u(s,t,i<0?0:s.length-i);if(l)return{from:r(o,l.index),to:r(o,l.index+l[0].length),match:l}}}function h(e,t,n){if(!c(t))return f(e,t,n);t=a(t,"gm");for(var o,i=1,s=e.getLine(n.line).length-n.ch,l=n.line,h=e.firstLine();l>=h;){for(var p=0;p<i&&l>=h;p++){var g=e.getLine(l--);o=null==o?g:g+"\n"+o}i*=2;var d=u(o,t,s);if(d){var m=o.slice(0,d.index).split("\n"),v=d[0].split("\n"),y=l+m.length,x=m[m.length-1].length;return{from:r(y,x),to:r(y+v.length-1,1==v.length?x+v[0].length:v[v.length-1].length),match:d}}}}function p(e,t,n,r){if(e.length==t.length)return n;for(var o=0,i=n+Math.max(0,e.length-t.length);;){if(o==i)return o;var a=o+i>>1,c=r(e.slice(0,a)).length;if(c==n)return a;c>n?i=a:o=a+1}}function g(e,o,i,a){if(!o.length)return null;var c=a?t:n,s=c(o).split(/\r|\n\r?/);e:for(var l=i.line,u=i.ch,f=e.lastLine()+1-s.length;l<=f;l++,u=0){var h=e.getLine(l).slice(u),g=c(h);if(1==s.length){var d=g.indexOf(s[0]);if(-1==d)continue e;return i=p(h,g,d,c)+u,{from:r(l,p(h,g,d,c)+u),to:r(l,p(h,g,d+s[0].length,c)+u)}}var m=g.length-s[0].length;if(g.slice(m)==s[0]){for(var v=1;v<s.length-1;v++)if(c(e.getLine(l+v))!=s[v])continue e;var y=e.getLine(l+s.length-1),x=c(y),b=s[s.length-1];if(x.slice(0,b.length)==b)return{from:r(l,p(h,g,m,c)+u),to:r(l+s.length-1,p(y,x,b.length,c))}}}}function d(e,o,i,a){if(!o.length)return null;var c=a?t:n,s=c(o).split(/\r|\n\r?/);e:for(var l=i.line,u=i.ch,f=e.firstLine()-1+s.length;l>=f;l--,u=-1){var h=e.getLine(l);u>-1&&(h=h.slice(0,u));var g=c(h);if(1==s.length){var d=g.lastIndexOf(s[0]);if(-1==d)continue e;return{from:r(l,p(h,g,d,c)),to:r(l,p(h,g,d+s[0].length,c))}}var m=s[s.length-1];if(g.slice(0,m.length)==m){var v=1;for(i=l-s.length+1;v<s.length-1;v++)if(c(e.getLine(i+v))!=s[v])continue e;var y=e.getLine(l+1-s.length),x=c(y);if(x.slice(x.length-s[0].length)==s[0])return{from:r(l+1-s.length,p(y,x,y.length-s[0].length,c)),to:r(l,p(h,g,m.length,c))}}}}function m(e,t,n,o){var i;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},"object"==typeof o?i=o.caseFold:(i=o,o=null),"string"==typeof t?(null==i&&(i=!1),this.matches=function(n,r){return(n?d:g)(e,t,r,i)}):(t=a(t,"gm"),o&&!1===o.multiline?this.matches=function(n,r){return(n?f:s)(e,t,r)}:this.matches=function(n,r){return(n?h:l)(e,t,r)})}i(o,"regexpFlags"),i(a,"ensureFlags"),i(c,"maybeMultiline"),i(s,"searchRegexpForward"),i(l,"searchRegexpForwardMultiline"),i(u,"lastMatchIn"),i(f,"searchRegexpBackward"),i(h,"searchRegexpBackwardMultiline"),String.prototype.normalize?(t=i((function(e){return e.normalize("NFD").toLowerCase()}),"doFold"),n=i((function(e){return e.normalize("NFD")}),"noFold")):(t=i((function(e){return e.toLowerCase()}),"doFold"),n=i((function(e){return e}),"noFold")),i(p,"adjustPos"),i(g,"searchStringForward"),i(d,"searchStringBackward"),i(m,"SearchCursor"),m.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var n=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(n=r(n.line,n.ch),t?(n.ch--,n.ch<0&&(n.line--,n.ch=(this.doc.getLine(n.line)||"").length)):(n.ch++,n.ch>(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var o=this.matches(t,n);if(this.afterEmptyMatch=o&&0==e.cmpPos(o.from,o.to),o)return this.pos=o,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var o=e.splitLines(t);this.doc.replaceRange(o,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+o.length-1,o[o.length-1].length+(1==o.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,n){return new m(this.doc,e,t,n)})),e.defineDocExtension("getSearchCursor",(function(e,t,n){return new m(this,e,t,n)})),e.defineExtension("selectMatches",(function(t,n){for(var r=[],o=this.getSearchCursor(t,this.getCursor("from"),n);o.findNext()&&!(e.cmpPos(o.to(),this.getCursor("to"))>0);)r.push({anchor:o.from(),head:o.to()});r.length&&this.setSelections(r,0)}))}(r.a.exports);var s=a({__proto__:null,default:c.exports},[c.exports])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[862],{23862:(t,e,n)=>{n.r(e),n.d(e,{l:()=>l});var o=n(38950),r=Object.defineProperty,i=(t,e)=>r(t,"name",{value:e,configurable:!0});function a(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(n){if("default"!==n&&!(n in t)){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}))})),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var s={exports:{}};!function(t){var e="CodeMirror-lint-markers";function n(e,n,o){var r=document.createElement("div");function a(e){if(!r.parentNode)return t.off(document,"mousemove",a);r.style.top=Math.max(0,e.clientY-r.offsetHeight-5)+"px",r.style.left=e.clientX+5+"px"}return r.className="CodeMirror-lint-tooltip cm-s-"+e.options.theme,r.appendChild(o.cloneNode(!0)),e.state.lint.options.selfContain?e.getWrapperElement().appendChild(r):document.body.appendChild(r),i(a,"position"),t.on(document,"mousemove",a),a(n),null!=r.style.opacity&&(r.style.opacity=1),r}function o(t){t.parentNode&&t.parentNode.removeChild(t)}function r(t){t.parentNode&&(null==t.style.opacity&&o(t),t.style.opacity=0,setTimeout((function(){o(t)}),600))}function a(e,o,a,s){var l=n(e,o,a);function u(){t.off(s,"mouseout",u),l&&(r(l),l=null)}i(u,"hide");var c=setInterval((function(){if(l)for(var t=s;;t=t.parentNode){if(t&&11==t.nodeType&&(t=t.host),t==document.body)return;if(!t){u();break}}if(!l)return clearInterval(c)}),400);t.on(s,"mouseout",u)}function s(t,e,n){for(var o in this.marked=[],e instanceof Function&&(e={getAnnotations:e}),e&&!0!==e||(e={}),this.options={},this.linterOptions=e.options||{},l)this.options[o]=l[o];for(var o in e)l.hasOwnProperty(o)?null!=e[o]&&(this.options[o]=e[o]):e.options||(this.linterOptions[o]=e[o]);this.timeout=null,this.hasGutter=n,this.onMouseOver=function(e){M(t,e)},this.waitingFor=0}i(n,"showTooltip"),i(o,"rm"),i(r,"hideTooltip"),i(a,"showTooltipFor"),i(s,"LintState");var l={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function u(t){var n=t.state.lint;n.hasGutter&&t.clearGutter(e),n.options.highlightLines&&c(t);for(var o=0;o<n.marked.length;++o)n.marked[o].clear();n.marked.length=0}function c(t){t.eachLine((function(e){var n=e.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(e.wrapClass);n&&t.removeLineClass(e,"wrap",n[0])}))}function f(e,n,o,r,i){var s=document.createElement("div"),l=s;return s.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+o,r&&((l=s.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),0!=i&&t.on(l,"mouseover",(function(t){a(e,t,n,l)})),s}function p(t,e){return"error"==t?t:e}function m(t){for(var e=[],n=0;n<t.length;++n){var o=t[n],r=o.from.line;(e[r]||(e[r]=[])).push(o)}return e}function d(t){var e=t.severity;e||(e="error");var n=document.createElement("div");return n.className="CodeMirror-lint-message CodeMirror-lint-message-"+e,void 0!==t.messageHTML?n.innerHTML=t.messageHTML:n.appendChild(document.createTextNode(t.message)),n}function h(e,n){var o=e.state.lint,r=++o.waitingFor;function a(){r=-1,e.off("change",a)}i(a,"abort"),e.on("change",a),n(e.getValue(),(function(n,i){e.off("change",a),o.waitingFor==r&&(i&&n instanceof t&&(n=i),e.operation((function(){v(e,n)})))}),o.linterOptions,e)}function g(e){var n=e.state.lint;if(n){var o=n.options,r=o.getAnnotations||e.getHelper(t.Pos(0,0),"lint");if(r)if(o.async||r.async)h(e,r);else{var i=r(e.getValue(),n.linterOptions,e);if(!i)return;i.then?i.then((function(t){e.operation((function(){v(e,t)}))})):e.operation((function(){v(e,i)}))}}}function v(t,n){var o=t.state.lint;if(o){var r=o.options;u(t);for(var i=m(n),a=0;a<i.length;++a){var s=i[a];if(s){var l=[];s=s.filter((function(t){return!(l.indexOf(t.message)>-1)&&l.push(t.message)}));for(var c=null,h=o.hasGutter&&document.createDocumentFragment(),g=0;g<s.length;++g){var v=s[g],C=v.severity;C||(C="error"),c=p(c,C),r.formatAnnotation&&(v=r.formatAnnotation(v)),o.hasGutter&&h.appendChild(d(v)),v.to&&o.marked.push(t.markText(v.from,v.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+C,__annotation:v}))}o.hasGutter&&t.setGutterMarker(a,e,f(t,h,c,i[a].length>1,r.tooltips)),r.highlightLines&&t.addLineClass(a,"wrap","CodeMirror-lint-line-"+c)}}r.onUpdateLinting&&r.onUpdateLinting(n,i,t)}}function C(t){var e=t.state.lint;e&&(clearTimeout(e.timeout),e.timeout=setTimeout((function(){g(t)}),e.options.delay))}function y(t,e,n){for(var o=n.target||n.srcElement,r=document.createDocumentFragment(),i=0;i<e.length;i++){var s=e[i];r.appendChild(d(s))}a(t,n,r,o)}function M(t,e){var n=e.target||e.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className)){for(var o=n.getBoundingClientRect(),r=(o.left+o.right)/2,i=(o.top+o.bottom)/2,a=t.findMarksAt(t.coordsChar({left:r,top:i},"client")),s=[],l=0;l<a.length;++l){var u=a[l].__annotation;u&&s.push(u)}s.length&&y(t,s,e)}}i(u,"clearMarks"),i(c,"clearErrorLines"),i(f,"makeMarker"),i(p,"getMaxSeverity"),i(m,"groupByLine"),i(d,"annotationTooltip"),i(h,"lintAsync"),i(g,"startLinting"),i(v,"updateLinting"),i(C,"onChange"),i(y,"popupTooltips"),i(M,"onMouseOver"),t.defineOption("lint",!1,(function(n,o,r){if(r&&r!=t.Init&&(u(n),!1!==n.state.lint.options.lintOnChange&&n.off("change",C),t.off(n.getWrapperElement(),"mouseover",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),o){for(var i=n.getOption("gutters"),a=!1,l=0;l<i.length;++l)i[l]==e&&(a=!0);var c=n.state.lint=new s(n,o,a);c.options.lintOnChange&&n.on("change",C),0!=c.options.tooltips&&"gutter"!=c.options.tooltips&&t.on(n.getWrapperElement(),"mouseover",c.onMouseOver),g(n)}})),t.defineExtension("performLint",(function(){g(this)}))}(o.a.exports);var l=a({__proto__:null,default:s.exports},[s.exports])}}]);
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[862],{23862:(t,e,n)=>{n.d(e,{l:()=>l});var o=n(38950),r=Object.defineProperty,i=(t,e)=>r(t,"name",{value:e,configurable:!0});function a(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(n){if("default"!==n&&!(n in t)){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}))})),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var s={exports:{}};!function(t){var e="CodeMirror-lint-markers";function n(e,n,o){var r=document.createElement("div");function a(e){if(!r.parentNode)return t.off(document,"mousemove",a);r.style.top=Math.max(0,e.clientY-r.offsetHeight-5)+"px",r.style.left=e.clientX+5+"px"}return r.className="CodeMirror-lint-tooltip cm-s-"+e.options.theme,r.appendChild(o.cloneNode(!0)),e.state.lint.options.selfContain?e.getWrapperElement().appendChild(r):document.body.appendChild(r),i(a,"position"),t.on(document,"mousemove",a),a(n),null!=r.style.opacity&&(r.style.opacity=1),r}function o(t){t.parentNode&&t.parentNode.removeChild(t)}function r(t){t.parentNode&&(null==t.style.opacity&&o(t),t.style.opacity=0,setTimeout((function(){o(t)}),600))}function a(e,o,a,s){var l=n(e,o,a);function u(){t.off(s,"mouseout",u),l&&(r(l),l=null)}i(u,"hide");var c=setInterval((function(){if(l)for(var t=s;;t=t.parentNode){if(t&&11==t.nodeType&&(t=t.host),t==document.body)return;if(!t){u();break}}if(!l)return clearInterval(c)}),400);t.on(s,"mouseout",u)}function s(t,e,n){for(var o in this.marked=[],e instanceof Function&&(e={getAnnotations:e}),e&&!0!==e||(e={}),this.options={},this.linterOptions=e.options||{},l)this.options[o]=l[o];for(var o in e)l.hasOwnProperty(o)?null!=e[o]&&(this.options[o]=e[o]):e.options||(this.linterOptions[o]=e[o]);this.timeout=null,this.hasGutter=n,this.onMouseOver=function(e){M(t,e)},this.waitingFor=0}i(n,"showTooltip"),i(o,"rm"),i(r,"hideTooltip"),i(a,"showTooltipFor"),i(s,"LintState");var l={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function u(t){var n=t.state.lint;n.hasGutter&&t.clearGutter(e),n.options.highlightLines&&c(t);for(var o=0;o<n.marked.length;++o)n.marked[o].clear();n.marked.length=0}function c(t){t.eachLine((function(e){var n=e.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(e.wrapClass);n&&t.removeLineClass(e,"wrap",n[0])}))}function f(e,n,o,r,i){var s=document.createElement("div"),l=s;return s.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+o,r&&((l=s.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),0!=i&&t.on(l,"mouseover",(function(t){a(e,t,n,l)})),s}function p(t,e){return"error"==t?t:e}function m(t){for(var e=[],n=0;n<t.length;++n){var o=t[n],r=o.from.line;(e[r]||(e[r]=[])).push(o)}return e}function d(t){var e=t.severity;e||(e="error");var n=document.createElement("div");return n.className="CodeMirror-lint-message CodeMirror-lint-message-"+e,void 0!==t.messageHTML?n.innerHTML=t.messageHTML:n.appendChild(document.createTextNode(t.message)),n}function h(e,n){var o=e.state.lint,r=++o.waitingFor;function a(){r=-1,e.off("change",a)}i(a,"abort"),e.on("change",a),n(e.getValue(),(function(n,i){e.off("change",a),o.waitingFor==r&&(i&&n instanceof t&&(n=i),e.operation((function(){v(e,n)})))}),o.linterOptions,e)}function g(e){var n=e.state.lint;if(n){var o=n.options,r=o.getAnnotations||e.getHelper(t.Pos(0,0),"lint");if(r)if(o.async||r.async)h(e,r);else{var i=r(e.getValue(),n.linterOptions,e);if(!i)return;i.then?i.then((function(t){e.operation((function(){v(e,t)}))})):e.operation((function(){v(e,i)}))}}}function v(t,n){var o=t.state.lint;if(o){var r=o.options;u(t);for(var i=m(n),a=0;a<i.length;++a){var s=i[a];if(s){var l=[];s=s.filter((function(t){return!(l.indexOf(t.message)>-1)&&l.push(t.message)}));for(var c=null,h=o.hasGutter&&document.createDocumentFragment(),g=0;g<s.length;++g){var v=s[g],C=v.severity;C||(C="error"),c=p(c,C),r.formatAnnotation&&(v=r.formatAnnotation(v)),o.hasGutter&&h.appendChild(d(v)),v.to&&o.marked.push(t.markText(v.from,v.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+C,__annotation:v}))}o.hasGutter&&t.setGutterMarker(a,e,f(t,h,c,i[a].length>1,r.tooltips)),r.highlightLines&&t.addLineClass(a,"wrap","CodeMirror-lint-line-"+c)}}r.onUpdateLinting&&r.onUpdateLinting(n,i,t)}}function C(t){var e=t.state.lint;e&&(clearTimeout(e.timeout),e.timeout=setTimeout((function(){g(t)}),e.options.delay))}function y(t,e,n){for(var o=n.target||n.srcElement,r=document.createDocumentFragment(),i=0;i<e.length;i++){var s=e[i];r.appendChild(d(s))}a(t,n,r,o)}function M(t,e){var n=e.target||e.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className)){for(var o=n.getBoundingClientRect(),r=(o.left+o.right)/2,i=(o.top+o.bottom)/2,a=t.findMarksAt(t.coordsChar({left:r,top:i},"client")),s=[],l=0;l<a.length;++l){var u=a[l].__annotation;u&&s.push(u)}s.length&&y(t,s,e)}}i(u,"clearMarks"),i(c,"clearErrorLines"),i(f,"makeMarker"),i(p,"getMaxSeverity"),i(m,"groupByLine"),i(d,"annotationTooltip"),i(h,"lintAsync"),i(g,"startLinting"),i(v,"updateLinting"),i(C,"onChange"),i(y,"popupTooltips"),i(M,"onMouseOver"),t.defineOption("lint",!1,(function(n,o,r){if(r&&r!=t.Init&&(u(n),!1!==n.state.lint.options.lintOnChange&&n.off("change",C),t.off(n.getWrapperElement(),"mouseover",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),o){for(var i=n.getOption("gutters"),a=!1,l=0;l<i.length;++l)i[l]==e&&(a=!0);var c=n.state.lint=new s(n,o,a);c.options.lintOnChange&&n.on("change",C),0!=c.options.tooltips&&"gutter"!=c.options.tooltips&&t.on(n.getWrapperElement(),"mouseover",c.onMouseOver),g(n)}})),t.defineExtension("performLint",(function(){g(this)}))}(o.a.exports);var l=a({__proto__:null,default:s.exports},[s.exports])}}]);