function n(n){return n>=48&&n<=57}function r(r){return n(r)||r>=65&&r<=70||r>=97&&r<=102}function t(n){return n>=65&&n<=90}function u(n){return n>=97&&n<=122}function e(n){return t(n)||u(n)}function o(n){return n>=128}function c(n){return e(n)||o(n)||95===n}function f(r){return c(r)||n(r)||45===r}function i(n){return n>=0&&n<=8||11===n||n>=14&&n<=31||127===n}function l(n){return 10===n||13===n||12===n}function a(n){return l(n)||32===n||9===n}function g(n,r){return 92===n&&(!l(r)&&0!==r)}function h(n,r,t){return 45===n?c(r)||45===r||g(r,t):!!c(n)||92===n&&g(n,r)}function p(r,t,u){return 43===r||45===r?n(t)?2:46===t&&n(u)?3:0:46===r?n(t)?2:0:n(r)?1:0}function s(n){return 65279===n||65534===n?1:0}const w=new Array(128),x=128,y=130,A=131,b=132,d=133;for(let r=0;r<w.length;r++)w[r]=(a(r)?130:n(r)&&131)||c(r)&&132||i(r)&&133||r||128;function j(n){return n<128?w[n]:132}export{A as DigitCategory,x as EofCategory,b as NameStartCategory,d as NonPrintableCategory,y as WhiteSpaceCategory,j as charCodeCategory,s as isBOM,n as isDigit,r as isHexDigit,h as isIdentifierStart,e as isLetter,u as isLowercaseLetter,f as isName,c as isNameStart,l as isNewline,o as isNonAscii,i as isNonPrintable,p as isNumberStart,t as isUppercaseLetter,g as isValidEscape,a as isWhiteSpace};