__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
import{parser as M}from"@lezer/javascript";import{LRLanguage as _,syntaxTree as S,indentNodeProp as R,foldNodeProp as W,continuedIndent as $,delimitedIndent as Z,flatIndent as z,foldInside as H,sublanguageProp as T,defineLanguageFacet as K,LanguageSupport as q}from"@codemirror/language";import{EditorSelection as G}from"@codemirror/state";import{EditorView as Q}from"@codemirror/view";import{snippetCompletion as p,ifNotIn as U,completeFromList as Y}from"@codemirror/autocomplete";import{NodeWeakMap as ee,IterMode as te}from"@lezer/common";const w=[p("function ${name}(${params}) {\n	${}\n}",{label:"function",detail:"definition",type:"keyword"}),p("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n	${}\n}",{label:"for",detail:"loop",type:"keyword"}),p("for (let ${name} of ${collection}) {\n	${}\n}",{label:"for",detail:"of loop",type:"keyword"}),p("do {\n	${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),p("while (${}) {\n	${}\n}",{label:"while",detail:"loop",type:"keyword"}),p(`try {
	\${}
} catch (\${error}) {
	\${}
}`,{label:"try",detail:"/ catch block",type:"keyword"}),p("if (${}) {\n	${}\n}",{label:"if",detail:"block",type:"keyword"}),p(`if (\${}) {
	\${}
} else {
	\${}
}`,{label:"if",detail:"/ else block",type:"keyword"}),p(`class \${name} {
	constructor(\${params}) {
		\${}
	}
}`,{label:"class",detail:"definition",type:"keyword"}),p('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),p('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],J=w.concat([p("interface ${name} {\n	${}\n}",{label:"interface",detail:"definition",type:"keyword"}),p("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),p("enum ${name} {\n	${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),X=new ee,I=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function y(e){return(t,r)=>{let n=t.node.getChild("VariableDefinition");return n&&r(n,e),!0}}const ne=["FunctionDeclaration"],re={FunctionDeclaration:y("function"),ClassDeclaration:y("class"),ClassExpression:()=>!0,EnumDeclaration:y("constant"),TypeAliasDeclaration:y("type"),NamespaceDeclaration:y("namespace"),VariableDefinition(e,t){e.matchContext(ne)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function x(e,t){let r=X.get(t);if(r)return r;let n=[],o=!0;function i(a,l){let c=e.sliceString(a.from,a.to);n.push({label:c,type:l})}return t.cursor(te.IncludeAnonymous).iterate(a=>{if(o)o=!1;else if(a.name){let l=re[a.name];if(l&&l(a,i)||I.has(a.name))return!1}else if(a.to-a.from>8192){for(let l of x(e,a.node))n.push(l);return!1}}),X.set(t,n),n}const h=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,k=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function D(e){let t=S(e.state).resolveInner(e.pos,-1);if(k.indexOf(t.name)>-1)return null;let r=t.name=="VariableName"||t.to-t.from<20&&h.test(e.state.sliceDoc(t.from,t.to));if(!r&&!e.explicit)return null;let n=[];for(let o=t;o;o=o.parent)I.has(o.name)&&(n=n.concat(x(e.state.doc,o)));return{options:n,from:r?t.from:e.pos,validFor:h}}function v(e,t,r){var n;let o=[];for(;;){let i=t.firstChild,a;if(i?.name=="VariableName")return o.push(e(i)),{path:o.reverse(),name:r};if(i?.name=="MemberExpression"&&((n=a=i.lastChild)===null||n===void 0?void 0:n.name)=="PropertyName")o.push(e(a)),t=i;else return null}}function E(e){let t=n=>e.state.doc.sliceString(n.from,n.to),r=S(e.state).resolveInner(e.pos,-1);return r.name=="PropertyName"?v(t,r.parent,t(r)):(r.name=="."||r.name=="?.")&&r.parent.name=="MemberExpression"?v(t,r.parent,""):k.indexOf(r.name)>-1?null:r.name=="VariableName"||r.to-r.from<20&&h.test(t(r))?{path:[],name:t(r)}:r.name=="MemberExpression"?v(t,r,""):e.explicit?{path:[],name:""}:null}function oe(e,t){let r=[],n=new Set;for(let o=0;;o++){for(let a of(Object.getOwnPropertyNames||Object.keys)(e)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(a)||n.has(a))continue;n.add(a);let l;try{l=e[a]}catch{continue}r.push({label:a,type:typeof l=="function"?/^[A-Z]/.test(a)?"class":t?"function":"method":t?"variable":"property",boost:-o})}let i=Object.getPrototypeOf(e);if(!i)return r;e=i}}function ae(e){let t=new Map;return r=>{let n=E(r);if(!n)return null;let o=e;for(let a of n.path)if(o=o[a],!o)return null;let i=t.get(o);return i||t.set(o,i=oe(o,!n.path.length)),{from:r.pos-n.name.length,options:i,validFor:h}}}const m=_.define({name:"javascript",parser:M.configure({props:[R.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:z,SwitchBody:e=>{let t=e.textAfter,r=/^\s*\}/.test(t),n=/^\s*(case|default)\b/.test(t);return e.baseIndent+(r?0:n?1:2)*e.unit},Block:Z({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":$({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),W.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":H,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),A={test:e=>/^JSX/.test(e.name),facet:K({commentTokens:{block:{open:"{/*",close:"*/}"}}})},N=m.configure({dialect:"ts"},"typescript"),O=m.configure({dialect:"jsx",props:[T.add(e=>e.isTop?[A]:void 0)]}),P=m.configure({dialect:"jsx ts",props:[T.add(e=>e.isTop?[A]:void 0)]},"typescript");let L=e=>({label:e,type:"keyword"});const F="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(L),ie=F.concat(["declare","implements","private","protected","public"].map(L));function le(e={}){let t=e.jsx?e.typescript?P:O:e.typescript?N:m,r=e.typescript?J.concat(ie):w.concat(F);return new q(t,[m.data.of({autocomplete:U(k,Y(r))}),m.data.of({autocomplete:D}),e.jsx?B:[]])}function se(e){for(;;){if(e.name=="JSXOpenTag"||e.name=="JSXSelfClosingTag"||e.name=="JSXFragmentTag")return e;if(e.name=="JSXEscape"||!e.parent)return null;e=e.parent}}function j(e,t,r=e.length){for(let n=t?.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return e.sliceString(n.from,Math.min(n.to,r));return""}const pe=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),B=Q.inputHandler.of((e,t,r,n,o)=>{if((pe?e.composing:e.compositionStarted)||e.state.readOnly||t!=r||n!=">"&&n!="/"||!m.isActiveAt(e.state,t,-1))return!1;let i=o(),{state:a}=i,l=a.changeByRange(c=>{var u;let{head:s}=c,f=S(a).resolveInner(s-1,-1),g;if(f.name=="JSXStartTag"&&(f=f.parent),!(a.doc.sliceString(s-1,s)!=n||f.name=="JSXAttributeValue"&&f.to>s)){if(n==">"&&f.name=="JSXFragmentTag")return{range:c,changes:{from:s,insert:"</>"}};if(n=="/"&&f.name=="JSXStartCloseTag"){let d=f.parent,b=d.parent;if(b&&d.from==s-2&&((g=j(a.doc,b.firstChild,s))||((u=b.firstChild)===null||u===void 0?void 0:u.name)=="JSXFragmentTag")){let C=`${g}>`;return{range:G.cursor(s+C.length,-1),changes:{from:s,insert:C}}}}else if(n==">"){let d=se(f);if(d&&d.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(s,s+2))&&(g=j(a.doc,d,s)))return{range:c,changes:{from:s,insert:`</${g}>`}}}}return{range:c}});return l.changes.empty?!1:(e.dispatch([i,a.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function ce(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((r,n)=>{var o;!((o=r.meta.docs)===null||o===void 0)&&o.recommended&&(t.rules[n]=2)})),r=>{let{state:n}=r,o=[];for(let{from:i,to:a}of m.findRegions(n)){let l=n.doc.lineAt(i),c={line:l.number-1,col:i-l.from,pos:i};for(let u of e.verify(n.sliceDoc(i,a),t))o.push(fe(u,n.doc,c))}return o}}function V(e,t,r,n){return r.line(e+n.line).from+t+(e==1?n.col-1:-1)}function fe(e,t,r){let n=V(e.line,e.column,t,r),o={from:n,to:e.endLine!=null&&e.endColumn!=1?V(e.endLine,e.endColumn,t,r):n,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:e.severity==1?"warning":"error"};if(e.fix){let{range:i,text:a}=e.fix,l=i[0]+r.pos-n,c=i[1]+r.pos-n;o.actions=[{name:"fix",apply(u,s){u.dispatch({changes:{from:s+l,to:s+c,insert:a},scrollIntoView:!0})}}]}return o}export{B as autoCloseTags,E as completionPath,ce as esLint,le as javascript,m as javascriptLanguage,O as jsxLanguage,D as localCompletionSource,ae as scopeCompletionSource,w as snippets,P as tsxLanguage,N as typescriptLanguage,J as typescriptSnippets};

Filemanager

Name Type Size Permission Actions
codemirror-autocomplete.js File 86.09 KB 0664
codemirror-autocomplete.min.js File 36.66 KB 0664
codemirror-autocomplete.min.js.gz File 12.98 KB 0664
codemirror-commands.js File 79.05 KB 0664
codemirror-commands.min.js File 27.41 KB 0664
codemirror-commands.min.js.gz File 9.1 KB 0664
codemirror-lang-css.js File 15.59 KB 0664
codemirror-lang-css.min.js File 10.97 KB 0664
codemirror-lang-css.min.js.gz File 4.46 KB 0664
codemirror-lang-html.js File 25.25 KB 0664
codemirror-lang-html.min.js File 14.09 KB 0664
codemirror-lang-html.min.js.gz File 5.38 KB 0664
codemirror-lang-javascript.js File 19.52 KB 0664
codemirror-lang-javascript.min.js File 8.95 KB 0664
codemirror-lang-javascript.min.js.gz File 3.75 KB 0664
codemirror-lang-json.js File 1.83 KB 0664
codemirror-lang-json.min.js File 892 B 0664
codemirror-lang-json.min.js.gz File 536 B 0664
codemirror-lang-markdown.js File 18.99 KB 0664
codemirror-lang-markdown.min.js File 8 KB 0664
codemirror-lang-markdown.min.js.gz File 3.4 KB 0664
codemirror-lang-php.js File 2.81 KB 0664
codemirror-lang-php.min.js File 1.5 KB 0664
codemirror-lang-php.min.js.gz File 831 B 0664
codemirror-lang-xml.js File 13.08 KB 0664
codemirror-lang-xml.min.js File 6.14 KB 0664
codemirror-lang-xml.min.js.gz File 2.42 KB 0664
codemirror-language.js File 105.89 KB 0664
codemirror-language.min.js File 39.38 KB 0664
codemirror-language.min.js.gz File 14.25 KB 0664
codemirror-lint.js File 34.31 KB 0664
codemirror-lint.min.js File 15.77 KB 0664
codemirror-lint.min.js.gz File 6.14 KB 0664
codemirror-search.js File 48.82 KB 0664
codemirror-search.min.js File 21.51 KB 0664
codemirror-search.min.js.gz File 7.22 KB 0664
codemirror-state.js File 145.05 KB 0664
codemirror-state.min.js File 47.62 KB 0664
codemirror-state.min.js.gz File 15.9 KB 0664
codemirror-theme-one-dark.js File 4.67 KB 0664
codemirror-theme-one-dark.min.js File 2.71 KB 0664
codemirror-theme-one-dark.min.js.gz File 1.16 KB 0664
codemirror-view.js File 469 KB 0664
codemirror-view.min.js File 192.01 KB 0664
codemirror-view.min.js.gz File 61.67 KB 0664
lezer-common.js File 79.5 KB 0664
lezer-common.min.js File 26.62 KB 0664
lezer-common.min.js.gz File 9.18 KB 0664
lezer-css.js File 16.86 KB 0664
lezer-css.min.js File 14.44 KB 0664
lezer-css.min.js.gz File 6.8 KB 0664
lezer-highlight.js File 28.6 KB 0664
lezer-highlight.min.js File 6.99 KB 0664
lezer-highlight.min.js.gz File 2.82 KB 0664
lezer-html.js File 20.28 KB 0664
lezer-html.min.js File 14.04 KB 0664
lezer-html.min.js.gz File 6.1 KB 0664
lezer-javascript.js File 78.86 KB 0664
lezer-javascript.min.js File 76 KB 0664
lezer-javascript.min.js.gz File 29.96 KB 0664
lezer-json.js File 1.93 KB 0664
lezer-json.min.js File 1.67 KB 0664
lezer-json.min.js.gz File 1.05 KB 0664
lezer-lr.js File 69.51 KB 0664
lezer-lr.min.js File 25.81 KB 0664
lezer-lr.min.js.gz File 8.6 KB 0664
lezer-markdown.js File 83.48 KB 0664
lezer-markdown.min.js File 34.65 KB 0664
lezer-markdown.min.js.gz File 11.65 KB 0664
lezer-php.js File 98.54 KB 0664
lezer-php.min.js File 94.23 KB 0664
lezer-php.min.js.gz File 27.08 KB 0664
lezer-xml.js File 10.44 KB 0664
lezer-xml.min.js File 8.43 KB 0664
lezer-xml.min.js.gz File 3.54 KB 0664
Filemanager