var i,c;function C(){if(c)return i;c=1;const l=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],d=["true","false","null","undefined","NaN","Infinity"],u=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],g=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],A=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],y=[].concat(A,u,g);function f(n){const E=["npm","print"],b=["yes","no","on","off"],m=["then","unless","until","loop","by","when","and","or","is","isnt","not"],p=["var","const","let","function","static"],S=N=>v=>!N.includes(v),r={keyword:l.concat(m).filter(S(p)),literal:d.concat(b),built_in:y.concat(E)},e="[A-Za-z$_][0-9A-Za-z$_]*",t={className:"subst",begin:/#\{/,end:/\}/,keywords:r},a=[n.BINARY_NUMBER_MODE,n.inherit(n.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[n.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,t]},{begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,t]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[t,n.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+e},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];t.contains=a;const B=n.inherit(n.TITLE_MODE,{begin:e}),s="(\\(.*\\)\\s*)?\\B[-=]>",o={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:r,contains:["self"].concat(a)}]},I={variants:[{match:[/class\s+/,e,/\s+extends\s+/,e]},{match:[/class\s+/,e]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:r,illegal:/\/\*/,contains:[...a,n.COMMENT("###","###"),n.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+e+"\\s*=\\s*"+s,end:"[-=]>",returnBegin:!0,contains:[B,o]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:s,end:"[-=]>",returnBegin:!0,contains:[o]}]},I,{begin:e+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return i=f,i}export{C as r};
//# sourceMappingURL=coffeescript-BPozQeaX.chunk.mjs.map
