Archived
1
0
This repository has been archived on 2024-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
cyca/public/js/import.js

1 line
399 KiB
JavaScript
Raw Normal View History

2022-01-12 00:35:37 +01:00
(()=>{var t={3834:(t,e)=>{"use strict";const s=!0,r=!0,i=!0,n=!0;class o{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.updateContext=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=null!=e.binop?e.binop:null,this.updateContext=null}}const a=new Map;function c(t,e={}){e.keyword=t;const s=new o(t,e);return a.set(t,s),s}function l(t,e){return new o(t,{beforeExpr:s,binop:e})}const h={num:new o("num",{startsExpr:r}),bigint:new o("bigint",{startsExpr:r}),decimal:new o("decimal",{startsExpr:r}),regexp:new o("regexp",{startsExpr:r}),string:new o("string",{startsExpr:r}),name:new o("name",{startsExpr:r}),eof:new o("eof"),bracketL:new o("[",{beforeExpr:s,startsExpr:r}),bracketHashL:new o("#[",{beforeExpr:s,startsExpr:r}),bracketBarL:new o("[|",{beforeExpr:s,startsExpr:r}),bracketR:new o("]"),bracketBarR:new o("|]"),braceL:new o("{",{beforeExpr:s,startsExpr:r}),braceBarL:new o("{|",{beforeExpr:s,startsExpr:r}),braceHashL:new o("#{",{beforeExpr:s,startsExpr:r}),braceR:new o("}"),braceBarR:new o("|}"),parenL:new o("(",{beforeExpr:s,startsExpr:r}),parenR:new o(")"),comma:new o(",",{beforeExpr:s}),semi:new o(";",{beforeExpr:s}),colon:new o(":",{beforeExpr:s}),doubleColon:new o("::",{beforeExpr:s}),dot:new o("."),question:new o("?",{beforeExpr:s}),questionDot:new o("?."),arrow:new o("=>",{beforeExpr:s}),template:new o("template"),ellipsis:new o("...",{beforeExpr:s}),backQuote:new o("`",{startsExpr:r}),dollarBraceL:new o("${",{beforeExpr:s,startsExpr:r}),at:new o("@"),hash:new o("#",{startsExpr:r}),interpreterDirective:new o("#!..."),eq:new o("=",{beforeExpr:s,isAssign:true}),assign:new o("_=",{beforeExpr:s,isAssign:true}),incDec:new o("++/--",{prefix:n,postfix:!0,startsExpr:r}),bang:new o("!",{beforeExpr:s,prefix:n,startsExpr:r}),tilde:new o("~",{beforeExpr:s,prefix:n,startsExpr:r}),pipeline:l("|>",0),nullishCoalescing:l("??",1),logicalOR:l("||",1),logicalAND:l("&&",2),bitwiseOR:l("|",3),bitwiseXOR:l("^",4),bitwiseAND:l("&",5),equality:l("==/!=/===/!==",6),relational:l("</>/<=/>=",7),bitShift:l("<</>>/>>>",8),plusMin:new o("+/-",{beforeExpr:s,binop:9,prefix:n,startsExpr:r}),modulo:new o("%",{beforeExpr:s,binop:10,startsExpr:r}),star:new o("*",{binop:10}),slash:l("/",10),exponent:new o("**",{beforeExpr:s,binop:11,rightAssociative:!0}),_break:c("break"),_case:c("case",{beforeExpr:s}),_catch:c("catch"),_continue:c("continue"),_debugger:c("debugger"),_default:c("default",{beforeExpr:s}),_do:c("do",{isLoop:i,beforeExpr:s}),_else:c("else",{beforeExpr:s}),_finally:c("finally"),_for:c("for",{isLoop:i}),_function:c("function",{startsExpr:r}),_if:c("if"),_return:c("return",{beforeExpr:s}),_switch:c("switch"),_throw:c("throw",{beforeExpr:s,prefix:n,startsExpr:r}),_try:c("try"),_var:c("var"),_const:c("const"),_while:c("while",{isLoop:i}),_with:c("with"),_new:c("new",{beforeExpr:s,startsExpr:r}),_this:c("this",{startsExpr:r}),_super:c("super",{startsExpr:r}),_class:c("class",{startsExpr:r}),_extends:c("extends",{beforeExpr:s}),_export:c("export"),_import:c("import",{startsExpr:r}),_null:c("null",{startsExpr:r}),_true:c("true",{startsExpr:r}),_false:c("false",{startsExpr:r}),_in:c("in",{beforeExpr:s,binop:7}),_instanceof:c("instanceof",{beforeExpr:s,binop:7}),_typeof:c("typeof",{beforeExpr:s,prefix:n,startsExpr:r}),_void:c("void",{beforeExpr:s,prefix:n,startsExpr:r}),_delete:c("delete",{beforeExpr:s,prefix:n,startsExpr:r})},p=/\r\n?|[\n\u2028\u2029]/,u=new RegExp(p.source,"g");function d(t){switch(t){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function m(t){switch(t){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8