free-swagger-userscript
Version:
free-swagger for tampermonkey
1 lines • 2.48 MB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-72425944"],{"00ea":function(e,t,i){"use strict";i.r(t);var n=i("9e37"),o=i("5224"),s=i("a766"),r=i("05cf"),a=i("4af0"),l=i("963f"),c=i("c4c2"),d=i("dd40"),h=i("c653");class u{constructor(e,t){this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;const n=t.length,o=e.length;if(i+n>o)return!1;for(let s=0;s<n;s++){const n=e.charCodeAt(i+s),o=t.charCodeAt(s);if(n!==o&&(!(n>=65&&n<=90&&n+32===o)&&!(o>=65&&o<=90&&o+32===n)))return!1}return!0}_createOperationsForBlockComment(e,t,i,n,o,s){const r=e.startLineNumber,a=e.startColumn,l=e.endLineNumber,d=e.endColumn,h=o.getLineContent(r),g=o.getLineContent(l);let p,m=h.lastIndexOf(t,a-1+t.length),f=g.indexOf(i,d-1-i.length);if(-1!==m&&-1!==f)if(r===l){const e=h.substring(m+t.length,f);e.indexOf(i)>=0&&(m=-1,f=-1)}else{const e=h.substring(m+t.length),n=g.substring(0,f);(e.indexOf(i)>=0||n.indexOf(i)>=0)&&(m=-1,f=-1)}-1!==m&&-1!==f?(n&&m+t.length<h.length&&32===h.charCodeAt(m+t.length)&&(t+=" "),n&&f>0&&32===g.charCodeAt(f-1)&&(i=" "+i,f-=1),p=u._createRemoveBlockCommentOperations(new c["a"](r,m+t.length+1,l,f+1),t,i)):(p=u._createAddBlockCommentOperations(e,t,i,this._insertSpace),this._usedEndToken=1===p.length?i:null);for(const c of p)s.addTrackedEditOperation(c.range,c.text)}static _createRemoveBlockCommentOperations(e,t,i){let n=[];return c["a"].isEmpty(e)?n.push(a["a"].delete(new c["a"](e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+i.length))):(n.push(a["a"].delete(new c["a"](e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),n.push(a["a"].delete(new c["a"](e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+i.length)))),n}static _createAddBlockCommentOperations(e,t,i,n){let o=[];return c["a"].isEmpty(e)?o.push(a["a"].replace(new c["a"](e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+i)):(o.push(a["a"].insert(new l["a"](e.startLineNumber,e.startColumn),t+(n?" ":""))),o.push(a["a"].insert(new l["a"](e.endLineNumber,e.endColumn),(n?" ":"")+i))),o}getEditOperations(e,t){const i=this._selection.startLineNumber,n=this._selection.startColumn;e.tokenizeIfCheap(i);const o=e.getLanguageIdAtPosition(i,n),s=h["a"].getComments(o);s&&s.blockCommentStartToken&&s.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,s.blockCommentStartToken,s.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const i=t.getInverseEditOperations();if(2===i.length){const e=i[0],t=i[1];return new d["a"](e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{const e=i[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new d["a"](e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}var g=i("0c1a");class p{constructor(e,t,i,n,o){this._selection=e,this._tabSize=t,this._type=i,this._insertSpace=n,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=o}static _gatherPreflightCommentStrings(e,t,i){e.tokenizeIfCheap(t);const n=e.getLanguageIdAtPosition(t,1),o=h["a"].getComments(n),s=o?o.lineCommentToken:null;if(!s)return null;let r=[];for(let a=0,l=i-t+1;a<l;a++)r[a]={ignore:!1,commentStr:s,commentStrOffset:0,commentStrLength:s.length};return r}static _analyzeLines(e,t,i,n,o,s){let r,a=!0;r=0===e||1!==e;for(let l=0,c=n.length;l<c;l++){const c=n[l],d=o+l,h=i.getLineContent(d),p=g["w"](h);if(-1!==p){if(a=!1,c.ignore=!1,c.commentStrOffset=p,r&&!u._haystackHasNeedleAtOffset(h,c.commentStr,p)&&(0===e?r=!1:1===e||(c.ignore=!0)),r&&t){const e=p+c.commentStrLength;e<h.length&&32===h.charCodeAt(e)&&(c.commentStrLength+=1)}}else c.ignore=s,c.commentStrOffset=h.length}if(0===e&&a){r=!1;for(let e=0,t=n.length;e<t;e++)n[e].ignore=!1}return{supported:!0,shouldRemoveComments:r,lines:n}}static _gatherPreflightData(e,t,i,n,o,s){const r=p._gatherPreflightCommentStrings(i,n,o);return null===r?{supported:!1}:p._analyzeLines(e,t,i,r,n,s)}_executeLineComments(e,t,i,n){let o;i.shouldRemoveComments?o=p._createRemoveLineCommentsOperations(i.lines,n.startLineNumber):(p._normalizeInsertionPoint(e,i.lines,n.startLineNumber,this._tabSize),o=this._createAddLineCommentsOperations(i.lines,n.startLineNumber));const s=new l["a"](n.positionLineNumber,n.positionColumn);for(let r=0,a=o.length;r<a;r++)if(t.addEditOperation(o[r].range,o[r].text),c["a"].isEmpty(o[r].range)&&c["a"].getStartPosition(o[r].range).equals(s)){const t=e.getLineContent(s.lineNumber);t.length+1===s.column&&(this._deltaColumn=(o[r].text||"").length)}this._selectionId=t.trackSelection(n)}_attemptRemoveBlockComment(e,t,i,n){let o=t.startLineNumber,s=t.endLineNumber,r=n.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn),a=e.getLineContent(o).lastIndexOf(i,r-1),l=e.getLineContent(s).indexOf(n,t.endColumn-1-i.length);return-1!==a&&-1===l&&(l=e.getLineContent(o).indexOf(n,a+i.length),s=o),-1===a&&-1!==l&&(a=e.getLineContent(s).lastIndexOf(i,l),o=s),!t.isEmpty()||-1!==a&&-1!==l||(a=e.getLineContent(o).indexOf(i),-1!==a&&(l=e.getLineContent(o).indexOf(n,a+i.length))),-1!==a&&32===e.getLineContent(o).charCodeAt(a+i.length)&&(i+=" "),-1!==l&&32===e.getLineContent(s).charCodeAt(l-1)&&(n=" "+n,l-=1),-1!==a&&-1!==l?u._createRemoveBlockCommentOperations(new c["a"](o,a+i.length+1,s,l+1),i,n):null}_executeBlockComment(e,t,i){e.tokenizeIfCheap(i.startLineNumber);let n=e.getLanguageIdAtPosition(i.startLineNumber,1),o=h["a"].getComments(n);if(!o||!o.blockCommentStartToken||!o.blockCommentEndToken)return;const s=o.blockCommentStartToken,r=o.blockCommentEndToken;let a=this._attemptRemoveBlockComment(e,i,s,r);if(!a){if(i.isEmpty()){const t=e.getLineContent(i.startLineNumber);let n=g["w"](t);-1===n&&(n=t.length),a=u._createAddBlockCommentOperations(new c["a"](i.startLineNumber,n+1,i.startLineNumber,t.length+1),s,r,this._insertSpace)}else a=u._createAddBlockCommentOperations(new c["a"](i.startLineNumber,e.getLineFirstNonWhitespaceColumn(i.startLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),s,r,this._insertSpace);1===a.length&&(this._deltaColumn=s.length+1)}this._selectionId=t.trackSelection(i);for(const l of a)t.addEditOperation(l.range,l.text)}getEditOperations(e,t){let i=this._selection;this._moveEndPositionDown=!1,i.startLineNumber<i.endLineNumber&&1===i.endColumn&&(this._moveEndPositionDown=!0,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));const n=p._gatherPreflightData(this._type,this._insertSpace,e,i.startLineNumber,i.endLineNumber,this._ignoreEmptyLines);return n.supported?this._executeLineComments(e,t,n,i):this._executeBlockComment(e,t,i)}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(i=i.setEndPosition(i.endLineNumber+1,1)),new d["a"](i.selectionStartLineNumber,i.selectionStartColumn+this._deltaColumn,i.positionLineNumber,i.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(e,t){let i=[];for(let n=0,o=e.length;n<o;n++){const o=e[n];o.ignore||i.push(a["a"].delete(new c["a"](t+n,o.commentStrOffset+1,t+n,o.commentStrOffset+o.commentStrLength+1)))}return i}_createAddLineCommentsOperations(e,t){let i=[];const n=this._insertSpace?" ":"";for(let o=0,s=e.length;o<s;o++){const s=e[o];s.ignore||i.push(a["a"].insert(new l["a"](t+o,s.commentStrOffset+1),s.commentStr+n))}return i}static nextVisibleColumn(e,t,i,n){return i?e+(t-e%t):e+n}static _normalizeInsertionPoint(e,t,i,n){let o,s,r=1073741824;for(let a=0,l=t.length;a<l;a++){if(t[a].ignore)continue;const o=e.getLineContent(i+a);let s=0;for(let e=0,i=t[a].commentStrOffset;s<r&&e<i;e++)s=p.nextVisibleColumn(s,n,9===o.charCodeAt(e),1);s<r&&(r=s)}r=Math.floor(r/n)*n;for(let a=0,l=t.length;a<l;a++){if(t[a].ignore)continue;const l=e.getLineContent(i+a);let c=0;for(o=0,s=t[a].commentStrOffset;c<r&&o<s;o++)c=p.nextVisibleColumn(c,n,9===l.charCodeAt(o),1);t[a].commentStrOffset=c>r?o-1:o}}}var m=i("91a2");class f extends s["b"]{constructor(e,t){super(t),this._type=e}run(e,t){if(!t.hasModel())return;const i=t.getModel(),n=[],o=t.getSelections(),s=i.getOptions(),r=t.getOption(14);for(const a of o)n.push(new p(a,s.tabSize,this._type,r.insertSpace,r.ignoreEmptyLines));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class b extends f{constructor(){super(0,{id:"editor.action.commentLine",label:n["a"]("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:r["a"].writable,kbOpts:{kbExpr:r["a"].editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:m["b"].MenubarEditMenu,group:"5_insert",title:n["a"]({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}class _ extends f{constructor(){super(1,{id:"editor.action.addCommentLine",label:n["a"]("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:r["a"].writable,kbOpts:{kbExpr:r["a"].editorTextFocus,primary:Object(o["a"])(2089,2081),weight:100}})}}class A extends f{constructor(){super(2,{id:"editor.action.removeCommentLine",label:n["a"]("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:r["a"].writable,kbOpts:{kbExpr:r["a"].editorTextFocus,primary:Object(o["a"])(2089,2099),weight:100}})}}class w extends s["b"]{constructor(){super({id:"editor.action.blockComment",label:n["a"]("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:r["a"].writable,kbOpts:{kbExpr:r["a"].editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:m["b"].MenubarEditMenu,group:"5_insert",title:n["a"]({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(e,t){if(!t.hasModel())return;const i=t.getOption(14),n=[],o=t.getSelections();for(const s of o)n.push(new u(s,i.insertSpace));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}Object(s["k"])(b),Object(s["k"])(_),Object(s["k"])(A),Object(s["k"])(w)},"0128":function(e,t,i){"use strict";i.d(t,"c",(function(){return o})),i.d(t,"d",(function(){return s})),i.d(t,"b",(function(){return a})),i.d(t,"g",(function(){return c})),i.d(t,"a",(function(){return d})),i.d(t,"e",(function(){return h})),i.d(t,"f",(function(){return u}));var n=i("6271");function o(e){if(!e||"object"!==typeof e)return e;if(e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(i=>{e[i]&&"object"===typeof e[i]?t[i]=o(e[i]):t[i]=e[i]}),t}function s(e){if(!e||"object"!==typeof e)return e;const t=[e];while(t.length>0){const e=t.shift();Object.freeze(e);for(const i in e)if(r.call(e,i)){const n=e[i];"object"!==typeof n||Object.isFrozen(n)||t.push(n)}}return e}const r=Object.prototype.hasOwnProperty;function a(e,t){return l(e,t,new Set)}function l(e,t,i){if(Object(n["l"])(e))return e;const o=t(e);if("undefined"!==typeof o)return o;if(Object(n["e"])(e)){const n=[];for(const o of e)n.push(l(o,t,i));return n}if(Object(n["i"])(e)){if(i.has(e))throw new Error("Cannot clone recursive data-structure");i.add(e);const n={};for(let o in e)r.call(e,o)&&(n[o]=l(e[o],t,i));return i.delete(e),n}return e}function c(e,t,i=!0){return Object(n["i"])(e)?(Object(n["i"])(t)&&Object.keys(t).forEach(o=>{o in e?i&&(Object(n["i"])(e[o])&&Object(n["i"])(t[o])?c(e[o],t[o],i):e[o]=t[o]):e[o]=t[o]}),e):t}function d(e,...t){return t.forEach(t=>Object.keys(t).forEach(i=>e[i]=t[i])),e}function h(e,t){if(e===t)return!0;if(null===e||void 0===e||null===t||void 0===t)return!1;if(typeof e!==typeof t)return!1;if("object"!==typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let i,n;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(!h(e[i],t[i]))return!1}else{const o=[];for(n in e)o.push(n);o.sort();const s=[];for(n in t)s.push(n);if(s.sort(),!h(o,s))return!1;for(i=0;i<o.length;i++)if(!h(e[o[i]],t[o[i]]))return!1}return!0}function u(e,t,i){const n=t(e);return"undefined"===typeof n?i:n}},"0169":function(e,t,i){"use strict";i.d(t,"c",(function(){return a})),i.d(t,"h",(function(){return l})),i.d(t,"e",(function(){return c})),i.d(t,"b",(function(){return h})),i.d(t,"f",(function(){return u})),i.d(t,"a",(function(){return g})),i.d(t,"g",(function(){return f})),i.d(t,"d",(function(){return b}));var n=i("e229"),o=i("775c"),s=i("ebeb"),r=i("2507");const a=Object(n["c"])("themeService");function l(e){return{id:e}}var c;(function(e){function t(e){return e&&"object"===typeof e&&"string"===typeof e.id}e.isThemeIcon=t;const i=/^\$\(([a-z.]+\/)?([a-z-~]+)\)$/i;function n(e){const t=i.exec(e);if(!t)return;let[,n,o]=t;return n||(n="codicon/"),{id:n+o}}e.fromString=n;const o=/^(codicon\/)?([a-z-]+)(~[a-z]+)?$/i;function s(e){const t=o.exec(e.id);if(!t)return;let[,,i,n]=t,s="codicon codicon-"+i;return n&&(s+=" "+n.substr(1)),s}e.asClassName=s})(c||(c={}));const d="dark",h="hc";function u(e){switch(e){case d:return"vs-dark";case h:return"hc-black";default:return"vs"}}const g={ThemingContribution:"base.contributions.theming"};class p{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new r["a"]}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Object(o["h"])(()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}}let m=new p;function f(e){return m.onColorThemeChange(e)}s["a"].add(g.ThemingContribution,m);class b extends o["a"]{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},"030b":function(e,t,i){"use strict";i.r(t);var n=i("7b7b");Object(n["a"])({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return i.e("chunk-2d0e64a5").then(i.bind(null,"97b3"))}})},"03db":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"c",(function(){return C})),i.d(t,"b",(function(){return y})),i.d(t,"d",(function(){return S}));var n=i("0c1a"),o=i("e229"),s=i("f7d6");const r=new Map;r.set("false",!1),r.set("true",!0),r.set("isMac",s["f"]),r.set("isLinux",s["d"]),r.set("isWindows",s["i"]),r.set("isWeb",s["h"]),r.set("isMacNative",s["f"]&&!s["h"]);const a=Object.prototype.hasOwnProperty;class l{static has(e){return u.create(e)}static equals(e,t){return g.create(e,t)}static regex(e,t){return _.create(e,t)}static not(e){return b.create(e)}static and(...e){return w.create(e)}static or(...e){return v.create(e)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let i=e.split("||");return v.create(i.map(e=>this._deserializeAndExpression(e,t)))}static _deserializeAndExpression(e,t){let i=e.split("&&");return w.create(i.map(e=>this._deserializeOne(e,t)))}static _deserializeOne(e,t){if(e=e.trim(),e.indexOf("!=")>=0){let i=e.split("!=");return f.create(i[0].trim(),this._deserializeValue(i[1],t))}if(e.indexOf("==")>=0){let i=e.split("==");return g.create(i[0].trim(),this._deserializeValue(i[1],t))}if(e.indexOf("=~")>=0){let i=e.split("=~");return _.create(i[0].trim(),this._deserializeRegexValue(i[1],t))}if(e.indexOf(" in ")>=0){let t=e.split(" in ");return p.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?b.create(e.substr(1).trim()):u.create(e)}static _deserializeValue(e,t){if(e=e.trim(),"true"===e)return!0;if("false"===e)return!1;let i=/^'([^']*)'$/.exec(e);return i?i[1].trim():e}static _deserializeRegexValue(e,t){if(Object(n["D"])(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let i=e.indexOf("/"),o=e.lastIndexOf("/");if(i===o||i<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return console.warn(`bad regexp-value '${e}', missing /-enclosure`),null}let s=e.slice(i+1,o),r="i"===e[o+1]?"i":"";try{return new RegExp(s,r)}catch(a){if(t)throw new Error(`bad regexp-value '${e}', parse error: ${a}`);return console.warn(`bad regexp-value '${e}', parse error: ${a}`),null}}}function c(e,t){return e.cmp(t)}class d{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return h.INSTANCE}}d.INSTANCE=new d;class h{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return d.INSTANCE}}h.INSTANCE=new h;class u{constructor(e){this.key=e,this.type=2}static create(e){const t=r.get(e);return"boolean"===typeof t?t?h.INSTANCE:d.INSTANCE:new u(e)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:0}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return b.create(this.key)}}class g{constructor(e,t){this.key=e,this.value=t,this.type=4}static create(e,t){if("boolean"===typeof t)return t?u.create(e):b.create(e);const i=r.get(e);if("boolean"===typeof i){const e=i?"true":"false";return t===e?h.INSTANCE:d.INSTANCE}return new g(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return this.key+" == '"+this.value+"'"}keys(){return[this.key]}negate(){return f.create(this.key,this.value)}}class p{constructor(e,t){this.key=e,this.valueKey=t,this.type=10}static create(e,t){return new p(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.valueKey<e.valueKey?-1:this.valueKey>e.valueKey?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.valueKey===e.valueKey)}evaluate(e){const t=e.getValue(this.valueKey),i=e.getValue(this.key);return Array.isArray(t)?t.indexOf(i)>=0:"string"===typeof i&&"object"===typeof t&&null!==t&&a.call(t,i)}serialize(){return this.key+" in '"+this.valueKey+"'"}keys(){return[this.key,this.valueKey]}negate(){return m.create(this)}}class m{constructor(e){this._actual=e,this.type=11}static create(e){return new m(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class f{constructor(e,t){this.key=e,this.value=t,this.type=5}static create(e,t){if("boolean"===typeof t)return t?b.create(e):u.create(e);const i=r.get(e);if("boolean"===typeof i){const e=i?"true":"false";return t===e?d.INSTANCE:h.INSTANCE}return new f(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return this.key+" != '"+this.value+"'"}keys(){return[this.key]}negate(){return g.create(this.key,this.value)}}class b{constructor(e){this.key=e,this.type=3}static create(e){const t=r.get(e);return"boolean"===typeof t?t?d.INSTANCE:h.INSTANCE:new b(e)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:0}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!e.getValue(this.key)}serialize(){return"!"+this.key}keys(){return[this.key]}negate(){return u.create(this.key)}}class _{constructor(e,t){this.key=e,this.regexp=t,this.type=7}static create(e,t){return new _(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.key<e.key)return-1;if(this.key>e.key)return 1;const t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return t<i?-1:t>i?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return this.key===e.key&&t===i}return!1}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return A.create(this)}}class A{constructor(e){this._actual=e,this.type=8}static create(e){return new A(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class w{constructor(e){this.expr=e,this.type=6}static create(e){return w._normalizeArr(e)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,i=this.expr.length;t<i;t++){const i=c(this.expr[t],e.expr[t]);if(0!==i)return i}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,i=this.expr.length;t<i;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,i=this.expr.length;t<i;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e){const t=[];let i=!1;for(const n of e)if(n)if(1!==n.type){if(0===n.type)return d.INSTANCE;6!==n.type?t.push(n):t.push(...n.expr)}else i=!0;if(0===t.length&&i)return h.INSTANCE;if(0!==t.length){if(1===t.length)return t[0];t.sort(c);while(t.length>1){const e=t[t.length-1];if(9!==e.type)break;t.pop();const i=t.pop(),n=v.create(e.expr.map(e=>w.create([e,i])));n&&(t.push(n),t.sort(c))}return new w(t)}}serialize(){return this.expr.map(e=>e.serialize()).join(" && ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let t of this.expr)e.push(t.negate());return v.create(e)}}class v{constructor(e){this.expr=e,this.type=9}static create(e){const t=v._normalizeArr(e);if(0!==t.length)return 1===t.length?t[0]:new v(t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,i=this.expr.length;t<i;t++){const i=c(this.expr[t],e.expr[t]);if(0!==i)return i}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,i=this.expr.length;t<i;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,i=this.expr.length;t<i;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e){let t=[],i=!1;if(e){for(let n=0,o=e.length;n<o;n++){const o=e[n];if(o)if(0!==o.type){if(1===o.type)return[h.INSTANCE];9!==o.type?t.push(o):t=t.concat(o.expr)}else i=!0}if(0===t.length&&i)return[d.INSTANCE];t.sort(c)}return t}serialize(){return this.expr.map(e=>e.serialize()).join(" || ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let i of this.expr)e.push(i.negate());const t=e=>9===e.type?e.expr:[e];while(e.length>1){const i=e.shift(),n=e.shift(),o=[];for(const e of t(i))for(const i of t(n))o.push(l.and(e,i));e.unshift(l.or(...o))}return e[0]}}class C extends u{constructor(e,t){super(e),this._defaultValue=t}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return l.not(this.key)}}const y=Object(o["c"])("contextKeyService"),S="setContext"},"0466":function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return a}));var n=i("0c1a"),o=i("963f"),s=i("c4c2");class r{constructor(e,t,i,n,o){this.value=e,this.selectionStart=t,this.selectionEnd=i,this.selectionStartPosition=n,this.selectionEndPosition=o}toString(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}static readFromTextArea(e){return new r(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new r(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,i){t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){if(e<=this.selectionStart){const t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){const t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}const t=this.value.substring(this.selectionStart,e);if(-1===t.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,t,1);const i=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,i,-1)}_finishDeduceEditorPosition(e,t,i){let n=0,o=-1;while(-1!==(o=t.indexOf("\n",o+1)))n++;return[e,i*t.length,n]}static selectedText(e){return new r(e,0,e.length,null,null)}static deduceInput(e,t,i){if(!e)return{text:"",replaceCharCnt:0};let o=e.value,s=e.selectionStart,r=e.selectionEnd,a=t.value,l=t.selectionStart,c=t.selectionEnd;const d=o.substring(r),h=a.substring(c),u=n["e"](d,h);a=a.substring(0,a.length-u),o=o.substring(0,o.length-u);const g=o.substring(0,s),p=a.substring(0,l),m=n["d"](g,p);if(a=a.substring(m),o=o.substring(m),l-=m,s-=m,c-=m,r-=m,i&&l===c&&o.length>0){let e=null;if(l===a.length?n["S"](a,o)&&(e=a.substring(o.length)):n["s"](a,o)&&(e=a.substring(0,a.length-o.length)),null!==e&&e.length>0&&(/\uFE0F/.test(e)||n["k"](e)))return{text:e,replaceCharCnt:0}}if(l===c){if(o===a&&0===s&&r===o.length&&l===a.length&&-1===a.indexOf("\n")&&n["l"](a))return{text:"",replaceCharCnt:0};const e=g.length-m;return{text:a,replaceCharCnt:e}}const f=r-s;return{text:a,replaceCharCnt:f}}}r.EMPTY=new r("",0,0,null,null);class a{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){const i=e*t,n=i+1,o=i+t;return new s["a"](n,1,o+1,1)}static fromEditorSelection(e,t,i,n,l){const c=a._getPageOfLine(i.startLineNumber,n),d=a._getRangeForPage(c,n),h=a._getPageOfLine(i.endLineNumber,n),u=a._getRangeForPage(h,n),g=d.intersectRanges(new s["a"](1,1,i.startLineNumber,i.startColumn));let p=t.getValueInRange(g,1);const m=t.getLineCount(),f=t.getLineMaxColumn(m),b=u.intersectRanges(new s["a"](i.endLineNumber,i.endColumn,m,f));let _,A=t.getValueInRange(b,1);if(c===h||c+1===h)_=t.getValueInRange(i,1);else{const e=d.intersectRanges(i),n=u.intersectRanges(i);_=t.getValueInRange(e,1)+String.fromCharCode(8230)+t.getValueInRange(n,1)}if(l){const e=500;p.length>e&&(p=p.substring(p.length-e,p.length)),A.length>e&&(A=A.substring(0,e)),_.length>2*e&&(_=_.substring(0,e)+String.fromCharCode(8230)+_.substring(_.length-e,_.length))}return new r(p+_+A,p.length,p.length+_.length,new o["a"](i.startLineNumber,i.startColumn),new o["a"](i.endLineNumber,i.endColumn))}}},"0544":function(e,t,i){"use strict";var n=i("7811"),o=i("6653");e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},"057e":function(e,t,i){"use strict";i.d(t,"b",(function(){return s})),i.d(t,"a",(function(){return r}));var n=i("4efe");const o=[];function s(e,t,i){o.push([e,new n["a"](t,[],i)])}function r(){return o}},"05b8":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("0128"),o=i("d4b8"),s=i("0c1a");class r{constructor(e,t){this.supportCodicons=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t=[],i="",o){e||(e=""),o&&(e=r.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===i&&n["e"](this.highlights,t)||(Array.isArray(t)||(t=[]),this.text=e,this.title=i,this.highlights=t,this.render())}render(){let e="",t=0;for(const i of this.highlights){if(i.end===i.start)continue;if(t<i.start){e+="<span>";const n=this.text.substring(t,i.start);e+=this.supportCodicons?Object(o["f"])(Object(s["u"])(n)):Object(s["u"])(n),e+="</span>",t=i.end}i.extraClasses?e+=`<span class="highlight ${i.extraClasses}">`:e+='<span class="highlight">';const n=this.text.substring(i.start,i.end);e+=this.supportCodicons?Object(o["f"])(Object(s["u"])(n)):Object(s["u"])(n),e+="</span>",t=i.end}if(t<this.text.length){e+="<span>";const i=this.text.substring(t);e+=this.supportCodicons?Object(o["f"])(Object(s["u"])(i)):Object(s["u"])(i),e+="</span>"}this.domNode.innerHTML=e,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}static escapeNewLines(e,t){let i=0,n=0;return e.replace(/\r\n|\r|\n/g,(e,o)=>{n="\r\n"===e?-1:0,o+=i;for(const i of t)i.end<=o||(i.start>=o&&(i.start+=n),i.end>=o&&(i.end+=n));return i+=n,"⏎"})}}},"05cf":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n,o=i("03db");(function(e){e.editorSimpleInput=new o["c"]("editorSimpleInput",!1),e.editorTextFocus=new o["c"]("editorTextFocus",!1),e.focus=new o["c"]("editorFocus",!1),e.textInputFocus=new o["c"]("textInputFocus",!1),e.readOnly=new o["c"]("editorReadonly",!1),e.columnSelection=new o["c"]("editorColumnSelection",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new o["c"]("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new o["c"]("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new o["c"]("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInWalkThroughSnippet=new o["c"]("isInEmbeddedEditor",!1),e.canUndo=new o["c"]("canUndo",!1),e.canRedo=new o["c"]("canRedo",!1),e.hoverVisible=new o["c"]("editorHoverVisible",!1),e.inCompositeEditor=new o["c"]("inCompositeEditor",void 0),e.notInCompositeEditor=e.inCompositeEditor.toNegated(),e.languageId=new o["c"]("editorLangId",""),e.hasCompletionItemProvider=new o["c"]("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new o["c"]("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new o["c"]("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new o["c"]("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new o["c"]("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new o["c"]("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new o["c"]("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new o["c"]("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new o["c"]("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new o["c"]("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new o["c"]("editorHasReferenceProvider",!1),e.hasRenameProvider=new o["c"]("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new o["c"]("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new o["c"]("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new o["c"]("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new o["c"]("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new o["c"]("editorHasMultipleDocumentSelectionFormattingProvider",!1)})(n||(n={}))},"07760":function(e,t,i){var n=i("e06f");t=n(!1),t.push([e.i,".monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}",""]),e.exports=t},"08e2":function(e,t,i){"use strict";i.r(t);var n=i("0c52"),o=i("775c"),s=i("a766"),r=i("916a"),a=i("32b1"),l=i("fe32"),c=i("0169"),d=i("a698"),h=i("8a25"),u=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},g=function(e,t){return function(i,n){t(i,n,e)}};let p=class e extends o["a"]{constructor(e,t,i,o){super(),this._modelService=t,this._themeService=i,this._configurationService=o,this._editor=e,this._tokenizeViewport=new n["d"](()=>this._tokenizeViewportNow(),100),this._outstandingRequests=[],this._register(this._editor.onDidScrollChange(()=>{this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModelContent(e=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(r["k"].onDidChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(h["b"])&&(this._cancelAll(),this._tokenizeViewport.schedule())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))}static _getSemanticColoringProvider(e){const t=r["k"].ordered(e);return t.length>0?t[0]:null}_cancelAll(){for(const e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,i=this._outstandingRequests.length;t<i;t++)if(this._outstandingRequests[t]===e)return void this._outstandingRequests.splice(t,1)}_tokenizeViewportNow(){if(!this._editor.hasModel())return;const t=this._editor.getModel();if(t.hasSemanticTokens())return;if(!Object(h["c"])(t,this._themeService,this._configurationService))return;const i=e._getSemanticColoringProvider(t);if(!i)return;const n=this._modelService.getSemanticTokensProviderStyling(i),o=this._editor.getVisibleRangesPlusViewportAboveBelow();this._outstandingRequests=this._outstandingRequests.concat(o.map(e=>this._requestRange(t,e,i,n)))}_requestRange(e,t,i,o){const s=e.getVersionId(),r=Object(n["f"])(n=>Promise.resolve(i.provideDocumentRangeSemanticTokens(e,t,n)));return r.then(i=>{i&&!e.isDisposed()&&e.getVersionId()===s&&e.setPartialSemanticTokens(t,Object(l["b"])(i,o,e.getLanguageIdentifier()))}).then(()=>this._removeOutstandingRequest(r),()=>this._removeOutstandingRequest(r)),r}};p.ID="editor.contrib.viewportSemanticTokens",p=u([g(1,a["a"]),g(2,c["c"]),g(3,d["a"])],p),Object(s["m"])(p.ID,p)},"08f7":function(e,t,i){"use strict";i.r(t),i.d(t,"DeleteWordPartLeft",(function(){return c})),i.d(t,"DeleteWordPartRight",(function(){return d})),i.d(t,"WordPartLeftCommand",(function(){return h})),i.d(t,"CursorWordPartLeft",(function(){return u})),i.d(t,"CursorWordPartLeftSelect",(function(){return g})),i.d(t,"WordPartRightCommand",(function(){return p})),i.d(t,"CursorWordPartRight",(function(){return m})),i.d(t,"CursorWordPartRightSelect",(function(){return f}));var n=i("a766"),o=i("c577"),s=i("c4c2"),r=i("05cf"),a=i("d3cd"),l=i("3224");class c extends a["DeleteWordCommand"]{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:r["a"].writable,kbOpts:{kbExpr:r["a"].textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(e,t,i,n,r){let a=o["b"].deleteWordPartLeft(e,t,i,n);return a||new s["a"](1,1,1,1)}}class d extends a["DeleteWordCommand"]{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:r["a"].writable,kbOpts:{kbExpr:r["a"].textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(e,t,i,n,r){let a=o["b"].deleteWordPartRight(e,t,i,n);if(a)return a;const l=t.getLineCount(),c=t.getLineMaxColumn(l);return new s["a"](l,c,l,c)}}class h extends a["MoveWordCommand"]{_move(e,t,i,n){return o["b"].moveWordPartLeft(e,t,i)}}class u extends h{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:r["a"].textInputFocus,primary:0,mac:{primary:783},weight:100}})}}l["a"].registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");class g extends h{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:r["a"].textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}l["a"].registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class p extends a["MoveWordCommand"]{_move(e,t,i,n){return o["b"].moveWordPartRight(e,t,i)}}class m extends p{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:r["a"].textInputFocus,primary:0,mac:{primary:785},weight:100}})}}class f extends p{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:r["a"].textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}Object(n["l"])(new c),Object(n["l"])(new d),Object(n["l"])(new u),Object(n["l"])(new g),Object(n["l"])(new m),Object(n["l"])(new f)},"09ab":function(e,t,i){"use strict";function n(e){return e<0?0:e>255?255:0|e}function o(e){return e<0?0:e>4294967295?4294967295:0|e}i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o}))},"09ca":function(e,t,i){var n=i("d252");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("7cc1").default;o("415628be",n,!0,{sourceMap:!1,shadowMode:!1})},"0a3a":function(e,t,i){var n=i("e06f");t=n(!1),t.push([e.i,".monaco-editor .lines-content .cigr,.monaco-editor .lines-content .cigra{position:absolute}",""]),e.exports=t},"0ade":function(e,t,i){"use strict";i.r(t);var n=i("7b7b");Object(n["a"])({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return i.e("chunk-2d207746").then(i.bind(null,"a133"))}})},"0b22":function(e,t,i){var n=i("e06f");t=n(!1),t.push([e.i,'.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{visibility:visible}.monaco-editor .suggest-widget.with-status-bar>.tree{margin-bottom:18px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{min-height:18px;opacity:.5;color:inherit}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}',""]),e.exports=t},"0c1a":function(e,t,i){"use strict";function n(e){return!e||"string"!==typeof e||0===e.trim().length}function o(e,t,i="0"){const n=""+e,o=[n];for(let s=n.length;s<t;s++)o.push(i);return o.reverse().join("")}i.d(t,"D",(function(){return n})),i.d(t,"M",(function(){return o})),i.d(t,"x",(function(){return r})),i.d(t,"u",(function(){return a})),i.d(t,"v",(function(){return l})),i.d(t,"W",(function(){return c})),i.d(t,"K",(function(){return d})),i.d(t,"Q",(function(){return h})),i.d(t,"p",(function(){return u})),i.d(t,"V",(function(){return g})),i.d(t,"S",(function(){return p})),i.d(t,"s",(function(){return m})),i.d(t,"q",(function(){return f})),i.d(t,"P",(function(){return b})),i.d(t,"O",(function(){return _})),i.d(t,"w",(function(){return A})),i.d(t,"z",(function(){return w})),i.d(t,"J",(function(){return v})),i.d(t,"f",(function(){return C})),i.d(t,"h",(function(){return y})),i.d(t,"g",(function(){return S})),i.d(t,"i",(function(){return x})),i.d(t,"H",(function(){return E})),i.d(t,"I",(function(){return k})),i.d(t,"t",(function(){return L})),i.d(t,"T",(function(){return I})),i.d(t,"d",(function(){return M})),i.d(t,"e",(function(){return O})),i.d(t,"F",(function(){return T})),i.d(t,"G",(function(){return R})),i.d(t,"j",(function(){return P})),i.d(t,"A",(function(){return B})),i.d(t,"L",(function(){return j})),i.d(t,"N",(function(){return W})),i.d(t,"r",(function(){return V})),i.d(t,"m",(function(){return z})),i.d(t,"k",(function(){return Q})),i.d(t,"B",(function(){return K})),i.d(t,"a",(function(){return q})),i.d(t,"n",(function(){return G})),i.d(t,"l",(function(){return J})),i.d(t,"E",(function(){return X})),i.d(t,"C",(function(){return Z})),i.d(t,"b",(function(){return $})),i.d(t,"U",(function(){return ee})),i.d(t,"o",(function(){return te})),i.d(t,"R",(function(){return ie})),i.d(t,"y",(function(){return ne})),i.d(t,"c",(function(){return oe}));const s=/{(\d+)}/g;function r(e,...t){return 0===t.length?e:e.replace(s,(function(e,i){const n=parseInt(i,10);return isNaN(n)||n<0||n>=t.length?e:t[n]}))}function a(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){const i=d(e,t);return h(i,t)}function d(e,t){if(!e||!t)return e;const i=t.length;if(0===i||0===e.length)return e;let n=0;while(e.indexOf(t,n)===n)n+=i;return e.substring(n)}function h(e,t){if(!e||!t)return e;const i=t.length,n=e.length;if(0===i||0===n)return e;let o=n,s=-1;while(1){if(s=e.lastIndexOf(t,o-1),-1===s||s+i!==o)break;if(0===s)return"";o=s}return e.substring(0,o)}function u(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function g(e){return e.replace(/\*/g,"")}function p(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let i=0;i<t.length;i++)if(e[i]!==t[i])return!1;return!0}function m(e,t){const i=e.length-t.length;return i>0?e.indexOf(t,i)===i:0===i&&e===t}function f(e,t,i={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(e,n)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;const t=e.exec("");return!(!t||0!==e.lastIndex)}function _(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function A(e){for(let t=0,i=e.length;t<i;t++){const i=e.charCodeAt(t);if(32!==i&&9!==i)return t}return-1}function w(e,t=0,i=e.length){for(let n=t;n<i;n++){const i=e.charCodeAt(n);if(32!==i&&9!==i)return e.substring(t,n)}return e.substring(t,i)}function v(e,t=e.length-1){for(let i=t;i>=0;i--){const t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return-1}function C(e,t){return e<t?-1:e>t?1:0}function y(e,t,i=0,n=e.length,o=0,s=t.length){for(;i<n&&o<s;i++,o++){let n=e.charCodeAt(i),s=t.charCodeAt(o);if(n<s)return-1;if(n>s)return 1}const r=n-i,a=s-o;return r<a?-1:r>a?1:0}function S(e,t){return x(e,t,0,e.length,0,t.length)}function x(e,t,i=0,n=e.length,o=0,s=t.length){for(;i<n&&o<s;i++,o++){let r=e.charCodeAt(i),a=t.charCodeAt(o);if(r===a)continue;const l=r-a;if((32!==l||!k(a))&&(-32!==l||!k(r)))return E(r)&&E(a)?l:y(e.toLowerCase(),t.toLowerCase(),i,n,o,s)}const r=n-i,a=s-o;return r<a?-1:r>a?1:0}function E(e){return e>=97&&e<=122}function k(e){return e>=65&&e<=90}function D(e){return E(e)||k(e)}function L(e,t){return e.length===t.length&&N(e,t)}function N(e,t,i=e.length){for(let n=0;n<i;n++){const i=e.charCodeAt(n),o=t.charCodeAt(n);if(i!==o)if(D(i)&&D(o)){const e=Math.abs(i-o);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(i).toLowerCase()!==String.fromCharCode(o).toLowerCase())return!1}return!0}function I(e,t){const i=t.length;return!(t.length>e.length)&&N(e,t,i)}function M(e,t){let i,n=Math.min(e.length,t.length);for(i=0;i<n;i++)if(e.charCodeAt(i)!==t.charCodeAt(i))return i;return n}function O(e,t){let i,n=Math.min(e.length,t.length);const o=e.length-1,s=t.length-1;for(i=0;i<n;i++)if(e.charCodeAt(o-i)!==t.charCodeAt(s-i))return i;return n}function T(e){return 55296<=e&&e<=56319}function R(e){return 56320<=e&&e<=57343}function P(e,t){return t-56320+(e-55296<<10)+65536}function B(e,t,i){const n=e.charCodeAt(i);if(T(n)&&i+1<t){const t=e.charCodeAt(i+1);if(R(t))return P(n,t)}return n}function F(e,t){const i=e.charCodeAt(t-1);if(R(i)&&t>1){const n=e.charCodeAt(t-2);if(T(n))return P(n,i)}return i}function j(e,t){const i=se.getInstance(),n=t,o=e.length,s=B(e,o,t);t+=s>=65536?2:1;let r=i.getGraphemeBreakType(s);while(t<o){const n=B(e,o,t),s=i.getGraphemeBreakType(n);if(oe(r,s))break;t+=n>=65536?2:1,r=s}return t-n}function W(e,t){const i=se.getInstance(),n=t,o=F(e,t);t-=o>=65536?2:1;let s=i.getGraphemeBreakType(o);while(t>0){const n=F(e,t),o=i.getGraphemeBreakType(n);if(oe(o,s))break;t-=n>=65536?2:1,s=o}return n-t}function V(e){const t=e.byteLength,i=[];let n=0;while(n<t){const o=e[n];let s;if(s=o>=240&&n+3<t?(7&e[n++])<<18>>>0|(63&e[n++])<<12>>>0|(63&e[n++])<<6>>>0|(63&e[n++])<<0>>>0:o>=224&&n+2<t?(15&e[n++])<<12>>>0|(63&e[n++])<<6>>>0|(63&e[n++])<<0>>>0:o>=192&&n+1<t?(31&e[n++])<<6>>>0|(63&e[n++])<<0>>>0:e[n++],s>=0&&s<=55295||s>=57344&&s<=65535)i.push(String.fromCharCode(s));else if(s>=65536&&s<=1114111){const e=s-65536,t=55296+((1047552&e)>>>10),n=56320+((1023&e)>>>0);i.push(String.fromCharCode(t)),i.push(String.fromCharCode(n))}else i.push(String.fromCharCode(65533))}return i.join("")}const H=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function z(e){return H.test(e)}const U=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function Q(e){return U.test(e)}const Y=/^[\t\n\r\x20-\x7E]*$/;function K(e){return Y.test(e)}const q=/[\u2028\u2029]/;function G(e){return q.test(e)}function J(e){for(let t=0,i=e.length;t<i;t++)if(X(e.charCodeAt(t)))return!0;return!1}function X(e){return e=+e,e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Z(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const $=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ie(e){const t=26;return e%=2*t,e<t?String.fromCharCode(97+e):String.fromCharCode(65+e-t)}function ne(e){const t=se.getInstance();return t.getGraphemeBreakType(e)}function oe(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class se{constructor(){this._data=re()}static getInstance(){return se._INSTANCE||(se._INSTANCE=new se),se._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,i=t.length/3;let n=1;while(n<=i)if(e<t[3*n])n*=2;else{if(!(e>t[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}function re(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432