parse-dashboard 4.1.3 → 4.2.0-alpha.2
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.
- package/Parse-Dashboard/public/bundles/128.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/269.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/290.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/31.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/339.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/341.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/410.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/539.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/550.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/590.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/655.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/688.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/722.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/725.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/729.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/732.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/772.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/773.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/783.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/817.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/820.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/829.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/906.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/974.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/977.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/dashboard.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/dashboard.bundle.js.LICENSE.txt +14 -19
- package/package.json +6 -6
- package/Parse-Dashboard/public/bundles/143.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/169.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/191.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/208.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/220.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/253.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/280.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/287.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/36.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/370.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/41.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/453.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/468.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/500.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/556.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/620.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/633.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/67.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/677.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/736.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/798.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/83.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/930.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/952.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/963.bundle.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[128],{93128:(e,n,t)=>{t.r(n),t.d(n,{c:()=>m});var i=t(96539),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(e)}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=a.exports,m=Object.freeze(r({__proto__:null,[Symbol.toStringTag]:"Module",default:c},[a.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[269,31],{81031:(e,o,t)=>{t.r(o),t.d(o,{a:()=>u,d:()=>l});var n=t(96539),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(e)}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=u.exports,l=Object.freeze(a({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[u.exports]))},18269:(e,o,t)=>{t.r(o),t.d(o,{j:()=>c});var n=t(96539),r=t(81031),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(e)}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=s.exports,c=Object.freeze(u({__proto__:null,[Symbol.toStringTag]:"Module",default:l},[s.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[290,906,772],{61906:(e,t,n)=>{n.r(t),n.d(t,{a:()=>a,m:()=>c});var r=n(96539),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(e)}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=a.exports,c=Object.freeze(l({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[a.exports]))},95035:(e,t,n)=>{n.r(t),n.d(t,{a:()=>a,s:()=>c});var r=n(96539),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(e)}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=a.exports,c=Object.freeze(l({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[a.exports]))},93290:(e,t,n)=>{n.r(t),n.d(t,{s:()=>u});var r=n(96539),o=n(95035),i=n(61906),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(e)}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=c.exports,u=Object.freeze(s({__proto__:null,[Symbol.toStringTag]:"Module",default:f},[c.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[31],{81031:(e,o,n)=>{n.r(o),n.d(o,{a:()=>u,d:()=>c});var t=n(96539),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(e)}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=u.exports,c=Object.freeze(a({__proto__:null,[Symbol.toStringTag]:"Module",default:l},[u.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[339],{47339:(t,e,n)=>{n.r(e),n.d(e,{l:()=>u});var o=n(96539),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(t)}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=s.exports,u=Object.freeze(a({__proto__:null,[Symbol.toStringTag]:"Module",default:l},[s.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[341],{76341:(e,o,t)=>{t.r(o),t.d(o,{f:()=>d});var n=t(96539),r=Object.defineProperty,i=(e,o)=>r(e,"name",{value:o,configurable:!0});function f(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(e)}i(f,"_mergeNamespaces");var a={exports:{}};!function(e){function o(o,n,f,a){if(f&&f.call){var l=f;f=null}else l=r(o,f,"rangeFinder");"number"==typeof n&&(n=e.Pos(n,0));var d=r(o,f,"minFoldSize");function u(e){var t=l(o,n);if(!t||t.to.line-t.from.line<d)return null;if("fold"===a)return t;for(var r=o.findMarksAt(t.from),i=0;i<r.length;++i)if(r[i].__isFold){if(!e)return null;t.cleared=!0,r[i].clear()}return t}i(u,"getRange");var c=u(!0);if(r(o,f,"scanUp"))for(;!c&&n.line>o.firstLine();)n=e.Pos(n.line-1,0),c=u(!1);if(c&&!c.cleared&&"unfold"!==a){var s=t(o,f,c);e.on(s,"mousedown",(function(o){p.clear(),e.e_preventDefault(o)}));var p=o.markText(c.from,c.to,{replacedWith:s,clearOnEnter:r(o,f,"clearOnEnter"),__isFold:!0});p.on("clear",(function(t,n){e.signal(o,"unfold",o,t,n)})),e.signal(o,"fold",o,c.from,c.to)}}function t(e,o,t){var n=r(e,o,"widget");if("function"==typeof n&&(n=n(t.from,t.to)),"string"==typeof n){var i=document.createTextNode(n);(n=document.createElement("span")).appendChild(i),n.className="CodeMirror-foldmarker"}else n&&(n=n.cloneNode(!0));return n}i(o,"doFold"),i(t,"makeWidget"),e.newFoldFunction=function(e,t){return function(n,r){o(n,r,{rangeFinder:e,widget:t})}},e.defineExtension("foldCode",(function(e,t,n){o(this,e,t,n)})),e.defineExtension("isFolded",(function(e){for(var o=this.findMarksAt(e),t=0;t<o.length;++t)if(o[t].__isFold)return!0})),e.commands.toggleFold=function(e){e.foldCode(e.getCursor())},e.commands.fold=function(e){e.foldCode(e.getCursor(),null,"fold")},e.commands.unfold=function(e){e.foldCode(e.getCursor(),{scanUp:!1},"unfold")},e.commands.foldAll=function(o){o.operation((function(){for(var t=o.firstLine(),n=o.lastLine();t<=n;t++)o.foldCode(e.Pos(t,0),{scanUp:!1},"fold")}))},e.commands.unfoldAll=function(o){o.operation((function(){for(var t=o.firstLine(),n=o.lastLine();t<=n;t++)o.foldCode(e.Pos(t,0),{scanUp:!1},"unfold")}))},e.registerHelper("fold","combine",(function(){var e=Array.prototype.slice.call(arguments,0);return function(o,t){for(var n=0;n<e.length;++n){var r=e[n](o,t);if(r)return r}}})),e.registerHelper("fold","auto",(function(e,o){for(var t=e.getHelpers(o,"fold"),n=0;n<t.length;n++){var r=t[n](e,o);if(r)return r}}));var n={rangeFinder:e.fold.auto,widget:"↔",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function r(e,o,t){if(o&&void 0!==o[t])return o[t];var r=e.options.foldOptions;return r&&void 0!==r[t]?r[t]:n[t]}e.defineOption("foldOptions",null),i(r,"getOption"),e.defineExtension("foldOption",(function(e,o){return r(this,e,o)}))}(n.a.exports),function(e){e.defineOption("foldGutter",!1,(function(o,r,i){i&&i!=e.Init&&(o.clearGutter(o.state.foldGutter.options.gutter),o.state.foldGutter=null,o.off("gutterClick",u),o.off("changes",c),o.off("viewportChange",s),o.off("fold",p),o.off("unfold",p),o.off("swapDoc",c)),r&&(o.state.foldGutter=new t(n(r)),d(o),o.on("gutterClick",u),o.on("changes",c),o.on("viewportChange",s),o.on("fold",p),o.on("unfold",p),o.on("swapDoc",c))}));var o=e.Pos;function t(e){this.options=e,this.from=this.to=0}function n(e){return!0===e&&(e={}),null==e.gutter&&(e.gutter="CodeMirror-foldgutter"),null==e.indicatorOpen&&(e.indicatorOpen="CodeMirror-foldgutter-open"),null==e.indicatorFolded&&(e.indicatorFolded="CodeMirror-foldgutter-folded"),e}function r(e,t){for(var n=e.findMarks(o(t,0),o(t+1,0)),r=0;r<n.length;++r)if(n[r].__isFold){var i=n[r].find(-1);if(i&&i.line===t)return n[r]}}function f(e){if("string"==typeof e){var o=document.createElement("div");return o.className=e+" CodeMirror-guttermarker-subtle",o}return e.cloneNode(!0)}function a(e,t,n){var i=e.state.foldGutter.options,a=t-1,d=e.foldOption(i,"minFoldSize"),u=e.foldOption(i,"rangeFinder"),c="string"==typeof i.indicatorFolded&&l(i.indicatorFolded),s="string"==typeof i.indicatorOpen&&l(i.indicatorOpen);e.eachLine(t,n,(function(t){++a;var n=null,l=t.gutterMarkers;if(l&&(l=l[i.gutter]),r(e,a)){if(c&&l&&c.test(l.className))return;n=f(i.indicatorFolded)}else{var p=o(a,0),g=u&&u(e,p);if(g&&g.to.line-g.from.line>=d){if(s&&l&&s.test(l.className))return;n=f(i.indicatorOpen)}}(n||l)&&e.setGutterMarker(t,i.gutter,n)}))}function l(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function d(e){var o=e.getViewport(),t=e.state.foldGutter;t&&(e.operation((function(){a(e,o.from,o.to)})),t.from=o.from,t.to=o.to)}function u(e,t,n){var i=e.state.foldGutter;if(i){var f=i.options;if(n==f.gutter){var a=r(e,t);a?a.clear():e.foldCode(o(t,0),f)}}}function c(e){var o=e.state.foldGutter;if(o){var t=o.options;o.from=o.to=0,clearTimeout(o.changeUpdate),o.changeUpdate=setTimeout((function(){d(e)}),t.foldOnChangeTimeSpan||600)}}function s(e){var o=e.state.foldGutter;if(o){var t=o.options;clearTimeout(o.changeUpdate),o.changeUpdate=setTimeout((function(){var t=e.getViewport();o.from==o.to||t.from-o.to>20||o.from-t.to>20?d(e):e.operation((function(){t.from<o.from&&(a(e,t.from,o.from),o.from=t.from),t.to>o.to&&(a(e,o.to,t.to),o.to=t.to)}))}),t.updateViewportTimeSpan||400)}}function p(e,o){var t=e.state.foldGutter;if(t){var n=o.line;n>=t.from&&n<t.to&&a(e,n,n+1)}}i(t,"State"),i(n,"parseOptions"),i(r,"isFolded"),i(f,"marker"),i(a,"updateFoldInfo"),i(l,"classTest"),i(d,"updateInViewport"),i(u,"onGutterClick"),i(c,"onChange"),i(s,"onViewportChange"),i(p,"onFold")}(n.a.exports);var l=a.exports,d=Object.freeze(f({__proto__:null,[Symbol.toStringTag]:"Module",default:l},[a.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[410],{70410:(t,e,i)=>{i.r(e),i.d(e,{s:()=>h});var n=i(96539),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(t)}s(r,"_mergeNamespaces");var c={exports:{}};!function(t){function e(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(i){i=o(this,this.getCursor("start"),i);var n=this.listSelections();if(!(n.length>1)){if(this.somethingSelected()){if(!i.hint.supportsSelection)return;for(var s=0;s<n.length;s++)if(n[s].head.line!=n[s].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var r=this.state.completionActive=new e(this,i);r.options.hint&&(t.signal(this,"startCompletion",this),r.update(!0))}})),t.defineExtension("closeHint",(function(){this.state.completionActive&&this.state.completionActive.close()})),s(e,"Completion");var i=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},n=window.cancelAnimationFrame||clearTimeout;function o(t,e,i){var n=t.options.hintOptions,o={};for(var s in d)o[s]=d[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 r(t){return"string"==typeof t?t:t.text}function c(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 l(t,e){for(;e&&e!=t;){if("LI"===e.nodeName.toUpperCase()&&e.parentNode==t)return e;e=e.parentNode}}function h(e,i){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=e,this.data=i,this.picked=!1;var n=this,o=e.cm,s=o.getInputField().ownerDocument,h=s.defaultView||s.parentWindow,a=this.hints=s.createElement("ul");a.setAttribute("role","listbox"),a.setAttribute("aria-expanded","true"),a.id=this.id;var u=e.cm.options.theme;a.className="CodeMirror-hints "+u,this.selectedHint=i.selectedHint||0;for(var f=i.list,d=0;d<f.length;++d){var p=a.appendChild(s.createElement("li")),m=f[d],g="CodeMirror-hint"+(d!=this.selectedHint?"":" CodeMirror-hint-active");null!=m.className&&(g=m.className+" "+g),p.className=g,d==this.selectedHint&&p.setAttribute("aria-selected","true"),p.id=this.id+"-"+d,p.setAttribute("role","option"),m.render?m.render(p,i,m):p.appendChild(s.createTextNode(m.displayText||r(m))),p.hintId=d}var v=e.options.container||s.body,y=o.cursorCoords(e.options.alignWithWord?i.from:null),b=y.left,w=y.bottom,H=!0,A=0,C=0;if(v!==s.body){var k=-1!==["absolute","relative","fixed"].indexOf(h.getComputedStyle(v).position)?v:v.offsetParent,x=k.getBoundingClientRect(),O=s.body.getBoundingClientRect();A=x.left-O.left-k.scrollLeft,C=x.top-O.top-k.scrollTop}a.style.left=b-A+"px",a.style.top=w-C+"px";var S=h.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),T=h.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);v.appendChild(a),o.getInputField().setAttribute("aria-autocomplete","list"),o.getInputField().setAttribute("aria-owns",this.id),o.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var M,F=e.options.moveOnOverlap?a.getBoundingClientRect():new DOMRect,N=!!e.options.paddingForScrollbar&&a.scrollHeight>a.clientHeight+1;if(setTimeout((function(){M=o.getScrollInfo()})),F.bottom-T>0){var P=F.bottom-F.top;if(y.top-(y.bottom-F.top)-P>0)a.style.top=(w=y.top-P-C)+"px",H=!1;else if(P>T){a.style.height=T-5+"px",a.style.top=(w=y.bottom-F.top-C)+"px";var E=o.getCursor();i.from.ch!=E.ch&&(y=o.cursorCoords(E),a.style.left=(b=y.left-A)+"px",F=a.getBoundingClientRect())}}var I,W=F.right-S;if(N&&(W+=o.display.nativeBarWidth),W>0&&(F.right-F.left>S&&(a.style.width=S-5+"px",W-=F.right-F.left-S),a.style.left=(b=y.left-W-A)+"px"),N)for(var R=a.firstChild;R;R=R.nextSibling)R.style.paddingRight=o.display.nativeBarWidth+"px";o.addKeyMap(this.keyMap=c(e,{moveFocus:function(t,e){n.changeActive(n.selectedHint+t,e)},setFocus:function(t){n.changeActive(t)},menuSize:function(){return n.screenAmount()},length:f.length,close:function(){e.close()},pick:function(){n.pick()},data:i})),e.options.closeOnUnfocus&&(o.on("blur",this.onBlur=function(){I=setTimeout((function(){e.close()}),100)}),o.on("focus",this.onFocus=function(){clearTimeout(I)})),o.on("scroll",this.onScroll=function(){var t=o.getScrollInfo(),i=o.getWrapperElement().getBoundingClientRect();M||(M=o.getScrollInfo());var n=w+M.top-t.top,r=n-(h.pageYOffset||(s.documentElement||s.body).scrollTop);if(H||(r+=a.offsetHeight),r<=i.top||r>=i.bottom)return e.close();a.style.top=n+"px",a.style.left=b+M.left-t.left+"px"}),t.on(a,"dblclick",(function(t){var e=l(a,t.target||t.srcElement);e&&null!=e.hintId&&(n.changeActive(e.hintId),n.pick())})),t.on(a,"click",(function(t){var i=l(a,t.target||t.srcElement);i&&null!=i.hintId&&(n.changeActive(i.hintId),e.options.completeOnSingleClick&&n.pick())})),t.on(a,"mousedown",(function(){setTimeout((function(){o.focus()}),20)}));var B=this.getSelectedHintRange();return 0===B.from&&0===B.to||this.scrollToActive(),t.signal(i,"select",f[this.selectedHint],a.childNodes[this.selectedHint]),!0}function a(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 u(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 f(e,i){var n,o=e.getHelpers(i,"hint");if(o.length){var r=s((function(t,e,i){var n=a(t,o);function r(o){if(o==n.length)return e(null);u(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(){}}e.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(r(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&&(n(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),o=this.cm.getLine(e.line);if(e.line!=this.startPos.line||o.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(o.charAt(e.ch-1)))this.close();else{var s=this;this.debounce=i((function(){s.update()})),this.widget&&this.widget.disable()}},update:function(t){if(null!=this.tick){var e=this,i=++this.tick;u(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 h(this,e),t.signal(e,"shown")))}},s(o,"parseOptions"),s(r,"getText"),s(c,"buildKeyMap"),s(l,"getHintElement"),s(h,"Widget"),h.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(e,i){if(e>=this.data.list.length?e=i?this.data.list.length-1:0:e<0&&(e=i?0:this.data.list.length-1),this.selectedHint!=e){var n=this.hints.childNodes[this.selectedHint];n&&(n.className=n.className.replace(" CodeMirror-hint-active",""),n.removeAttribute("aria-selected")),(n=this.hints.childNodes[this.selectedHint=e]).className+=" CodeMirror-hint-active",n.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",n.id),this.scrollToActive(),t.signal(this.data,"select",this.data.list[this.selectedHint],n)}},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(a,"applicableHelpers"),s(u,"fetchHints"),s(f,"resolveAutoHints"),t.registerHelper("hint","auto",{resolve:f}),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 d={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=c.exports,h=Object.freeze(r({__proto__:null,[Symbol.toStringTag]:"Module",default:l},[c.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[539],{58202:(e,t,n)=>{n.d(t,{a:()=>c,b:()=>f,c:()=>d,d:()=>m,e:()=>g,g:()=>l});var i=n(89130),a=n(87655),r=n(92823),u=Object.defineProperty,o=(e,t)=>u(e,"name",{value:t,configurable:!0});function l(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,r.f)(t,(t=>{var a,r;switch(t.kind){case"Query":case"ShortQuery":n.type=e.getQueryType();break;case"Mutation":n.type=e.getMutationType();break;case"Subscription":n.type=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(n.type=e.getType(t.type));break;case"Field":case"AliasedField":n.fieldDef=n.type&&t.name?s(e,n.parentType,t.name):null,n.type=null===(a=n.fieldDef)||void 0===a?void 0:a.type;break;case"SelectionSet":n.parentType=n.type?(0,i.xC)(n.type):null;break;case"Directive":n.directiveDef=t.name?e.getDirective(t.name):null;break;case"Arguments":const u=t.prevState?"Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&s(e,n.parentType,t.prevState.name):null:null;n.argDefs=u?u.args:null;break;case"Argument":if(n.argDef=null,n.argDefs)for(let e=0;e<n.argDefs.length;e++)if(n.argDefs[e].name===t.name){n.argDef=n.argDefs[e];break}n.inputType=null===(r=n.argDef)||void 0===r?void 0:r.type;break;case"EnumValue":const o=n.inputType?(0,i.xC)(n.inputType):null;n.enumValue=o instanceof i.mR?p(o.getValues(),(e=>e.value===t.name)):null;break;case"ListValue":const l=n.inputType?(0,i.tf)(n.inputType):null;n.inputType=l instanceof i.p2?l.ofType:null;break;case"ObjectValue":const c=n.inputType?(0,i.xC)(n.inputType):null;n.objectFieldDefs=c instanceof i.sR?c.getFields():null;break;case"ObjectField":const f=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=null==f?void 0:f.type;break;case"NamedType":n.type=t.name?e.getType(t.name):null}})),n}function s(e,t,n){return n===a.S.name&&e.getQueryType()===t?a.S:n===a.T.name&&e.getQueryType()===t?a.T:n===a.a.name&&(0,i.Gv)(t)?a.a:t&&t.getFields?t.getFields()[n]:void 0}function p(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}function c(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:y(e.fieldDef)?null:e.parentType}}function f(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}}function d(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:y(e.fieldDef)?null:e.parentType}}function m(e){return{kind:"EnumValue",value:e.enumValue||void 0,type:e.inputType?(0,i.xC)(e.inputType):void 0}}function g(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}function y(e){return"__"===e.name.slice(0,2)}o(l,"getTypeInfo"),o(s,"getFieldDef"),o(p,"find"),o(c,"getFieldReference"),o(f,"getDirectiveReference"),o(d,"getArgumentReference"),o(m,"getEnumValueReference"),o(g,"getTypeReference"),o(y,"isMetaField")},92823:(e,t,n)=>{function i(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])}n.d(t,{f:()=>i}),(0,Object.defineProperty)(i,"name",{value:"forEachState",configurable:!0})},20539:(e,t,n)=>{n.r(t);var i=n(96539),a=n(58202),r=(n(92906),n(27378),n(31542),n(87655),n(92823),Object.defineProperty),u=(e,t)=>r(e,"name",{value:t,configurable:!0});function o(e,t){const n=t.target||t.srcElement;if(!(n instanceof HTMLElement))return;if("SPAN"!==(null==n?void 0:n.nodeName))return;const i=n.getBoundingClientRect(),a={left:(i.left+i.right)/2,top:(i.top+i.bottom)/2};e.state.jump.cursor=a,e.state.jump.isHoldingModifier&&f(e)}function l(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&d(e):e.state.jump.cursor=null}function s(e,t){if(e.state.jump.isHoldingModifier||!c(t.key))return;e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&f(e);const n=u((u=>{u.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&d(e),i.C.off(document,"keyup",n),i.C.off(document,"click",a),e.off("mousedown",r))}),"onKeyUp"),a=u((t=>{const n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)}),"onClick"),r=u(((t,n)=>{e.state.jump.destination&&(n.codemirrorIgnore=!0)}),"onMouseDown");i.C.on(document,"keyup",n),i.C.on(document,"click",a),e.on("mousedown",r)}i.C.defineOption("jump",!1,((e,t,n)=>{if(n&&n!==i.C.Init){const t=e.state.jump.onMouseOver;i.C.off(e.getWrapperElement(),"mouseover",t);const n=e.state.jump.onMouseOut;i.C.off(e.getWrapperElement(),"mouseout",n),i.C.off(document,"keydown",e.state.jump.onKeyDown),delete e.state.jump}if(t){const n=e.state.jump={options:t,onMouseOver:o.bind(null,e),onMouseOut:l.bind(null,e),onKeyDown:s.bind(null,e)};i.C.on(e.getWrapperElement(),"mouseover",n.onMouseOver),i.C.on(e.getWrapperElement(),"mouseout",n.onMouseOut),i.C.on(document,"keydown",n.onKeyDown)}})),u(o,"onMouseOver"),u(l,"onMouseOut"),u(s,"onKeyDown");const p="undefined"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf("Mac");function c(e){return e===(p?"Meta":"Control")}function f(e){if(e.state.jump.marker)return;const t=e.state.jump.cursor,n=e.coordsChar(t),i=e.getTokenAt(n,!0),a=e.state.jump.options,r=a.getDestination||e.getHelper(n,"jump");if(r){const t=r(i,a,e);if(t){const a=e.markText({line:n.line,ch:i.start},{line:n.line,ch:i.end},{className:"CodeMirror-jump-token"});e.state.jump.marker=a,e.state.jump.destination=t}}}function d(e){const t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}u(c,"isJumpModifier"),u(f,"enableJumpMode"),u(d,"disableJumpMode"),i.C.registerHelper("jump","graphql",((e,t)=>{if(!t.schema||!t.onClick||!e.state)return;const n=e.state,i=n.kind,r=n.step,u=(0,a.g)(t.schema,n);return"Field"===i&&0===r&&u.fieldDef||"AliasedField"===i&&2===r&&u.fieldDef?(0,a.a)(u):"Directive"===i&&1===r&&u.directiveDef?(0,a.b)(u):"Argument"===i&&0===r&&u.argDef?(0,a.c)(u):"EnumValue"===i&&u.enumValue?(0,a.d)(u):"NamedType"===i&&u.type?(0,a.e)(u):void 0}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[550,772,31],{81031:(e,t,n)=>{n.r(t),n.d(t,{a:()=>c,d:()=>l});var r=n(96539),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(e)}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=c.exports,l=Object.freeze(a({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[c.exports]))},47550:(e,t,n)=>{n.r(t),n.d(t,{s:()=>f});var r=n(96539),o=n(95035),i=n(81031),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(e)}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=l.exports,f=Object.freeze(s({__proto__:null,[Symbol.toStringTag]:"Module",default:u},[l.exports]))},95035:(e,t,n)=>{n.r(t),n.d(t,{a:()=>c,s:()=>l});var r=n(96539),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(e)}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=c.exports,l=Object.freeze(a({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[c.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[590],{84590:(e,o,t)=>{t.r(o);var n=t(96539),i=(t(92906),t(27378),t(31542),Object.defineProperty),r=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function m(e){const o=e.state.info.options;return(null==o?void 0:o.hoverTime)||500}function s(e,o){const t=e.state.info,i=o.target||o.srcElement;if(!(i instanceof HTMLElement))return;if("SPAN"!==i.nodeName||void 0!==t.hoverTimeout)return;const u=i.getBoundingClientRect(),s=r((function(){clearTimeout(t.hoverTimeout),t.hoverTimeout=setTimeout(p,c)}),"onMouseMove"),f=r((function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",f),clearTimeout(t.hoverTimeout),t.hoverTimeout=void 0}),"onMouseOut"),p=r((function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",f),t.hoverTimeout=void 0,a(e,u)}),"onHover"),c=m(e);t.hoverTimeout=setTimeout(p,c),n.C.on(document,"mousemove",s),n.C.on(e.getWrapperElement(),"mouseout",f)}function a(e,o){const t=e.coordsChar({left:(o.left+o.right)/2,top:(o.top+o.bottom)/2}),n=e.state.info.options,i=n.render||e.getHelper(t,"info");if(i){const r=e.getTokenAt(t,!0);if(r){const u=i(r,n,e,t);u&&f(e,o,u)}}}function f(e,o,t){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(t),document.body.appendChild(i);const u=i.getBoundingClientRect(),m=window.getComputedStyle(i),s=u.right-u.left+parseFloat(m.marginLeft)+parseFloat(m.marginRight),a=u.bottom-u.top+parseFloat(m.marginTop)+parseFloat(m.marginBottom);let f=o.bottom;a>window.innerHeight-o.bottom-15&&o.top>window.innerHeight-o.bottom&&(f=o.top-a),f<0&&(f=o.bottom);let p,c=Math.max(0,window.innerWidth-s-15);c>o.left&&(c=o.left),i.style.opacity="1",i.style.top=f+"px",i.style.left=c+"px";const l=r((function(){clearTimeout(p)}),"onMouseOverPopup"),d=r((function(){clearTimeout(p),p=setTimeout(v,200)}),"onMouseOut"),v=r((function(){n.C.off(i,"mouseover",l),n.C.off(i,"mouseout",d),n.C.off(e.getWrapperElement(),"mouseout",d),i.style.opacity?(i.style.opacity="0",setTimeout((()=>{i.parentNode&&i.parentNode.removeChild(i)}),600)):i.parentNode&&i.parentNode.removeChild(i)}),"hidePopup");n.C.on(i,"mouseover",l),n.C.on(i,"mouseout",d),n.C.on(e.getWrapperElement(),"mouseout",d)}n.C.defineOption("info",!1,((e,o,t)=>{if(t&&t!==n.C.Init){const o=e.state.info.onMouseOver;n.C.off(e.getWrapperElement(),"mouseover",o),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(o){const t=e.state.info=u(o);t.onMouseOver=s.bind(null,e),n.C.on(e.getWrapperElement(),"mouseover",t.onMouseOver)}})),r(u,"createState"),r(m,"getHoverTime"),r(s,"onMouseOver"),r(a,"onMouseHover"),r(f,"showPopup")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[655],{87655:(e,t,n)=>{n.d(t,{S:()=>ft,T:()=>vt,a:()=>ht});var i=Object.defineProperty,s=(e,t)=>i(e,"name",{value:t,configurable:!0});function r(e){return o(e,[])}function o(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return a(e,t);default:return String(e)}}function a(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(l(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:o(t,n)}else if(Array.isArray(e))return c(e,n);return u(e,n)}function l(e){return"function"==typeof e.toJSON}function u(e,t){const n=Object.entries(e);return 0===n.length?"{}":t.length>2?"["+p(e)+"]":"{ "+n.map((([e,n])=>e+": "+o(n,t))).join(", ")+" }"}function c(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),i=e.length-n,s=[];for(let i=0;i<n;++i)s.push(o(e[i],t));return 1===i?s.push("... 1 more item"):i>1&&s.push(`... ${i} more items`),"["+s.join(", ")+"]"}function p(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}function d(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}let f;var v;function h(e){return 9===e||32===e}function y(e){return e>=48&&e<=57}function m(e){return e>=97&&e<=122||e>=65&&e<=90}function N(e){return m(e)||95===e}function T(e){return m(e)||y(e)||95===e}function I(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),s=1===i.length,r=i.length>1&&i.slice(1).every((e=>0===e.length||h(e.charCodeAt(0)))),o=n.endsWith('\\"""'),a=e.endsWith('"')&&!o,l=e.endsWith("\\"),u=a||l,c=!(null!=t&&t.minimize)&&(!s||e.length>70||u||r||o);let p="";const d=s&&h(e.charCodeAt(0));return(c&&!d||r)&&(p+="\n"),p+=n,(c||u)&&(p+="\n"),'"""'+p+'"""'}function E(e){return`"${e.replace(g,b)}"`}s(r,"inspect"),s(o,"formatValue"),s(a,"formatObjectValue"),s(l,"isJSONable"),s(u,"formatObject"),s(c,"formatArray"),s(p,"getObjectTag"),s(d,"invariant"),(v=f||(f={})).QUERY="QUERY",v.MUTATION="MUTATION",v.SUBSCRIPTION="SUBSCRIPTION",v.FIELD="FIELD",v.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",v.FRAGMENT_SPREAD="FRAGMENT_SPREAD",v.INLINE_FRAGMENT="INLINE_FRAGMENT",v.VARIABLE_DEFINITION="VARIABLE_DEFINITION",v.SCHEMA="SCHEMA",v.SCALAR="SCALAR",v.OBJECT="OBJECT",v.FIELD_DEFINITION="FIELD_DEFINITION",v.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",v.INTERFACE="INTERFACE",v.UNION="UNION",v.ENUM="ENUM",v.ENUM_VALUE="ENUM_VALUE",v.INPUT_OBJECT="INPUT_OBJECT",v.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",s(h,"isWhiteSpace"),s(y,"isDigit$1"),s(m,"isLetter"),s(N,"isNameStart"),s(T,"isNameContinue"),s(I,"printBlockString"),s(E,"printString");const g=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function b(e){return O[e.charCodeAt(0)]}s(b,"escapedReplacer");const O=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];function S(e,t){if(!Boolean(e))throw new Error(t)}s(S,"devAssert");const A={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},L=new Set(Object.keys(A));function _(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&L.has(t)}let w;var D;let F;var x;s(_,"isNode"),(D=w||(w={})).QUERY="query",D.MUTATION="mutation",D.SUBSCRIPTION="subscription",(x=F||(F={})).NAME="Name",x.DOCUMENT="Document",x.OPERATION_DEFINITION="OperationDefinition",x.VARIABLE_DEFINITION="VariableDefinition",x.SELECTION_SET="SelectionSet",x.FIELD="Field",x.ARGUMENT="Argument",x.FRAGMENT_SPREAD="FragmentSpread",x.INLINE_FRAGMENT="InlineFragment",x.FRAGMENT_DEFINITION="FragmentDefinition",x.VARIABLE="Variable",x.INT="IntValue",x.FLOAT="FloatValue",x.STRING="StringValue",x.BOOLEAN="BooleanValue",x.NULL="NullValue",x.ENUM="EnumValue",x.LIST="ListValue",x.OBJECT="ObjectValue",x.OBJECT_FIELD="ObjectField",x.DIRECTIVE="Directive",x.NAMED_TYPE="NamedType",x.LIST_TYPE="ListType",x.NON_NULL_TYPE="NonNullType",x.SCHEMA_DEFINITION="SchemaDefinition",x.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",x.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",x.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",x.FIELD_DEFINITION="FieldDefinition",x.INPUT_VALUE_DEFINITION="InputValueDefinition",x.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",x.UNION_TYPE_DEFINITION="UnionTypeDefinition",x.ENUM_TYPE_DEFINITION="EnumTypeDefinition",x.ENUM_VALUE_DEFINITION="EnumValueDefinition",x.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",x.DIRECTIVE_DEFINITION="DirectiveDefinition",x.SCHEMA_EXTENSION="SchemaExtension",x.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",x.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",x.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",x.UNION_TYPE_EXTENSION="UnionTypeExtension",x.ENUM_TYPE_EXTENSION="EnumTypeExtension",x.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension";const R=Object.freeze({});function j(e,t,n=A){const i=new Map;for(const e of Object.values(F))i.set(e,U(t,e));let s,o,a,l=Array.isArray(e),u=[e],c=-1,p=[],d=e;const f=[],v=[];do{c++;const e=c===u.length,N=e&&0!==p.length;if(e){if(o=0===v.length?void 0:f[f.length-1],d=a,a=v.pop(),N)if(l){d=d.slice();let e=0;for(const[t,n]of p){const i=t-e;null===n?(d.splice(i,1),e++):d[i]=n}}else{d=Object.defineProperties({},Object.getOwnPropertyDescriptors(d));for(const[e,t]of p)d[e]=t}c=s.index,u=s.keys,p=s.edits,l=s.inArray,s=s.prev}else if(a){if(o=l?c:u[c],d=a[o],null==d)continue;f.push(o)}let T;if(!Array.isArray(d)){var h,y;_(d)||S(!1,`Invalid AST Node: ${r(d)}.`);const n=e?null===(h=i.get(d.kind))||void 0===h?void 0:h.leave:null===(y=i.get(d.kind))||void 0===y?void 0:y.enter;if(T=null==n?void 0:n.call(t,d,o,a,f,v),T===R)break;if(!1===T){if(!e){f.pop();continue}}else if(void 0!==T&&(p.push([o,T]),!e)){if(!_(T)){f.pop();continue}d=T}}var m;void 0===T&&N&&p.push([o,d]),e?f.pop():(s={inArray:l,index:c,keys:u,edits:p,prev:s},l=Array.isArray(d),u=l?d:null!==(m=n[d.kind])&&void 0!==m?m:[],c=-1,p=[],a&&v.push(a),a=d)}while(void 0!==s);return 0!==p.length?p[p.length-1][1]:e}function U(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function V(e){return j(e,C)}s(j,"visit"),s(U,"getEnterLeaveForKind"),s(V,"print");const C={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>$(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=k("(",$(e.variableDefinitions,", "),")"),n=$([e.operation,$([e.name,t]),$(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:i})=>e+": "+t+k(" = ",n)+k(" ",$(i," "))},SelectionSet:{leave:({selections:e})=>M(e)},Field:{leave({alias:e,name:t,arguments:n,directives:i,selectionSet:s}){const r=k("",e,": ")+t;let o=r+k("(",$(n,", "),")");return o.length>80&&(o=r+k("(\n",B($(n,"\n")),"\n)")),$([o,$(i," "),s]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+k(" ",$(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>$(["...",k("on ",e),$(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:i,selectionSet:s})=>`fragment ${e}${k("(",$(n,", "),")")} on ${t} ${k("",$(i," ")," ")}`+s},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?I(e):E(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+$(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+$(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+k("(",$(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>k("",e,"\n")+$(["schema",$(t," "),M(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>k("",e,"\n")+$(["scalar",t,$(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:s})=>k("",e,"\n")+$(["type",t,k("implements ",$(n," & ")),$(i," "),M(s)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:i,directives:s})=>k("",e,"\n")+t+(G(n)?k("(\n",B($(n,"\n")),"\n)"):k("(",$(n,", "),")"))+": "+i+k(" ",$(s," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:i,directives:s})=>k("",e,"\n")+$([t+": "+n,k("= ",i),$(s," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:s})=>k("",e,"\n")+$(["interface",t,k("implements ",$(n," & ")),$(i," "),M(s)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:i})=>k("",e,"\n")+$(["union",t,$(n," "),k("= ",$(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:i})=>k("",e,"\n")+$(["enum",t,$(n," "),M(i)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>k("",e,"\n")+$([t,$(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:i})=>k("",e,"\n")+$(["input",t,$(n," "),M(i)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:i,locations:s})=>k("",e,"\n")+"directive @"+t+(G(n)?k("(\n",B($(n,"\n")),"\n)"):k("(",$(n,", "),")"))+(i?" repeatable":"")+" on "+$(s," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>$(["extend schema",$(e," "),M(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>$(["extend scalar",e,$(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>$(["extend type",e,k("implements ",$(t," & ")),$(n," "),M(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>$(["extend interface",e,k("implements ",$(t," & ")),$(n," "),M(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>$(["extend union",e,$(t," "),k("= ",$(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>$(["extend enum",e,$(t," "),M(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>$(["extend input",e,$(t," "),M(n)]," ")}};function $(e,t=""){var n;return null!==(n=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function M(e){return k("{\n",B($(e,"\n")),"\n}")}function k(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function B(e){return k(" ",e.replace(/\n/g,"\n "))}function G(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}function P(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function J(e){return"object"==typeof e&&null!==e}function Q(e,t){const[n,i]=t?[e,t]:[void 0,e];let s=" Did you mean ";n&&(s+=n+" ");const r=i.map((e=>`"${e}"`));switch(r.length){case 0:return"";case 1:return s+r[0]+"?";case 2:return s+r[0]+" or "+r[1]+"?"}const o=r.slice(0,5),a=o.pop();return s+o.join(", ")+", or "+a+"?"}function Y(e){return e}s($,"join"),s(M,"block"),s(k,"wrap"),s(B,"indent"),s(G,"hasMultilineItems"),s(P,"isIterableObject"),s(J,"isObjectLike"),s(Q,"didYouMean"),s(Y,"identityFunc");const z=s((function(e,t){return e instanceof t}),"instanceOf");function q(e,t){const n=Object.create(null);for(const i of e)n[t(i)]=i;return n}function H(e,t,n){const i=Object.create(null);for(const s of e)i[t(s)]=n(s);return i}function X(e,t){const n=Object.create(null);for(const i of Object.keys(e))n[i]=t(e[i],i);return n}function W(e,t){let n=0,i=0;for(;n<e.length&&i<t.length;){let s=e.charCodeAt(n),r=t.charCodeAt(i);if(Z(s)&&Z(r)){let o=0;do{++n,o=10*o+s-K,s=e.charCodeAt(n)}while(Z(s)&&o>0);let a=0;do{++i,a=10*a+r-K,r=t.charCodeAt(i)}while(Z(r)&&a>0);if(o<a)return-1;if(o>a)return 1}else{if(s<r)return-1;if(s>r)return 1;++n,++i}}return e.length-t.length}s(q,"keyMap"),s(H,"keyValMap"),s(X,"mapValue"),s(W,"naturalCompare");const K=48;function Z(e){return!isNaN(e)&&K<=e&&e<=57}function ee(e,t){const n=Object.create(null),i=new te(e),s=Math.floor(.4*e.length)+1;for(const e of t){const t=i.measure(e,s);void 0!==t&&(n[e]=t)}return Object.keys(n).sort(((e,t)=>{const i=n[e]-n[t];return 0!==i?i:W(e,t)}))}s(Z,"isDigit"),s(ee,"suggestionList");class te{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=ne(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;const n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let i=ne(n),s=this._inputArray;if(i.length<s.length){const e=i;i=s,s=e}const r=i.length,o=s.length;if(r-o>t)return;const a=this._rows;for(let e=0;e<=o;e++)a[0][e]=e;for(let e=1;e<=r;e++){const n=a[(e-1)%3],r=a[e%3];let l=r[0]=e;for(let t=1;t<=o;t++){const o=i[e-1]===s[t-1]?0:1;let u=Math.min(n[t]+1,r[t-1]+1,n[t-1]+o);if(e>1&&t>1&&i[e-1]===s[t-2]&&i[e-2]===s[t-1]){const n=a[(e-2)%3][t-2];u=Math.min(u,n+1)}u<l&&(l=u),r[t]=u}if(l>t)return}const l=a[r%3][o];return l<=t?l:void 0}}function ne(e){const t=e.length,n=new Array(t);for(let i=0;i<t;++i)n[i]=e.charCodeAt(i);return n}function ie(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;const t=Object.create(null);for(const[n,i]of Object.entries(e))t[n]=i;return t}s(te,"LexicalDistance"),s(ne,"stringToArray"),s(ie,"toObjMap");const se=/\r\n|[\n\r]/g;function re(e,t){let n=0,i=1;for(const s of e.body.matchAll(se)){if("number"==typeof s.index||d(!1),s.index>=t)break;n=s.index+s[0].length,i+=1}return{line:i,column:t+1-n}}function oe(e){return ae(e.source,re(e.source,e.start))}function ae(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,s=t.line-1,r=e.locationOffset.line-1,o=t.line+r,a=1===t.line?n:0,l=t.column+a,u=`${e.name}:${o}:${l}\n`,c=i.split(/\r\n|[\n\r]/g),p=c[s];if(p.length>120){const e=Math.floor(l/80),t=l%80,n=[];for(let e=0;e<p.length;e+=80)n.push(p.slice(e,e+80));return u+le([[`${o} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return u+le([[o-1+" |",c[s-1]],[`${o} |`,p],["|","^".padStart(l)],[`${o+1} |`,c[s+1]]])}function le(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}function ue(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}s(re,"getLocation"),s(oe,"printLocation"),s(ae,"printSourceLocation"),s(le,"printPrefixedLines"),s(ue,"toNormalizedOptions");class ce extends Error{constructor(e,...t){var n,i,s;const{nodes:r,source:o,positions:a,path:l,originalError:u,extensions:c}=ue(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=u?u:void 0,this.nodes=pe(Array.isArray(r)?r:r?[r]:void 0);const p=pe(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=o?o:null==p||null===(i=p[0])||void 0===i?void 0:i.source,this.positions=null!=a?a:null==p?void 0:p.map((e=>e.start)),this.locations=a&&o?a.map((e=>re(o,e))):null==p?void 0:p.map((e=>re(e.source,e.start)));const d=J(null==u?void 0:u.extensions)?null==u?void 0:u.extensions:void 0;this.extensions=null!==(s=null!=c?c:d)&&void 0!==s?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ce):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+oe(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+ae(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function pe(e){return void 0===e||0===e.length?void 0:e}function de(e,t){switch(e.kind){case F.NULL:return null;case F.INT:return parseInt(e.value,10);case F.FLOAT:return parseFloat(e.value);case F.STRING:case F.ENUM:case F.BOOLEAN:return e.value;case F.LIST:return e.values.map((e=>de(e,t)));case F.OBJECT:return H(e.fields,(e=>e.name.value),(e=>de(e.value,t)));case F.VARIABLE:return null==t?void 0:t[e.name.value]}}function fe(e){if(null!=e||S(!1,"Must provide name."),"string"==typeof e||S(!1,"Expected name to be a string."),0===e.length)throw new ce("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!T(e.charCodeAt(t)))throw new ce(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!N(e.charCodeAt(0)))throw new ce(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function ve(e){if("true"===e||"false"===e||"null"===e)throw new ce(`Enum values cannot be named: ${e}`);return fe(e)}function he(e){return ye(e)||me(e)||Ne(e)||Te(e)||Ie(e)||Ee(e)||ge(e)||be(e)}function ye(e){return z(e,Fe)}function me(e){return z(e,xe)}function Ne(e){return z(e,Me)}function Te(e){return z(e,ke)}function Ie(e){return z(e,Ge)}function Ee(e){return z(e,Qe)}function ge(e){return z(e,Ae)}function be(e){return z(e,Le)}function Oe(e){return ye(e)||Ie(e)}function Se(e){return Ne(e)||Te(e)}s(ce,"GraphQLError"),s(pe,"undefinedIfEmpty"),s(de,"valueFromASTUntyped"),s(fe,"assertName"),s(ve,"assertEnumValueName"),s(he,"isType"),s(ye,"isScalarType"),s(me,"isObjectType"),s(Ne,"isInterfaceType"),s(Te,"isUnionType"),s(Ie,"isEnumType"),s(Ee,"isInputObjectType"),s(ge,"isListType"),s(be,"isNonNullType"),s(Oe,"isLeafType"),s(Se,"isAbstractType");class Ae{constructor(e){he(e)||S(!1,`Expected ${r(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}s(Ae,"GraphQLList");class Le{constructor(e){_e(e)||S(!1,`Expected ${r(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function _e(e){return he(e)&&!be(e)}function we(e){return"function"==typeof e?e():e}function De(e){return"function"==typeof e?e():e}s(Le,"GraphQLNonNull"),s(_e,"isNullableType"),s(we,"resolveReadonlyArrayThunk"),s(De,"resolveObjMapThunk");class Fe{constructor(e){var t,n,i,s;const o=null!==(t=e.parseValue)&&void 0!==t?t:Y;this.name=fe(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:Y,this.parseValue=o,this.parseLiteral=null!==(i=e.parseLiteral)&&void 0!==i?i:(e,t)=>o(de(e,t)),this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(s=e.extensionASTNodes)&&void 0!==s?s:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||S(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${r(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||S(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||S(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}s(Fe,"GraphQLScalarType");class xe{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>je(e),this._interfaces=()=>Re(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||S(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${r(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Ce(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Re(e){var t;const n=we(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||S(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function je(e){const t=De(e.fields);return Ve(t)||S(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),X(t,((t,n)=>{var i;Ve(t)||S(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||S(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${r(t.resolve)}.`);const s=null!==(i=t.args)&&void 0!==i?i:{};return Ve(s)||S(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:fe(n),description:t.description,type:t.type,args:Ue(s),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:ie(t.extensions),astNode:t.astNode}}))}function Ue(e){return Object.entries(e).map((([e,t])=>({name:fe(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:ie(t.extensions),astNode:t.astNode})))}function Ve(e){return J(e)&&!Array.isArray(e)}function Ce(e){return X(e,(e=>({description:e.description,type:e.type,args:$e(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))}function $e(e){return H(e,(e=>e.name),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))}s(xe,"GraphQLObjectType"),s(Re,"defineInterfaces"),s(je,"defineFieldMap"),s(Ue,"defineArguments"),s(Ve,"isPlainObj"),s(Ce,"fieldsToFieldsConfig"),s($e,"argsToArgsConfig");class Me{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=je.bind(void 0,e),this._interfaces=Re.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||S(!1,`${this.name} must provide "resolveType" as a function, but got: ${r(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Ce(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}s(Me,"GraphQLInterfaceType");class ke{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=Be.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||S(!1,`${this.name} must provide "resolveType" as a function, but got: ${r(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Be(e){const t=we(e.types);return Array.isArray(t)||S(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}s(ke,"GraphQLUnionType"),s(Be,"defineTypes");class Ge{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values=Je(this.name,e.values),this._valueLookup=new Map(this._values.map((e=>[e.value,e]))),this._nameLookup=q(this._values,(e=>e.name))}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){const t=this._valueLookup.get(e);if(void 0===t)throw new ce(`Enum "${this.name}" cannot represent value: ${r(e)}`);return t.name}parseValue(e){if("string"!=typeof e){const t=r(e);throw new ce(`Enum "${this.name}" cannot represent non-string value: ${t}.`+Pe(this,t))}const t=this.getValue(e);if(null==t)throw new ce(`Value "${e}" does not exist in "${this.name}" enum.`+Pe(this,e));return t.value}parseLiteral(e,t){if(e.kind!==F.ENUM){const t=V(e);throw new ce(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+Pe(this,t),{nodes:e})}const n=this.getValue(e.value);if(null==n){const t=V(e);throw new ce(`Value "${t}" does not exist in "${this.name}" enum.`+Pe(this,t),{nodes:e})}return n.value}toConfig(){const e=H(this.getValues(),(e=>e.name),(e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Pe(e,t){return Q("the enum value",ee(t,e.getValues().map((e=>e.name))))}function Je(e,t){return Ve(t)||S(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map((([t,n])=>(Ve(n)||S(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${r(n)}.`),{name:ve(t),description:n.description,value:void 0!==n.value?n.value:t,deprecationReason:n.deprecationReason,extensions:ie(n.extensions),astNode:n.astNode})))}s(Ge,"GraphQLEnumType"),s(Pe,"didYouMeanEnumValue"),s(Je,"defineEnumValues");class Qe{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=Ye.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){const e=X(this.getFields(),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Ye(e){const t=De(e.fields);return Ve(t)||S(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),X(t,((t,n)=>(!("resolve"in t)||S(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:fe(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:ie(t.extensions),astNode:t.astNode})))}s(Qe,"GraphQLInputObjectType"),s(Ye,"defineInputFieldMap");const ze=2147483647,qe=-2147483648,He=new Fe({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=et(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new ce(`Int cannot represent non-integer value: ${r(t)}`);if(n>ze||n<qe)throw new ce("Int cannot represent non 32-bit signed integer value: "+r(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new ce(`Int cannot represent non-integer value: ${r(e)}`);if(e>ze||e<qe)throw new ce(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==F.INT)throw new ce(`Int cannot represent non-integer value: ${V(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>ze||t<qe)throw new ce(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),Xe=new Fe({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=et(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new ce(`Float cannot represent non numeric value: ${r(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new ce(`Float cannot represent non numeric value: ${r(e)}`);return e},parseLiteral(e){if(e.kind!==F.FLOAT&&e.kind!==F.INT)throw new ce(`Float cannot represent non numeric value: ${V(e)}`,e);return parseFloat(e.value)}}),We=new Fe({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=et(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new ce(`String cannot represent value: ${r(e)}`)},parseValue(e){if("string"!=typeof e)throw new ce(`String cannot represent a non string value: ${r(e)}`);return e},parseLiteral(e){if(e.kind!==F.STRING)throw new ce(`String cannot represent a non string value: ${V(e)}`,{nodes:e});return e.value}}),Ke=new Fe({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=et(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new ce(`Boolean cannot represent a non boolean value: ${r(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new ce(`Boolean cannot represent a non boolean value: ${r(e)}`);return e},parseLiteral(e){if(e.kind!==F.BOOLEAN)throw new ce(`Boolean cannot represent a non boolean value: ${V(e)}`,{nodes:e});return e.value}}),Ze=new Fe({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=et(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new ce(`ID cannot represent value: ${r(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new ce(`ID cannot represent value: ${r(e)}`)},parseLiteral(e){if(e.kind!==F.STRING&&e.kind!==F.INT)throw new ce("ID cannot represent a non-string and non-integer value: "+V(e),{nodes:e});return e.value}});function et(e){if(J(e)){if("function"==typeof e.valueOf){const t=e.valueOf();if(!J(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function tt(e,t){if(be(t)){const n=tt(e,t.ofType);return(null==n?void 0:n.kind)===F.NULL?null:n}if(null===e)return{kind:F.NULL};if(void 0===e)return null;if(ge(t)){const n=t.ofType;if(P(e)){const t=[];for(const i of e){const e=tt(i,n);null!=e&&t.push(e)}return{kind:F.LIST,values:t}}return tt(e,n)}if(Ee(t)){if(!J(e))return null;const n=[];for(const i of Object.values(t.getFields())){const t=tt(e[i.name],i.type);t&&n.push({kind:F.OBJECT_FIELD,name:{kind:F.NAME,value:i.name},value:t})}return{kind:F.OBJECT,fields:n}}if(Oe(t)){const n=t.serialize(e);if(null==n)return null;if("boolean"==typeof n)return{kind:F.BOOLEAN,value:n};if("number"==typeof n&&Number.isFinite(n)){const e=String(n);return nt.test(e)?{kind:F.INT,value:e}:{kind:F.FLOAT,value:e}}if("string"==typeof n)return Ie(t)?{kind:F.ENUM,value:n}:t===Ze&&nt.test(n)?{kind:F.INT,value:n}:{kind:F.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${r(n)}.`)}d(!1,"Unexpected input type: "+r(t))}Object.freeze([We,He,Xe,Ke,Ze]),s(et,"serializeObject"),s(tt,"astFromValue");const nt=/^-?(?:0|[1-9][0-9]*)$/,it=new xe({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:We,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new Le(new Ae(new Le(ot))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new Le(ot),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:ot,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:ot,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new Le(new Ae(new Le(st))),resolve:e=>e.getDirectives()}})}),st=new xe({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new Le(We),resolve:e=>e.name},description:{type:We,resolve:e=>e.description},isRepeatable:{type:new Le(Ke),resolve:e=>e.isRepeatable},locations:{type:new Le(new Ae(new Le(rt))),resolve:e=>e.locations},args:{type:new Le(new Ae(new Le(lt))),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter((e=>null==e.deprecationReason))}})}),rt=new Ge({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:f.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:f.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:f.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:f.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:f.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:f.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:f.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:f.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:f.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:f.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:f.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:f.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:f.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:f.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:f.UNION,description:"Location adjacent to a union definition."},ENUM:{value:f.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:f.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:f.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:f.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),ot=new xe({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new Le(dt),resolve:e=>ye(e)?ct.SCALAR:me(e)?ct.OBJECT:Ne(e)?ct.INTERFACE:Te(e)?ct.UNION:Ie(e)?ct.ENUM:Ee(e)?ct.INPUT_OBJECT:ge(e)?ct.LIST:be(e)?ct.NON_NULL:void d(!1,`Unexpected type: "${r(e)}".`)},name:{type:We,resolve:e=>"name"in e?e.name:void 0},description:{type:We,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:We,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new Ae(new Le(at)),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(me(e)||Ne(e)){const n=Object.values(e.getFields());return t?n:n.filter((e=>null==e.deprecationReason))}}},interfaces:{type:new Ae(new Le(ot)),resolve(e){if(me(e)||Ne(e))return e.getInterfaces()}},possibleTypes:{type:new Ae(new Le(ot)),resolve(e,t,n,{schema:i}){if(Se(e))return i.getPossibleTypes(e)}},enumValues:{type:new Ae(new Le(ut)),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Ie(e)){const n=e.getValues();return t?n:n.filter((e=>null==e.deprecationReason))}}},inputFields:{type:new Ae(new Le(lt)),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Ee(e)){const n=Object.values(e.getFields());return t?n:n.filter((e=>null==e.deprecationReason))}}},ofType:{type:ot,resolve:e=>"ofType"in e?e.ofType:void 0}})}),at=new xe({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new Le(We),resolve:e=>e.name},description:{type:We,resolve:e=>e.description},args:{type:new Le(new Ae(new Le(lt))),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter((e=>null==e.deprecationReason))},type:{type:new Le(ot),resolve:e=>e.type},isDeprecated:{type:new Le(Ke),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:We,resolve:e=>e.deprecationReason}})}),lt=new xe({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new Le(We),resolve:e=>e.name},description:{type:We,resolve:e=>e.description},type:{type:new Le(ot),resolve:e=>e.type},defaultValue:{type:We,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,i=tt(n,t);return i?V(i):null}},isDeprecated:{type:new Le(Ke),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:We,resolve:e=>e.deprecationReason}})}),ut=new xe({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new Le(We),resolve:e=>e.name},description:{type:We,resolve:e=>e.description},isDeprecated:{type:new Le(Ke),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:We,resolve:e=>e.deprecationReason}})});let ct;var pt;(pt=ct||(ct={})).SCALAR="SCALAR",pt.OBJECT="OBJECT",pt.INTERFACE="INTERFACE",pt.UNION="UNION",pt.ENUM="ENUM",pt.INPUT_OBJECT="INPUT_OBJECT",pt.LIST="LIST",pt.NON_NULL="NON_NULL";const dt=new Ge({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:ct.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:ct.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:ct.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:ct.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:ct.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:ct.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:ct.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:ct.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),ft={name:"__schema",type:new Le(it),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:i})=>i,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},vt={name:"__type",type:ot,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new Le(We),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:i})=>i.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},ht={name:"__typename",type:new Le(We),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:i})=>i.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};Object.freeze([it,st,rt,ot,at,lt,ut,dt])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[688],{89663:(e,t,n)=>{n.r(t);var r=n(96539),l=n(92906),a=n(87756),i=(n(27378),n(31542),Object.defineProperty),s=(e,t)=>i(e,"name",{value:t,configurable:!0});function o(e,t){var n,r;const l=e.levels;return((l&&0!==l.length?l[l.length-1]-((null===(n=this.electricInput)||void 0===n?void 0:n.test(t))?1:0):e.indentLevel)||0)*((null===(r=this.config)||void 0===r?void 0:r.indentUnit)||0)}s(o,"indent");const u=s((e=>{const t=(0,a.o)({eatWhitespace:e=>e.eatWhile(l.i),lexRules:l.L,parseRules:l.P,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:o,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}}}),"graphqlModeFactory");r.C.defineMode("graphql",u)},87756:(e,t,n)=>{n.d(t,{o:()=>s});var r=n(92906),l=n(57554),a=Object.defineProperty,i=(e,t)=>a(e,"name",{value:t,configurable:!0});function s(e={eatWhitespace:e=>e.eatWhile(r.i),lexRules:r.L,parseRules:r.P,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return p(e.parseRules,t,l.h.DOCUMENT),t},token:(t,n)=>o(t,n,e)}}function o(e,t,n){var r;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:l,parseRules:a,eatWhitespace:i,editorConfig:s}=n;if(t.rule&&0===t.rule.length?d(t):t.needsAdvance&&(t.needsAdvance=!1,f(t,!0)),e.sol()){const n=(null==s?void 0:s.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/n)}if(i(e))return"ws";const o=S(l,e);if(!o)return e.match(/\S+/)||e.match(/\s/),p(c,t,"Invalid"),"invalidchar";if("Comment"===o.kind)return p(c,t,"Comment"),"comment";const v=u({},t);if("Punctuation"===o.kind)if(/^[{([]/.test(o.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(o.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n="function"==typeof t.rule?0===t.step?t.rule(o,e):null:t.rule[t.step];if(t.needsSeparator&&(n=null==n?void 0:n.separator),n){if(n.ofRule&&(n=n.ofRule),"string"==typeof n){p(a,t,n);continue}if(null===(r=n.match)||void 0===r?void 0:r.call(n,o))return n.update&&n.update(t,o),"Punctuation"===o.kind?f(t,!0):t.needsAdvance=!0,n.style}h(t)}return u(t,v),p(c,t,"Invalid"),"invalidchar"}function u(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}i(s,"onlineParser"),i(o,"getToken"),i(u,"assign");const c={Invalid:[],Comment:[]};function p(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeparator=!1}function d(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function f(e,t){var n;if(v(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&t.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)d(e),e.rule&&(v(e)?(null===(n=e.rule)||void 0===n?void 0:n[e.step].separator)&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function v(e){const t=Array.isArray(e.rule)&&"string"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function h(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)d(e);e.rule&&f(e,!1)}function S(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const l=t.match(e[n[r]]);if(l&&l instanceof Array)return{kind:n[r],value:l[0]}}}i(p,"pushRule"),i(d,"popRule"),i(f,"advanceRule"),i(v,"isList"),i(h,"unsuccessful"),i(S,"lex")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[722],{17706:(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")},50722:(e,t,n)=>{n.r(t);var i=n(96539),r=(n(70410),n(89130)),a=n(43165),s=n(89413),o=n(82299),l=n(62697),c=n(63459),u=n(57554),p=n(65916),d=n(92906),f=n(17706),h=n(87756),v=n(87655),E=(n(27378),n(31542),Object.defineProperty),g=(e,t)=>E(e,"name",{value:t,configurable:!0});function T(e){let t;return R(e,(e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}})),t}function m(e,t,n){return n===v.S.name&&e.getQueryType()===t?v.S:n===v.T.name&&e.getQueryType()===t?v.T:n===v.a.name&&(0,r.Gv)(t)?v.a:"getFields"in t?t.getFields()[n]:null}function R(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 S(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 y(e,t){return I(t,N(e.string))}function I(e,t){return t?_(_(e.map((e=>({proximity:D(N(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)):_(e,(e=>!e.isDeprecated))}function _(e,t){const n=e.filter(t);return 0===n.length?e:n}function N(e){return e.toLowerCase().replace(/\W/g,"")}function D(e,t){let n=k(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}function k(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]}g(T,"getDefinitionState"),g(m,"getFieldDef"),g(R,"forEachState"),g(S,"objectValues"),g(y,"hintList"),g(I,"filterAndSortList"),g(_,"filterNonEmpty"),g(N,"normalizeText"),g(D,"getProximity"),g(k,"lexicalDistance");const A={command:"editor.action.triggerSuggest",title:"Suggestions"},C=g((e=>{const t=[];if(e)try{(0,a.Vn)((0,s.Qc)(e),{FragmentDefinition(e){t.push(e)}})}catch(e){return[]}return t}),"collectFragmentDefs");function F(e,t,n,i,a,s){var o;const l=Object.assign(Object.assign({},s),{schema:e}),c=i||Y(t,n),u="Invalid"===c.state.kind?c.state.prevState:c.state;if(!u)return[];const p=u.kind,f=u.step,h=J(e,c.state);if(p===d.R.DOCUMENT)return y(c,[{label:"query",kind:d.C.Function},{label:"mutation",kind:d.C.Function},{label:"subscription",kind:d.C.Function},{label:"fragment",kind:d.C.Function},{label:"{",kind:d.C.Constructor}]);if(p===d.R.IMPLEMENTS||p===d.R.NAMED_TYPE&&(null===(o=u.prevState)||void 0===o?void 0:o.kind)===d.R.IMPLEMENTS)return M(c,u,e,t,h);if(p===d.R.SELECTION_SET||p===d.R.FIELD||p===d.R.ALIASED_FIELD)return x(c,h,l);if(p===d.R.ARGUMENTS||p===d.R.ARGUMENT&&0===f){const e=h.argDefs;if(e)return y(c,e.map((e=>{var t;return{label:e.name,insertText:e.name+": ",command:A,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:d.C.Variable,type:e.type}})))}if((p===d.R.OBJECT_VALUE||p===d.R.OBJECT_FIELD&&0===f)&&h.objectFieldDefs){const e=S(h.objectFieldDefs),t=p===d.R.OBJECT_VALUE?d.C.Value:d.C.Field;return y(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(p===d.R.ENUM_VALUE||p===d.R.LIST_VALUE&&1===f||p===d.R.OBJECT_FIELD&&2===f||p===d.R.ARGUMENT&&2===f)return L(c,h,t,e);if(p===d.R.VARIABLE&&1===f){const n=(0,r.xC)(h.inputType);return y(c,V(t,e,c).filter((e=>e.detail===(null==n?void 0:n.name))))}return p===d.R.TYPE_CONDITION&&1===f||p===d.R.NAMED_TYPE&&null!=u.prevState&&u.prevState.kind===d.R.TYPE_CONDITION?P(c,h,e):p===d.R.FRAGMENT_SPREAD&&1===f?U(c,h,e,t,Array.isArray(a)?a:C(a)):p===d.R.VARIABLE_DEFINITION&&2===f||p===d.R.LIST_TYPE&&1===f||p===d.R.NAMED_TYPE&&u.prevState&&(u.prevState.kind===d.R.VARIABLE_DEFINITION||u.prevState.kind===d.R.LIST_TYPE||u.prevState.kind===d.R.NON_NULL_TYPE)?j(c,e):p===d.R.DIRECTIVE?w(c,u,e):[]}g(F,"getAutocompleteSuggestions");const b=" {\n $1\n}",O=g((e=>{const t=e.type;if((0,r.Gv)(t))return b;if((0,r.HG)(t)&&(0,r.Gv)(t.ofType))return b;if((0,r.zM)(t)){if((0,r.Gv)(t.ofType))return b;if((0,r.HG)(t.ofType)&&(0,r.Gv)(t.ofType.ofType))return b}return null}),"getInsertText");function x(e,t,n){var i;if(t.parentType){const a=t.parentType;let s=[];return"getFields"in a&&(s=S(a.getFields())),(0,r.Gv)(a)&&s.push(o.hU),a===(null===(i=null==n?void 0:n.schema)||void 0===i?void 0:i.getQueryType())&&s.push(o.Az,o.tF),y(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:d.C.Field,type:e.type},r=O(e);return r&&(i.insertText=e.name+r,i.insertTextFormat=d.I.Snippet,i.command=A),i})))}return[]}function L(e,t,n,i){const a=(0,r.xC)(t.inputType),s=V(n,i,e).filter((e=>e.detail===a.name));return a instanceof r.mR?y(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:d.C.EnumMember,type:a}})).concat(s)):a===l.EZ?y(e,s.concat([{label:"true",detail:String(l.EZ),documentation:"Not false.",kind:d.C.Variable,type:l.EZ},{label:"false",detail:String(l.EZ),documentation:"Not true.",kind:d.C.Variable,type:l.EZ}])):s}function M(e,t,n,i,a){if(t.needsSeparator)return[];const s=S(n.getTypeMap()).filter(r.oT),o=s.map((({name:e})=>e)),l=new Set;Q(i,((e,t)=>{var i,s,c,u,p;if(t.name&&(t.kind!==d.R.INTERFACE_DEF||o.includes(t.name)||l.add(t.name),t.kind===d.R.NAMED_TYPE&&(null===(i=t.prevState)||void 0===i?void 0:i.kind)===d.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.oW(Object.assign(Object.assign({},i),{interfaces:[...i.interfaces,e||new r.oW({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===(p=a.objectTypeDef)||void 0===p?void 0:p.toConfig();a.objectTypeDef=new r.h6(Object.assign(Object.assign({},i),{interfaces:[...i.interfaces,e||new r.oW({name:t.name,fields:{}})]}))}}));const c=a.interfaceDef||a.objectTypeDef,u=((null==c?void 0:c.getInterfaces())||[]).map((({name:e})=>e));return y(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:d.C.Interface,type:e};return(null==e?void 0:e.description)&&(t.documentation=e.description),t})))}function P(e,t,n,i){let a;if(t.parentType)if((0,r.m0)(t.parentType)){const e=(0,r.fU)(t.parentType),i=n.getPossibleTypes(e),s=Object.create(null);i.forEach((e=>{e.getInterfaces().forEach((e=>{s[e.name]=e}))})),a=i.concat(S(s))}else a=[t.parentType];else a=S(n.getTypeMap()).filter(r.Gv);return y(e,a.map((e=>{const t=(0,r.xC)(e);return{label:String(e),documentation:(null==t?void 0:t.description)||"",kind:d.C.Field}})))}function U(e,t,n,i,a){if(!i)return[];const s=n.getTypeMap(),o=T(e.state),l=G(i);return a&&a.length>0&&l.push(...a),y(e,l.filter((e=>s[e.typeCondition.name.value]&&!(o&&o.kind===d.R.FRAGMENT_DEFINITION&&o.name===e.name.value)&&(0,r.Gv)(t.parentType)&&(0,r.Gv)(s[e.typeCondition.name.value])&&(0,c.zR)(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:d.C.Field,type:s[e.typeCondition.name.value]}))))}g(x,"getSuggestionsForFieldNames"),g(L,"getSuggestionsForInputValues"),g(M,"getSuggestionsForImplements"),g(P,"getSuggestionsForFragmentTypeConditions"),g(U,"getSuggestionsForFragmentSpread");const B=g(((e,t)=>{var n,i,r,a,s,o,l,c,u,p;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===(p=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===p?void 0:p.kind)===t?e.prevState.prevState.prevState.prevState:void 0}),"getParentDefinition");function V(e,t,n){let i,r=null;const a=Object.create({});return Q(e,((e,s)=>{if((null==s?void 0:s.kind)===d.R.VARIABLE&&s.name&&(r=s.name),(null==s?void 0:s.kind)===d.R.NAMED_TYPE&&r){const e=B(s,d.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:d.C.Variable},r=null,i=null))})),S(a)}function G(e){const t=[];return Q(e,((e,n)=>{n.kind===d.R.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:d.R.FRAGMENT_DEFINITION,name:{kind:u.h.NAME,value:n.name},selectionSet:{kind:d.R.SELECTION_SET,selections:[]},typeCondition:{kind:d.R.NAMED_TYPE,name:{kind:u.h.NAME,value:n.type}}})})),t}function j(e,t,n){return y(e,S(t.getTypeMap()).filter(r.j$).map((e=>({label:e.name,documentation:e.description,kind:d.C.Variable}))))}function w(e,t,n,i){var r;return(null===(r=t.prevState)||void 0===r?void 0:r.kind)?y(e,n.getDirectives().filter((e=>W(t.prevState,e))).map((e=>({label:e.name,documentation:e.description||"",kind:d.C.Function})))):[]}function Y(e,t){let n=null,i=null,r=null;const a=Q(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 Q(e,t){const n=e.split("\n"),i=(0,h.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 W(e,t){var n;if(!e||!e.kind)return!1;const i=e.kind,r=t.locations;switch(i){case d.R.QUERY:return-1!==r.indexOf(p.B.QUERY);case d.R.MUTATION:return-1!==r.indexOf(p.B.MUTATION);case d.R.SUBSCRIPTION:return-1!==r.indexOf(p.B.SUBSCRIPTION);case d.R.FIELD:case d.R.ALIASED_FIELD:return-1!==r.indexOf(p.B.FIELD);case d.R.FRAGMENT_DEFINITION:return-1!==r.indexOf(p.B.FRAGMENT_DEFINITION);case d.R.FRAGMENT_SPREAD:return-1!==r.indexOf(p.B.FRAGMENT_SPREAD);case d.R.INLINE_FRAGMENT:return-1!==r.indexOf(p.B.INLINE_FRAGMENT);case d.R.SCHEMA_DEF:return-1!==r.indexOf(p.B.SCHEMA);case d.R.SCALAR_DEF:return-1!==r.indexOf(p.B.SCALAR);case d.R.OBJECT_TYPE_DEF:return-1!==r.indexOf(p.B.OBJECT);case d.R.FIELD_DEF:return-1!==r.indexOf(p.B.FIELD_DEFINITION);case d.R.INTERFACE_DEF:return-1!==r.indexOf(p.B.INTERFACE);case d.R.UNION_DEF:return-1!==r.indexOf(p.B.UNION);case d.R.ENUM_DEF:return-1!==r.indexOf(p.B.ENUM);case d.R.ENUM_VALUE:return-1!==r.indexOf(p.B.ENUM_VALUE);case d.R.INPUT_DEF:return-1!==r.indexOf(p.B.INPUT_OBJECT);case d.R.INPUT_VALUE_DEF:switch(null===(n=e.prevState)||void 0===n?void 0:n.kind){case d.R.ARGUMENTS_DEF:return-1!==r.indexOf(p.B.ARGUMENT_DEFINITION);case d.R.INPUT_DEF:return-1!==r.indexOf(p.B.INPUT_FIELD_DEFINITION)}}return!1}function J(e,t){let n,i,a,s,o,l,c,u,p,f,h;return R(t,(t=>{var v;switch(t.kind){case d.R.QUERY:case"ShortQuery":f=e.getQueryType();break;case d.R.MUTATION:f=e.getMutationType();break;case d.R.SUBSCRIPTION:f=e.getSubscriptionType();break;case d.R.INLINE_FRAGMENT:case d.R.FRAGMENT_DEFINITION:t.type&&(f=e.getType(t.type));break;case d.R.FIELD:case d.R.ALIASED_FIELD:f&&t.name?(o=p?m(e,p,t.name):null,f=o?o.type:null):o=null;break;case d.R.SELECTION_SET:p=(0,r.xC)(f);break;case d.R.DIRECTIVE:a=t.name?e.getDirective(t.name):null;break;case d.R.INTERFACE_DEF:t.name&&(c=null,h=new r.oW({name:t.name,interfaces:[],fields:{}}));break;case d.R.OBJECT_TYPE_DEF:t.name&&(h=null,c=new r.h6({name:t.name,interfaces:[],fields:{}}));break;case d.R.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case d.R.FIELD:i=o&&o.args;break;case d.R.DIRECTIVE:i=a&&a.args;break;case d.R.ALIASED_FIELD:{const n=null===(v=t.prevState)||void 0===v?void 0:v.name;if(!n){i=null;break}const r=p?m(e,p,n):null;if(!r){i=null;break}i=r.args;break}default:i=null}else i=null;break;case d.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 d.R.ENUM_VALUE:const E=(0,r.xC)(l);s=E instanceof r.mR?E.getValues().find((e=>e.value===t.name)):null;break;case d.R.LIST_VALUE:const g=(0,r.tf)(l);l=g instanceof r.p2?g.ofType:null;break;case d.R.OBJECT_VALUE:const T=(0,r.xC)(l);u=T instanceof r.sR?T.getFields():null;break;case d.R.OBJECT_FIELD:const R=t.name&&u?u[t.name]:null;l=null==R?void 0:R.type;break;case d.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:p,type:f,interfaceDef:h,objectTypeDef:c}}g(V,"getVariableCompletions"),g(G,"getFragmentDefinitions"),g(j,"getSuggestionsForVariableDefinition"),g(w,"getSuggestionsForDirective"),g(Y,"getTokenAtPosition"),g(Q,"runOnlineParser"),g(W,"canUseDirective"),g(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:F(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}))},87756:(e,t,n)=>{n.d(t,{o:()=>o});var i=n(92906),r=n(57554),a=Object.defineProperty,s=(e,t)=>a(e,"name",{value:t,configurable:!0});function o(e={eatWhitespace:e=>e.eatWhile(i.i),lexRules:i.L,parseRules:i.P,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return p(e.parseRules,t,r.h.DOCUMENT),t},token:(t,n)=>l(t,n,e)}}function l(e,t,n){var i;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:r,parseRules:a,eatWhitespace:s,editorConfig:o}=n;if(t.rule&&0===t.rule.length?d(t):t.needsAdvance&&(t.needsAdvance=!1,f(t,!0)),e.sol()){const n=(null==o?void 0:o.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/n)}if(s(e))return"ws";const l=E(r,e);if(!l)return e.match(/\S+/)||e.match(/\s/),p(u,t,"Invalid"),"invalidchar";if("Comment"===l.kind)return p(u,t,"Comment"),"comment";const h=c({},t);if("Punctuation"===l.kind)if(/^[{([]/.test(l.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(l.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n="function"==typeof t.rule?0===t.step?t.rule(l,e):null:t.rule[t.step];if(t.needsSeparator&&(n=null==n?void 0:n.separator),n){if(n.ofRule&&(n=n.ofRule),"string"==typeof n){p(a,t,n);continue}if(null===(i=n.match)||void 0===i?void 0:i.call(n,l))return n.update&&n.update(t,l),"Punctuation"===l.kind?f(t,!0):t.needsAdvance=!0,n.style}v(t)}return c(t,h),p(u,t,"Invalid"),"invalidchar"}function c(e,t){const n=Object.keys(t);for(let i=0;i<n.length;i++)e[n[i]]=t[n[i]];return e}s(o,"onlineParser"),s(l,"getToken"),s(c,"assign");const u={Invalid:[],Comment:[]};function p(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeparator=!1}function d(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function f(e,t){var n;if(h(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&t.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)d(e),e.rule&&(h(e)?(null===(n=e.rule)||void 0===n?void 0:n[e.step].separator)&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function h(e){const t=Array.isArray(e.rule)&&"string"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function v(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)d(e);e.rule&&f(e,!1)}function E(e,t){const n=Object.keys(e);for(let i=0;i<n.length;i++){const r=t.match(e[n[i]]);if(r&&r instanceof Array)return{kind:n[i],value:r[0]}}}s(p,"pushRule"),s(d,"popRule"),s(f,"advanceRule"),s(h,"isList"),s(v,"unsuccessful"),s(E,"lex")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[725],{43725:(e,r,n)=>{n.r(r),n.d(r,{b:()=>s});var t=n(96539),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(e)}o(l,"_mergeNamespaces");var f={exports:{}};!function(e){function r(r){return function(n,t){var i=t.line,l=n.getLine(i);function f(r){for(var o,f=t.ch,a=0;;){var s=f<=0?-1:l.lastIndexOf(r[0],f-1);if(-1!=s){if(1==a&&s<t.ch)break;if(o=n.getTokenTypeAt(e.Pos(i,s+1)),!/^(comment|string)/.test(o))return{ch:s+1,tokenType:o,pair:r};f=s-1}else{if(1==a)break;a=1,f=l.length}}}function a(r){var t,o,l=1,f=n.lastLine(),a=r.ch;e:for(var s=i;s<=f;++s)for(var u=n.getLine(s),c=s==i?a:0;;){var g=u.indexOf(r.pair[0],c),p=u.indexOf(r.pair[1],c);if(g<0&&(g=u.length),p<0&&(p=u.length),(c=Math.min(g,p))==u.length)break;if(n.getTokenTypeAt(e.Pos(s,c+1))==r.tokenType)if(c==g)++l;else if(!--l){t=s,o=c;break e}++c}return null==t||i==t?null:{from:e.Pos(i,a),to:e.Pos(t,o)}}o(f,"findOpening"),o(a,"findRange");for(var s=[],u=0;u<r.length;u++){var c=f(r[u]);c&&s.push(c)}for(s.sort((function(e,r){return e.ch-r.ch})),u=0;u<s.length;u++){var g=a(s[u]);if(g)return g}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,f=t(l);if(!f||t(l-1)||(i=t(l-2))&&i.end.line==l-1)return null;for(var a=f.end;;){var s=t(a.line+1);if(null==s)break;a=s.end}return{from:r.clipPos(e.Pos(l,f.startCh+1)),to:a}})),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 f=i;null!=t(f+1);)++f;return{from:e.Pos(i,l+1),to:r.clipPos(e.Pos(f))}}))}(t.a.exports);var a=f.exports,s=Object.freeze(l({__proto__:null,[Symbol.toStringTag]:"Module",default:a},[f.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[729],{68729:(e,n,r)=>{r.r(n);var t=r(96539),a=r(89130),i=(r(92906),r(27378),r(31542),Object.defineProperty),s=(e,n)=>i(e,"name",{value:n,configurable:!0});function c(e){o=e,u=e.length,l=d=f=-1,x(),O();const n=h();return g("EOF"),n}let o,u,l,d,f,p,b;function h(){const e=l,n=[];if(g("{"),!E("}")){do{n.push(m())}while(E(","));g("}")}return{kind:"Object",start:e,end:f,members:n}}function m(){const e=l,n="String"===b?y():null;g("String"),g(":");const r=v();return{kind:"Member",start:e,end:f,key:n,value:r}}function k(){const e=l,n=[];if(g("["),!E("]")){do{n.push(v())}while(E(","));g("]")}return{kind:"Array",start:e,end:f,values:n}}function v(){switch(b){case"[":return k();case"{":return h();case"String":case"Number":case"Boolean":case"Null":const e=y();return O(),e}g("Value")}function y(){return{kind:b,start:l,end:d,value:JSON.parse(o.slice(l,d))}}function g(e){if(b===e)return void O();let n;if("EOF"===b)n="[end of file]";else if(d-l>1)n="`"+o.slice(l,d)+"`";else{const e=o.slice(l).match(/^.+?\b/);n="`"+(e?e[0]:o[l])+"`"}throw N(`Expected ${e} but found ${n}.`)}s(c,"jsonParse"),s(h,"parseObj"),s(m,"parseMember"),s(k,"parseArr"),s(v,"parseVal"),s(y,"curToken"),s(g,"expect");class w extends Error{constructor(e,n){super(e),this.position=n}}function N(e){return new w(e,{start:l,end:d})}function E(e){if(b===e)return O(),!0}function x(){return d<u&&(d++,p=d===u?0:o.charCodeAt(d)),p}function O(){for(f=d;9===p||10===p||13===p||32===p;)x();if(0!==p){switch(l=d,p){case 34:return b="String",S();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return b="Number",j();case 102:if("false"!==o.slice(l,l+5))break;return d+=4,x(),void(b="Boolean");case 110:if("null"!==o.slice(l,l+4))break;return d+=3,x(),void(b="Null");case 116:if("true"!==o.slice(l,l+4))break;return d+=3,x(),void(b="Boolean")}b=o[l],x()}else b="EOF"}function S(){for(x();34!==p&&p>31;)if(92===p)switch(p=x(),p){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:x();break;case 117:x(),$(),$(),$(),$();break;default:throw N("Bad character escape sequence.")}else{if(d===u)throw N("Unterminated string.");x()}if(34!==p)throw N("Unterminated string.");x()}function $(){if(p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102)return x();throw N("Expected hexadecimal digit.")}function j(){45===p&&x(),48===p?x():F(),46===p&&(x(),F()),69!==p&&101!==p||(p=x(),43!==p&&45!==p||x(),F())}function F(){if(p<48||p>57)throw N("Expected decimal digit.");do{x()}while(p>=48&&p<=57)}function T(e,n,r){const t=[];return r.members.forEach((r=>{var a;if(r){const i=null===(a=r.key)||void 0===a?void 0:a.value,s=n[i];s?B(s,r.value).forEach((([n,r])=>{t.push(V(e,n,r))})):t.push(V(e,r.key,`Variable "$${i}" does not appear in any GraphQL query.`))}})),t}function B(e,n){if(!e||!n)return[];if(e instanceof a.bM)return"Null"===n.kind?[[n,`Type "${e}" is non-nullable and cannot be null.`]]:B(e.ofType,n);if("Null"===n.kind)return[];if(e instanceof a.p2){const r=e.ofType;return"Array"===n.kind?C(n.values||[],(e=>B(r,e))):B(r,n)}if(e instanceof a.sR){if("Object"!==n.kind)return[[n,`Type "${e}" must be an Object.`]];const r=Object.create(null),t=C(n.members,(n=>{var t;const a=null===(t=null==n?void 0:n.key)||void 0===t?void 0:t.value;r[a]=!0;const i=e.getFields()[a];return i?B(i?i.type:void 0,n.value):[[n.key,`Type "${e}" does not have a field "${a}".`]]}));return Object.keys(e.getFields()).forEach((i=>{r[i]||e.getFields()[i].type instanceof a.bM&&t.push([n,`Object of type "${e}" is missing required field "${i}".`])})),t}return"Boolean"===e.name&&"Boolean"!==n.kind||"String"===e.name&&"String"!==n.kind||"ID"===e.name&&"Number"!==n.kind&&"String"!==n.kind||"Float"===e.name&&"Number"!==n.kind||"Int"===e.name&&("Number"!==n.kind||(0|n.value)!==n.value)||(e instanceof a.mR||e instanceof a.n2)&&("String"!==n.kind&&"Number"!==n.kind&&"Boolean"!==n.kind&&"Null"!==n.kind||A(e.parseValue(n.value)))?[[n,`Expected value of type "${e}".`]]:[]}function V(e,n,r){return{message:r,severity:"error",type:"validation",from:e.posFromIndex(n.start),to:e.posFromIndex(n.end)}}function A(e){return null==e||e!=e}function C(e,n){return Array.prototype.concat.apply([],e.map(n))}s(w,"JSONSyntaxError"),s(N,"syntaxError"),s(E,"skip"),s(x,"ch"),s(O,"lex"),s(S,"readString"),s($,"readHex"),s(j,"readNumber"),s(F,"readDigits"),t.C.registerHelper("lint","graphql-variables",((e,n,r)=>{if(!e)return[];let t;try{t=c(e)}catch(e){if(e instanceof w)return[V(r,e.position,e.message)];throw e}const a=n.variableToType;return a?T(r,a,t):[]})),s(T,"validateVariables"),s(B,"validateValue"),s(V,"lintError"),s(A,"isNullish"),s(C,"mapCat")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[732],{95772:(e,t,r)=>{r.r(t),r.d(t,{c:()=>c});var n=r(96539),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(e)}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:f};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 f=s[o].head;t.replaceRange("",r(f.line,f.ch-1),r(f.line,f.ch+1),"+delete")}}function f(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),u(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 u(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,f=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 S,y=v[k],O=y.head,P=t.getRange(O,r(O.line,O.ch+1));if(b&&!y.empty())S="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;S="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;S="both"}else{if(!b||!(0===P.length||/\s/.test(P)||f.indexOf(P)>-1))return e.Pass;S="both"}else S=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!=S)return e.Pass}else c=S}var A=o%2?s.charAt(o-1):a,m=o%2?a:s.charAt(o+1);t.operation((function(){if("skip"==c)u(t,1);else if("skipThree"==c)u(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),u(t,-1)):"addFour"==c&&(t.replaceSelection(A+A+A+A,"before"),u(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(f,"handleEnter"),i(u,"moveSel"),i(h,"contractSelection"),i(p,"handleChar"),i(d,"charsAround"),i(g,"stringStartsAfter")}(n.a.exports);var l=o.exports,c=Object.freeze(s({__proto__:null,[Symbol.toStringTag]:"Module",default:l},[o.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[772],{95035:(e,t,n)=>{n.r(t),n.d(t,{a:()=>h,s:()=>s});var r=n(96539),i=Object.defineProperty,o=(e,t)=>i(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(e)}o(l,"_mergeNamespaces");var h={exports:{}};!function(e){var t,n,r=e.Pos;function i(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=i(e),r=n,o=0;o<t.length;o++)-1==r.indexOf(t.charAt(o))&&(r+=t.charAt(o));return n==r?e:new RegExp(e.source,r)}function h(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function c(e,t,n){t=l(t,"g");for(var i=n.line,o=n.ch,h=e.lastLine();i<=h;i++,o=0){t.lastIndex=o;var c=e.getLine(i),s=t.exec(c);if(s)return{from:r(i,s.index),to:r(i,s.index+s[0].length),match:s}}}function s(e,t,n){if(!h(t))return c(e,t,n);t=l(t,"gm");for(var i,o=1,s=n.line,a=e.lastLine();s<=a;){for(var f=0;f<o&&!(s>a);f++){var u=e.getLine(s++);i=null==i?u:i+"\n"+u}o*=2,t.lastIndex=n.ch;var g=t.exec(i);if(g){var p=i.slice(0,g.index).split("\n"),d=g[0].split("\n"),m=n.line+p.length-1,v=p[p.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:g}}}}function a(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var l=o.index+o[0].length;if(l>e.length-n)break;(!r||l>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function f(e,t,n){t=l(t,"g");for(var i=n.line,o=n.ch,h=e.firstLine();i>=h;i--,o=-1){var c=e.getLine(i),s=a(c,t,o<0?0:c.length-o);if(s)return{from:r(i,s.index),to:r(i,s.index+s[0].length),match:s}}}function u(e,t,n){if(!h(t))return f(e,t,n);t=l(t,"gm");for(var i,o=1,c=e.getLine(n.line).length-n.ch,s=n.line,u=e.firstLine();s>=u;){for(var g=0;g<o&&s>=u;g++){var p=e.getLine(s--);i=null==i?p:p+"\n"+i}o*=2;var d=a(i,t,c);if(d){var m=i.slice(0,d.index).split("\n"),v=d[0].split("\n"),x=s+m.length,L=m[m.length-1].length;return{from:r(x,L),to:r(x+v.length-1,1==v.length?L+v[0].length:v[v.length-1].length),match:d}}}}function g(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var l=i+o>>1,h=r(e.slice(0,l)).length;if(h==n)return l;h>n?o=l:i=l+1}}function p(e,i,o,l){if(!i.length)return null;var h=l?t:n,c=h(i).split(/\r|\n\r?/);e:for(var s=o.line,a=o.ch,f=e.lastLine()+1-c.length;s<=f;s++,a=0){var u=e.getLine(s).slice(a),p=h(u);if(1==c.length){var d=p.indexOf(c[0]);if(-1==d)continue e;return o=g(u,p,d,h)+a,{from:r(s,g(u,p,d,h)+a),to:r(s,g(u,p,d+c[0].length,h)+a)}}var m=p.length-c[0].length;if(p.slice(m)==c[0]){for(var v=1;v<c.length-1;v++)if(h(e.getLine(s+v))!=c[v])continue e;var x=e.getLine(s+c.length-1),L=h(x),O=c[c.length-1];if(L.slice(0,O.length)==O)return{from:r(s,g(u,p,m,h)+a),to:r(s+c.length-1,g(x,L,O.length,h))}}}}function d(e,i,o,l){if(!i.length)return null;var h=l?t:n,c=h(i).split(/\r|\n\r?/);e:for(var s=o.line,a=o.ch,f=e.firstLine()-1+c.length;s>=f;s--,a=-1){var u=e.getLine(s);a>-1&&(u=u.slice(0,a));var p=h(u);if(1==c.length){var d=p.lastIndexOf(c[0]);if(-1==d)continue e;return{from:r(s,g(u,p,d,h)),to:r(s,g(u,p,d+c[0].length,h))}}var m=c[c.length-1];if(p.slice(0,m.length)==m){var v=1;for(o=s-c.length+1;v<c.length-1;v++)if(h(e.getLine(o+v))!=c[v])continue e;var x=e.getLine(s+1-c.length),L=h(x);if(L.slice(L.length-c[0].length)==c[0])return{from:r(s+1-c.length,g(x,L,x.length-c[0].length,h)),to:r(s,g(u,p,m.length,h))}}}}function m(e,t,n,i){var o;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 i?o=i.caseFold:(o=i,i=null),"string"==typeof t?(null==o&&(o=!1),this.matches=function(n,r){return(n?d:p)(e,t,r,o)}):(t=l(t,"gm"),i&&!1===i.multiline?this.matches=function(n,r){return(n?f:c)(e,t,r)}:this.matches=function(n,r){return(n?u:s)(e,t,r)})}o(i,"regexpFlags"),o(l,"ensureFlags"),o(h,"maybeMultiline"),o(c,"searchRegexpForward"),o(s,"searchRegexpForwardMultiline"),o(a,"lastMatchIn"),o(f,"searchRegexpBackward"),o(u,"searchRegexpBackwardMultiline"),String.prototype.normalize?(t=o((function(e){return e.normalize("NFD").toLowerCase()}),"doFold"),n=o((function(e){return e.normalize("NFD")}),"noFold")):(t=o((function(e){return e.toLowerCase()}),"doFold"),n=o((function(e){return e}),"noFold")),o(g,"adjustPos"),o(p,"searchStringForward"),o(d,"searchStringBackward"),o(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 i=this.matches(t,n);if(this.afterEmptyMatch=i&&0==e.cmpPos(i.from,i.to),i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var o=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:o,to:o},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 i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.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=[],i=this.getSearchCursor(t,this.getCursor("from"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor("to"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(r.a.exports);var c=h.exports,s=Object.freeze(l({__proto__:null,[Symbol.toStringTag]:"Module",default:c},[h.exports]))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[773],{54773:(e,t,r)=>{r.r(t),r.d(t,{j:()=>f});var n=r(96539),a=Object.defineProperty,i=(e,t)=>a(e,"name",{value:t,configurable:!0});function o(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(e)}i(o,"_mergeNamespaces");var s,c={exports:{}};(s=n.a.exports).defineMode("javascript",(function(e,t){var r,n,a=e.indentUnit,o=t.statementIndent,c=t.jsonld,u=t.json||c,f=!1!==t.trackScope,l=t.typescript,p=t.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}i(e,"kw");var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),a=e("keyword d"),o=e("operator"),s={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:a,break:a,continue:a,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:s,false:s,null:s,undefined:s,NaN:s,Infinity:s,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n}}(),m=/[+\-*&%=<>!?|~^@]/,y=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function k(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}function v(e,t,a){return r=e,n=a,t}function b(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=w(r),t.tokenize(e,t);if("."==r&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return v("number","number");if("."==r&&e.match(".."))return v("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return v(r);if("="==r&&e.eat(">"))return v("=>","operator");if("0"==r&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return v("number","number");if(/\d/.test(r))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),v("number","number");if("/"==r)return e.eat("*")?(t.tokenize=x,x(e,t)):e.eat("/")?(e.skipToEnd(),v("comment","comment")):at(e,t,1)?(k(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),v("regexp","string-2")):(e.eat("="),v("operator","operator",e.current()));if("`"==r)return t.tokenize=g,g(e,t);if("#"==r&&"!"==e.peek())return e.skipToEnd(),v("meta","meta");if("#"==r&&e.eatWhile(p))return v("variable","property");if("<"==r&&e.match("!--")||"-"==r&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),v("comment","comment");if(m.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-|&?]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),"?"==r&&e.eat(".")?v("."):v("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(n)){var a=d[n];return v(a.type,a.style,n)}if("async"==n&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return v("async","keyword",n)}return v("variable","variable",n)}}function w(e){return function(t,r){var n,a=!1;if(c&&"@"==t.peek()&&t.match(y))return r.tokenize=b,v("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||a);)a=!a&&"\\"==n;return a||(r.tokenize=b),v("string","string")}}function x(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=b;break}n="*"==r}return v("comment","comment")}function g(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=b;break}n=!n&&"\\"==r}return v("quasi","string-2",e.current())}i(k,"readRegexp"),i(v,"ret"),i(b,"tokenBase"),i(w,"tokenString"),i(x,"tokenComment"),i(g,"tokenQuasi");function h(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(l){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var a=0,i=!1,o=r-1;o>=0;--o){var s=e.string.charAt(o),c="([{}])".indexOf(s);if(c>=0&&c<3){if(!a){++o;break}if(0==--a){"("==s&&(i=!0);break}}else if(c>=3&&c<6)++a;else if(p.test(s))i=!0;else if(/["'\/`]/.test(s))for(;;--o){if(0==o)return;if(e.string.charAt(o-1)==s&&"\\"!=e.string.charAt(o-2)){o--;break}}else if(i&&!a){++o;break}}i&&!a&&(t.fatArrowAt=o)}}i(h,"findFatArrow");var j={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function A(e,t,r,n,a,i){this.indented=e,this.column=t,this.type=r,this.prev=a,this.info=i,null!=n&&(this.align=n)}function M(e,t){if(!f)return!1;for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function E(e,t,r,n,a){var i=e.cc;for(T.state=e,T.stream=a,T.marked=null,T.cc=i,T.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((i.length?i.pop():u?J:W)(r,n)){for(;i.length&&i[i.length-1].lex;)i.pop()();return T.marked?T.marked:"variable"==r&&M(e,n)?"variable-2":t}}i(A,"JSLexical"),i(M,"inScope"),i(E,"parseJS");var T={state:null,column:null,marked:null,cc:null};function V(){for(var e=arguments.length-1;e>=0;e--)T.cc.push(arguments[e])}function C(){return V.apply(null,arguments),!0}function I(e,t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}function z(e){var r=T.state;if(T.marked="def",f){if(r.context)if("var"==r.lexical.info&&r.context&&r.context.block){var n=S(e,r.context);if(null!=n)return void(r.context=n)}else if(!I(e,r.localVars))return void(r.localVars=new $(e,r.localVars));t.globalVars&&!I(e,r.globalVars)&&(r.globalVars=new $(e,r.globalVars))}}function S(e,t){if(t){if(t.block){var r=S(e,t.prev);return r?r==t.prev?t:new _(r,t.vars,!0):null}return I(e,t.vars)?t:new _(t.prev,new $(e,t.vars),!1)}return null}function O(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function _(e,t,r){this.prev=e,this.vars=t,this.block=r}function $(e,t){this.name=e,this.next=t}i(V,"pass"),i(C,"cont"),i(I,"inList"),i(z,"register"),i(S,"registerVarScoped"),i(O,"isModifier"),i(_,"Context"),i($,"Var");var q=new $("this",new $("arguments",null));function N(){T.state.context=new _(T.state.context,T.state.localVars,!1),T.state.localVars=q}function P(){T.state.context=new _(T.state.context,T.state.localVars,!0),T.state.localVars=null}function B(){T.state.localVars=T.state.context.vars,T.state.context=T.state.context.prev}function F(e,t){var r=i((function(){var r=T.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var a=r.lexical;a&&")"==a.type&&a.align;a=a.prev)n=a.indented;r.lexical=new A(n,T.stream.column(),e,null,r.lexical,t)}),"result");return r.lex=!0,r}function L(){var e=T.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function Q(e){function t(r){return r==e?C():";"==e||"}"==r||")"==r||"]"==r?V():C(t)}return i(t,"exp"),t}function W(e,t){return"var"==e?C(F("vardef",t),Ve,Q(";"),L):"keyword a"==e?C(F("form"),U,W,L):"keyword b"==e?C(F("form"),W,L):"keyword d"==e?T.stream.match(/^\s*$/,!1)?C():C(F("stat"),K,Q(";"),L):"debugger"==e?C(Q(";")):"{"==e?C(F("}"),P,pe,L,B):";"==e?C():"if"==e?("else"==T.state.lexical.info&&T.state.cc[T.state.cc.length-1]==L&&T.state.cc.pop()(),C(F("form"),U,W,L,_e)):"function"==e?C(Pe):"for"==e?C(F("form"),P,$e,W,B,L):"class"==e||l&&"interface"==t?(T.marked="keyword",C(F("form","class"==e?e:t),We,L)):"variable"==e?l&&"declare"==t?(T.marked="keyword",C(W)):l&&("module"==t||"enum"==t||"type"==t)&&T.stream.match(/^\s*\w/,!1)?(T.marked="keyword","enum"==t?C(tt):"type"==t?C(Fe,Q("operator"),ve,Q(";")):C(F("form"),Ce,Q("{"),F("}"),pe,L,L)):l&&"namespace"==t?(T.marked="keyword",C(F("form"),J,W,L)):l&&"abstract"==t?(T.marked="keyword",C(W)):C(F("stat"),ie):"switch"==e?C(F("form"),U,Q("{"),F("}","switch"),P,pe,L,L,B):"case"==e?C(J,Q(":")):"default"==e?C(Q(":")):"catch"==e?C(F("form"),N,D,W,L,B):"export"==e?C(F("stat"),Ue,L):"import"==e?C(F("stat"),Ke,L):"async"==e?C(W):"@"==t?C(J,W):V(F("stat"),J,Q(";"),L)}function D(e){if("("==e)return C(Le,Q(")"))}function J(e,t){return H(e,t,!1)}function R(e,t){return H(e,t,!0)}function U(e){return"("!=e?V():C(F(")"),K,Q(")"),L)}function H(e,t,r){if(T.state.fatArrowAt==T.stream.start){var n=r?te:ee;if("("==e)return C(N,F(")"),fe(Le,")"),L,Q("=>"),n,B);if("variable"==e)return V(N,Ce,Q("=>"),n,B)}var a=r?X:G;return j.hasOwnProperty(e)?C(a):"function"==e?C(Pe,a):"class"==e||l&&"interface"==t?(T.marked="keyword",C(F("form"),Qe,L)):"keyword c"==e||"async"==e?C(r?R:J):"("==e?C(F(")"),K,Q(")"),L,a):"operator"==e||"spread"==e?C(r?R:J):"["==e?C(F("]"),et,L,a):"{"==e?le(se,"}",null,a):"quasi"==e?V(Y,a):"new"==e?C(re(r)):C()}function K(e){return e.match(/[;\}\)\],]/)?V():V(J)}function G(e,t){return","==e?C(K):X(e,t,!1)}function X(e,t,r){var n=0==r?G:X,a=0==r?J:R;return"=>"==e?C(N,r?te:ee,B):"operator"==e?/\+\+|--/.test(t)||l&&"!"==t?C(n):l&&"<"==t&&T.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?C(F(">"),fe(ve,">"),L,n):"?"==t?C(J,Q(":"),a):C(a):"quasi"==e?V(Y,n):";"!=e?"("==e?le(R,")","call",n):"."==e?C(oe,n):"["==e?C(F("]"),K,Q("]"),L,n):l&&"as"==t?(T.marked="keyword",C(ve,n)):"regexp"==e?(T.state.lastType=T.marked="operator",T.stream.backUp(T.stream.pos-T.stream.start-1),C(a)):void 0:void 0}function Y(e,t){return"quasi"!=e?V():"${"!=t.slice(t.length-2)?C(Y):C(K,Z)}function Z(e){if("}"==e)return T.marked="string-2",T.state.tokenize=g,C(Y)}function ee(e){return h(T.stream,T.state),V("{"==e?W:J)}function te(e){return h(T.stream,T.state),V("{"==e?W:R)}function re(e){return function(t){return"."==t?C(e?ae:ne):"variable"==t&&l?C(Me,e?X:G):V(e?R:J)}}function ne(e,t){if("target"==t)return T.marked="keyword",C(G)}function ae(e,t){if("target"==t)return T.marked="keyword",C(X)}function ie(e){return":"==e?C(L,W):V(G,Q(";"),L)}function oe(e){if("variable"==e)return T.marked="property",C()}function se(e,t){return"async"==e?(T.marked="property",C(se)):"variable"==e||"keyword"==T.style?(T.marked="property","get"==t||"set"==t?C(ce):(l&&T.state.fatArrowAt==T.stream.start&&(r=T.stream.match(/^\s*:\s*/,!1))&&(T.state.fatArrowAt=T.stream.pos+r[0].length),C(ue))):"number"==e||"string"==e?(T.marked=c?"property":T.style+" property",C(ue)):"jsonld-keyword"==e?C(ue):l&&O(t)?(T.marked="keyword",C(se)):"["==e?C(J,de,Q("]"),ue):"spread"==e?C(R,ue):"*"==t?(T.marked="keyword",C(se)):":"==e?V(ue):void 0;var r}function ce(e){return"variable"!=e?V(ue):(T.marked="property",C(Pe))}function ue(e){return":"==e?C(R):"("==e?V(Pe):void 0}function fe(e,t,r){function n(a,i){if(r?r.indexOf(a)>-1:","==a){var o=T.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),C((function(r,n){return r==t||n==t?V():V(e)}),n)}return a==t||i==t?C():r&&r.indexOf(";")>-1?V(e):C(Q(t))}return i(n,"proceed"),function(r,a){return r==t||a==t?C():V(e,n)}}function le(e,t,r){for(var n=3;n<arguments.length;n++)T.cc.push(arguments[n]);return C(F(t,r),fe(e,t),L)}function pe(e){return"}"==e?C():V(W,pe)}function de(e,t){if(l){if(":"==e)return C(ve);if("?"==t)return C(de)}}function me(e,t){if(l&&(":"==e||"in"==t))return C(ve)}function ye(e){if(l&&":"==e)return T.stream.match(/^\s*\w+\s+is\b/,!1)?C(J,ke,ve):C(ve)}function ke(e,t){if("is"==t)return T.marked="keyword",C()}function ve(e,t){return"keyof"==t||"typeof"==t||"infer"==t||"readonly"==t?(T.marked="keyword",C("typeof"==t?R:ve)):"variable"==e||"void"==t?(T.marked="type",C(Ae)):"|"==t||"&"==t?C(ve):"string"==e||"number"==e||"atom"==e?C(Ae):"["==e?C(F("]"),fe(ve,"]",","),L,Ae):"{"==e?C(F("}"),we,L,Ae):"("==e?C(fe(je,")"),be,Ae):"<"==e?C(fe(ve,">"),ve):"quasi"==e?V(ge,Ae):void 0}function be(e){if("=>"==e)return C(ve)}function we(e){return e.match(/[\}\)\]]/)?C():","==e||";"==e?C(we):V(xe,we)}function xe(e,t){return"variable"==e||"keyword"==T.style?(T.marked="property",C(xe)):"?"==t||"number"==e||"string"==e?C(xe):":"==e?C(ve):"["==e?C(Q("variable"),me,Q("]"),xe):"("==e?V(Be,xe):e.match(/[;\}\)\],]/)?void 0:C()}function ge(e,t){return"quasi"!=e?V():"${"!=t.slice(t.length-2)?C(ge):C(ve,he)}function he(e){if("}"==e)return T.marked="string-2",T.state.tokenize=g,C(ge)}function je(e,t){return"variable"==e&&T.stream.match(/^\s*[?:]/,!1)||"?"==t?C(je):":"==e?C(ve):"spread"==e?C(je):V(ve)}function Ae(e,t){return"<"==t?C(F(">"),fe(ve,">"),L,Ae):"|"==t||"."==e||"&"==t?C(ve):"["==e?C(ve,Q("]"),Ae):"extends"==t||"implements"==t?(T.marked="keyword",C(ve)):"?"==t?C(ve,Q(":"),ve):void 0}function Me(e,t){if("<"==t)return C(F(">"),fe(ve,">"),L,Ae)}function Ee(){return V(ve,Te)}function Te(e,t){if("="==t)return C(ve)}function Ve(e,t){return"enum"==t?(T.marked="keyword",C(tt)):V(Ce,de,Se,Oe)}function Ce(e,t){return l&&O(t)?(T.marked="keyword",C(Ce)):"variable"==e?(z(t),C()):"spread"==e?C(Ce):"["==e?le(ze,"]"):"{"==e?le(Ie,"}"):void 0}function Ie(e,t){return"variable"!=e||T.stream.match(/^\s*:/,!1)?("variable"==e&&(T.marked="property"),"spread"==e?C(Ce):"}"==e?V():"["==e?C(J,Q("]"),Q(":"),Ie):C(Q(":"),Ce,Se)):(z(t),C(Se))}function ze(){return V(Ce,Se)}function Se(e,t){if("="==t)return C(R)}function Oe(e){if(","==e)return C(Ve)}function _e(e,t){if("keyword b"==e&&"else"==t)return C(F("form","else"),W,L)}function $e(e,t){return"await"==t?C($e):"("==e?C(F(")"),qe,L):void 0}function qe(e){return"var"==e?C(Ve,Ne):"variable"==e?C(Ne):V(Ne)}function Ne(e,t){return")"==e?C():";"==e?C(Ne):"in"==t||"of"==t?(T.marked="keyword",C(J,Ne)):V(J,Ne)}function Pe(e,t){return"*"==t?(T.marked="keyword",C(Pe)):"variable"==e?(z(t),C(Pe)):"("==e?C(N,F(")"),fe(Le,")"),L,ye,W,B):l&&"<"==t?C(F(">"),fe(Ee,">"),L,Pe):void 0}function Be(e,t){return"*"==t?(T.marked="keyword",C(Be)):"variable"==e?(z(t),C(Be)):"("==e?C(N,F(")"),fe(Le,")"),L,ye,B):l&&"<"==t?C(F(">"),fe(Ee,">"),L,Be):void 0}function Fe(e,t){return"keyword"==e||"variable"==e?(T.marked="type",C(Fe)):"<"==t?C(F(">"),fe(Ee,">"),L):void 0}function Le(e,t){return"@"==t&&C(J,Le),"spread"==e?C(Le):l&&O(t)?(T.marked="keyword",C(Le)):l&&"this"==e?C(de,Se):V(Ce,de,Se)}function Qe(e,t){return"variable"==e?We(e,t):De(e,t)}function We(e,t){if("variable"==e)return z(t),C(De)}function De(e,t){return"<"==t?C(F(">"),fe(Ee,">"),L,De):"extends"==t||"implements"==t||l&&","==e?("implements"==t&&(T.marked="keyword"),C(l?ve:J,De)):"{"==e?C(F("}"),Je,L):void 0}function Je(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||l&&O(t))&&T.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(T.marked="keyword",C(Je)):"variable"==e||"keyword"==T.style?(T.marked="property",C(Re,Je)):"number"==e||"string"==e?C(Re,Je):"["==e?C(J,de,Q("]"),Re,Je):"*"==t?(T.marked="keyword",C(Je)):l&&"("==e?V(Be,Je):";"==e||","==e?C(Je):"}"==e?C():"@"==t?C(J,Je):void 0}function Re(e,t){if("!"==t)return C(Re);if("?"==t)return C(Re);if(":"==e)return C(ve,Se);if("="==t)return C(R);var r=T.state.lexical.prev;return V(r&&"interface"==r.info?Be:Pe)}function Ue(e,t){return"*"==t?(T.marked="keyword",C(Ze,Q(";"))):"default"==t?(T.marked="keyword",C(J,Q(";"))):"{"==e?C(fe(He,"}"),Ze,Q(";")):V(W)}function He(e,t){return"as"==t?(T.marked="keyword",C(Q("variable"))):"variable"==e?V(R,He):void 0}function Ke(e){return"string"==e?C():"("==e?V(J):"."==e?V(G):V(Ge,Xe,Ze)}function Ge(e,t){return"{"==e?le(Ge,"}"):("variable"==e&&z(t),"*"==t&&(T.marked="keyword"),C(Ye))}function Xe(e){if(","==e)return C(Ge,Xe)}function Ye(e,t){if("as"==t)return T.marked="keyword",C(Ge)}function Ze(e,t){if("from"==t)return T.marked="keyword",C(J)}function et(e){return"]"==e?C():V(fe(R,"]"))}function tt(){return V(F("form"),Ce,Q("{"),F("}"),fe(rt,"}"),L,L)}function rt(){return V(Ce,Se)}function nt(e,t){return"operator"==e.lastType||","==e.lastType||m.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function at(e,t,r){return t.tokenize==b&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}return i(N,"pushcontext"),i(P,"pushblockcontext"),N.lex=P.lex=!0,i(B,"popcontext"),B.lex=!0,i(F,"pushlex"),i(L,"poplex"),L.lex=!0,i(Q,"expect"),i(W,"statement"),i(D,"maybeCatchBinding"),i(J,"expression"),i(R,"expressionNoComma"),i(U,"parenExpr"),i(H,"expressionInner"),i(K,"maybeexpression"),i(G,"maybeoperatorComma"),i(X,"maybeoperatorNoComma"),i(Y,"quasi"),i(Z,"continueQuasi"),i(ee,"arrowBody"),i(te,"arrowBodyNoComma"),i(re,"maybeTarget"),i(ne,"target"),i(ae,"targetNoComma"),i(ie,"maybelabel"),i(oe,"property"),i(se,"objprop"),i(ce,"getterSetter"),i(ue,"afterprop"),i(fe,"commasep"),i(le,"contCommasep"),i(pe,"block"),i(de,"maybetype"),i(me,"maybetypeOrIn"),i(ye,"mayberettype"),i(ke,"isKW"),i(ve,"typeexpr"),i(be,"maybeReturnType"),i(we,"typeprops"),i(xe,"typeprop"),i(ge,"quasiType"),i(he,"continueQuasiType"),i(je,"typearg"),i(Ae,"afterType"),i(Me,"maybeTypeArgs"),i(Ee,"typeparam"),i(Te,"maybeTypeDefault"),i(Ve,"vardef"),i(Ce,"pattern"),i(Ie,"proppattern"),i(ze,"eltpattern"),i(Se,"maybeAssign"),i(Oe,"vardefCont"),i(_e,"maybeelse"),i($e,"forspec"),i(qe,"forspec1"),i(Ne,"forspec2"),i(Pe,"functiondef"),i(Be,"functiondecl"),i(Fe,"typename"),i(Le,"funarg"),i(Qe,"classExpression"),i(We,"className"),i(De,"classNameAfter"),i(Je,"classBody"),i(Re,"classfield"),i(Ue,"afterExport"),i(He,"exportField"),i(Ke,"afterImport"),i(Ge,"importSpec"),i(Xe,"maybeMoreImports"),i(Ye,"maybeAs"),i(Ze,"maybeFrom"),i(et,"arrayLiteral"),i(tt,"enumdef"),i(rt,"enummember"),i(nt,"isContinuedStatement"),i(at,"expressionAllowed"),{startState:function(e){var r={tokenize:b,lastType:"sof",cc:[],lexical:new A((e||0)-a,0,"block",!1),localVars:t.localVars,context:t.localVars&&new _(null,null,!1),indented:e||0};return t.globalVars&&"object"==typeof t.globalVars&&(r.globalVars=t.globalVars),r},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),h(e,t)),t.tokenize!=x&&e.eatSpace())return null;var a=t.tokenize(e,t);return"comment"==r?a:(t.lastType="operator"!=r||"++"!=n&&"--"!=n?r:"incdec",E(t,a,r,n,e))},indent:function(e,r){if(e.tokenize==x||e.tokenize==g)return s.Pass;if(e.tokenize!=b)return 0;var n,i=r&&r.charAt(0),c=e.lexical;if(!/^\s*else\b/.test(r))for(var u=e.cc.length-1;u>=0;--u){var f=e.cc[u];if(f==L)c=c.prev;else if(f!=_e&&f!=B)break}for(;("stat"==c.type||"form"==c.type)&&("}"==i||(n=e.cc[e.cc.length-1])&&(n==G||n==X)&&!/^[,\.=+\-*:?[\(]/.test(r));)c=c.prev;o&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var l=c.type,p=i==l;return"vardef"==l?c.indented+("operator"==e.lastType||","==e.lastType?c.info.length+1:0):"form"==l&&"{"==i?c.indented:"form"==l?c.indented+a:"stat"==l?c.indented+(nt(e,r)?o||a:0):"switch"!=c.info||p||0==t.doubleIndentSwitch?c.align?c.column+(p?0:1):c.indented+(p?0:a):c.indented+(/^(?:case|default)\b/.test(r)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:u?null:"/*",blockCommentEnd:u?null:"*/",blockCommentContinue:u?null:" * ",lineComment:u?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:u?"json":"javascript",jsonldMode:c,jsonMode:u,expressionAllowed:at,skipExpression:function(e){E(e,"atom","atom","true",new s.StringStream("",2,null))}}})),s.registerHelper("wordChars","javascript",/[\w$]/),s.defineMIME("text/javascript","javascript"),s.defineMIME("text/ecmascript","javascript"),s.defineMIME("application/javascript","javascript"),s.defineMIME("application/x-javascript","javascript"),s.defineMIME("application/ecmascript","javascript"),s.defineMIME("application/json",{name:"javascript",json:!0}),s.defineMIME("application/x-json",{name:"javascript",json:!0}),s.defineMIME("application/manifest+json",{name:"javascript",json:!0}),s.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),s.defineMIME("text/typescript",{name:"javascript",typescript:!0}),s.defineMIME("application/typescript",{name:"javascript",typescript:!0});var u=c.exports,f=Object.freeze(o({__proto__:null,[Symbol.toStringTag]:"Module",default:u},[c.exports]))}}]);
|