@batijs/core 0.0.43 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1864,7 +1864,7 @@ import*as e from"tty";import*as t from"util";import*as r from"os";import*as n fr
|
|
|
1864
1864
|
}
|
|
1865
1865
|
`:n.template.statement.ast`
|
|
1866
1866
|
var ${i.name} = ${r};
|
|
1867
|
-
`}a.loc=i.loc,u.push(a),u.push(...(0,t.buildNamespaceInitStatements)(o,i,v))}(0,t.ensureStatementsHoisted)(u),e.unshiftContainer("body",u),e.get("body").forEach((e=>{-1!==u.indexOf(e.node)&&e.isVariableDeclaration()&&e.scope.registerDeclaration(e)}))}}}}}));return gz.default=s,gz}function xz(){return fz||(fz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=xV(),r=lz();!function(){if(cz)return pz;cz=1,Object.defineProperty(pz,"__esModule",{value:!0}),pz.default=void 0;var e=(0,xV().declare)((e=>(e.assertVersion(7),{name:"syntax-jsx",manipulateOptions(e,t){t.plugins.some((e=>"typescript"===(Array.isArray(e)?e[0]:e)))||t.plugins.push("jsx")}})));pz.default=e}();var n=vz(),i=zR();function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(r),o=s(n);const u=new i.OptionValidator("@babel/preset-typescript");var l=t.declarePreset(((e,t)=>{e.assertVersion(7);const{allExtensions:r,ignoreExtensions:n,allowNamespaces:i,disallowAmbiguousJSXLike:s,isTSX:l,jsxPragma:c,jsxPragmaFrag:p,onlyRemoveTypeImports:d,optimizeConstEnums:h}=function(e={}){let{allowNamespaces:t=!0,jsxPragma:r,onlyRemoveTypeImports:n}=e;const i="ignoreExtensions",s="disallowAmbiguousJSXLike",a="jsxPragmaFrag",o="optimizeConstEnums",l="allExtensions",c="isTSX",p=u.validateStringOption(a,e.jsxPragmaFrag,"React.Fragment");var d=u.validateBooleanOption(l,e.allExtensions,!1),h=u.validateBooleanOption(c,e.isTSX,!1);h&&u.invariant(d,"isTSX:true requires allExtensions:true");const f=u.validateBooleanOption(i,e.ignoreExtensions,!1),m=u.validateBooleanOption(s,e.disallowAmbiguousJSXLike,!1);m&&u.invariant(d,"disallowAmbiguousJSXLike:true requires allExtensions:true");const y={ignoreExtensions:f,allowNamespaces:t,disallowAmbiguousJSXLike:m,jsxPragma:r,jsxPragmaFrag:p,onlyRemoveTypeImports:n,optimizeConstEnums:u.validateBooleanOption(o,e.optimizeConstEnums,!1)};return y.allExtensions=d,y.isTSX=h,y}(t),f=e=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:i,disallowAmbiguousJSXLike:e,jsxPragma:c,jsxPragmaFrag:p,onlyRemoveTypeImports:d,optimizeConstEnums:h}),m=(e,t)=>[[a.default,Object.assign({isTSX:e},f(t))]];return{overrides:r||n?[{plugins:m(l,s)}]:[{test:/\.ts$/,plugins:m(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:m(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[o.default,{allowTopLevelThis:!0}],[a.default,f(!0)]]},{test:/\.tsx$/,plugins:m(!0,!1)}]}}));e.default=l}(bV)),bV}function Ez(){if(mz)return BM;mz=1,Object.defineProperty(BM,"__esModule",{value:!0}),BM.default=function*(r,a){switch(t().extname(r)){case".cjs":return d(r,arguments[2]);case".mjs":break;case".cts":return function(e){const r=".cts",s=!!(dO.extensions[".ts"]||dO.extensions[".cts"]||dO.extensions[".mts"]);let a;if(!s){const i={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:t().basename(e),presets:[[f(e),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};a=function(e,t){if(a&&t.endsWith(r))try{return e._compile((0,u.transformFileSync)(t,Object.assign({},i,{filename:t})).code,t)}catch(e){if(!s){const e=gV;n().lt(e.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw e}return dO.extensions[".js"](e,t)},dO.extensions[r]=a}try{const t=(0,i.endHiddenCallStack)(dO)(e);return null!=t&&t.__esModule?t.default:t}finally{s||(dO.extensions[r]===a&&delete dO.extensions[r],a=void 0)}}(r);default:try{return d(r,arguments[2])}catch(e){if("ERR_REQUIRE_ESM"!==e.code)throw e}}if(yield*(0,e.isAsync)())return yield*(0,e.waitFor)(function(e){return h.apply(this,arguments)}(r));throw new s.default(a,r)},BM.supportsESM=void 0;var e=Zj;function t(){const e=a;return t=function(){return e},e}function r(){const e=o;return r=function(){return e},e}function n(){const e=ij();return n=function(){return e},e}var i=BL,s=OL,u=mV();function l(e,t,r,n,i,s,a){try{var o=e[s](a),u=o.value}catch(e){return void r(e)}o.done?t(u):Promise.resolve(u).then(n,i)}let c;try{c=oV?aV:(oV=1,aV=function(e){return import(e)})}catch(e){}const p=n().satisfies(process.versions.node,"^12.17 || >=13.2");function d(e){const t=(0,i.endHiddenCallStack)(dO)(e);return null!=t&&t.__esModule?t.default||(arguments[1]?t:void 0):t}function h(){var e;return e=function*(e){if(!c)throw new s.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n",e);return(yield(0,i.endHiddenCallStack)(c)((0,r().pathToFileURL)(e))).default},h=function(){var t=this,r=arguments;return new Promise((function(n,i){var s=e.apply(t,r);function a(e){l(s,n,i,a,o,"next",e)}function o(e){l(s,n,i,a,o,"throw",e)}a(void 0)}))},h.apply(this,arguments)}function f(e){try{return xz()}catch(t){if("MODULE_NOT_FOUND"!==t.code)throw t;let r="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(r+='\nIf you are using Yarn Plug\'n\'Play, you may also need to add the following configuration to your .yarnrc.yml file:\n\npackageExtensions:\n\t"@babel/core@*":\n\t\tpeerDependencies:\n\t\t\t"@babel/preset-typescript": "*"\n'),new s.default(r,e)}}return BM.supportsESM=p,BM}function Sz(){if(yz)return GL;function e(){const t=qh;return e=function(){return t},t}function t(){const e=i;return t=function(){return e},e}function r(){const e=a;return r=function(){return e},e}function s(){const e=FM;return s=function(){return e},e}function o(){const e=Qj();return o=function(){return e},e}yz=1,Object.defineProperty(GL,"__esModule",{value:!0}),GL.ROOT_CONFIG_FILENAMES=void 0,GL.findConfigUpwards=function(e){let n=e;for(;;){for(const e of g)if(t().existsSync(r().join(n,e)))return n;const e=r().dirname(n);if(n===e)break;n=e}return null},GL.findRelativeConfig=function*(e,t,n){let i=null,s=null;const a=r().dirname(e.filepath);for(const u of e.directories){var o;if(!i)i=yield*C(b,u,t,n,(null==(o=e.pkg)?void 0:o.dirname)===u?S(e.pkg):null);if(!s){const e=r().join(u,v);s=yield*T(e),s&&y("Found ignore %o from %o.",s.filepath,a)}}return{config:i,ignore:s}},GL.findRootConfig=function(e,t,r){return C(g,e,t,r)},GL.loadConfig=function*(e,t,r,i){const s=(o=process.versions.node,u="8.9",o=o.split("."),u=u.split("."),+o[0]>+u[0]||o[0]==u[0]&&+o[1]>=+u[1]?require.resolve:(e,{paths:[t]},r=n)=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;throw i=new Error(`Cannot resolve module '${e}'`),i.code="MODULE_NOT_FOUND",i})(e,{paths:[t]}),a=yield*A(s,r,i);var o,u;if(!a)throw new h.default("Config file contains no configuration data",s);return y("Loaded config %o from %o.",e,t),a},GL.resolveShowConfigPath=function*(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(null!=t){const n=r().resolve(e,t);if(!(yield*f.stat(n)).isFile())throw new Error(`${n}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return n}return null};var u=Yj,l=OM(),c=Gj,p=Ez(),d=B$,h=OL,f=AL,m=BL;const y=e()("babel:config:loading:files:configuration"),g=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"];GL.ROOT_CONFIG_FILENAMES=g;const b=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],v=".babelignore",x=new Set,E=(0,u.makeStrongCache)((function*(e,n){if(!t().existsSync(e))return n.never(),null;if(x.has(e))return n.never(),y("Auto-ignoring usage of config %o.",e),{filepath:e,dirname:r().dirname(e),options:{}};let i;try{x.add(e),i=yield*(0,p.default)(e,"You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously.")}finally{x.delete(e)}let s=!1;if("function"==typeof i&&(yield*[],i=(0,m.endHiddenCallStack)(i)((0,l.makeConfigAPI)(n)),s=!0),!i||"object"!=typeof i||Array.isArray(i))throw new h.default("Configuration should be an exported JavaScript object.",e);if("function"==typeof i.then)throw new h.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.",e);return s&&!n.configured()&&function(e){throw new h.default('Caching was left unconfigured. Babel\'s plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don\'t call this function again.\n api.cache(true);\n\n // Don\'t cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};',e)}(e),{filepath:e,dirname:r().dirname(e),options:i}})),S=(0,u.makeWeakCacheSync)((e=>{const t=e.options.babel;if(void 0===t)return null;if("object"!=typeof t||Array.isArray(t)||null===t)throw new h.default(".babel property must be an object",e.filepath);return{filepath:e.filepath,dirname:e.dirname,options:t}})),D=(0,c.makeStaticFileCache)(((e,t)=>{let n;try{n=s().parse(t)}catch(t){throw new h.default(`Error while parsing config - ${t.message}`,e)}if(!n)throw new h.default("No config detected",e);if("object"!=typeof n)throw new h.default("Config returned typeof "+typeof n,e);if(Array.isArray(n))throw new h.default("Expected config object but found array",e);return delete n.$schema,{filepath:e,dirname:r().dirname(e),options:n}})),T=(0,c.makeStaticFileCache)(((e,t)=>{const n=r().dirname(e),i=t.split("\n").map((e=>e.replace(/#(.*?)$/,"").trim())).filter((e=>!!e));for(const t of i)if("!"===t[0])throw new h.default("Negation of file paths is not supported.",e);return{filepath:e,dirname:r().dirname(e),ignore:i.map((e=>(0,d.default)(e,n)))}}));function*C(e,t,n,i,s=null){const a=(yield*o().all(e.map((e=>A(r().join(t,e),n,i))))).reduce(((e,n)=>{if(n&&e)throw new h.default(`Multiple configuration files found. Please remove one:\n - ${r().basename(e.filepath)}\n - ${n.filepath}\nfrom ${t}`);return n||e}),s);return a&&y("Found configuration %o from %o.",a.filepath,t),a}function A(e,t,n){switch(r().extname(e)){case".js":case".cjs":case".mjs":case".cts":return E(e,{envName:t,caller:n});default:return D(e)}}return GL}var Dz={},Tz={},Cz={};function Az(){const e=s;return Az=function(){return e},e}function Pz(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=Oz(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var a=i?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(n,s,a):n[s]=e[s]}n.default=e,r&&r.set(e,n);return n}(i,!0);return Pz=function(){return e},e}function wz(){const e=u;return wz=function(){return e},e}function kz(){const e=o;return kz=function(){return e},e}function Iz(){const e=a;return Iz=function(){return e},e}function Nz(){const e=n;return Nz=function(){return e},e}function Fz(){const e=l;return Fz=function(){return e},e}function _z(){const e=t;return _z=function(){return e},e}function Oz(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(Oz=function(e){return e?r:t})(e)}Object.defineProperty(Cz,"__esModule",{value:!0}),Cz.moduleResolve=Vq,Cz.resolve=function(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return function(e,t={}){const{parentURL:r}=t;let n,i;if(Az()(void 0!==r,"expected `parentURL` to be defined"),function(e){if(void 0===e)return;if("string"!=typeof e&&!function(e){return Boolean(e&&"object"==typeof e&&"href"in e&&"string"==typeof e.href&&"protocol"in e&&"string"==typeof e.protocol&&e.href&&e.protocol)}(e))throw new Rz.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}(r),r)try{n=new(kz().URL)(r)}catch(e){}try{i=Uq(e)?new(kz().URL)(e,n):new(kz().URL)(e);const t=i.protocol;if("data:"===t||uq&&("https:"===t||"http:"===t))return{url:i.href,format:null}}catch(e){}const s=function(e,t,r){if(r){const n=r.protocol;if("http:"===n||"https:"===n){if(Uq(e)){const n=null==t?void 0:t.protocol;if(n&&"https:"!==n&&"http:"!==n)throw new lq(e,r,"remote imports cannot import from a local location.");return{url:(null==t?void 0:t.href)||""}}if(Nz().builtinModules.includes(e))throw new lq(e,r,"remote imports cannot import from a local location.");throw new lq(e,r,"only relative and absolute specifiers are supported.")}}}(e,i,n);if(s)return s;if(i&&"node:"===i.protocol)return{url:e};!function(e,t){const r=null==e?void 0:e.protocol;if(r&&"file:"!==r&&"data:"!==r&&(!t||"https:"!==r&&"http:"!==r))throw new gq(e,["file","data"].concat(t?["https","http"]:[]))}(i,uq);const a=function(e){if(void 0!==e&&e!==sq){if(!Array.isArray(e))throw new iq("conditions",e,"expected an array");return new Set(e)}return aq}(t.conditions),o=Vq(e,new(kz().URL)(r),a,!1);return function(e){const t=e.protocol;if("file:"!==t&&"data:"!==t&&"node:"!==t)throw new gq(e)}(o),{url:o.href,format:nq(o,{parentURL:r})}}(e,{parentURL:t}).url}catch(e){const t=e;if("ERR_UNSUPPORTED_DIR_IMPORT"===t.code&&"string"==typeof t.url)return t.url;throw e}};const Bz="win32"===wz().platform,jz={}.hasOwnProperty,Lz=/^([A-Z][a-z\d]*)+$/,Mz=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Rz={};function $z(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const Uz=new Map;let Vz;function zz(e,t,r){return Uz.set(e,t),function(e,t){return r;function r(...r){const n=Error.stackTraceLimit;qz()&&(Error.stackTraceLimit=0);const i=new e;qz()&&(Error.stackTraceLimit=n);const s=function(e,t,r){const n=Uz.get(e);if(Az()(void 0!==n,"expected `message` to be found"),"function"==typeof n)return Az()(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,r,t);const i=/%[dfijoOs]/g;let s=0;for(;null!==i.exec(n);)s++;return Az()(s===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${s}).`),0===t.length?n:(t.unshift(n),Reflect.apply(_z().format,null,t))}(t,r,i);return Object.defineProperties(i,{message:{value:s,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),Wz(i),i.code=t,i}}(r,e)}function qz(){try{if(Fz().startupSnapshot.isBuildingSnapshot())return!1}catch(e){}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):jz.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}Rz.ERR_INVALID_ARG_TYPE=zz("ERR_INVALID_ARG_TYPE",((e,t,r)=>{Az()("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";if(e.endsWith(" argument"))n+=`${e} `;else{const t=e.includes(".")?"property":"argument";n+=`"${e}" ${t} `}n+="must be ";const i=[],s=[],a=[];for(const e of t)Az()("string"==typeof e,"All expected entries have to be of type string"),Mz.has(e)?i.push(e.toLowerCase()):null===Lz.exec(e)?(Az()("object"!==e,'The value "object" should be written as "Object"'),a.push(e)):s.push(e);if(s.length>0){const e=i.indexOf("object");-1!==e&&(i.slice(e,1),s.push("Object"))}return i.length>0&&(n+=`${i.length>1?"one of type":"of type"} ${$z(i,"or")}`,(s.length>0||a.length>0)&&(n+=" or ")),s.length>0&&(n+=`an instance of ${$z(s,"or")}`,a.length>0&&(n+=" or ")),a.length>0&&(a.length>1?n+=`one of ${$z(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`)),n+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${(0,_z().inspect)(e,{depth:-1})}`;let t=(0,_z().inspect)(e,{colors:!1});t.length>28&&(t=`${t.slice(0,25)}...`);return`type ${typeof e} (${t})`}(r)}`,n}),TypeError),Rz.ERR_INVALID_MODULE_SPECIFIER=zz("ERR_INVALID_MODULE_SPECIFIER",((e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`),TypeError),Rz.ERR_INVALID_PACKAGE_CONFIG=zz("ERR_INVALID_PACKAGE_CONFIG",((e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`),Error),Rz.ERR_INVALID_PACKAGE_TARGET=zz("ERR_INVALID_PACKAGE_TARGET",((e,t,r,n=!1,i=void 0)=>{const s="string"==typeof r&&!n&&r.length>0&&!r.startsWith("./");return"."===t?(Az()(!1===n),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${i?` imported from ${i}`:""}${s?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${i?` imported from ${i}`:""}${s?'; targets must start with "./"':""}`}),Error),Rz.ERR_MODULE_NOT_FOUND=zz("ERR_MODULE_NOT_FOUND",((e,t,r="package")=>`Cannot find ${r} '${e}' imported from ${t}`),Error),Rz.ERR_NETWORK_IMPORT_DISALLOWED=zz("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Rz.ERR_PACKAGE_IMPORT_NOT_DEFINED=zz("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`),TypeError),Rz.ERR_PACKAGE_PATH_NOT_EXPORTED=zz("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,r=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`),Error),Rz.ERR_UNSUPPORTED_DIR_IMPORT=zz("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Rz.ERR_UNKNOWN_FILE_EXTENSION=zz("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError),Rz.ERR_INVALID_ARG_VALUE=zz("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=(0,_z().inspect)(t);n.length>128&&(n=`${n.slice(0,128)}...`);return`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`}),TypeError),Rz.ERR_UNSUPPORTED_ESM_URL_SCHEME=zz("ERR_UNSUPPORTED_ESM_URL_SCHEME",((e,t)=>{let r=`Only URLs with a scheme in: ${$z(t)} are supported by the default ESM loader`;return Bz&&2===e.protocol.length&&(r+=". On Windows, absolute paths must be valid file:// URLs"),r+=`. Received protocol '${e.protocol}'`,r}),Error);const Wz=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}((function(e){const t=qz();return t&&(Vz=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=Vz),e}));const Kz={read:function(e){try{return{string:Pz().default.readFileSync(Iz().toNamespacedPath(Iz().join(Iz().dirname(e),"package.json")),"utf8")}}catch(e){const t=e;if("ENOENT"===t.code)return{string:void 0};throw t}}};var Hz=Kz;const{ERR_INVALID_PACKAGE_CONFIG:Jz}=Rz,Xz=new Map;function Gz(e,t,r){const n=Xz.get(e);if(void 0!==n)return n;const i=Hz.read(e).string;if(void 0===i){const t={pjsonPath:e,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Xz.set(e,t),t}let s;try{s=JSON.parse(i)}catch(n){const i=n;throw new Jz(e,(r?`"${t}" from `:"")+(0,kz().fileURLToPath)(r||t),i.message)}const{exports:a,imports:o,main:u,name:l,type:c}=s,p={pjsonPath:e,exists:!0,main:"string"==typeof u?u:void 0,name:"string"==typeof l?l:void 0,type:"module"===c||"commonjs"===c?c:"none",exports:a,imports:o&&"object"==typeof o?o:void 0};return Xz.set(e,p),p}function Yz(e){let t=new(kz().URL)("package.json",e);for(;;){if(t.pathname.endsWith("node_modules/package.json"))break;const r=Gz((0,kz().fileURLToPath)(t),e);if(r.exists)return r;const n=t;if(t=new(kz().URL)("../package.json",t),t.pathname===n.pathname)break}const r=(0,kz().fileURLToPath)(t),n={pjsonPath:r,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Xz.set(r,n),n}const{ERR_UNKNOWN_FILE_EXTENSION:Qz}=Rz,Zz={}.hasOwnProperty,eq={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};const tq={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,r){const n=function(e){const t=e.pathname;let r=t.length;for(;r--;){const e=t.codePointAt(r);if(47===e)return"";if(46===e)return 47===t.codePointAt(r-1)?"":t.slice(r)}return""}(e);if(".js"===n)return"module"===function(e){return Yz(e).type}(e)?"module":"commonjs";const i=eq[n];if(i)return i;if(r)return;const s=(0,kz().fileURLToPath)(e);throw new Qz(n,s)},"http:":rq,"https:":rq,"node:":()=>"builtin"};function rq(){}function nq(e,t){return Zz.call(tq,e.protocol)&&tq[e.protocol](e,t,!0)||null}const{ERR_INVALID_ARG_VALUE:iq}=Rz,sq=Object.freeze(["node","import"]),aq=new Set(sq);const oq=RegExp.prototype[Symbol.replace],uq=!1,{ERR_NETWORK_IMPORT_DISALLOWED:lq,ERR_INVALID_MODULE_SPECIFIER:cq,ERR_INVALID_PACKAGE_CONFIG:pq,ERR_INVALID_PACKAGE_TARGET:dq,ERR_MODULE_NOT_FOUND:hq,ERR_PACKAGE_IMPORT_NOT_DEFINED:fq,ERR_PACKAGE_PATH_NOT_EXPORTED:mq,ERR_UNSUPPORTED_DIR_IMPORT:yq,ERR_UNSUPPORTED_ESM_URL_SCHEME:gq}=Rz,bq={}.hasOwnProperty,vq=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,xq=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Eq=/^\.|%|\\/,Sq=/\*/g,Dq=/%2f|%5c/i,Tq=new Set,Cq=/[/\\]{2}/;function Aq(e,t,r,n,i,s,a){const o=(0,kz().fileURLToPath)(n),u=null!==Cq.exec(a?e:t);wz().emitWarning(`Use of deprecated ${u?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${i?"imports":"exports"}" field module resolution of the package at ${o}${s?` imported from ${(0,kz().fileURLToPath)(s)}`:""}.`,"DeprecationWarning","DEP0166")}function Pq(e,t,r,n){if("module"!==nq(e,{parentURL:r.href}))return;const i=(0,kz().fileURLToPath)(e.href),s=(0,kz().fileURLToPath)(new(kz().URL)(".",t)),a=(0,kz().fileURLToPath)(r);n?wz().emitWarning(`Package ${s} has a "main" field set to ${JSON.stringify(n)}, excluding the full filename and extension to the resolved file at "${i.slice(s.length)}", imported from ${a}.\n Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):wz().emitWarning(`No "main" or "exports" field defined in the package.json for ${s} resolving the main entry point "${i.slice(s.length)}", imported from ${a}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function wq(e){try{return(0,Pz().statSync)(e)}catch(e){return new(Pz().Stats)}}function kq(e){const t=(0,Pz().statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return null!=r&&r}function Iq(e,t,r){let n;if(void 0!==t.main){if(n=new(kz().URL)(t.main,e),kq(n))return n;const i=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let s=-1;for(;++s<i.length&&(n=new(kz().URL)(i[s],e),!kq(n));)n=void 0;if(n)return Pq(n,e,r,t.main),n}const i=["./index.js","./index.json","./index.node"];let s=-1;for(;++s<i.length&&(n=new(kz().URL)(i[s],e),!kq(n));)n=void 0;if(n)return Pq(n,e,r,t.main),n;throw new hq((0,kz().fileURLToPath)(new(kz().URL)(".",e)),(0,kz().fileURLToPath)(r))}function Nq(e,t,r){return new mq((0,kz().fileURLToPath)(new(kz().URL)(".",t)),e,r&&(0,kz().fileURLToPath)(r))}function Fq(e,t,r,n,i){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new dq((0,kz().fileURLToPath)(new(kz().URL)(".",r)),e,t,n,i&&(0,kz().fileURLToPath)(i))}function _q(e,t,r,n,i,s,a,o,u){if(""!==t&&!s&&"/"!==e[e.length-1])throw Fq(r,e,n,a,i);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let r=!1;try{new(kz().URL)(e),r=!0}catch(e){}if(!r){return $q(s?oq.call(Sq,e,(()=>t)):e+t,n,u)}}throw Fq(r,e,n,a,i)}if(null!==vq.exec(e.slice(2))){if(null!==xq.exec(e.slice(2)))throw Fq(r,e,n,a,i);if(!o){const o=s?r.replace("*",(()=>t)):r+t;Aq(s?oq.call(Sq,e,(()=>t)):e,o,r,n,a,i,!0)}}const l=new(kz().URL)(e,n),c=l.pathname,p=new(kz().URL)(".",n).pathname;if(!c.startsWith(p))throw Fq(r,e,n,a,i);if(""===t)return l;if(null!==vq.exec(t)){const u=s?r.replace("*",(()=>t)):r+t;if(null===xq.exec(t)){if(!o){Aq(s?oq.call(Sq,e,(()=>t)):e,u,r,n,a,i,!1)}}else!function(e,t,r,n,i){const s=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,kz().fileURLToPath)(r)}`;throw new cq(e,s,i&&(0,kz().fileURLToPath)(i))}(u,r,n,a,i)}return s?new(kz().URL)(oq.call(Sq,l.href,(()=>t))):new(kz().URL)(t,l)}function Oq(e){const t=Number(e);return`${t}`===e&&(t>=0&&t<4294967295)}function Bq(e,t,r,n,i,s,a,o,u){if("string"==typeof t)return _q(t,r,n,e,i,s,a,o,u);if(Array.isArray(t)){const l=t;if(0===l.length)return null;let c,p=-1;for(;++p<l.length;){const t=l[p];let d;try{d=Bq(e,t,r,n,i,s,a,o,u)}catch(e){if(c=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==d){if(null!==d)return d;c=null}}if(null==c)return null;throw c}if("object"==typeof t&&null!==t){const l=Object.getOwnPropertyNames(t);let c=-1;for(;++c<l.length;){if(Oq(l[c]))throw new pq((0,kz().fileURLToPath)(e),i,'"exports" cannot contain numeric property keys.')}for(c=-1;++c<l.length;){const p=l[c];if("default"===p||u&&u.has(p)){const l=Bq(e,t[p],r,n,i,s,a,o,u);if(void 0===l)continue;return l}}return null}if(null===t)return null;throw Fq(n,t,e,a,i)}function jq(e,t,r){const n=(0,kz().fileURLToPath)(t);Tq.has(n+"|"+e)||(Tq.add(n+"|"+e),wz().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${n}${r?` imported from ${(0,kz().fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Lq(e,t,r,n,i){let s=r.exports;if(function(e,t,r){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const n=Object.getOwnPropertyNames(e);let i=!1,s=0,a=-1;for(;++a<n.length;){const e=n[a],o=""===e||"."!==e[0];if(0==s++)i=o;else if(i!==o)throw new pq((0,kz().fileURLToPath)(t),r,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return i}(s,e,n)&&(s={".":s}),bq.call(s,t)&&!t.includes("*")&&!t.endsWith("/")){const r=Bq(e,s[t],"",t,n,!1,!1,!1,i);if(null==r)throw Nq(t,e,n);return r}let a="",o="";const u=Object.getOwnPropertyNames(s);let l=-1;for(;++l<u.length;){const r=u[l],i=r.indexOf("*");if(-1!==i&&t.startsWith(r.slice(0,i))){t.endsWith("/")&&jq(t,e,n);const s=r.slice(i+1);t.length>=r.length&&t.endsWith(s)&&1===Mq(a,r)&&r.lastIndexOf("*")===i&&(a=r,o=t.slice(i,t.length-s.length))}}if(a){const r=Bq(e,s[a],o,a,n,!0,!1,t.endsWith("/"),i);if(null==r)throw Nq(t,e,n);return r}throw Nq(t,e,n)}function Mq(e,t){const r=e.indexOf("*"),n=t.indexOf("*"),i=-1===r?e.length:r+1,s=-1===n?t.length:n+1;return i>s?-1:s>i||-1===r?1:-1===n||e.length>t.length?-1:t.length>e.length?1:0}function Rq(e,t,r){if("#"===e||e.startsWith("#/")||e.endsWith("/")){throw new cq(e,"is not a valid internal imports specifier name",(0,kz().fileURLToPath)(t))}let n;const i=Yz(t);if(i.exists){n=(0,kz().pathToFileURL)(i.pjsonPath);const s=i.imports;if(s)if(bq.call(s,e)&&!e.includes("*")){const i=Bq(n,s[e],"",e,t,!1,!0,!1,r);if(null!=i)return i}else{let i="",a="";const o=Object.getOwnPropertyNames(s);let u=-1;for(;++u<o.length;){const t=o[u],r=t.indexOf("*");if(-1!==r&&e.startsWith(t.slice(0,-1))){const n=t.slice(r+1);e.length>=t.length&&e.endsWith(n)&&1===Mq(i,t)&&t.lastIndexOf("*")===r&&(i=t,a=e.slice(r,e.length-n.length))}}if(i){const e=Bq(n,s[i],a,i,t,!0,!0,!1,r);if(null!=e)return e}}}throw function(e,t,r){return new fq(e,t&&(0,kz().fileURLToPath)(new(kz().URL)(".",t)),(0,kz().fileURLToPath)(r))}(e,n,t)}function $q(e,t,r){if(Nz().builtinModules.includes(e))return new(kz().URL)("node:"+e);const{packageName:n,packageSubpath:i,isScoped:s}=function(e,t){let r=e.indexOf("/"),n=!0,i=!1;"@"===e[0]&&(i=!0,-1===r||0===e.length?n=!1:r=e.indexOf("/",r+1));const s=-1===r?e:e.slice(0,r);if(null!==Eq.exec(s)&&(n=!1),!n)throw new cq(e,"is not a valid package name",(0,kz().fileURLToPath)(t));return{packageName:s,packageSubpath:"."+(-1===r?"":e.slice(r)),isScoped:i}}(e,t),a=Yz(t);if(a.exists){const e=(0,kz().pathToFileURL)(a.pjsonPath);if(a.name===n&&void 0!==a.exports&&null!==a.exports)return Lq(e,i,a,t,r)}let o,u=new(kz().URL)("./node_modules/"+n+"/package.json",t),l=(0,kz().fileURLToPath)(u);do{if(!wq(l.slice(0,-13)).isDirectory()){o=l,u=new(kz().URL)((s?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",u),l=(0,kz().fileURLToPath)(u);continue}const a=Gz(l,e,t);return void 0!==a.exports&&null!==a.exports?Lq(u,i,a,t,r):"."===i?Iq(u,a,t):new(kz().URL)(i,u)}while(l.length!==o.length);throw new hq(n,(0,kz().fileURLToPath)(t))}function Uq(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}function Vq(e,t,r,n){const i=t.protocol,s="http:"===i||"https:"===i;let a;if(Uq(e))a=new(kz().URL)(e,t);else if(s||"#"!==e[0])try{a=new(kz().URL)(e)}catch(n){s||(a=$q(e,t,r))}else a=Rq(e,t,r);return Az()(void 0!==a,"expected to be defined"),"file:"!==a.protocol?a:function(e,t,r){if(null!==Dq.exec(e.pathname))throw new cq(e.pathname,'must not include encoded "/" or "\\" characters',(0,kz().fileURLToPath)(t));const n=(0,kz().fileURLToPath)(e),i=wq(n.endsWith("/")?n.slice(-1):n);if(i.isDirectory()){const r=new yq(n,(0,kz().fileURLToPath)(t));throw r.url=String(e),r}if(!i.isFile())throw new hq(n||e.pathname,t&&(0,kz().fileURLToPath)(t),"module");if(!r){const t=(0,Pz().realpathSync)(n),{search:r,hash:i}=e;(e=(0,kz().pathToFileURL)(t+(n.endsWith(Iz().sep)?"/":""))).search=r,e.hash=i}return e}(a,t,n)}let zq;var qq,Wq;function Kq(){if(qq)return Dz;function e(){const t=qh;return e=function(){return t},t}function t(){const e=a;return t=function(){return e},e}qq=1,Object.defineProperty(Dz,"__esModule",{value:!0}),Dz.loadPlugin=function*(e,t){const n=g(e,t,yield*(0,r.isAsync)()),i=yield*A("plugin",n);return u("Loaded plugin %o from %o.",e,t),{filepath:n,value:i}},Dz.loadPreset=function*(e,t){const n=b(e,t,yield*(0,r.isAsync)()),i=yield*A("preset",n);return u("Loaded preset %o from %o.",e,t),{filepath:n,value:i}},Dz.resolvePreset=Dz.resolvePlugin=void 0;var r=Zj,n=Ez();function i(){const e=o;return i=function(){return e},e}var s=Tz;const u=e()("babel:config:loading:files:plugins"),l=/^module:/,c=/^(?!@|module:|[^/]+\/|babel-plugin-)/,p=/^(?!@|module:|[^/]+\/|babel-preset-)/,d=/^(@babel\/)(?!plugin-|[^/]+\/)/,h=/^(@babel\/)(?!preset-|[^/]+\/)/,f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,m=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,y=/^(@(?!babel$)[^/]+)$/,g=T.bind(null,"plugin");Dz.resolvePlugin=g;const b=T.bind(null,"preset");function v(e,r){if(t().isAbsolute(r))return r;const n="preset"===e;return r.replace(n?p:c,`babel-${e}-`).replace(n?h:d,`$1${e}-`).replace(n?m:f,`$1babel-${e}-`).replace(y,`$1/babel-${e}`).replace(l,"")}function*x(e,t){const r=v(e,t),{error:n,value:i}=yield r;if(!n)return i;if("MODULE_NOT_FOUND"!==n.code)throw n;r===t||(yield t).error||(n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`),(yield v(e,"@babel/"+t)).error||(n.message+=`\n- Did you mean "@babel/${t}"?`);const s="preset"===e?"plugin":"preset";if((yield v(s,t)).error||(n.message+=`\n- Did you accidentally pass a ${s} as a ${e}?`),"plugin"===e){const e=r.replace("-proposal-","-transform-");e===r||(yield e).error||(n.message+=`\n- Did you mean "${e}"?`)}throw n.message+="\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n",n}function E(e,t){try{return t?{error:null,value:(r=process.versions.node,n="8.9",r=r.split("."),n=n.split("."),+r[0]>+n[0]||r[0]==n[0]&&+r[1]>=+n[1]?require.resolve:(e,{paths:[t]},r=require("module"))=>{let n=r._findPath(e,r._nodeModulePaths(t).concat(t));if(n)return n;throw n=new Error(`Cannot resolve module '${e}'`),n.code="MODULE_NOT_FOUND",n})(e,{paths:[t]})}:{error:null,value:require.resolve(e)}}catch(e){return{error:e,value:null}}var r,n}function S(e,t){try{return{error:null,value:(0,s.default)(e,t)}}catch(e){return{error:e,value:null}}}function D(e,t,r){const n=x(e,t);let i=n.next();for(;!i.done;)i=n.next(E(i.value,r));return i.value}function T(e,r,s,a){if(!n.supportsESM||!a)return D(e,r,s);try{return function(e,r,n){const s=(0,i().pathToFileURL)(t().join(n,"./babel-virtual-resolve-base.js")).href,a=x(e,r);let o=a.next();for(;!o.done;)o=a.next(S(o.value,s));return(0,i().fileURLToPath)(o.value)}(e,r,s)}catch(t){try{return D(e,r,s)}catch(e){if("MODULE_NOT_FOUND"===t.type)throw t;if("MODULE_NOT_FOUND"===e.type)throw e;throw t}}}Dz.resolvePreset=b;var C=new Set;function*A(e,t){if(!(yield*(0,r.isAsync)())&&C.has(t))throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return C.add(t),yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, which is only supported when running Babel asynchronously.`,!0)}catch(e){throw e.message=`[BABEL]: ${e.message} (While processing: ${t})`,e}finally{C.delete(t)}}return Dz}function Hq(){return Wq||(Wq=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return r.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(e,"findConfigUpwards",{enumerable:!0,get:function(){return r.findConfigUpwards}}),Object.defineProperty(e,"findPackageData",{enumerable:!0,get:function(){return t.findPackageData}}),Object.defineProperty(e,"findRelativeConfig",{enumerable:!0,get:function(){return r.findRelativeConfig}}),Object.defineProperty(e,"findRootConfig",{enumerable:!0,get:function(){return r.findRootConfig}}),Object.defineProperty(e,"loadConfig",{enumerable:!0,get:function(){return r.loadConfig}}),Object.defineProperty(e,"loadPlugin",{enumerable:!0,get:function(){return n.loadPlugin}}),Object.defineProperty(e,"loadPreset",{enumerable:!0,get:function(){return n.loadPreset}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return n.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return n.resolvePreset}}),Object.defineProperty(e,"resolveShowConfigPath",{enumerable:!0,get:function(){return r.resolveShowConfigPath}});var t=Xj,r=Sz(),n=Kq()}(Jj)),Jj}Object.defineProperty(Tz,"__esModule",{value:!0}),Tz.default=function(e,t){return zq(e,t)},zq=Cz.resolve;var Jq,Xq={};var Gq,Yq={};var Qq,Zq,eW={};function tW(){return Zq||(Zq=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(e,"File",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"buildExternalHelpers",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"createConfigItem",{enumerable:!0,get:function(){return l.createConfigItem}}),Object.defineProperty(e,"createConfigItemAsync",{enumerable:!0,get:function(){return l.createConfigItemAsync}}),Object.defineProperty(e,"createConfigItemSync",{enumerable:!0,get:function(){return l.createConfigItemSync}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return i.getEnv}}),Object.defineProperty(e,"loadOptions",{enumerable:!0,get:function(){return l.loadOptions}}),Object.defineProperty(e,"loadOptionsAsync",{enumerable:!0,get:function(){return l.loadOptionsAsync}}),Object.defineProperty(e,"loadOptionsSync",{enumerable:!0,get:function(){return l.loadOptionsSync}}),Object.defineProperty(e,"loadPartialConfig",{enumerable:!0,get:function(){return l.loadPartialConfig}}),Object.defineProperty(e,"loadPartialConfigAsync",{enumerable:!0,get:function(){return l.loadPartialConfigAsync}}),Object.defineProperty(e,"loadPartialConfigSync",{enumerable:!0,get:function(){return l.loadPartialConfigSync}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return h.parse}}),Object.defineProperty(e,"parseAsync",{enumerable:!0,get:function(){return h.parseAsync}}),Object.defineProperty(e,"parseSync",{enumerable:!0,get:function(){return h.parseSync}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return n.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return n.resolvePreset}}),Object.defineProperty(e,"template",{enumerable:!0,get:function(){return u().default}}),Object.defineProperty(e,"tokTypes",{enumerable:!0,get:function(){return a().tokTypes}}),Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return c.transform}}),Object.defineProperty(e,"transformAsync",{enumerable:!0,get:function(){return c.transformAsync}}),Object.defineProperty(e,"transformFile",{enumerable:!0,get:function(){return p.transformFile}}),Object.defineProperty(e,"transformFileAsync",{enumerable:!0,get:function(){return p.transformFileAsync}}),Object.defineProperty(e,"transformFileSync",{enumerable:!0,get:function(){return p.transformFileSync}}),Object.defineProperty(e,"transformFromAst",{enumerable:!0,get:function(){return d.transformFromAst}}),Object.defineProperty(e,"transformFromAstAsync",{enumerable:!0,get:function(){return d.transformFromAstAsync}}),Object.defineProperty(e,"transformFromAstSync",{enumerable:!0,get:function(){return d.transformFromAstSync}}),Object.defineProperty(e,"transformSync",{enumerable:!0,get:function(){return c.transformSync}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return o().default}}),e.version=e.types=void 0;var t=SB,r=mj,n=Hq(),i=aU;function s(){const e=rh();return s=function(){return e},e}function a(){const e=Gn;return a=function(){return e},e}function o(){const e=VD();return o=function(){return e},e}function u(){const e=hx;return u=function(){return e},e}Object.defineProperty(e,"types",{enumerable:!0,get:function(){return s()}});var l=uU(),c=function(){if(Jq)return Xq;function e(){const t=Qj();return e=function(){return t},t}Jq=1,Object.defineProperty(Xq,"__esModule",{value:!0}),Xq.transform=void 0,Xq.transformAsync=function(...e){return(0,n.beginHiddenCallStack)(i.async)(...e)},Xq.transformSync=function(...e){return(0,n.beginHiddenCallStack)(i.sync)(...e)};var t=uU(),r=lU,n=BL;const i=e()((function*(e,n){const i=yield*(0,t.default)(n);return null===i?null:yield*(0,r.run)(i,e)}));return Xq.transform=function(e,t,r){let s,a;if("function"==typeof t?(a=t,s=void 0):(s=t,a=r),void 0===a)return(0,n.beginHiddenCallStack)(i.sync)(e,s);(0,n.beginHiddenCallStack)(i.errback)(e,s,a)},Xq}(),p=mV(),d=function(){if(Gq)return Yq;function e(){const t=Qj();return e=function(){return t},t}Gq=1,Object.defineProperty(Yq,"__esModule",{value:!0}),Yq.transformFromAst=void 0,Yq.transformFromAstAsync=function(...e){return(0,n.beginHiddenCallStack)(i.async)(...e)},Yq.transformFromAstSync=function(...e){return(0,n.beginHiddenCallStack)(i.sync)(...e)};var t=uU(),r=lU,n=BL;const i=e()((function*(e,n,i){const s=yield*(0,t.default)(i);if(null===s)return null;if(!e)throw new Error("No AST given");return yield*(0,r.run)(s,n,e)}));return Yq.transformFromAst=function(e,t,r,s){let a,o;if("function"==typeof r?(o=r,a=void 0):(a=r,o=s),void 0===o)return(0,n.beginHiddenCallStack)(i.sync)(e,t,a);(0,n.beginHiddenCallStack)(i.errback)(e,t,a,o)},Yq}(),h=function(){if(Qq)return eW;function e(){const t=Qj();return e=function(){return t},t}Qq=1,Object.defineProperty(eW,"__esModule",{value:!0}),eW.parse=void 0,eW.parseAsync=function(...e){return(0,i.beginHiddenCallStack)(s.async)(...e)},eW.parseSync=function(...e){return(0,i.beginHiddenCallStack)(s.sync)(...e)};var t=uU(),r=TU,n=bU,i=BL;const s=e()((function*(e,i){const s=yield*(0,t.default)(i);return null===s?null:yield*(0,r.default)(s.passes,(0,n.default)(s),e)}));return eW.parse=function(e,t,r){if("function"==typeof t&&(r=t,t=void 0),void 0===r)return(0,i.beginHiddenCallStack)(s.sync)(e,t);(0,i.beginHiddenCallStack)(s.errback)(e,t,r)},eW}();tW();e.version="7.22.5";const f=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);e.DEFAULT_EXTENSIONS=f,e.OptionManager=class{init(e){return(0,l.loadOptionsSync)(e)}},e.Plugin=function(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}}(EB)),EB}const{createConfigItem:rW,transformFromAstSync:nW}=tW();const iW=JD,{print:sW}=rT,aW=(e,t)=>{const r=function(e){let t=0;const r=[];let n=0;for(const[i,s]of e)i!==yB?(i===gB&&(t+=s.split("\n").length-1),n===yB?(r.push(t),n=i):n=i):++t;return r}(function(e,t){const r=new mB,n=r.diff_linesToChars_(e,t),i=n.chars1,s=n.chars2,{lineArray:a}=n,o=r.diff_main(i,s,!1);return r.diff_charsToLines_(o,a),o}(e,t));return function(e){const t=[],r=0;for(const n of e)t.push({line:n,column:r});return t}(r)},oW=(e,t,r)=>{const n="string"!=typeof r?r:dO(r);return nW(e,t,{cloneInputAst:!1,plugins:[rW(n)]}),e},uW=/@babel\/plugin-|babel-plugin-/;tT.exports=(e,t)=>{const r=e.replace(uW,"").replaceAll("-"," ");return/babel/.test(t)?lW({name:cW(e),message:r,transform:oW}):null};const lW=({name:e,transform:t,message:r})=>({report:()=>r,fix:()=>{},find(r,{push:n}){const i=sW(r,{printer:"putout"});t(r,i,e);const s=sW(r,{printer:"putout"});if(s===i)return;const a=aW(i,s);for(const e of a){n({node:{loc:{start:e}}})}}});function cW(e){const t=(e=>{const[,t]=iW(require.resolve,e);return t})(`@babel/plugin-${e}`);return t||`babel-plugin-${e}`}tT.exports.babelPlugin=(e,t)=>lW({name:e,transform:oW,message:t});var pW,dW=tT.exports;function hW(){if(pW)return HD;pW=1;const e=JD,t=eT,r=dW,n=e=>({name:t,namespace:n})=>{if("putout"!==n)return r(t,n);const[i,s]=function(e,t,r){let[n,i]=a(`@${e}/${t}-${r}`);n||([n,i]=a(`${e}-${t}-${r}`));n||([n,i]=a(r));return[n,i]}(n,e,t);if(!i)throw Error(`${o=e,`${o[0].toUpperCase()}${o.slice(1)}`} "${n}-${e}-${t}" could not be found!`);var o;return s(i)};HD.loadPlugin=n("plugin"),HD.loadProcessor=n("processor"),process.env;const i=t((()=>w1())),s=t((()=>w1()));function a(t){let r;const n=i(),a=s();return[,r]=e(a.resolve,t),r?[r,a]:([,r]=e(n.resolve,t),[r,n])}return HD}var fW={};var mW={simpleImport:async e=>{const t=await import(e);return t.default||t}};const yW=async(e,...t)=>{!function(e){if("function"!=typeof e)throw Error("fn should be a function!")}(e);try{return[null,await e(...t)]}catch(e){return[e]}},{simpleImport:gW}=mW,{assign:bW}=Object;fW.createAsyncLoader=e=>async(t,r)=>{if("none"===t)return()=>{};const[n,i]=await async function(e,t=gW){let r,n;for(const i of e){if([r,n]=await yW(t,i),!r)return[null,n];if("ERR_MODULE_NOT_FOUND"!==r.code)return bW(r,{message:`${i}: ${r.message}`}),[r]}return bW(r,{message:r.message.replace(/\simported.*/,"")}),[r]}([`@putout/${e}-${t}`,`putout-${e}-${t}`],r);if(n)throw n;return i};const{isArray:vW}=Array,{entries:xW}=Object;var EW=e=>{const t=[];for(const r of e)if("string"!=typeof r)if(vW(r)){const[e,n]=r;t.push([e,n])}else t.push(...xW(r));else t.push([r]);return t};const{isArray:SW}=Array,DW=e=>"on"===e,TW=e=>"off"===e;var CW=e=>{const t=[];for(const r of e)if("string"!=typeof r)if(SW(r)){const[e,n]=r;if(TW(n))continue;if(DW(n)){t.push([e]);continue}t.push([e,n])}else;else t.push([r]);return t};const{isArray:AW}=Array,PW=e=>"boolean"==typeof e,wW=e=>"string"==typeof e,kW=e=>"object"==typeof e,{entries:IW}=Object,{stringify:NW}=JSON,FW=e=>Error(`☝️ Rule format not supported ${e}: ${typeof e}`),_W=()=>Object.create(null),OW=(e,t)=>function(e,t){if(PW(t))return!0;if(/^(on|off)$/.test(t))return!0;if(kW(t))return!0;throw(({rule:e,value:t})=>Error(`☝️ ${e}: state option can be "on" or "off" only, when used as string, received: "${t}"`))({rule:e,value:t})}(e,t)&&"on"===t||"off"!==t;var BW=e=>{e=function(e){const t={};for(const[r,n]of IW(e))!MW(r)&&r.includes("/")&&OW(r,n)&&(t[LW(r)]="on"),t[r]=n;return t}(e);const t=[];for(const[r,n]of IW(e)){if(wW(n)){t.push({rule:r,state:OW(r,n),plugin:null,msg:"",options:_W()});continue}if(PW(n)){t.push({rule:r,state:n,plugin:null,msg:"",options:_W()});continue}if(!(AW(n)&&n.length)){if(kW(n))throw Error(`☝️ Looks like you need to change "rules" to "match" for ${NW(n)}`);throw FW(n)}t.push(jW(r,n))}return t};function jW(e,t){const r=null,[n]=t,i=OW(e,n);if(3===t.length){const[,n,s]=t;return{rule:e,state:i,plugin:r,msg:n,options:s}}const[,s="",a=_W()]=t;return 2!==t.length||wW(s)?1===t.length&&kW(n)?{rule:e,state:i,plugin:r,msg:s,options:n}:{rule:e,state:i,plugin:r,msg:s,options:a}:{rule:e,state:i,plugin:r,msg:"",options:s}}const LW=e=>e.split("/")[0],MW=e=>e.includes("babel");const RW=e=>e.startsWith("babel/")?e:e.includes("/")?e.split("/").shift():e;var $W=({items:e,rules:t})=>{const r=Object.keys(t);for(const t of r){let r=!1,n=!1;for(const[i,s={}]of e){if(r=i===t,n=i===RW(t),r&&s.rules)throw Error(`Rule "${t}" cannot be applied to nested plugin "${i}"`);if(r||n)break}if(!r&&!n)throw Error(`No plugin found for a rule: "${t}"`)}};const UW=["find","traverse","replace","include","exclude","rules","declare"];var VW,zW=({plugin:e,rule:t})=>{const r=Object.keys(e);for(const e of UW)if(r.includes(e))return;throw Error(`☝️ Cannot determine type of plugin '${t}'. Here is list of supported plugins: https://git.io/JqcMn`)};function qW(){if(VW)return zD;VW=1;const{nanomemoize:e}=WD,t=KD,{loadPlugin:r}=hW(),{createAsyncLoader:n}=fW,i=EW,s=CW,a=BW,o=$W,u=zW,{babelPlugin:l}=dW,c=e=>"string"==typeof e,p=([e,t],r)=>{for(const n of r){if(n.rule!==e)continue;const{msg:r,options:i}=n;return{rule:e,plugin:t,msg:r,options:i}}return{rule:e,plugin:t,msg:"",options:Object.create(null)}};function d(e){const t=e.replace("babel/","");return e.startsWith("babel")?[t,"babel"]:[t,"putout"]}function h(e,t){const r=[],n=Object.entries(t);for(const[t,i]of n)r.push([`${e}/${t}`,i]);return r}function f(e){if(!e||"object"!=typeof e)throw Error("options should be an object!")}function m(e){if(!c(e))throw Error(`☝️ Looks like plugin name type is not 'string', but: '${typeof e}'`)}return zD.loadProcessorsAsync=e((async(e,t)=>{f(e);const{processors:r=[]}=e,i=s(r),a=n("processor"),o=[];for(const[e,r]of i)r?o.push(r):o.push(a(e,t));return await Promise.all(o)})),zD.createAsyncLoader=n,zD.babelPlugin=l,zD.loadPlugins=e=>{f(e);const{pluginNames:n=[],rules:s={}}=e,l=a(s),c=function(e){const t=[];for(const r of e){const{rule:e}=r;e.includes("/")||t.push(r)}return t}(l),y=i(n),g=function({items:e,loadedRules:n}){const i=[];for(const[s,a]of e){if(!t(s,n))continue;m(s);const[e,o]=d(s),l=a||r({name:e,namespace:o});u({plugin:l,rule:s});const{rules:c}=l;c?i.push(...h(s,c)):i.push([s,l])}return i}({items:y,loadedRules:c});o({rules:s,items:y});const b=[];for(const[e,r]of g)t(e,l)&&b.push(p([e,r],l));return b},zD}var WW={};const KW=JD,HW=qh("putout:runner:fix"),{enabled:JW}=HW,{stringify:XW}=JSON;var GW=(e,t,{path:r,rule:n,position:i,options:s})=>{e&&(JW&&HW(`fix: ${n}`,i,(e=>e.path||e)(r).toString()),function(e,t){if(r=t,"function"!=typeof r)throw Error(`☝️ Looks like '${e}' is not a 'function' but '${typeof t}' with value: '${XW(t)}'. More on writing 🐊Putout Plugins: https://git.io/JqcMn`);var r}("fix",t),((e,{path:t,position:r,options:n})=>{const[i]=KW(e,t,{options:n}),{scope:s}=t.path||t;if(!i&&s&&s.getProgramParent().crawl(),i)throw i.loc=i.loc||r,i})(t,{path:r,position:i,options:s}))};var YW={};const QW=e=>e.path||e;YW.getPath=QW,YW.getPosition=(e,t)=>{const r=QW(e);!function(e){if(!e.node)throw Error("☝️ Looks like 'push' called without a 'path' argument.")}(r);const{node:n}=r,{loc:i}=n;if(!i)return{line:0,column:0};const{line:s,column:a}=n.loc.start;return{line:t?s+1:s,column:a}};const{isArray:ZW}=Array;var eK=e=>e?(e=>ZW(e)?e:[e])(e):[],tK={};const{values:rK,entries:nK,assign:iK}=Object,sK=e=>Array.from(e),aK=e=>e.node,oK=e=>sK(e).filter(aK),uK=e=>e;function lK({set:e,get:t}){return(r={})=>{const n=(...n)=>{if(!n.length)return t(r);const[i,s]=n;if(1===n.length)return r[i];e(r,i,s)};return n.clear=()=>{r={}},n.entries=()=>nK(r),n}}function cK(e=uK){return(t=new Set)=>{const r=(...r)=>{if(!r.length)return e(sK(t));const[n]=r;t.add(n)};return r.clear=()=>{const r=t;return t=new Set,e(sK(r))},r}}tK.listStore=cK(),tK.pathStore=cK(oK),tK.mapStore=lK({get:e=>rK(e),set(e,t,r){e[t]=r}}),tK.upStore=lK({get:e=>rK(e),set(e,t,r){e[t]=e[t]||{},iK(e[t],r)}}),tK.upListStore=lK({get:e=>rK(e).map(oK),set(e,t,r){e[t]=e[t]||new Set,e[t].add(r)}});const pK=VD().default,{generate:dK}=rT,hK=GW,{getPosition:fK}=YW,mK=eK,{listStore:yK,mapStore:gK,upStore:bK,upListStore:vK,pathStore:xK}=tK,EK=e=>!e.parent,{merge:SK}=pK.visitors,{assign:DK}=Object,TK=(e,t,r)=>{const n=[];return t[e]&&n.push(...mK(t[e]())),r[e]&&n.push(...mK(r[e])),n};function CK(e,{fix:t,rule:r,shebang:n,msg:i,options:s}){const a=gK(),o=yK(),u=bK(),l=yK(),c=vK(),p=xK();return{push:a=>{const o=fK(a,n),u=i||e.report(a);l({message:u,position:o}),hK(t,e.fix,{path:a,rule:r,position:o,options:s})},pull:()=>(a.clear(),o.clear(),u.clear(),c.clear(),p.clear(),l.clear()),store:a,listStore:o,upstore:u,uplist:c,pathStore:p}}const AK=VD().default,{types:PK}=rh(),{generate:wK}=rT,{merge:kK}=AK.visitors;function IK({rule:e,options:t,template:r}){return(n,i)=>{const s=kK(r({rule:e,visitor:i,options:t}));return AK(n,s)}}const NK=qh("putout:runner:include"),FK=eK,{stringify:_K}=JSON,OK=()=>[],BK=()=>!0;const jK=(e,t,r)=>({push:n,options:i})=>{const s={},a=(({rule:e,filter:t,push:r,options:n})=>i=>{NK(e),t(i,{options:n})&&r(i)})({rule:r,filter:t,push:n,options:i});for(const t of e)s[t]=a;return s};function LK(e,t){if("function"!=typeof t)throw Error(`☝️ Looks like '${e}' is not a 'function' but '${typeof t}' with value: '${_K(t)}'. More on using Includer: https://git.io/JqcMn`)}var MK={exports:{}},RK={},$K={};var UK={};const{template:VK}=rT,{isBlockStatement:zK,isBooleanLiteral:qK,isIdentifier:WK,isLiteral:KK,isTemplateElement:HK,isFunction:JK,isImportDefaultSpecifier:XK,isRegExpLiteral:GK,isTSTypeParameter:YK,isJSXText:QK,isJSXIdentifier:ZK,isJSXAttribute:eH}=rh(),tH="__object",rH="__array",nH="__args",iH="__imports",sH="__body",aH="__jsx_children",oH="__jsx_attributes",uH="__",lH="__identifier",cH="__bool",pH=/^__[a-z]$/,dH=/__args__[a-z]$/,hH=/^__identifier__[a-z]$/,fH=/^__bool__[a-z]$/,mH=[tH,rH,nH,cH,aH,oH,iH,sH,uH,lH,pH,dH,hH,fH];function yH(e,t){return"string"==typeof t?e===t:t.test(e)}UK.isTemplate=e=>/[(;={.\s]/.test(e)||!/^[A-Z]/.test(e),UK.is=(e,t=mH)=>{for(const r of t)if(yH(e,r))return!0;return!1},UK.isNameStr=e=>pH.test(e),UK.isImportsStr=e=>e===iH,UK.isArgsStr=e=>e===nH||dH.test(e),UK.isJSXChildrenStr=e=>e===aH,UK.isJSXAttributesStr=e=>e===oH,UK.isObjectStr=e=>e===tH,UK.isArrayStr=e=>e===rH,UK.isAnyStr=e=>e===uH;const gH=(e,t)=>e.type===t.type,{isArray:bH}=Array;UK.isId=(e,t)=>!!WK(t,{name:lH})&&WK(e),UK.isBool=(e,t)=>!!WK(t,{name:cH})&&qK(e),UK.isEqualType=gH,UK.isStr=e=>"string"==typeof e,UK.isAny=e=>!!WK(e,{name:uH})||QK(e,{value:uH}),UK.isAnyLiteral=(e,t)=>!!KK(t,{value:uH})&&gH(e,t),UK.isArgs=e=>{const t=bH(e)?e[0]:e;return WK(t,{name:nH})},UK.isLinkedArgs=e=>{const t=bH(e)?e[0]:e;return WK(t)&&dH.test(t.name)},UK.isJSXChildren=e=>{const t=bH(e)?e[0]:e;return QK(t,{value:aH})},UK.isJSXAttributes=e=>{const t=bH(e)?e[0]:e;return!!eH(t)&&ZK(t.name,{name:oH})},UK.isLinkedId=(e,t)=>!(!WK(t)||!hH.test(t.name))&&WK(e),UK.isLinkedBool=(e,t)=>!(!WK(t)||!fH.test(t.name))&&qK(e),UK.isLinkedRegExp=(e,t)=>!(!GK(t)||!pH.test(t.pattern))&&GK(e),UK.isPath=e=>Boolean(e.node),UK.isArray=bH,UK.isObject=e=>!!e&&(!bH(e)&&"object"==typeof e),UK.isArrays=(e,t)=>!(!bH(e)||!bH(t))&&e.length===t.length,UK.isImports=e=>{const t=bH(e)?e[0]:e;return!!XK(t)&&WK(t.local,{name:iH})};const vH="ObjectPattern|ObjectExpression",xH="ArrayPattern|ArrayExpression";UK.isEqualAnyArray=(e,t)=>{if(!WK(t,{name:rH}))return!1;const{type:r}=e;return xH.includes(r)},UK.isEqualAnyObject=(e,t)=>{if(!WK(t,{name:tH}))return!1;const{type:r}=e;return vH.includes(r)},UK.isEqualBody=(e,t)=>!!WK(t,{name:sH})&&"BlockStatement"===e.type,UK.isEqualNop=(e,t)=>{if(!WK(t,{name:"__nop"}))return!1;if(!JK(e))return!1;const{body:r}=e;return!!zK(r)&&!r.body.length},UK.isLinkedNode=e=>!(!WK(e)||!pH.test(e.name))||(!(!KK(e)||!pH.test(e.value))||(!(!QK(e)||!pH.test(e.value))||(!(!ZK(e)||!pH.test(e.name))||(!(!HK(e)||!pH.test(e.value.raw))||YK(e)&&pH.test(e.name))))),UK.parseTemplate=(e,{program:t}={})=>{const r=(t?VK.program.ast:VK.ast)(e)||VK.ast.fresh(e);if(e===tH)return[r,vH];if(e===rH)return[r,xH];const{type:n}=r;return[r,n]};const EH=VD().default,SH=(e,t,r)=>{if(r||(r=t,t="."),function(e,t){if("string"!=typeof e)throw Error("selector should be string!");if("object"!=typeof t)throw Error("obj should be object!")}(e,r),!e)return r;if(n=r,!Object.keys(n).length)return;var n;const i=e.split(t);return i.some(((e,n)=>{const s=i.slice(n).join(t);return void 0!==r[s]?(r=r[s],!0):r[e]?!(r=r[e]):(r=void 0,!0)})),r},DH=(e,t,r,n)=>{n||(n=r||{},r=".");const i=n;!function(e){if("string"!=typeof e)throw Error("selector should be string!")}(e);const s=e.split(r);for(let e=0;e<s.length;e++){const r=s[e];/__proto__|prototype/.test(r)||(e===s.length-1?n[r]=t:n[r]||(n[r]={}),n=n[r])}return i},{template:TH}=rT,{replaceWith:CH,extract:AH}=TA,{isIdentifier:PH,isStatement:wH,isJSXElement:kH,isLiteral:IH,isTemplateLiteral:NH,TemplateElement:FH}=rh(),{is:_H,isArgsStr:OH,isJSXChildrenStr:BH,isJSXAttributesStr:jH,isImportsStr:LH}=UK,{entries:MH}=Object,RH=e=>e?.expression||e,{stringify:$H}=JSON;function UH(e){if(PH(e)&&_H(e.name))return{[e.name]:[""]};const t={};return EH(e,{noScope:!0,"Identifier|BooleanLiteral|StringLiteral|TemplateElement|RegExpLiteral|JSXText|JSXAttribute"(e){const{node:r}=e,n=[],i=AH(r);_H(i)&&(e.find((({key:e,listKey:t})=>{"number"!=typeof e?n.unshift(e):n.unshift(`${t}.${e}`)})),t[i]=t[i]||[],t[i].push(n.join(".")))}}),t}function VH({waysFrom:e,node:t}){const r={};for(const[n,i]of MH(e))for(let e of i)LH(n)?e=e.replace(/\.0.local$/,""):(OH(n)||BH(n)||jH(n))&&(e=e.replace(/\.0$/,"")),kH(t)||(e=e.replace(/\.expression$/,"")),r[n]=r[n]||RH(SH(e,t));return r}$K.getTemplateValues=(e,t)=>{if("string"!=typeof t)throw Error(`☝️ Looks like argument 'template' of 'getTemplateValues(node, template)': is not a string, but '${$H(t)}'`);e=(e=>e.node||e)(e);return VH({node:e,waysFrom:UH(TH.ast(t))})},$K.findVarsWays=UH,$K.getValues=VH;$K.setValues=function({waysTo:e,values:t,path:r}){const n=RH(r.node);for(const[s,a]of MH(e))for(let e of a){if(!e){CH(r,t[s]);continue}if((OH(s)||BH(s)||jH(s))&&(e=e.replace(/\.0$/,"")),wH(t[s])&&(e=e.replace(/\.expression$/,"")),IH(t[s])&&NH(n)){const{value:r}=t[s],a=FH({raw:(i=r,i.replace("`","\\`"))});DH(e,a,n);continue}const{extra:a}=SH(e,n),o=t[s].extra;t[s].extra={...a,...o},DH(e,t[s],n)}var i};var zH={},qH={exports:{}};const WH=qh("putout:compare"),{isArray:KH}=Array;function HH(e){if(KH(e)&&e[0]){const[{type:t,name:r,value:n}]=e;return`${t}: ["${r||n}"]`}if((e=>e&&"object"==typeof e)(e)){const{type:t,name:r,value:n}=e;return`${t}: "${r||n}"`}return`${typeof e}: "${e}"`}qH.exports=(e,t)=>{if(!WH.enabled)return;const r=HH(e),n=HH(t);return WH(`${r} = ${n}`)},qH.exports._parseValue=HH;var JH=qH.exports;const{isIdentifier:XH,isLiteral:GH,isStringLiteral:YH,isTemplateElement:QH}=rh();const ZH=JH,eJ=({add:e,value:t,nodeValue:r,templateStore:n})=>{const i=(e=>{e=e[0]||e;const{name:t,value:r}=e;return XH(e)?t:GH(e)?r:QH(e)?e.value.cooked:void 0})(t);return!(YH(t)&&!YH(r))&&(n[i]?(e(n[i],r),!0):(n[i]=r,!0))},{is:tJ,isId:rJ,isBool:nJ,isObject:iJ,isArrays:sJ,isAny:aJ,isAnyLiteral:oJ,isArgs:uJ,isJSXChildren:lJ,isJSXAttributes:cJ,isLinkedArgs:pJ,isLinkedId:dJ,isLinkedBool:hJ,isImports:fJ,isEqualAnyObject:mJ,isEqualAnyArray:yJ,isEqualBody:gJ,isEqualNop:bJ,isLinkedNode:vJ,isLinkedRegExp:xJ}=UK,{isClassBody:EJ,isBlock:SJ,isJSXText:DJ,isTemplateElement:TJ}=rh(),CJ=e=>(t,r)=>e(r),AJ=[function(e,t){if(!TJ(e)||!TJ(t))return!1;const r=e.value.raw===t.value.raw,n=e.value.cooked===t.value.cooked,i=e.tail===t.tail;return r&&n&&i},function(e,t){return!(!DJ(e)||!DJ(t))&&(/^\s+$/.test(t.value)&&/^\s+$/.test(e.value))},function(e,t){return"__"===t},function(e,t){return!(r=t,"object"==typeof r&&null!==r||tJ(t)||t!==e);var r},CJ(EJ),CJ((e=>SJ(e)&&!e.body.length)),CJ(aJ),rJ,nJ,yJ,mJ,gJ,bJ,xJ,function(e,t,{add:r,templateStore:n}){return!!(e&&vJ(t)||pJ(t)||dJ(e,t)||hJ(e,t))&&eJ({add:r,value:t,nodeValue:e,templateStore:n})},oJ,CJ(fJ),CJ(uJ),CJ(lJ),CJ(cJ),function(e,t,{add:r}){const n=iJ(t);n&&r(e,t);return n},function(e,t,{add:r}){const n=sJ(e,t);n&&r(e,t);return n}];zH.runComparators=(e,t,{add:r,templateStore:n})=>{ZH(t,e);for(const i of AJ)if(i(e,t,{add:r,templateStore:n}))return!0;return!1};const{template:PJ}=rT,{isIdentifier:wJ,isExpressionStatement:kJ,isStringLiteral:IJ}=rh(),{findVarsWays:NJ,getValues:FJ,setValues:_J,getTemplateValues:OJ}=$K,{runComparators:BJ}=zH,{isStr:jJ,isPath:LJ,isEqualType:MJ,isEqualBody:RJ,isEqualAnyObject:$J,isEqualAnyArray:UJ,isLinkedNode:VJ,isLinkedId:zJ,isEqualNop:qJ,isTemplate:WJ,parseTemplate:KJ}=UK,{keys:HJ}=Object,{isArray:JJ}=Array,XJ=()=>{},GJ=e=>JJ(e)&&!e.length,YJ=e=>kJ(e)?e.expression:e,QJ=e=>(t,r)=>e.push([t,r]),ZJ=e=>JJ(e)?e:[e];function eX(e){return jJ(e)?PJ.ast(e):e.node?e.node:e}function tX(e,t,r={},n=XJ){const{findUp:i=!0}=r;if(!e&&!t)return!0;if(!e)return!1;if(!t)return!1;const s=YJ(eX(e)),a=YJ(eX(t));if(n(s,a),s.type===t)return!0;if($J(s,a))return!0;if(UJ(s,a))return!0;if(qJ(s,a))return!0;if(wJ(s)&&VJ(a))return!0;if(zJ(s,a))return!0;if(IJ(s)&&VJ(a))return!0;if(RJ(s,a))return!0;if(i&&LJ(e)&&!MJ(s,a)){const{type:t}=a,r=((e,t)=>{const r=e.findParent((e=>t=>t.type===e)(t));return r?r.node:null})(e,t);return nX(r,a)}return nX(s,a)}RK.compare=tX,RK.parseTemplate=KJ,RK.isTemplate=WJ,RK.findVarsWays=NJ,RK.getValues=FJ,RK.setValues=_J,RK.getTemplateValues=OJ,RK.compareAny=(e,t,r)=>{t=ZJ(t);for(const n of t)if(tX(e,n,r))return!0;return!1},RK.compareAll=(e,t,r)=>{t=ZJ(t);for(const n of t)if(!tX(e,n,r))return!1;return!0};const rX=["loc","start","end","directives","extra","raw","comments","leadingComments","innerComments","parent","range","trailingComments","importKind","exportKind"];function nX(e,t){let r=[e,t];const n=[r],i={},s=QJ(n);for(;r=n.pop();){const[e,t]=r;if(!e||GJ(e)&&!GJ(t))return!1;for(const r of HJ(t)){if(rX.includes(r))continue;const n=YJ(e[r]),a=YJ(t[r]);if(!BJ(n,a,{add:s,templateStore:i}))return!1}}return!0}var iX={exports:{}};const sX=e=>(...t)=>(...r)=>e(...t,...r);const{entries:aX}=Object,{isArray:oX}=Array;function uX(e,t){const{node:r}=e;for(const[e,n]of aX(t))if(oX(n)){const t=n.indexOf(r);if(t>=0)return`${e}.${t}`}else if(n===r)return e}const{isProgram:lX}=rh(),cX=(e,...t)=>(function(e){if("function"!=typeof e)throw Error("fn should be a function!")}(e),t.length?sX(e)(...t):sX(e)),pX=e=>{let t={parentPath:e};const r=[];for(;t=t.parentPath;)r.unshift(uX(t,t.parent));return r.join(".")},dX="__putout_runner_replace";function hX(e,t,r){const n=`${e} -> ${t}`;return{watermark:n,highWatermark:`${pX(r)}: ${n}`}}function fX({path:e,program:t}){e.node&&(e.node[dX]=e.node[dX]||new Set),t.node[dX]=t.node[dX]||new Set}function mX({path:e,program:t,watermark:r,highWatermark:n}){fX({path:e,program:t}),e?.node[dX].add(r),t.node[dX].add(n)}function yX({path:e,program:t,watermark:r,highWatermark:n}){return!(!e.node?.[dX].has(r)&&!e.findParent((e=>t=>t.node?.[dX]?.has(e))(r)))||t.node[dX].has(n)}iX.exports=(e,t,r)=>{const{watermark:n,highWatermark:i}=hX(e,t,r),s={watermark:n,highWatermark:i,program:r.findParent(lX)||r,path:r};return{init:cX(fX,s),has:cX(yX,s),add:cX(mX,s)}},iX.exports.REPLACE_WATERMARK=dX,iX.exports.create=hX,iX.exports.init=fX,iX.exports.add=mX,iX.exports.has=yX;var gX=iX.exports;const{template:bX}=rT,{isExpression:vX,isStatement:xX,isExpressionStatement:EX}=rh(),{remove:SX,replaceWith:DX}=TA,{compare:TX,findVarsWays:CX,getValues:AX,setValues:PX}=RK,wX=qh("putout:runner:replace"),kX=eK,IX=gX,NX=(e,t)=>{wX.enabled&&wX(`${e} -> ${t}\n`)},{keys:FX,entries:_X}=Object,{stringify:OX}=JSON,BX=()=>[],jX=()=>({});MK.exports=({rule:e,plugin:t,msg:r,options:n})=>{const{report:i,exclude:s=BX,replace:a,filter:o=$X(t.match,n)}=t,u=a({options:n}),l=RX(u),c=(p=u,()=>FX(p));var p;return{rule:e,msg:r,options:{...n,exclude:[...s(),...kX(n.exclude)]},plugin:{report:i,fix:l,filter:o,include:c}}},MK.exports.clearWatermark=e=>{delete e.program[IX.REPLACE_WATERMARK]};const LX=e=>"function"==typeof e,MX=(e,t,r)=>{const n=bX.ast(e),i=IX(e,t,r);if(i.init(),i.has())return;if(!TX(r,n,{findUp:!1}))return;const s=CX(n),{node:a}=r,o=AX({waysFrom:s,node:a}),u=function(e,t,r){const n=LX(e)?e(t,r):e;if(!n)return null;if(i=n,"object"==typeof i&&n.type)return n;var i;if(!(e=>"string"==typeof e)(n))throw Error(`☝️ Looks like you passed 'replace' value with a wrong type. Allowed: 'string', 'node' and 'path'. Received: '${typeof n}' with value '${n}'.`);const s=bX.ast.fresh(n);return s}(t,o,r);if(!u)return NX(e,"''"),SX(r);!function(e,t,r){if(!vX(e))return;if(!xX(t)||EX(t))return;if(EX(r)||EX(r.parentPath))return;throw Error("☝️ Looks like try to put Statement in place of Expression, use 'match' to filter out such cases")}(n,u,r);const l=CX(u),c=DX(r,u);VX(l,s),PX({waysTo:l,values:o,path:c}),i.add(),r.scope.getBlockParent().crawl(),NX(e,c)},RX=e=>t=>{for(const[r,n]of _X(e))MX(r,n,t)},$X=(e=jX,t)=>r=>{const n=_X(e({options:t}));for(const[e,t]of n){const n=bX.ast(e);if(!TX(r.node,n))continue;const i=CX(n),{node:s}=r,a=AX({waysFrom:i,node:s});return UX(t),t(a,r)}return!0};function UX(e){if(!LX(e))throw Error(`☝️ Looks like 'match' property value is not a 'function', but '${typeof e}' with value '${e}'.`)}const VX=(e,t)=>{for(const r of FX(e))if(!t[r])throw Error(`☝️ Looks like template values not linked: ${OX(FX(t))} -> ${OX(FX(e))}`)};var zX=MK.exports,qX={},WX={};const KX="__putout_declare_undefined_variables",HX=e=>e.scope.getProgramParent().path,JX=(e,t)=>t[e]=t[e]||{};WX.checkDeclarationForESLint=(e,t)=>{const r=HX(t);return JX(KX,r),r[KX][e]},WX.addDeclarationForESLint=(e,t)=>{const r=HX(t);return JX(KX,r),r[KX][e]=!0},WX.setModuleType=(e,t)=>{const r=HX(t);return JX(KX,r),r[KX].__putout_module_type=e,e},WX.getModuleType=e=>{const t=HX(e);return JX(KX,t),t[KX].__putout_module_type};const{template:XX}=rT,{isESM:GX}=TA,{compare:YX}=RK,{addDeclarationForESLint:QX,checkDeclarationForESLint:ZX,getModuleType:eG,setModuleType:tG}=WX,{isImportDeclaration:rG,isVariableDeclaration:nG}=rh(),{keys:iG}=Object,sG=e=>e.filter(nG).pop(),aG=(e,t)=>t.at(-1)===e,oG=e=>e.node.source.value.includes("."),uG=["TSMethodSignature","TSParameterProperty","TSFunctionType","TSDeclareMethod","TSDeclareFunction","TSTypeAliasDeclaration"];qX.declare=e=>({report:lG,include:cG,fix:dG(e),filter:pG(e)});const lG=e=>{const{name:t}=e.node;return`Declare '${t.split(".").shift()}', it referenced but not defined`},cG=()=>["ReferencedIdentifier"],pG=e=>(t,{options:r})=>{if(uG.includes(t.parentPath.type))return!1;const{dismiss:n=[]}=r,i={...e,...r.declarations},s=iG(i),{scope:a,node:o}=t,{name:u}=o,l=eG(t)||tG((e=>GX(e)?"esm":"commonjs")(t),t);if(a.hasBinding(u)||ZX(u,t))return!1;if(!s.includes(u))return!1;if(n.includes(u))return!1;return fG(l,i[u])},dG=e=>(t,{options:r})=>{const n=eG(t),i={...e,...r.declarations},{name:s}=t.node,a=fG(n,i[s]),o=t.scope.getProgramParent().path.get("body");!function(e,t){const r=function(e,t){const r=yG(t),n=sG(t);return nG(e)&&r||(rG(e)||mG(e))&&r?r:nG(e)&&n&&!aG(n,t)?n:null}(e,t),[n]=t;nG(e)&&rG(r)?r.insertAfter(e):nG(e)?n.insertBefore(e):!r&&hG(n)?n.insertAfter(e):r||hG(n)?r.isImportDeclaration()&&oG(r)?r.insertBefore(e):r.insertAfter(e):n.insertBefore(e)}(XX.ast.fresh(a),o),QX(s,t)};function hG(e){if(!e.isExpressionStatement())return!1;return e.get("expression").isStringLiteral({value:"use strict"})}const fG=(e,t)=>{if("string"==typeof t)return t;return t[e]};const mG=e=>YX(e,"const __a = require(__b)");const yG=e=>{const t=[],r=[];for(const n of e)n.isImportDeclaration()&&(oG(n)?r.push(n):t.push(n));return t.pop()||r.pop()},{declare:gG}=qX,{stringify:bG}=JSON;var vG,xG={exports:{}};function EG(){if(vG)return xG.exports;vG=1;const e=JD,{compareAny:t,compareAll:r,parseTemplate:n,isTemplate:i}=RK,s=eK,a=qh("putout:runner:template"),{entries:o}=Object,u=e=>"function"==typeof e,l=(e,t)=>{a.enabled&&a(e,t.toString())},{stringify:c}=JSON;xG.exports._log=l;const p=({rule:e,tmpl:t,fn:r,nodesExclude:n})=>{if(!u(r)||!n.length)return{[t]:r};return{[t]:d({rule:e,fn:r,nodesExclude:n,nodesInclude:[]})}};function d({rule:n,nodesInclude:i,nodesExclude:s,fn:a}){return o=>{if(l(n,o),s.length&&t(o,s))return;if(i.length&&!r(o,i))return;if(!u(a))throw Error(`☝️ Looks like provided visitor is not a function: ${c(a)}. More on using Traverser: https://git.io/JqcMn`);const[p]=e(a,o);if(p)throw p.rule=n,p}}return xG.exports=({rule:e,visitor:t,options:r})=>{const a=[],u=s(r.exclude),l=s(r.include);for(const[r,s]of o(t)){if(!r)continue;if(!i(r)){a.push(p({rule:e,tmpl:r,fn:s,nodesExclude:u}));continue}const[t,o]=n(r),c=d({rule:e,fn:s,nodesExclude:u,nodesInclude:[t,...l]});a.push({[o]:c})}return a},xG.exports._log=l,xG.exports}const SG=VD().default,DG=eT,TG=qh("putout:runner:find"),CG=GW,AG=(e,{fix:t,shebang:r,template:n})=>{const i=[],s={};for(const{rule:a,plugin:o,msg:u,options:l}of e){const{push:e,pull:c,store:p,upstore:d,listStore:h,pathStore:f,uplist:m}=CK(o,{fix:t,rule:a,shebang:r,msg:u,options:l});s[a]=c;const y=o.traverse({push:e,store:p,listStore:h,pathStore:f,upstore:d,uplist:m,generate:dK,options:l});if(!y)throw Error(`☝️ Visitors cannot be empty in "${a}"`);DK(l,{include:TK("include",o,l),exclude:TK("exclude",o,l)}),i.push(...n({rule:a,visitor:y,options:l}))}return{entries:Object.entries(s),visitor:{shouldSkip:EK,...SK(i)}}},PG=function({rule:e,find:t,ast:r,options:n,template:i}){const s=[],a=t(r,{traverse:IK({rule:e,options:n,template:i}),generate:wK,types:PK,push:e=>{s.push(e)},options:n});return[...s,...a||[]]},wG=({rule:e,plugin:t,msg:r,options:n})=>{const{fix:i,report:s,include:a,exclude:o=OK,filter:u=BK}=t;LK("include",a),LK("report",s);const l=jK(a(),u,e);return{rule:e,msg:r,options:{...n,exclude:[...o(),...FK(n.exclude)]},plugin:{report:s,fix:i,traverse:l}}},kG=zX,IG=({rule:e,plugin:t,msg:r,options:n})=>(function(e){if(t=e,"function"!=typeof t)throw Error(`☝️ Looks like 'declare' property value is not a 'function', but '${typeof e}' with value '${bG(e)}'.`);var t}(t.declare),{rule:e,plugin:gG(t.declare()),msg:r,options:n}),{getPath:NG,getPosition:FG}=YW,_G=e=>e?.removed;function OG({ast:e,fix:t,shebang:r,pluginsFind:n,pluginsTraverse:i,template:s,merge:a}){return[...jG({ast:e,fix:t,shebang:r,template:s,pluginsFind:n}),...BG({ast:e,fix:t,shebang:r,template:s,pluginsTraverse:i,merge:a})]}function BG({ast:e,fix:t,shebang:r,template:n,pluginsTraverse:i,merge:s}){const{entries:a,visitor:o}=s(i,{fix:t,shebang:r,template:n});SG(e,o);const u=[];for(const[e,t]of a){const r=t();for(const{message:t,position:n}of r)u.push({rule:e,message:t,position:n})}return u}function jG({ast:e,fix:t,shebang:r,template:n,pluginsFind:i}){const s=[];for(const{rule:a,plugin:o,msg:u,options:l}of i){TG(`find: ${a}`);const{report:i,find:c}=o,p=PG({rule:a,find:c,ast:e,options:l,fix:t,shebang:r,template:n});if(p.length)for(const e of p){const n=u||i(e),{parentPath:c}=NG(e),p=FG(e,r);s.push({rule:a,message:n,position:p}),_G(c)||CG(t,o.fix,{path:e,rule:a,position:p,options:l})}}return s}WW.runPlugins=({ast:e,shebang:t,fix:r,fixCount:n,plugins:i,template:s=EG()})=>{let a=[];const o=DG(AG),{pluginsFind:u,pluginsTraverse:l}=function(e){const t=[],r=[];for(const n of e){const{plugin:e}=n;e.find?t.push(n):e.traverse?r.push(n):e.replace?r.push(wG(kG(n))):e.declare?r.push(wG(IG(n))):e.include&&r.push(wG(n))}return{pluginsFind:t,pluginsTraverse:r}}(i);for(let i=0;i<n;i++){if(a=OG({ast:e,fix:r,shebang:t,pluginsFind:u,pluginsTraverse:l,merge:o,template:s}),!r||!a.length)return a;kG.clearWatermark(e)}return a},WW.getPosition=FG;var LG={};LG.mergeShebang=(e,t)=>{return e?e+("\n"===(r=t)[0]?r:`\n${r}`):t;var r},LG.cutShebang=e=>{if(e.indexOf("#"))return[e,""];const t=e.split("\n"),r=t.slice(1).join("\n"),[n]=t;return[r,`${n}\n`]};var MG=()=>{let e=0,t=0;return async(r,n)=>{const{name:i,source:s,places:a,index:o=0,count:u=1,formatterOptions:l={}}=n;return a.length&&++e,t+=a.length,await r({name:i,options:l,source:s,places:a,index:o,count:u,filesCount:e,errorsCount:t})}},RG={};const $G=VD().default,{isFile:UG,isProgram:VG}=rh(),{compare:zG,parseTemplate:qG,isTemplate:WG,getTemplateValues:KG}=RK,{merge:HG}=$G.visitors,{entries:JG}=Object;RG.traverse=YG;const XG=e=>(e=>Boolean(e.node))(e)?e.node:e,GG=([e])=>e;function YG(e,t){e=XG(e);const r=[],n=!UG(e)&&!VG(e),i=JG(t);if(!i.map(GG).find(WG))return $G(e,{noScope:n,...t});for(const[e,t]of i){if(!WG(e)){r.push({[e]:t});continue}const[n,i]=qG(e),s=QG({fn:t,node:n,tmpl:e});r.push({[i]:s})}$G(e,{noScope:n,...HG(r)})}const QG=({fn:e,node:t,tmpl:r})=>n=>{zG(n,t)&&e(n,KG(n.node,r))};RG.contains=(e,t)=>{let r=!1;const{node:n=e}=e,i=e=>{r=!0,e.stop()},s={};for(const e of t)s[e]=i;return YG(n,s),r};var ZG={dotAll:{_hasUFlag:!1,shouldRun:function(e){var t=e.flags.includes("s");return!!t&&(e.flags=e.flags.replace("s",""),this._hasUFlag=e.flags.includes("u"),!0)},Char:function(e){var t=e.node;if("meta"===t.kind&&"."===t.value){var r="\\uFFFF",n="";this._hasUFlag&&(r="\\u{10FFFF}",n=""),e.replace({type:"CharacterClass",expressions:[{type:"ClassRange",from:{type:"Char",value:"\\0",kind:"decimal",symbol:"\0"},to:{type:"Char",value:r,kind:"unicode",symbol:n}}]})}}},namedCapturingGroups:{_groupNames:{},init:function(){this._groupNames={}},getExtra:function(){return this._groupNames},Group:function(e){var t=e.node;t.name&&(this._groupNames[t.name]=t.number,delete t.name,delete t.nameRaw)},Backreference:function(e){var t=e.node;"name"===t.kind&&(t.kind="number",t.reference=t.number,delete t.referenceRaw)}},xFlag:{RegExp:function(e){var t=e.node;t.flags.includes("x")&&(t.flags=t.flags.replace("x",""))}}};function eY(e){return e?tY[e.type](e):""}var tY={RegExp:function(e){return"/"+eY(e.body)+"/"+e.flags},Alternative:function(e){return(e.expressions||[]).map(eY).join("")},Disjunction:function(e){return eY(e.left)+"|"+eY(e.right)},Group:function(e){var t=eY(e.expression);return e.capturing?e.name?"(?<"+(e.nameRaw||e.name)+">"+t+")":"("+t+")":"(?:"+t+")"},Backreference:function(e){switch(e.kind){case"number":return"\\"+e.reference;case"name":return"\\k<"+(e.referenceRaw||e.reference)+">";default:throw new TypeError("Unknown Backreference kind: "+e.kind)}},Assertion:function(e){switch(e.kind){case"^":case"$":case"\\b":case"\\B":return e.kind;case"Lookahead":var t=eY(e.assertion);return e.negative?"(?!"+t+")":"(?="+t+")";case"Lookbehind":var r=eY(e.assertion);return e.negative?"(?<!"+r+")":"(?<="+r+")";default:throw new TypeError("Unknown Assertion kind: "+e.kind)}},CharacterClass:function(e){var t=e.expressions.map(eY).join("");return e.negative?"[^"+t+"]":"["+t+"]"},ClassRange:function(e){return eY(e.from)+"-"+eY(e.to)},Repetition:function(e){return""+eY(e.expression)+eY(e.quantifier)},Quantifier:function(e){var t=void 0,r=e.greedy?"":"?";switch(e.kind){case"+":case"?":case"*":t=e.kind;break;case"Range":t=e.from===e.to?"{"+e.from+"}":e.to?"{"+e.from+","+e.to+"}":"{"+e.from+",}";break;default:throw new TypeError("Unknown Quantifier kind: "+e.kind)}return""+t+r},Char:function(e){var t=e.value;switch(e.kind){case"simple":return e.escaped?"\\"+t:t;case"hex":case"unicode":case"oct":case"decimal":case"control":case"meta":return t;default:throw new TypeError("Unknown Char kind: "+e.kind)}},UnicodeProperty:function(e){return"\\"+(e.negative?"P":"p")+"{"+(e.shorthand||e.binary?"":e.name+"=")+e.value+"}"}},rY={generate:eY},nY={General_Category:"gc",Script:"sc",Script_Extensions:"scx"},iY=pY(nY),sY={ASCII:"ASCII",ASCII_Hex_Digit:"AHex",Alphabetic:"Alpha",Any:"Any",Assigned:"Assigned",Bidi_Control:"Bidi_C",Bidi_Mirrored:"Bidi_M",Case_Ignorable:"CI",Cased:"Cased",Changes_When_Casefolded:"CWCF",Changes_When_Casemapped:"CWCM",Changes_When_Lowercased:"CWL",Changes_When_NFKC_Casefolded:"CWKCF",Changes_When_Titlecased:"CWT",Changes_When_Uppercased:"CWU",Dash:"Dash",Default_Ignorable_Code_Point:"DI",Deprecated:"Dep",Diacritic:"Dia",Emoji:"Emoji",Emoji_Component:"Emoji_Component",Emoji_Modifier:"Emoji_Modifier",Emoji_Modifier_Base:"Emoji_Modifier_Base",Emoji_Presentation:"Emoji_Presentation",Extended_Pictographic:"Extended_Pictographic",Extender:"Ext",Grapheme_Base:"Gr_Base",Grapheme_Extend:"Gr_Ext",Hex_Digit:"Hex",IDS_Binary_Operator:"IDSB",IDS_Trinary_Operator:"IDST",ID_Continue:"IDC",ID_Start:"IDS",Ideographic:"Ideo",Join_Control:"Join_C",Logical_Order_Exception:"LOE",Lowercase:"Lower",Math:"Math",Noncharacter_Code_Point:"NChar",Pattern_Syntax:"Pat_Syn",Pattern_White_Space:"Pat_WS",Quotation_Mark:"QMark",Radical:"Radical",Regional_Indicator:"RI",Sentence_Terminal:"STerm",Soft_Dotted:"SD",Terminal_Punctuation:"Term",Unified_Ideograph:"UIdeo",Uppercase:"Upper",Variation_Selector:"VS",White_Space:"space",XID_Continue:"XIDC",XID_Start:"XIDS"},aY=pY(sY),oY={Cased_Letter:"LC",Close_Punctuation:"Pe",Connector_Punctuation:"Pc",Control:["Cc","cntrl"],Currency_Symbol:"Sc",Dash_Punctuation:"Pd",Decimal_Number:["Nd","digit"],Enclosing_Mark:"Me",Final_Punctuation:"Pf",Format:"Cf",Initial_Punctuation:"Pi",Letter:"L",Letter_Number:"Nl",Line_Separator:"Zl",Lowercase_Letter:"Ll",Mark:["M","Combining_Mark"],Math_Symbol:"Sm",Modifier_Letter:"Lm",Modifier_Symbol:"Sk",Nonspacing_Mark:"Mn",Number:"N",Open_Punctuation:"Ps",Other:"C",Other_Letter:"Lo",Other_Number:"No",Other_Punctuation:"Po",Other_Symbol:"So",Paragraph_Separator:"Zp",Private_Use:"Co",Punctuation:["P","punct"],Separator:"Z",Space_Separator:"Zs",Spacing_Mark:"Mc",Surrogate:"Cs",Symbol:"S",Titlecase_Letter:"Lt",Unassigned:"Cn",Uppercase_Letter:"Lu"},uY=pY(oY),lY={Adlam:"Adlm",Ahom:"Ahom",Anatolian_Hieroglyphs:"Hluw",Arabic:"Arab",Armenian:"Armn",Avestan:"Avst",Balinese:"Bali",Bamum:"Bamu",Bassa_Vah:"Bass",Batak:"Batk",Bengali:"Beng",Bhaiksuki:"Bhks",Bopomofo:"Bopo",Brahmi:"Brah",Braille:"Brai",Buginese:"Bugi",Buhid:"Buhd",Canadian_Aboriginal:"Cans",Carian:"Cari",Caucasian_Albanian:"Aghb",Chakma:"Cakm",Cham:"Cham",Cherokee:"Cher",Common:"Zyyy",Coptic:["Copt","Qaac"],Cuneiform:"Xsux",Cypriot:"Cprt",Cyrillic:"Cyrl",Deseret:"Dsrt",Devanagari:"Deva",Dogra:"Dogr",Duployan:"Dupl",Egyptian_Hieroglyphs:"Egyp",Elbasan:"Elba",Ethiopic:"Ethi",Georgian:"Geor",Glagolitic:"Glag",Gothic:"Goth",Grantha:"Gran",Greek:"Grek",Gujarati:"Gujr",Gunjala_Gondi:"Gong",Gurmukhi:"Guru",Han:"Hani",Hangul:"Hang",Hanifi_Rohingya:"Rohg",Hanunoo:"Hano",Hatran:"Hatr",Hebrew:"Hebr",Hiragana:"Hira",Imperial_Aramaic:"Armi",Inherited:["Zinh","Qaai"],Inscriptional_Pahlavi:"Phli",Inscriptional_Parthian:"Prti",Javanese:"Java",Kaithi:"Kthi",Kannada:"Knda",Katakana:"Kana",Kayah_Li:"Kali",Kharoshthi:"Khar",Khmer:"Khmr",Khojki:"Khoj",Khudawadi:"Sind",Lao:"Laoo",Latin:"Latn",Lepcha:"Lepc",Limbu:"Limb",Linear_A:"Lina",Linear_B:"Linb",Lisu:"Lisu",Lycian:"Lyci",Lydian:"Lydi",Mahajani:"Mahj",Makasar:"Maka",Malayalam:"Mlym",Mandaic:"Mand",Manichaean:"Mani",Marchen:"Marc",Medefaidrin:"Medf",Masaram_Gondi:"Gonm",Meetei_Mayek:"Mtei",Mende_Kikakui:"Mend",Meroitic_Cursive:"Merc",Meroitic_Hieroglyphs:"Mero",Miao:"Plrd",Modi:"Modi",Mongolian:"Mong",Mro:"Mroo",Multani:"Mult",Myanmar:"Mymr",Nabataean:"Nbat",New_Tai_Lue:"Talu",Newa:"Newa",Nko:"Nkoo",Nushu:"Nshu",Ogham:"Ogam",Ol_Chiki:"Olck",Old_Hungarian:"Hung",Old_Italic:"Ital",Old_North_Arabian:"Narb",Old_Permic:"Perm",Old_Persian:"Xpeo",Old_Sogdian:"Sogo",Old_South_Arabian:"Sarb",Old_Turkic:"Orkh",Oriya:"Orya",Osage:"Osge",Osmanya:"Osma",Pahawh_Hmong:"Hmng",Palmyrene:"Palm",Pau_Cin_Hau:"Pauc",Phags_Pa:"Phag",Phoenician:"Phnx",Psalter_Pahlavi:"Phlp",Rejang:"Rjng",Runic:"Runr",Samaritan:"Samr",Saurashtra:"Saur",Sharada:"Shrd",Shavian:"Shaw",Siddham:"Sidd",SignWriting:"Sgnw",Sinhala:"Sinh",Sogdian:"Sogd",Sora_Sompeng:"Sora",Soyombo:"Soyo",Sundanese:"Sund",Syloti_Nagri:"Sylo",Syriac:"Syrc",Tagalog:"Tglg",Tagbanwa:"Tagb",Tai_Le:"Tale",Tai_Tham:"Lana",Tai_Viet:"Tavt",Takri:"Takr",Tamil:"Taml",Tangut:"Tang",Telugu:"Telu",Thaana:"Thaa",Thai:"Thai",Tibetan:"Tibt",Tifinagh:"Tfng",Tirhuta:"Tirh",Ugaritic:"Ugar",Vai:"Vaii",Warang_Citi:"Wara",Yi:"Yiii",Zanabazar_Square:"Zanb"},cY=pY(lY);function pY(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(Array.isArray(n))for(var i=0;i<n.length;i++)t[n[i]]=r;else t[n]=r}return t}function dY(e){return oY.hasOwnProperty(e)||uY.hasOwnProperty(e)}function hY(e){return lY.hasOwnProperty(e)||cY.hasOwnProperty(e)}var fY={isAlias:function(e){return iY.hasOwnProperty(e)||aY.hasOwnProperty(e)},isValidName:function(e){return nY.hasOwnProperty(e)||iY.hasOwnProperty(e)||sY.hasOwnProperty(e)||aY.hasOwnProperty(e)},isValidValue:function(e,t){return function(e){return"General_Category"===e||"gc"==e}(e)?dY(t):!!function(e){return"Script"===e||"Script_Extensions"===e||"sc"===e||"scx"===e}(e)&&hY(t)},isGeneralCategoryValue:dY,isScriptCategoryValue:hY,isBinaryPropertyName:function(e){return sY.hasOwnProperty(e)||aY.hasOwnProperty(e)},getCanonicalName:function(e){return iY.hasOwnProperty(e)?iY[e]:aY.hasOwnProperty(e)?aY[e]:null},getCanonicalValue:function(e){return uY.hasOwnProperty(e)?uY[e]:cY.hasOwnProperty(e)?cY[e]:aY.hasOwnProperty(e)?aY[e]:null},NON_BINARY_PROP_NAMES_TO_ALIASES:nY,NON_BINARY_ALIASES_TO_PROP_NAMES:iY,BINARY_PROP_NAMES_TO_ALIASES:sY,BINARY_ALIASES_TO_PROP_NAMES:aY,GENERAL_CATEGORY_VALUE_TO_ALIASES:oY,GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES:uY,SCRIPT_VALUE_TO_ALIASES:lY,SCRIPT_VALUE_ALIASES_TO_VALUE:cY},mY=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function yY(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var gY=void 0,bY={},vY=void 0,xY=void 0;function EY(e,t){return bY.options.captureLocations?e&&t?{startOffset:e.startOffset,endOffset:t.endOffset,startLine:e.startLine,endLine:t.endLine,startColumn:e.startColumn,endColumn:t.endColumn}:e||t:null}var SY=[[-1,1,function(e,t){xY=EY(t,t),vY=e}],[0,4,function(e,t,r,n,i,s,a,o){xY=EY(i,o),vY=KY({type:"RegExp",body:t,flags:RY(n)},HY(i,o||a))}],[1,1,function(e,t){xY=EY(t,t),vY=e}],[1,0,function(){xY=null,vY=""}],[2,1,function(e,t){xY=EY(t,t),vY=e}],[2,2,function(e,t,r,n){xY=EY(r,n),vY=e+t}],[3,1,function(e,t){xY=EY(t,t),vY=e}],[4,1,function(e,t){xY=EY(t,t),vY=e}],[4,3,function(e,t,r,n,i,s){xY=EY(n,s);var a=null;i&&(a=HY(n||i,s||i)),vY=KY({type:"Disjunction",left:e,right:r},a)}],[5,1,function(e,t){xY=EY(t,t),vY=0!==e.length?1===e.length?KY(e[0],xY):KY({type:"Alternative",expressions:e},xY):null}],[6,0,function(){xY=null,vY=[]}],[6,2,function(e,t,r,n){xY=EY(r,n),vY=e.concat(t)}],[7,1,function(e,t){xY=EY(t,t),vY=KY(Object.assign({type:"Assertion"},e),xY)}],[7,2,function(e,t,r,n){xY=EY(r,n),vY=e,t&&(vY=KY({type:"Repetition",expression:e,quantifier:t},xY))}],[8,1,function(e,t){xY=EY(t,t),vY={kind:"^"}}],[8,1,function(e,t){xY=EY(t,t),vY={kind:"$"}}],[8,1,function(e,t){xY=EY(t,t),vY={kind:"\\b"}}],[8,1,function(e,t){xY=EY(t,t),vY={kind:"\\B"}}],[8,3,function(e,t,r,n,i,s){xY=EY(n,s),vY={kind:"Lookahead",assertion:t}}],[8,3,function(e,t,r,n,i,s){xY=EY(n,s),vY={kind:"Lookahead",negative:!0,assertion:t}}],[8,3,function(e,t,r,n,i,s){xY=EY(n,s),vY={kind:"Lookbehind",assertion:t}}],[8,3,function(e,t,r,n,i,s){xY=EY(n,s),vY={kind:"Lookbehind",negative:!0,assertion:t}}],[9,1,function(e,t){xY=EY(t,t),vY=e}],[9,1,function(e,t){xY=EY(t,t),vY=e}],[9,1,function(e,t){xY=EY(t,t),vY=e}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"simple",xY)}],[10,1,function(e,t){xY=EY(t,t),(vY=LY(e.slice(1),"simple",xY)).escaped=!0}],[10,1,function(e,t){xY=EY(t,t),(vY=LY(e,"unicode",xY)).isSurrogatePair=!0}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"unicode",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=function(e,t){var r="P"===e[1],n=e.indexOf("="),i=e.slice(3,-1!==n?n:-1),s=void 0,a=-1===n&&jY.isGeneralCategoryValue(i),o=-1===n&&jY.isBinaryPropertyName(i);if(a)s=i,i="General_Category";else if(o)s=i;else{if(!jY.isValidName(i))throw new SyntaxError("Invalid unicode property name: "+i+".");if(s=e.slice(n+1,-1),!jY.isValidValue(i,s))throw new SyntaxError("Invalid "+i+" unicode property value: "+s+".")}return KY({type:"UnicodeProperty",name:i,value:s,negative:r,shorthand:a,binary:o,canonicalName:jY.getCanonicalName(i)||i,canonicalValue:jY.getCanonicalValue(s)||s},t)}(e,xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"control",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"hex",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"oct",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=function(e,t){var r=Number(e.slice(1));if(r>0&&r<=NY)return KY({type:"Backreference",kind:"number",number:r,reference:r},t);return LY(e,"decimal",t)}(e,xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"meta",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"meta",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=function(e,t){var r=e.slice(3,-1),n=WY(r);if(FY.hasOwnProperty(n))return KY({type:"Backreference",kind:"name",number:FY[n],reference:n,referenceRaw:r},t);var i=null,s=null,a=null,o=null;t&&(i=t.startOffset,s=t.startLine,a=t.endLine,o=t.startColumn);var u=/^[\w$<>]/,l=void 0,c=[LY(e.slice(1,2),"simple",i?{startLine:s,endLine:a,startColumn:o,startOffset:i,endOffset:i+=2,endColumn:o+=2}:null)];c[0].escaped=!0,e=e.slice(2);for(;e.length>0;){var p=null;(p=e.match($Y))||(p=e.match(UY))?(i&&(l={startLine:s,endLine:a,startColumn:o,startOffset:i,endOffset:i+=p[0].length,endColumn:o+=p[0].length}),c.push(LY(p[0],"unicode",l)),e=e.slice(p[0].length)):(p=e.match(u))&&(i&&(l={startLine:s,endLine:a,startColumn:o,startOffset:i,endOffset:++i,endColumn:++o}),c.push(LY(p[0],"simple",l)),e=e.slice(1))}return c}(e,t)}],[11,1,function(e,t){xY=EY(t,t),vY=e}],[11,0],[12,1,function(e,t){xY=EY(t,t),vY=e}],[12,2,function(e,t,r,n){xY=EY(r,n),e.greedy=!1,vY=e}],[13,1,function(e,t){xY=EY(t,t),vY=KY({type:"Quantifier",kind:e,greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t),vY=KY({type:"Quantifier",kind:e,greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t),vY=KY({type:"Quantifier",kind:e,greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t);var r=OY(e);vY=KY({type:"Quantifier",kind:"Range",from:r[0],to:r[0],greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t),vY=KY({type:"Quantifier",kind:"Range",from:OY(e)[0],greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t);var r=OY(e);vY=KY({type:"Quantifier",kind:"Range",from:r[0],to:r[1],greedy:!0},xY)}],[14,1,function(e,t){xY=EY(t,t),vY=e}],[14,1,function(e,t){xY=EY(t,t),vY=e}],[15,3,function(e,t,r,n,i,s){xY=EY(n,s);var a=String(e),o=WY(a);if(!bY.options.allowGroupNameDuplicates&&FY.hasOwnProperty(o))throw new SyntaxError('Duplicate of the named group "'+o+'".');FY[o]=e.groupNumber,vY=KY({type:"Group",capturing:!0,name:o,nameRaw:a,number:e.groupNumber,expression:t},xY)}],[15,3,function(e,t,r,n,i,s){xY=EY(n,s),vY=KY({type:"Group",capturing:!0,number:e.groupNumber,expression:t},xY)}],[16,3,function(e,t,r,n,i,s){xY=EY(n,s),vY=KY({type:"Group",capturing:!1,expression:t},xY)}],[17,3,function(e,t,r,n,i,s){xY=EY(n,s),vY=KY({type:"CharacterClass",negative:!0,expressions:t},xY)}],[17,3,function(e,t,r,n,i,s){xY=EY(n,s),vY=KY({type:"CharacterClass",expressions:t},xY)}],[18,0,function(){xY=null,vY=[]}],[18,1,function(e,t){xY=EY(t,t),vY=e}],[19,1,function(e,t){xY=EY(t,t),vY=[e]}],[19,2,function(e,t,r,n){xY=EY(r,n),vY=[e].concat(t)}],[19,4,function(e,t,r,n,i,s,a,o){xY=EY(i,o),BY(e,r),vY=[KY({type:"ClassRange",from:e,to:r},HY(i,a))],n&&(vY=vY.concat(n))}],[20,1,function(e,t){xY=EY(t,t),vY=e}],[20,2,function(e,t,r,n){xY=EY(r,n),vY=[e].concat(t)}],[20,4,function(e,t,r,n,i,s,a,o){xY=EY(i,o),BY(e,r),vY=[KY({type:"ClassRange",from:e,to:r},HY(i,a))],n&&(vY=vY.concat(n))}],[21,1,function(e,t){xY=EY(t,t),vY=LY(e,"simple",xY)}],[21,1,function(e,t){xY=EY(t,t),vY=e}],[22,1,function(e,t){xY=EY(t,t),vY=e}],[22,1,function(e,t){xY=EY(t,t),vY=LY(e,"meta",xY)}]],DY={SLASH:"23",CHAR:"24",BAR:"25",BOS:"26",EOS:"27",ESC_b:"28",ESC_B:"29",POS_LA_ASSERT:"30",R_PAREN:"31",NEG_LA_ASSERT:"32",POS_LB_ASSERT:"33",NEG_LB_ASSERT:"34",ESC_CHAR:"35",U_CODE_SURROGATE:"36",U_CODE:"37",U_PROP_VALUE_EXP:"38",CTRL_CH:"39",HEX_CODE:"40",OCT_CODE:"41",DEC_CODE:"42",META_CHAR:"43",ANY:"44",NAMED_GROUP_REF:"45",Q_MARK:"46",STAR:"47",PLUS:"48",RANGE_EXACT:"49",RANGE_OPEN:"50",RANGE_CLOSED:"51",NAMED_CAPTURE_GROUP:"52",L_PAREN:"53",NON_CAPTURE_GROUP:"54",NEG_CLASS:"55",R_BRACKET:"56",L_BRACKET:"57",DASH:"58",$:"59"},TY=[{0:1,23:"s2"},{59:"acc"},{3:3,4:4,5:5,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"s7"},{23:"r6",25:"s12"},{23:"r7",25:"r7",31:"r7"},{7:14,8:15,9:16,10:25,14:27,15:42,16:43,17:26,23:"r9",24:"s28",25:"r9",26:"s17",27:"s18",28:"s19",29:"s20",30:"s21",31:"r9",32:"s22",33:"s23",34:"s24",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",52:"s44",53:"s45",54:"s46",55:"s40",57:"s41"},{1:8,2:9,24:"s10",59:"r3"},{59:"r1"},{24:"s11",59:"r2"},{24:"r4",59:"r4"},{24:"r5",59:"r5"},{5:13,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r8",25:"r8",31:"r8"},{23:"r11",24:"r11",25:"r11",26:"r11",27:"r11",28:"r11",29:"r11",30:"r11",31:"r11",32:"r11",33:"r11",34:"r11",35:"r11",36:"r11",37:"r11",38:"r11",39:"r11",40:"r11",41:"r11",42:"r11",43:"r11",44:"r11",45:"r11",52:"r11",53:"r11",54:"r11",55:"r11",57:"r11"},{23:"r12",24:"r12",25:"r12",26:"r12",27:"r12",28:"r12",29:"r12",30:"r12",31:"r12",32:"r12",33:"r12",34:"r12",35:"r12",36:"r12",37:"r12",38:"r12",39:"r12",40:"r12",41:"r12",42:"r12",43:"r12",44:"r12",45:"r12",52:"r12",53:"r12",54:"r12",55:"r12",57:"r12"},{11:47,12:48,13:49,23:"r38",24:"r38",25:"r38",26:"r38",27:"r38",28:"r38",29:"r38",30:"r38",31:"r38",32:"r38",33:"r38",34:"r38",35:"r38",36:"r38",37:"r38",38:"r38",39:"r38",40:"r38",41:"r38",42:"r38",43:"r38",44:"r38",45:"r38",46:"s52",47:"s50",48:"s51",49:"s53",50:"s54",51:"s55",52:"r38",53:"r38",54:"r38",55:"r38",57:"r38"},{23:"r14",24:"r14",25:"r14",26:"r14",27:"r14",28:"r14",29:"r14",30:"r14",31:"r14",32:"r14",33:"r14",34:"r14",35:"r14",36:"r14",37:"r14",38:"r14",39:"r14",40:"r14",41:"r14",42:"r14",43:"r14",44:"r14",45:"r14",52:"r14",53:"r14",54:"r14",55:"r14",57:"r14"},{23:"r15",24:"r15",25:"r15",26:"r15",27:"r15",28:"r15",29:"r15",30:"r15",31:"r15",32:"r15",33:"r15",34:"r15",35:"r15",36:"r15",37:"r15",38:"r15",39:"r15",40:"r15",41:"r15",42:"r15",43:"r15",44:"r15",45:"r15",52:"r15",53:"r15",54:"r15",55:"r15",57:"r15"},{23:"r16",24:"r16",25:"r16",26:"r16",27:"r16",28:"r16",29:"r16",30:"r16",31:"r16",32:"r16",33:"r16",34:"r16",35:"r16",36:"r16",37:"r16",38:"r16",39:"r16",40:"r16",41:"r16",42:"r16",43:"r16",44:"r16",45:"r16",52:"r16",53:"r16",54:"r16",55:"r16",57:"r16"},{23:"r17",24:"r17",25:"r17",26:"r17",27:"r17",28:"r17",29:"r17",30:"r17",31:"r17",32:"r17",33:"r17",34:"r17",35:"r17",36:"r17",37:"r17",38:"r17",39:"r17",40:"r17",41:"r17",42:"r17",43:"r17",44:"r17",45:"r17",52:"r17",53:"r17",54:"r17",55:"r17",57:"r17"},{4:57,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:59,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:61,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:63,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r22",24:"r22",25:"r22",26:"r22",27:"r22",28:"r22",29:"r22",30:"r22",31:"r22",32:"r22",33:"r22",34:"r22",35:"r22",36:"r22",37:"r22",38:"r22",39:"r22",40:"r22",41:"r22",42:"r22",43:"r22",44:"r22",45:"r22",46:"r22",47:"r22",48:"r22",49:"r22",50:"r22",51:"r22",52:"r22",53:"r22",54:"r22",55:"r22",57:"r22"},{23:"r23",24:"r23",25:"r23",26:"r23",27:"r23",28:"r23",29:"r23",30:"r23",31:"r23",32:"r23",33:"r23",34:"r23",35:"r23",36:"r23",37:"r23",38:"r23",39:"r23",40:"r23",41:"r23",42:"r23",43:"r23",44:"r23",45:"r23",46:"r23",47:"r23",48:"r23",49:"r23",50:"r23",51:"r23",52:"r23",53:"r23",54:"r23",55:"r23",57:"r23"},{23:"r24",24:"r24",25:"r24",26:"r24",27:"r24",28:"r24",29:"r24",30:"r24",31:"r24",32:"r24",33:"r24",34:"r24",35:"r24",36:"r24",37:"r24",38:"r24",39:"r24",40:"r24",41:"r24",42:"r24",43:"r24",44:"r24",45:"r24",46:"r24",47:"r24",48:"r24",49:"r24",50:"r24",51:"r24",52:"r24",53:"r24",54:"r24",55:"r24",57:"r24"},{23:"r25",24:"r25",25:"r25",26:"r25",27:"r25",28:"r25",29:"r25",30:"r25",31:"r25",32:"r25",33:"r25",34:"r25",35:"r25",36:"r25",37:"r25",38:"r25",39:"r25",40:"r25",41:"r25",42:"r25",43:"r25",44:"r25",45:"r25",46:"r25",47:"r25",48:"r25",49:"r25",50:"r25",51:"r25",52:"r25",53:"r25",54:"r25",55:"r25",56:"r25",57:"r25",58:"r25"},{23:"r26",24:"r26",25:"r26",26:"r26",27:"r26",28:"r26",29:"r26",30:"r26",31:"r26",32:"r26",33:"r26",34:"r26",35:"r26",36:"r26",37:"r26",38:"r26",39:"r26",40:"r26",41:"r26",42:"r26",43:"r26",44:"r26",45:"r26",46:"r26",47:"r26",48:"r26",49:"r26",50:"r26",51:"r26",52:"r26",53:"r26",54:"r26",55:"r26",56:"r26",57:"r26",58:"r26"},{23:"r27",24:"r27",25:"r27",26:"r27",27:"r27",28:"r27",29:"r27",30:"r27",31:"r27",32:"r27",33:"r27",34:"r27",35:"r27",36:"r27",37:"r27",38:"r27",39:"r27",40:"r27",41:"r27",42:"r27",43:"r27",44:"r27",45:"r27",46:"r27",47:"r27",48:"r27",49:"r27",50:"r27",51:"r27",52:"r27",53:"r27",54:"r27",55:"r27",56:"r27",57:"r27",58:"r27"},{23:"r28",24:"r28",25:"r28",26:"r28",27:"r28",28:"r28",29:"r28",30:"r28",31:"r28",32:"r28",33:"r28",34:"r28",35:"r28",36:"r28",37:"r28",38:"r28",39:"r28",40:"r28",41:"r28",42:"r28",43:"r28",44:"r28",45:"r28",46:"r28",47:"r28",48:"r28",49:"r28",50:"r28",51:"r28",52:"r28",53:"r28",54:"r28",55:"r28",56:"r28",57:"r28",58:"r28"},{23:"r29",24:"r29",25:"r29",26:"r29",27:"r29",28:"r29",29:"r29",30:"r29",31:"r29",32:"r29",33:"r29",34:"r29",35:"r29",36:"r29",37:"r29",38:"r29",39:"r29",40:"r29",41:"r29",42:"r29",43:"r29",44:"r29",45:"r29",46:"r29",47:"r29",48:"r29",49:"r29",50:"r29",51:"r29",52:"r29",53:"r29",54:"r29",55:"r29",56:"r29",57:"r29",58:"r29"},{23:"r30",24:"r30",25:"r30",26:"r30",27:"r30",28:"r30",29:"r30",30:"r30",31:"r30",32:"r30",33:"r30",34:"r30",35:"r30",36:"r30",37:"r30",38:"r30",39:"r30",40:"r30",41:"r30",42:"r30",43:"r30",44:"r30",45:"r30",46:"r30",47:"r30",48:"r30",49:"r30",50:"r30",51:"r30",52:"r30",53:"r30",54:"r30",55:"r30",56:"r30",57:"r30",58:"r30"},{23:"r31",24:"r31",25:"r31",26:"r31",27:"r31",28:"r31",29:"r31",30:"r31",31:"r31",32:"r31",33:"r31",34:"r31",35:"r31",36:"r31",37:"r31",38:"r31",39:"r31",40:"r31",41:"r31",42:"r31",43:"r31",44:"r31",45:"r31",46:"r31",47:"r31",48:"r31",49:"r31",50:"r31",51:"r31",52:"r31",53:"r31",54:"r31",55:"r31",56:"r31",57:"r31",58:"r31"},{23:"r32",24:"r32",25:"r32",26:"r32",27:"r32",28:"r32",29:"r32",30:"r32",31:"r32",32:"r32",33:"r32",34:"r32",35:"r32",36:"r32",37:"r32",38:"r32",39:"r32",40:"r32",41:"r32",42:"r32",43:"r32",44:"r32",45:"r32",46:"r32",47:"r32",48:"r32",49:"r32",50:"r32",51:"r32",52:"r32",53:"r32",54:"r32",55:"r32",56:"r32",57:"r32",58:"r32"},{23:"r33",24:"r33",25:"r33",26:"r33",27:"r33",28:"r33",29:"r33",30:"r33",31:"r33",32:"r33",33:"r33",34:"r33",35:"r33",36:"r33",37:"r33",38:"r33",39:"r33",40:"r33",41:"r33",42:"r33",43:"r33",44:"r33",45:"r33",46:"r33",47:"r33",48:"r33",49:"r33",50:"r33",51:"r33",52:"r33",53:"r33",54:"r33",55:"r33",56:"r33",57:"r33",58:"r33"},{23:"r34",24:"r34",25:"r34",26:"r34",27:"r34",28:"r34",29:"r34",30:"r34",31:"r34",32:"r34",33:"r34",34:"r34",35:"r34",36:"r34",37:"r34",38:"r34",39:"r34",40:"r34",41:"r34",42:"r34",43:"r34",44:"r34",45:"r34",46:"r34",47:"r34",48:"r34",49:"r34",50:"r34",51:"r34",52:"r34",53:"r34",54:"r34",55:"r34",56:"r34",57:"r34",58:"r34"},{23:"r35",24:"r35",25:"r35",26:"r35",27:"r35",28:"r35",29:"r35",30:"r35",31:"r35",32:"r35",33:"r35",34:"r35",35:"r35",36:"r35",37:"r35",38:"r35",39:"r35",40:"r35",41:"r35",42:"r35",43:"r35",44:"r35",45:"r35",46:"r35",47:"r35",48:"r35",49:"r35",50:"r35",51:"r35",52:"r35",53:"r35",54:"r35",55:"r35",56:"r35",57:"r35",58:"r35"},{23:"r36",24:"r36",25:"r36",26:"r36",27:"r36",28:"r36",29:"r36",30:"r36",31:"r36",32:"r36",33:"r36",34:"r36",35:"r36",36:"r36",37:"r36",38:"r36",39:"r36",40:"r36",41:"r36",42:"r36",43:"r36",44:"r36",45:"r36",46:"r36",47:"r36",48:"r36",49:"r36",50:"r36",51:"r36",52:"r36",53:"r36",54:"r36",55:"r36",56:"r36",57:"r36",58:"r36"},{10:70,18:65,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{10:70,18:83,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{23:"r47",24:"r47",25:"r47",26:"r47",27:"r47",28:"r47",29:"r47",30:"r47",31:"r47",32:"r47",33:"r47",34:"r47",35:"r47",36:"r47",37:"r47",38:"r47",39:"r47",40:"r47",41:"r47",42:"r47",43:"r47",44:"r47",45:"r47",46:"r47",47:"r47",48:"r47",49:"r47",50:"r47",51:"r47",52:"r47",53:"r47",54:"r47",55:"r47",57:"r47"},{23:"r48",24:"r48",25:"r48",26:"r48",27:"r48",28:"r48",29:"r48",30:"r48",31:"r48",32:"r48",33:"r48",34:"r48",35:"r48",36:"r48",37:"r48",38:"r48",39:"r48",40:"r48",41:"r48",42:"r48",43:"r48",44:"r48",45:"r48",46:"r48",47:"r48",48:"r48",49:"r48",50:"r48",51:"r48",52:"r48",53:"r48",54:"r48",55:"r48",57:"r48"},{4:85,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:87,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:89,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r13",24:"r13",25:"r13",26:"r13",27:"r13",28:"r13",29:"r13",30:"r13",31:"r13",32:"r13",33:"r13",34:"r13",35:"r13",36:"r13",37:"r13",38:"r13",39:"r13",40:"r13",41:"r13",42:"r13",43:"r13",44:"r13",45:"r13",52:"r13",53:"r13",54:"r13",55:"r13",57:"r13"},{23:"r37",24:"r37",25:"r37",26:"r37",27:"r37",28:"r37",29:"r37",30:"r37",31:"r37",32:"r37",33:"r37",34:"r37",35:"r37",36:"r37",37:"r37",38:"r37",39:"r37",40:"r37",41:"r37",42:"r37",43:"r37",44:"r37",45:"r37",52:"r37",53:"r37",54:"r37",55:"r37",57:"r37"},{23:"r39",24:"r39",25:"r39",26:"r39",27:"r39",28:"r39",29:"r39",30:"r39",31:"r39",32:"r39",33:"r39",34:"r39",35:"r39",36:"r39",37:"r39",38:"r39",39:"r39",40:"r39",41:"r39",42:"r39",43:"r39",44:"r39",45:"r39",46:"s56",52:"r39",53:"r39",54:"r39",55:"r39",57:"r39"},{23:"r41",24:"r41",25:"r41",26:"r41",27:"r41",28:"r41",29:"r41",30:"r41",31:"r41",32:"r41",33:"r41",34:"r41",35:"r41",36:"r41",37:"r41",38:"r41",39:"r41",40:"r41",41:"r41",42:"r41",43:"r41",44:"r41",45:"r41",46:"r41",52:"r41",53:"r41",54:"r41",55:"r41",57:"r41"},{23:"r42",24:"r42",25:"r42",26:"r42",27:"r42",28:"r42",29:"r42",30:"r42",31:"r42",32:"r42",33:"r42",34:"r42",35:"r42",36:"r42",37:"r42",38:"r42",39:"r42",40:"r42",41:"r42",42:"r42",43:"r42",44:"r42",45:"r42",46:"r42",52:"r42",53:"r42",54:"r42",55:"r42",57:"r42"},{23:"r43",24:"r43",25:"r43",26:"r43",27:"r43",28:"r43",29:"r43",30:"r43",31:"r43",32:"r43",33:"r43",34:"r43",35:"r43",36:"r43",37:"r43",38:"r43",39:"r43",40:"r43",41:"r43",42:"r43",43:"r43",44:"r43",45:"r43",46:"r43",52:"r43",53:"r43",54:"r43",55:"r43",57:"r43"},{23:"r44",24:"r44",25:"r44",26:"r44",27:"r44",28:"r44",29:"r44",30:"r44",31:"r44",32:"r44",33:"r44",34:"r44",35:"r44",36:"r44",37:"r44",38:"r44",39:"r44",40:"r44",41:"r44",42:"r44",43:"r44",44:"r44",45:"r44",46:"r44",52:"r44",53:"r44",54:"r44",55:"r44",57:"r44"},{23:"r45",24:"r45",25:"r45",26:"r45",27:"r45",28:"r45",29:"r45",30:"r45",31:"r45",32:"r45",33:"r45",34:"r45",35:"r45",36:"r45",37:"r45",38:"r45",39:"r45",40:"r45",41:"r45",42:"r45",43:"r45",44:"r45",45:"r45",46:"r45",52:"r45",53:"r45",54:"r45",55:"r45",57:"r45"},{23:"r46",24:"r46",25:"r46",26:"r46",27:"r46",28:"r46",29:"r46",30:"r46",31:"r46",32:"r46",33:"r46",34:"r46",35:"r46",36:"r46",37:"r46",38:"r46",39:"r46",40:"r46",41:"r46",42:"r46",43:"r46",44:"r46",45:"r46",46:"r46",52:"r46",53:"r46",54:"r46",55:"r46",57:"r46"},{23:"r40",24:"r40",25:"r40",26:"r40",27:"r40",28:"r40",29:"r40",30:"r40",31:"r40",32:"r40",33:"r40",34:"r40",35:"r40",36:"r40",37:"r40",38:"r40",39:"r40",40:"r40",41:"r40",42:"r40",43:"r40",44:"r40",45:"r40",52:"r40",53:"r40",54:"r40",55:"r40",57:"r40"},{25:"s12",31:"s58"},{23:"r18",24:"r18",25:"r18",26:"r18",27:"r18",28:"r18",29:"r18",30:"r18",31:"r18",32:"r18",33:"r18",34:"r18",35:"r18",36:"r18",37:"r18",38:"r18",39:"r18",40:"r18",41:"r18",42:"r18",43:"r18",44:"r18",45:"r18",52:"r18",53:"r18",54:"r18",55:"r18",57:"r18"},{25:"s12",31:"s60"},{23:"r19",24:"r19",25:"r19",26:"r19",27:"r19",28:"r19",29:"r19",30:"r19",31:"r19",32:"r19",33:"r19",34:"r19",35:"r19",36:"r19",37:"r19",38:"r19",39:"r19",40:"r19",41:"r19",42:"r19",43:"r19",44:"r19",45:"r19",52:"r19",53:"r19",54:"r19",55:"r19",57:"r19"},{25:"s12",31:"s62"},{23:"r20",24:"r20",25:"r20",26:"r20",27:"r20",28:"r20",29:"r20",30:"r20",31:"r20",32:"r20",33:"r20",34:"r20",35:"r20",36:"r20",37:"r20",38:"r20",39:"r20",40:"r20",41:"r20",42:"r20",43:"r20",44:"r20",45:"r20",52:"r20",53:"r20",54:"r20",55:"r20",57:"r20"},{25:"s12",31:"s64"},{23:"r21",24:"r21",25:"r21",26:"r21",27:"r21",28:"r21",29:"r21",30:"r21",31:"r21",32:"r21",33:"r21",34:"r21",35:"r21",36:"r21",37:"r21",38:"r21",39:"r21",40:"r21",41:"r21",42:"r21",43:"r21",44:"r21",45:"r21",52:"r21",53:"r21",54:"r21",55:"r21",57:"r21"},{56:"s72"},{56:"r55"},{10:70,20:73,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r56",58:"s74"},{24:"r62",28:"r62",35:"r62",36:"r62",37:"r62",38:"r62",39:"r62",40:"r62",41:"r62",42:"r62",43:"r62",44:"r62",45:"r62",56:"r62",58:"r62"},{24:"r63",28:"r63",35:"r63",36:"r63",37:"r63",38:"r63",39:"r63",40:"r63",41:"r63",42:"r63",43:"r63",44:"r63",45:"r63",56:"r63",58:"r63"},{24:"r64",28:"r64",35:"r64",36:"r64",37:"r64",38:"r64",39:"r64",40:"r64",41:"r64",42:"r64",43:"r64",44:"r64",45:"r64",56:"r64",58:"r64"},{24:"r65",28:"r65",35:"r65",36:"r65",37:"r65",38:"r65",39:"r65",40:"r65",41:"r65",42:"r65",43:"r65",44:"r65",45:"r65",56:"r65",58:"r65"},{23:"r52",24:"r52",25:"r52",26:"r52",27:"r52",28:"r52",29:"r52",30:"r52",31:"r52",32:"r52",33:"r52",34:"r52",35:"r52",36:"r52",37:"r52",38:"r52",39:"r52",40:"r52",41:"r52",42:"r52",43:"r52",44:"r52",45:"r52",46:"r52",47:"r52",48:"r52",49:"r52",50:"r52",51:"r52",52:"r52",53:"r52",54:"r52",55:"r52",57:"r52"},{56:"r57"},{10:70,21:77,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{56:"r59"},{10:70,20:79,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r63",58:"s80"},{10:70,18:78,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r58"},{56:"r60"},{10:70,21:81,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{10:70,18:82,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r61"},{56:"s84"},{23:"r53",24:"r53",25:"r53",26:"r53",27:"r53",28:"r53",29:"r53",30:"r53",31:"r53",32:"r53",33:"r53",34:"r53",35:"r53",36:"r53",37:"r53",38:"r53",39:"r53",40:"r53",41:"r53",42:"r53",43:"r53",44:"r53",45:"r53",46:"r53",47:"r53",48:"r53",49:"r53",50:"r53",51:"r53",52:"r53",53:"r53",54:"r53",55:"r53",57:"r53"},{25:"s12",31:"s86"},{23:"r49",24:"r49",25:"r49",26:"r49",27:"r49",28:"r49",29:"r49",30:"r49",31:"r49",32:"r49",33:"r49",34:"r49",35:"r49",36:"r49",37:"r49",38:"r49",39:"r49",40:"r49",41:"r49",42:"r49",43:"r49",44:"r49",45:"r49",46:"r49",47:"r49",48:"r49",49:"r49",50:"r49",51:"r49",52:"r49",53:"r49",54:"r49",55:"r49",57:"r49"},{25:"s12",31:"s88"},{23:"r50",24:"r50",25:"r50",26:"r50",27:"r50",28:"r50",29:"r50",30:"r50",31:"r50",32:"r50",33:"r50",34:"r50",35:"r50",36:"r50",37:"r50",38:"r50",39:"r50",40:"r50",41:"r50",42:"r50",43:"r50",44:"r50",45:"r50",46:"r50",47:"r50",48:"r50",49:"r50",50:"r50",51:"r50",52:"r50",53:"r50",54:"r50",55:"r50",57:"r50"},{25:"s12",31:"s90"},{23:"r51",24:"r51",25:"r51",26:"r51",27:"r51",28:"r51",29:"r51",30:"r51",31:"r51",32:"r51",33:"r51",34:"r51",35:"r51",36:"r51",37:"r51",38:"r51",39:"r51",40:"r51",41:"r51",42:"r51",43:"r51",44:"r51",45:"r51",46:"r51",47:"r51",48:"r51",49:"r51",50:"r51",51:"r51",52:"r51",53:"r51",54:"r51",55:"r51",57:"r51"}],CY=[],AY=void 0,PY=[[/^#[^\n]+/,function(){}],[/^\s+/,function(){}],[/^-/,function(){return"DASH"}],[/^\//,function(){return"CHAR"}],[/^#/,function(){return"CHAR"}],[/^\|/,function(){return"CHAR"}],[/^\./,function(){return"CHAR"}],[/^\{/,function(){return"CHAR"}],[/^\{\d+\}/,function(){return"RANGE_EXACT"}],[/^\{\d+,\}/,function(){return"RANGE_OPEN"}],[/^\{\d+,\d+\}/,function(){return"RANGE_CLOSED"}],[/^\\k<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return zY(gY.slice(3,-1),this.getCurrentState()),"NAMED_GROUP_REF"}],[/^\\b/,function(){return"ESC_b"}],[/^\\B/,function(){return"ESC_B"}],[/^\\c[a-zA-Z]/,function(){return"CTRL_CH"}],[/^\\0\d{1,2}/,function(){return"OCT_CODE"}],[/^\\0/,function(){return"DEC_CODE"}],[/^\\\d{1,3}/,function(){return"DEC_CODE"}],[/^\\u[dD][89abAB][0-9a-fA-F]{2}\\u[dD][c-fC-F][0-9a-fA-F]{2}/,function(){return"U_CODE_SURROGATE"}],[/^\\u\{[0-9a-fA-F]{1,}\}/,function(){return"U_CODE"}],[/^\\u[0-9a-fA-F]{4}/,function(){return"U_CODE"}],[/^\\[pP]\{\w+(?:=\w+)?\}/,function(){return"U_PROP_VALUE_EXP"}],[/^\\x[0-9a-fA-F]{2}/,function(){return"HEX_CODE"}],[/^\\[tnrdDsSwWvf]/,function(){return"META_CHAR"}],[/^\\\//,function(){return"ESC_CHAR"}],[/^\\[ #]/,function(){return"ESC_CHAR"}],[/^\\[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/,function(){return"ESC_CHAR"}],[/^\\[^*?+\[()\\|]/,function(){var e=this.getCurrentState();if("u_class"===e&&"\\-"===gY)return"ESC_CHAR";if("u"===e||"xu"===e||"u_class"===e)throw new SyntaxError("invalid Unicode escape "+gY);return"ESC_CHAR"}],[/^\(/,function(){return"CHAR"}],[/^\)/,function(){return"CHAR"}],[/^\(\?=/,function(){return"POS_LA_ASSERT"}],[/^\(\?!/,function(){return"NEG_LA_ASSERT"}],[/^\(\?<=/,function(){return"POS_LB_ASSERT"}],[/^\(\?<!/,function(){return"NEG_LB_ASSERT"}],[/^\(\?:/,function(){return"NON_CAPTURE_GROUP"}],[/^\(\?<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return zY(gY=gY.slice(3,-1),this.getCurrentState()),"NAMED_CAPTURE_GROUP"}],[/^\(/,function(){return"L_PAREN"}],[/^\)/,function(){return"R_PAREN"}],[/^[*?+[^$]/,function(){return"CHAR"}],[/^\\\]/,function(){return"ESC_CHAR"}],[/^\]/,function(){return this.popState(),"R_BRACKET"}],[/^\^/,function(){return"BOS"}],[/^\$/,function(){return"EOS"}],[/^\*/,function(){return"STAR"}],[/^\?/,function(){return"Q_MARK"}],[/^\+/,function(){return"PLUS"}],[/^\|/,function(){return"BAR"}],[/^\./,function(){return"ANY"}],[/^\//,function(){return"SLASH"}],[/^[^*?+\[()\\|]/,function(){return"CHAR"}],[/^\[\^/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"NEG_CLASS"}],[/^\[/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"L_BRACKET"}]],wY={INITIAL:[8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u:[8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],xu:[0,1,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],x:[0,1,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u_class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]},kY={type:"$",value:""};AY={initString:function(e){return this._string=e,this._cursor=0,this._states=["INITIAL"],this._tokensQueue=[],this._currentLine=1,this._currentColumn=0,this._currentLineBeginOffset=0,this._tokenStartOffset=0,this._tokenEndOffset=0,this._tokenStartLine=1,this._tokenEndLine=1,this._tokenStartColumn=0,this._tokenEndColumn=0,this},getStates:function(){return this._states},getCurrentState:function(){return this._states[this._states.length-1]},pushState:function(e){this._states.push(e)},begin:function(e){this.pushState(e)},popState:function(){return this._states.length>1?this._states.pop():this._states[0]},getNextToken:function(){if(this._tokensQueue.length>0)return this.onToken(this._toToken(this._tokensQueue.shift()));if(!this.hasMoreTokens())return this.onToken(kY);for(var e=this._string.slice(this._cursor),t=wY[this.getCurrentState()],r=0;r<t.length;r++){var n=t[r],i=PY[n],s=this._match(e,i[0]);if(""===e&&""===s&&this._cursor++,null!==s){(gY=s).length;var a=i[1].call(this);if(!a)return this.getNextToken();if(Array.isArray(a)){var o,u=a.slice(1);if(a=a[0],u.length>0)(o=this._tokensQueue).unshift.apply(o,yY(u))}return this.onToken(this._toToken(a,gY))}}if(this.isEOF())return this._cursor++,kY;this.throwUnexpectedToken(e[0],this._currentLine,this._currentColumn)},throwUnexpectedToken:function(e,t,r){var n=this._string.split("\n")[t-1],i="";n&&(i="\n\n"+n+"\n"+" ".repeat(r)+"^\n");throw new SyntaxError(i+'Unexpected token: "'+e+'" at '+t+":"+r+".")},getCursor:function(){return this._cursor},getCurrentLine:function(){return this._currentLine},getCurrentColumn:function(){return this._currentColumn},_captureLocation:function(e){var t=/\n/g;this._tokenStartOffset=this._cursor,this._tokenStartLine=this._currentLine,this._tokenStartColumn=this._tokenStartOffset-this._currentLineBeginOffset;for(var r=void 0;null!==(r=t.exec(e));)this._currentLine++,this._currentLineBeginOffset=this._tokenStartOffset+r.index+1;this._tokenEndOffset=this._cursor+e.length,this._tokenEndLine=this._currentLine,this._tokenEndColumn=this._currentColumn=this._tokenEndOffset-this._currentLineBeginOffset},_toToken:function(e){return{type:e,value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",startOffset:this._tokenStartOffset,endOffset:this._tokenEndOffset,startLine:this._tokenStartLine,endLine:this._tokenEndLine,startColumn:this._tokenStartColumn,endColumn:this._tokenEndColumn}},isEOF:function(){return this._cursor===this._string.length},hasMoreTokens:function(){return this._cursor<=this._string.length},_match:function(e,t){var r=e.match(t);return r?(this._captureLocation(r[0]),this._cursor+=r[0].length,r[0]):null},onToken:function(e){return e}},bY.lexer=AY,bY.tokenizer=AY,bY.options={captureLocations:!0};var IY={setOptions:function(e){return bY.options=e,this},getOptions:function(){return bY.options},parse:function(e,t){if(!AY)throw new Error("Tokenizer instance wasn't specified.");AY.initString(e);var r=bY.options;t&&(bY.options=Object.assign({},bY.options,t)),IY.onParseBegin(e,AY,bY.options),CY.length=0,CY.push(0);var n=AY.getNextToken(),i=null;do{n||(bY.options=r,XY());var s=CY[CY.length-1],a=DY[n.type];TY[s].hasOwnProperty(a)||(bY.options=r,JY(n));var o=TY[s][a];if("s"===o[0]){var u=null;bY.options.captureLocations&&(u={startOffset:n.startOffset,endOffset:n.endOffset,startLine:n.startLine,endLine:n.endLine,startColumn:n.startColumn,endColumn:n.endColumn}),i=this.onShift(n),CY.push({symbol:DY[i.type],semanticValue:i.value,loc:u},Number(o.slice(1))),n=AY.getNextToken()}else if("r"===o[0]){var l=o.slice(1),c=SY[l],p="function"==typeof c[2],d=p?[]:null,h=p&&bY.options.captureLocations?[]:null;if(0!==c[1])for(var f=c[1];f-- >0;){CY.pop();var m=CY.pop();p&&(d.unshift(m.semanticValue),h&&h.unshift(m.loc))}var y={symbol:c[0]};if(p){gY=i?i.value:null,i&&i.value.length;var g=null!==h?d.concat(h):d;c[2].apply(c,yY(g)),y.semanticValue=vY,h&&(y.loc=xY)}var b=CY[CY.length-1],v=c[0];CY.push(y,TY[b][v])}else if("acc"===o){CY.pop();var x=CY.pop();return(1!==CY.length||0!==CY[0]||AY.hasMoreTokens())&&(bY.options=r,JY(n)),x.hasOwnProperty("semanticValue")?(bY.options=r,IY.onParseEnd(x.semanticValue),x.semanticValue):(IY.onParseEnd(),bY.options=r,!0)}}while(AY.hasMoreTokens()||CY.length>1)},setTokenizer:function(e){return AY=e,IY},getTokenizer:function(){return AY},onParseBegin:function(e,t,r){},onParseEnd:function(e){},onShift:function(e){return e}},NY=0,FY={},_Y="";function OY(e){var t=e.match(/\d+/g).map(Number);if(Number.isFinite(t[1])&&t[1]<t[0])throw new SyntaxError("Numbers out of order in "+e+" quantifier");return t}function BY(e,t){if("control"===e.kind||"control"===t.kind||!isNaN(e.codePoint)&&!isNaN(t.codePoint)&&e.codePoint>t.codePoint)throw new SyntaxError("Range "+e.value+"-"+t.value+" out of order in character class")}IY.onParseBegin=function(e,t){_Y=e,NY=0,FY={};var r=e.lastIndexOf("/"),n=e.slice(r);n.includes("x")&&n.includes("u")?t.pushState("xu"):(n.includes("x")&&t.pushState("x"),n.includes("u")&&t.pushState("u"))},IY.onShift=function(e){return"L_PAREN"!==e.type&&"NAMED_CAPTURE_GROUP"!==e.type||(e.value=new String(e.value),e.value.groupNumber=++NY),e};var jY=fY;function LY(e,t,r){var n=void 0,i=void 0;switch(t){case"decimal":i=Number(e.slice(1)),n=String.fromCodePoint(i);break;case"oct":i=parseInt(e.slice(1),8),n=String.fromCodePoint(i);break;case"hex":case"unicode":if(e.lastIndexOf("\\u")>0){var s=e.split("\\u").slice(1),a=mY(s,2),o=a[0],u=a[1];i=1024*((o=parseInt(o,16))-55296)+((u=parseInt(u,16))-56320)+65536,n=String.fromCodePoint(i)}else{var l=e.slice(2).replace("{","");if((i=parseInt(l,16))>1114111)throw new SyntaxError("Bad character escape sequence: "+e);n=String.fromCodePoint(i)}break;case"meta":switch(e){case"\\t":i=(n="\t").codePointAt(0);break;case"\\n":i=(n="\n").codePointAt(0);break;case"\\r":i=(n="\r").codePointAt(0);break;case"\\v":i=(n="\v").codePointAt(0);break;case"\\f":i=(n="\f").codePointAt(0);break;case"\\b":i=(n="\b").codePointAt(0);case"\\0":n="\0",i=0;case".":n=".",i=NaN;break;default:i=NaN}break;case"simple":i=(n=e).codePointAt(0)}return KY({type:"Char",value:e,kind:t,symbol:n,codePoint:i},r)}var MY="gimsuxy";function RY(e){var t=new Set,r=!0,n=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0){var o=s.value;if(t.has(o)||!MY.includes(o))throw new SyntaxError("Invalid flags: "+e);t.add(o)}}catch(e){n=!0,i=e}finally{try{!r&&a.return&&a.return()}finally{if(n)throw i}}return e.split("").sort().join("")}var $Y=/^\\u[0-9a-fA-F]{4}/,UY=/^\\u\{[0-9a-fA-F]{1,}\}/,VY=/\\u\{[0-9a-fA-F]{1,}\}/;function zY(e,t){if(VY.test(e)&&!("u"===t||"xu"===t||"u_class"===t))throw new SyntaxError('invalid group Unicode name "'+e+'", use `u` flag.');return e}var qY=/\\u(?:([dD][89aAbB][0-9a-fA-F]{2})\\u([dD][c-fC-F][0-9a-fA-F]{2})|([dD][89aAbB][0-9a-fA-F]{2})|([dD][c-fC-F][0-9a-fA-F]{2})|([0-9a-ce-fA-CE-F][0-9a-fA-F]{3}|[dD][0-7][0-9a-fA-F]{2})|\{(0*(?:[0-9a-fA-F]{1,5}|10[0-9a-fA-F]{4}))\})/;function WY(e){return e.replace(new RegExp(qY,"g"),(function(e,t,r,n,i,s,a){return t?String.fromCodePoint(parseInt(t,16),parseInt(r,16)):n?String.fromCodePoint(parseInt(n,16)):i?String.fromCodePoint(parseInt(i,16)):s?String.fromCodePoint(parseInt(s,16)):a?String.fromCodePoint(parseInt(a,16)):e}))}function KY(e,t){return bY.options.captureLocations&&(e.loc={source:_Y.slice(t.startOffset,t.endOffset),start:{line:t.startLine,column:t.startColumn,offset:t.startOffset},end:{line:t.endLine,column:t.endColumn,offset:t.endOffset}}),e}function HY(e,t){return bY.options.captureLocations?{startOffset:e.startOffset,endOffset:t.endOffset,startLine:e.startLine,endLine:t.endLine,startColumn:e.startColumn,endColumn:t.endColumn}:null}function JY(e){"$"===e.type&&XY(),AY.throwUnexpectedToken(e.value,e.startLine,e.startColumn)}function XY(){!function(e){throw new SyntaxError(e)}("Unexpected end of input.")}var GY=IY,YY=GY.parse.bind(GY);GY.parse=function(e,t){return YY(""+e,t)},GY.setOptions({captureLocations:!1});var QY=GY,ZY=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var eQ="expressions",tQ="expression",rQ=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.node=t,this.parentPath=r,this.parent=r?r.node:null,this.property=n,this.index=i}return ZY(e,[{key:"_enforceProp",value:function(e){if(!this.node.hasOwnProperty(e))throw new Error("Node of type "+this.node.type+" doesn't have \""+e+'" collection.')}},{key:"setChild",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=void 0;return null!=r?(n||(n=eQ),this._enforceProp(n),this.node[n][r]=t,i=e.getForNode(t,this,n,r)):(n||(n=tQ),this._enforceProp(n),this.node[n]=t,i=e.getForNode(t,this,n,null)),i}},{key:"appendChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t||(t=eQ),this._enforceProp(t);var r=this.node[t].length;return this.setChild(e,r,t)}},{key:"insertChildAt",value:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eQ;this._enforceProp(n),this.node[n].splice(r,0,t),r<=e.getTraversingIndex()&&e.updateTraversingIndex(1),this._rebuildIndex(this.node,n)}},{key:"remove",value:function(){if(!this.isRemoved()&&(e.registry.delete(this.node),this.node=null,this.parent)){if(null!==this.index)return this.parent[this.property].splice(this.index,1),this.index<=e.getTraversingIndex()&&e.updateTraversingIndex(-1),this._rebuildIndex(this.parent,this.property),this.index=null,void(this.property=null);delete this.parent[this.property],this.property=null}}},{key:"_rebuildIndex",value:function(t,r){for(var n=e.getForNode(t),i=0;i<t[r].length;i++){e.getForNode(t[r][i],n,r,i).index=i}}},{key:"isRemoved",value:function(){return null===this.node}},{key:"replace",value:function(t){return e.registry.delete(this.node),this.node=t,this.parent?(null!==this.index?this.parent[this.property][this.index]=t:this.parent[this.property]=t,e.getForNode(t,this.parentPath,this.property,this.index)):null}},{key:"update",value:function(e){Object.assign(this.node,e)}},{key:"getParent",value:function(){return this.parentPath}},{key:"getChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.node.expressions?e.getForNode(this.node.expressions[t],this,eQ,t):this.node.expression&&0==t?e.getForNode(this.node.expression,this,tQ):null}},{key:"hasEqualSource",value:function(e){return JSON.stringify(this.node,nQ)===JSON.stringify(e.node,nQ)}},{key:"jsonEncode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.format,r=e.useLoc;return JSON.stringify(this.node,r?null:nQ,t)}},{key:"getPreviousSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index-1],e.getForNode(this.parent),this.property,this.index-1):null}},{key:"getNextSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index+1],e.getForNode(this.parent),this.property,this.index+1):null}}],[{key:"getForNode",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;if(!t)return null;e.registry.has(t)||e.registry.set(t,new e(t,r,n,-1==i?null:i));var s=e.registry.get(t);return null!==r&&(s.parentPath=r,s.parent=s.parentPath.node),null!==n&&(s.property=n),i>=0&&(s.index=i),s}},{key:"initRegistry",value:function(){e.registry||(e.registry=new Map),e.registry.clear()}},{key:"updateTraversingIndex",value:function(t){return e.traversingIndexStack[e.traversingIndexStack.length-1]+=t}},{key:"getTraversingIndex",value:function(){return e.traversingIndexStack[e.traversingIndexStack.length-1]}}]),e}();function nQ(e,t){if("loc"!==e)return t}rQ.initRegistry(),rQ.traversingIndexStack=[];var iQ=rQ,sQ=iQ;var aQ={traverse:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{asNodes:!1};function n(e,t,r,n){var i=sQ.getForNode(t);return sQ.getForNode(e,i,r,n)}Array.isArray(t)||(t=[t]),t=t.filter((function(t){return"function"!=typeof t.shouldRun||t.shouldRun(e)})),sQ.initRegistry(),t.forEach((function(t){"function"==typeof t.init&&t.init(e)})),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.pre,n=t.post,i=t.skipProperty;!function e(t,s,a,o){if(t&&"string"==typeof t.type){var u=void 0;if(r&&(u=r(t,s,a,o)),!1!==u)for(var l in s&&s[a]&&(t=isNaN(o)?s[a]:s[a][o]),t)if(t.hasOwnProperty(l)){if(i?i(l,t):"$"===l[0])continue;var c=t[l];if(Array.isArray(c)){var p=0;for(sQ.traversingIndexStack.push(p);p<c.length;)e(c[p],t,l,p),p=sQ.updateTraversingIndex(1);sQ.traversingIndexStack.pop()}else e(c,t,l)}n&&n(t,s,a,o)}}(e,null)}(e,{pre:function(e,i,s,a){var o=void 0;r.asNodes||(o=n(e,i,s,a));var u=!0,l=!1,c=void 0;try{for(var p,d=t[Symbol.iterator]();!(u=(p=d.next()).done);u=!0){var h=p.value;if("function"==typeof h["*"])if(o){if(!o.isRemoved())if(!1===h["*"](o))return!1}else h["*"](e,i,s,a);var f=void 0;if("function"==typeof h[e.type]?f=h[e.type]:"object"==typeof h[e.type]&&"function"==typeof h[e.type].pre&&(f=h[e.type].pre),f)if(o){if(!o.isRemoved())if(!1===f.call(h,o))return!1}else f.call(h,e,i,s,a)}}catch(e){l=!0,c=e}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}},post:function(e,i,s,a){if(e){var o=void 0;r.asNodes||(o=n(e,i,s,a));var u=!0,l=!1,c=void 0;try{for(var p,d=t[Symbol.iterator]();!(u=(p=d.next()).done);u=!0){var h=p.value,f=void 0;if("object"==typeof h[e.type]&&"function"==typeof h[e.type].post&&(f=h[e.type].post),f)if(o){if(!o.isRemoved())if(!1===f.call(h,o))return!1}else f.call(h,e,i,s,a)}}catch(e){l=!0,c=e}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}}},skipProperty:function(e){return"loc"===e}})}},oQ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var uQ=rY,lQ=QY,cQ=aQ,pQ=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._ast=t,this._source=null,this._string=null,this._regexp=null,this._extra=r}return oQ(e,[{key:"getAST",value:function(){return this._ast}},{key:"setExtra",value:function(e){this._extra=e}},{key:"getExtra",value:function(){return this._extra}},{key:"toRegExp",value:function(){return this._regexp||(this._regexp=new RegExp(this.getSource(),this._ast.flags)),this._regexp}},{key:"getSource",value:function(){return this._source||(this._source=uQ.generate(this._ast.body)),this._source}},{key:"getFlags",value:function(){return this._ast.flags}},{key:"toString",value:function(){return this._string||(this._string=uQ.generate(this._ast)),this._string}}]),e}(),dQ={TransformResult:pQ,transform:function(e,t){var r=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(r=lQ.parse(e,{captureLocations:!0})),cQ.traverse(r,t),new pQ(r)}},hQ=ZG,fQ=dQ,mQ={transform:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.length>0?t:Object.keys(hQ),n=void 0,i={};return r.forEach((function(t){if(!hQ.hasOwnProperty(t))throw new Error("Unknown compat-transform: "+t+". Available transforms are: "+Object.keys(hQ).join(", "));var r=hQ[t];n=fQ.transform(e,r),e=n.getAST(),"function"==typeof r.getExtra&&(i[t]=r.getExtra())})),n.setExtra(i),n}},yQ={shouldRun:function(e){return e.flags.includes("u")},Char:function(e){var t=e.node;"unicode"===t.kind&&t.isSurrogatePair&&!isNaN(t.codePoint)&&(t.value="\\u{"+t.codePoint.toString(16)+"}",delete t.isSurrogatePair)}},gQ="A".codePointAt(0),bQ="Z".codePointAt(0),vQ="a".codePointAt(0),xQ="z".codePointAt(0),EQ="0".codePointAt(0),SQ="9".codePointAt(0),DQ={Char:function(e){var t,r,n,i=e.node,s=e.parent;if(!isNaN(i.codePoint)&&"simple"!==i.kind&&(("ClassRange"!==s.type||(r=(t=s).from,n=t.to,r.codePoint>=EQ&&r.codePoint<=SQ&&n.codePoint>=EQ&&n.codePoint<=SQ||r.codePoint>=gQ&&r.codePoint<=bQ&&n.codePoint>=gQ&&n.codePoint<=bQ||r.codePoint>=vQ&&r.codePoint<=xQ&&n.codePoint>=vQ&&n.codePoint<=xQ))&&(a=i.codePoint)>=32&&a<=126)){var a,o=String.fromCodePoint(i.codePoint),u={type:"Char",kind:"simple",value:o,symbol:o,codePoint:i.codePoint};(function(e,t){if("ClassRange"===t||"CharacterClass"===t)return/[\]\\^-]/.test(e);return/[*[()+?^$./\\|{}]/.test(e)})(o,s.type)&&(u.escaped=!0),e.replace(u)}}};var TQ="A".codePointAt(0),CQ="Z".codePointAt(0),AQ={_AZClassRanges:null,_hasUFlag:!1,init:function(e){this._AZClassRanges=new Set,this._hasUFlag=e.flags.includes("u")},shouldRun:function(e){return e.flags.includes("i")},Char:function(e){var t=e.node,r=e.parent;if(!isNaN(t.codePoint)&&(this._hasUFlag||!(t.codePoint>=4096))){if("ClassRange"===r.type){if(!(this._AZClassRanges.has(r)||(n=r,i=n.from,s=n.to,i.codePoint>=TQ&&i.codePoint<=CQ&&s.codePoint>=TQ&&s.codePoint<=CQ)))return;this._AZClassRanges.add(r)}var n,i,s,a=t.symbol.toLowerCase();a!==t.symbol&&(t.value=function(e,t){var r=e.codePointAt(0);if("decimal"===t.kind)return"\\"+r;if("oct"===t.kind)return"\\0"+r.toString(8);if("hex"===t.kind)return"\\x"+r.toString(16);if("unicode"===t.kind){if(t.isSurrogatePair){var n=function(e){var t=Math.floor((e-65536)/1024)+55296,r=(e-65536)%1024+56320;return{lead:t.toString(16),trail:r.toString(16)}}(r),i=n.lead,s=n.trail;return"\\u"+"0".repeat(4-i.length)+i+"\\u"+"0".repeat(4-s.length)+s}if(t.value.includes("{"))return"\\u{"+r.toString(16)+"}";var a=r.toString(16);return"\\u"+"0".repeat(4-a.length)+a}return e}(a,t),t.symbol=a,t.codePoint=a.codePointAt(0))}}};var PQ={disjunctionToList:function e(t){if("Disjunction"!==t.type)throw new TypeError('Expected "Disjunction" node, got "'+t.type+'"');var r=[];return t.left&&"Disjunction"===t.left.type?r.push.apply(r,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(e(t.left)).concat([t.right])):r.push(t.left,t.right),r},listToDisjunction:function(e){return e.reduce((function(e,t){return{type:"Disjunction",left:e,right:t}}))},increaseQuantifierByOne:function(e){"*"===e.kind?e.kind="+":"+"===e.kind?(e.kind="Range",e.from=2,delete e.to):"?"===e.kind?(e.kind="Range",e.from=1,e.to=2):"Range"===e.kind&&(e.from+=1,e.to&&(e.to+=1))}},wQ=PQ.increaseQuantifierByOne,kQ={Repetition:function(e){var t=e.node;if("Alternative"===e.parent.type&&e.index){var r=e.getPreviousSibling();if(r)if("Repetition"===r.node.type){if(!r.getChild().hasEqualSource(e.getChild()))return;var n=NQ(r.node.quantifier),i=n.from,s=n.to,a=NQ(t.quantifier),o=a.from,u=a.to;if(r.node.quantifier.greedy!==t.quantifier.greedy&&!IQ(r.node.quantifier)&&!IQ(t.quantifier))return;t.quantifier.kind="Range",t.quantifier.from=i+o,s&&u?t.quantifier.to=s+u:delete t.quantifier.to,(IQ(r.node.quantifier)||IQ(t.quantifier))&&(t.quantifier.greedy=!0),r.remove()}else{if(!r.hasEqualSource(e.getChild()))return;wQ(t.quantifier),r.remove()}}}};function IQ(e){return e.greedy&&("+"===e.kind||"*"===e.kind||"Range"===e.kind&&!e.to)}function NQ(e){var t=void 0,r=void 0;return"*"===e.kind?t=0:"+"===e.kind?t=1:"?"===e.kind?(t=0,r=1):(t=e.from,e.to&&(r=e.to)),{from:t,to:r}}var FQ={Quantifier:function(e){"Range"===e.node.kind&&(function(e){var t=e.node;if(0!==t.from||t.to)return;t.kind="*",delete t.from}(e),function(e){var t=e.node;if(1!==t.from||t.to)return;t.kind="+",delete t.from}(e),function(e){var t=e.node;if(1!==t.from||1!==t.to)return;e.parentPath.replace(e.parentPath.node.expression)}(e))}};function _Q(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var OQ={_hasIFlag:!1,_hasUFlag:!1,init:function(e){this._hasIFlag=e.flags.includes("i"),this._hasUFlag=e.flags.includes("u")},CharacterClass:function(e){!function(e){var t=e.node;t.expressions.forEach((function(t,r){(function(e){return"ClassRange"===e.type&&"0"===e.from.value&&"9"===e.to.value})(t)&&e.getChild(r).replace({type:"Char",value:"\\d",kind:"meta"})}))}(e),function(e,t,r){var n=e.node,i=null,s=null,a=null,o=null,u=null,l=null;n.expressions.forEach((function(n,c){LQ(n,"\\d")?i=e.getChild(c):!function(e){return"ClassRange"===e.type&&"a"===e.from.value&&"z"===e.to.value}(n)?!function(e){return"ClassRange"===e.type&&"A"===e.from.value&&"Z"===e.to.value}(n)?!function(e){return"Char"===e.type&&"_"===e.value&&"simple"===e.kind}(n)?t&&r&&MQ(n,383)?u=e.getChild(c):t&&r&&MQ(n,8490)&&(l=e.getChild(c)):o=e.getChild(c):a=e.getChild(c):s=e.getChild(c)})),i&&(s&&a||t&&(s||a))&&o&&(!r||!t||u&&l)&&(i.replace({type:"Char",value:"\\w",kind:"meta"}),s&&s.remove(),a&&a.remove(),o.remove(),u&&u.remove(),l&&l.remove())}(e,this._hasIFlag,this._hasUFlag),function(e){var t=e.node;if(t.expressions.length<BQ.length||!BQ.every((function(e){return t.expressions.some((function(t){return e(t)}))})))return;var r=t.expressions.find((function(e){return LQ(e,"\\n")}));r.value="\\s",r.symbol=void 0,r.codePoint=NaN,t.expressions.map((function(t,r){return BQ.some((function(e){return e(t)}))?e.getChild(r):void 0})).filter(Boolean).forEach((function(e){return e.remove()}))}(e)}};var BQ=[function(e){return jQ(e," ")}].concat(_Q(["\\f","\\n","\\r","\\t","\\v"].map((function(e){return function(t){return LQ(t,e)}}))),_Q([160,5760,8232,8233,8239,8287,12288,65279].map((function(e){return function(t){return MQ(t,e)}}))),[function(e){return"ClassRange"===e.type&&MQ(e.from,8192)&&MQ(e.to,8202)}]);function jQ(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"simple";return"Char"===e.type&&e.value===t&&e.kind===r}function LQ(e,t){return jQ(e,t,"meta")}function MQ(e,t){return"Char"===e.type&&"unicode"===e.kind&&e.codePoint===t}var RQ={CharacterClass:function(e){var t=e.node;if(1===t.expressions.length&&function(e){var t=e.parent,r=e.index;if("Alternative"!==t.type)return!0;var n=t.expressions[r-1];if(null==n)return!0;if("Backreference"===n.type&&"number"===n.kind)return!1;if("Char"===n.type&&"decimal"===n.kind)return!1;return!0}(e)&&function(e){return"Char"===e.type&&"\\b"!==e.value}(t.expressions[0])){var r=t.expressions[0],n=r.value,i=r.kind,s=r.escaped;if(t.negative){if(!function(e){return/^\\[dwsDWS]$/.test(e)}(n))return;n=function(e){return/[dws]/.test(e)?e.toUpperCase():e.toLowerCase()}(n)}e.replace({type:"Char",value:n,kind:i,escaped:s||$Q(n)})}}};function $Q(e){return/[*[()+?$./{}|]/.test(e)}var UQ={_hasXFlag:!1,init:function(e){this._hasXFlag=e.flags.includes("x")},Char:function(e){var t=e.node;t.escaped&&function(e,t){var r=e.node.value,n=e.index,i=e.parent;if("CharacterClass"!==i.type&&"ClassRange"!==i.type)return!function(e,t,r,n){if("{"===e)return function(e,t){if(null==e)return!1;var r=VQ(e+1,t),n=e+r+1,i=n<t.expressions.length&&t.expressions[n];if(r){if(zQ(i,"}"))return!0;if(zQ(i,","))return zQ(i=(n=n+(r=VQ(n+1,t))+1)<t.expressions.length&&t.expressions[n],"}")}return!1}(t,r);if("}"===e)return function(e,t){if(null==e)return!1;var r=VQ(e-1,t,!0),n=e-r-1,i=n>=0&&t.expressions[n];if(r&&zQ(i,"{"))return!0;if(zQ(i,","))return i=(n=n-(r=VQ(n-1,t,!0))-1)<t.expressions.length&&t.expressions[n],r&&zQ(i,"{");return!1}(t,r);if(n&&/[ #]/.test(e))return!0;return/[*[()+?^$./\\|]/.test(e)}(r,n,i,t);return!function(e,t,r){if("^"===e)return 0===t&&!r.negative;if("-"===e)return!0;return/[\]\\]/.test(e)}(r,n,i)}(e,this._hasXFlag)&&delete t.escaped}};function VQ(e,t,r){for(var n=e,i=(r?n>=0:n<t.expressions.length)&&t.expressions[n];i&&"Char"===i.type&&"simple"===i.kind&&!i.escaped&&/\d/.test(i.value);)r?n--:n++,i=(r?n>=0:n<t.expressions.length)&&t.expressions[n];return Math.abs(e-n)}function zQ(e,t){return e&&"Char"===e.type&&"simple"===e.kind&&!e.escaped&&e.value===t}var qQ={_hasIUFlags:!1,init:function(e){this._hasIUFlags=e.flags.includes("i")&&e.flags.includes("u")},CharacterClass:function(e){var t=e.node.expressions,r=[];t.forEach((function(e){HQ(e)&&r.push(e.value)})),t.sort(WQ);for(var n=0;n<t.length;n++){var i=t[n];if(XQ(i,r,this._hasIUFlags)||eZ(i,t[n-1])||tZ(i,t[n+1]))t.splice(n,1),n--;else{var s=nZ(i,n,t);t.splice(n-s+1,s),n-=s}}}};function WQ(e,t){var r=KQ(e),n=KQ(t);if(r===n){if("ClassRange"===e.type&&"ClassRange"!==t.type)return-1;if("ClassRange"===t.type&&"ClassRange"!==e.type)return 1;if("ClassRange"===e.type&&"ClassRange"===t.type)return KQ(e.to)-KQ(t.to);if(HQ(e)&&HQ(t)||JQ(e)&&JQ(t))return e.value<t.value?-1:1}return r-n}function KQ(e){return"Char"===e.type?"-"===e.value||"control"===e.kind?1/0:"meta"===e.kind&&isNaN(e.codePoint)?-1:e.codePoint:e.from.codePoint}function HQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"Char"===e.type&&"meta"===e.kind&&(t?e.value===t:/^\\[dws]$/i.test(e.value))}function JQ(e){return"Char"===e.type&&"control"===e.kind}function XQ(e,t,r){for(var n=0;n<t.length;n++)if(GQ(e,t[n],r))return!0;return!1}function GQ(e,t,r){return"ClassRange"===e.type?GQ(e.from,t,r)&&GQ(e.to,t,r):!("\\S"!==t||!HQ(e,"\\w")&&!HQ(e,"\\d"))||(!("\\D"!==t||!HQ(e,"\\W")&&!HQ(e,"\\s"))||(!("\\w"!==t||!HQ(e,"\\d"))||(!("\\W"!==t||!HQ(e,"\\s"))||"Char"===e.type&&!isNaN(e.codePoint)&&("\\s"===t?YQ(e):"\\S"===t?!YQ(e):"\\d"===t?QQ(e):"\\D"===t?!QQ(e):"\\w"===t?ZQ(e,r):"\\W"===t&&!ZQ(e,r)))))}function YQ(e){return 9===e.codePoint||10===e.codePoint||11===e.codePoint||12===e.codePoint||13===e.codePoint||32===e.codePoint||160===e.codePoint||5760===e.codePoint||e.codePoint>=8192&&e.codePoint<=8202||8232===e.codePoint||8233===e.codePoint||8239===e.codePoint||8287===e.codePoint||12288===e.codePoint||65279===e.codePoint}function QQ(e){return e.codePoint>=48&&e.codePoint<=57}function ZQ(e,t){return QQ(e)||e.codePoint>=65&&e.codePoint<=90||e.codePoint>=97&&e.codePoint<=122||"_"===e.value||t&&(383===e.codePoint||8490===e.codePoint)}function eZ(e,t){if(t&&"ClassRange"===t.type){if(rZ(e,t))return!0;if(iZ(e)&&t.to.codePoint===e.codePoint-1)return t.to=e,!0;if("ClassRange"===e.type&&e.from.codePoint<=t.to.codePoint+1&&e.to.codePoint>=t.from.codePoint-1)return e.from.codePoint<t.from.codePoint&&(t.from=e.from),e.to.codePoint>t.to.codePoint&&(t.to=e.to),!0}return!1}function tZ(e,t){return!(!t||"ClassRange"!==t.type||!iZ(e)||t.from.codePoint!==e.codePoint+1)&&(t.from=e,!0)}function rZ(e,t){return("Char"!==e.type||!isNaN(e.codePoint))&&("ClassRange"===e.type?rZ(e.from,t)&&rZ(e.to,t):e.codePoint>=t.from.codePoint&&e.codePoint<=t.to.codePoint)}function nZ(e,t,r){if(!iZ(e))return 0;for(var n=0;t>0;){var i=r[t],s=r[t-1];if(!iZ(s)||s.codePoint!==i.codePoint-1)break;n++,t--}return n>1?(r[t]={type:"ClassRange",from:r[t],to:e},n):0}function iZ(e){return e&&"Char"===e.type&&!isNaN(e.codePoint)&&(ZQ(e,!1)||"unicode"===e.kind||"hex"===e.kind||"oct"===e.kind||"decimal"===e.kind)}var sZ=iQ,aZ=PQ.disjunctionToList,oZ=PQ.listToDisjunction,uZ={Disjunction:function(e){var t=e.node,r={},n=aZ(t).filter((function(e){var t=e?sZ.getForNode(e).jsonEncode():"null";return!r.hasOwnProperty(t)&&(r[t]=e,!0)}));e.replace(oZ(n))}},lZ={Disjunction:function(e){var t=e.node,r=e.parent;if(cZ[r.type]){var n=new Map;if(pZ(t,n)&&n.size){var i={type:"CharacterClass",expressions:Array.from(n.keys()).sort().map((function(e){return n.get(e)}))};cZ[r.type](e.getParent(),i)}}}},cZ={RegExp:function(e,t){e.node.body=t},Group:function(e,t){var r=e.node;r.capturing?r.expression=t:e.replace(t)}};function pZ(e,t){if(!e)return!1;var r=e.type;if("Disjunction"===r){var n=e.left,i=e.right;return pZ(n,t)&&pZ(i,t)}if("Char"===r){if("meta"===e.kind&&"."===e.symbol)return!1;var s=e.value;return t.set(s,e),!0}return"CharacterClass"===r&&!e.negative&&e.expressions.every((function(e){return pZ(e,t)}))}function dZ(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var hZ={Group:function(e){var t=e.node,r=e.parent,n=e.getChild();if(!t.capturing&&n&&function(e){var t=e.parent,r=e.index;if("Alternative"!==t.type)return!0;var n=t.expressions[r-1];if(null==n)return!0;if("Backreference"===n.type&&"number"===n.kind)return!1;if("Char"===n.type&&"decimal"===n.kind)return!1;return!0}(e)&&!("Disjunction"===n.node.type&&"RegExp"!==r.type||"Repetition"===r.type&&"Char"!==n.node.type&&"CharacterClass"!==n.node.type))if("Alternative"===n.node.type){var i=e.getParent();"Alternative"===i.node.type&&i.replace({type:"Alternative",expressions:[].concat(dZ(r.expressions.slice(0,e.index)),dZ(n.node.expressions),dZ(r.expressions.slice(e.index+1)))})}else e.replace(n.node)}};function fZ(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var mZ=iQ,yZ=PQ.increaseQuantifierByOne,gZ={Alternative:function(e){for(var t=e.node,r=1;r<t.expressions.length;){var n=e.getChild(r);if((r=Math.max(1,bZ(e,n,r)))>=t.expressions.length)break;if(n=e.getChild(r),(r=Math.max(1,vZ(e,n,r)))>=t.expressions.length)break;n=e.getChild(r),r=Math.max(1,xZ(e,n,r)),r++}}};function bZ(e,t,r){for(var n=e.node,i=Math.ceil(r/2),s=0;s<i;){var a=r-2*s-1,o=void 0,u=void 0;if(0===s?(o=t,u=e.getChild(a)):(o=mZ.getForNode({type:"Alternative",expressions:[].concat(fZ(n.expressions.slice(r-s,r)),[t.node])}),u=mZ.getForNode({type:"Alternative",expressions:[].concat(fZ(n.expressions.slice(a,r-s)))})),o.hasEqualSource(u)){for(var l=0;l<2*s+1;l++)e.getChild(a).remove();return t.replace({type:"Repetition",expression:0===s&&"Repetition"!==o.node.type?o.node:{type:"Group",capturing:!1,expression:o.node},quantifier:{type:"Quantifier",kind:"Range",from:2,to:2,greedy:!0}}),a}s++}return r}function vZ(e,t,r){for(var n=e.node,i=0;i<r;){var s=e.getChild(i);if("Repetition"===s.node.type&&s.node.quantifier.greedy){var a=s.getChild(),o=void 0;if("Group"!==a.node.type||a.node.capturing||(a=a.getChild()),i+1===r?"Group"!==(o=t).node.type||o.node.capturing||(o=o.getChild()):o=mZ.getForNode({type:"Alternative",expressions:[].concat(fZ(n.expressions.slice(i+1,r+1)))}),a.hasEqualSource(o)){for(var u=i;u<r;u++)e.getChild(i+1).remove();return yZ(s.node.quantifier),i}}i++}return r}function xZ(e,t,r){var n=e.node;if("Repetition"===t.node.type&&t.node.quantifier.greedy){var i=t.getChild(),s=void 0;"Group"!==i.node.type||i.node.capturing||(i=i.getChild());var a=void 0;if("Alternative"===i.node.type?(a=i.node.expressions.length,s=mZ.getForNode({type:"Alternative",expressions:[].concat(fZ(n.expressions.slice(r-a,r)))})):(a=1,"Group"!==(s=e.getChild(r-1)).node.type||s.node.capturing||(s=s.getChild())),s.hasEqualSource(i)){for(var o=r-a;o<r;o++)e.getChild(r-a).remove();return yZ(t.node.quantifier),r-a}}return r}var EZ=new Map([["charSurrogatePairToSingleUnicode",yQ],["charCodeToSimpleChar",DQ],["charCaseInsensitiveLowerCaseTransform",AQ],["charClassRemoveDuplicates",{CharacterClass:function(e){for(var t=e.node,r={},n=0;n<t.expressions.length;n++){var i=e.getChild(n),s=i.jsonEncode();r.hasOwnProperty(s)&&(i.remove(),n--),r[s]=!0}}}],["quantifiersMerge",kQ],["quantifierRangeToSymbol",FQ],["charClassClassrangesToChars",{ClassRange:function(e){var t=e.node;t.from.codePoint===t.to.codePoint?e.replace(t.from):t.from.codePoint===t.to.codePoint-1&&(e.getParent().insertChildAt(t.to,e.index+1),e.replace(t.from))}}],["charClassToMeta",OQ],["charClassToSingleChar",RQ],["charEscapeUnescape",UQ],["charClassClassrangesMerge",qQ],["disjunctionRemoveDuplicates",uZ],["groupSingleCharsToCharClass",lZ],["removeEmptyGroup",{Group:function(e){var t=e.node,r=e.parent,n=e.getChild();t.capturing||n||("Repetition"===r.type?e.getParent().replace(t):"RegExp"!==r.type&&e.remove())}}],["ungroup",hZ],["combineRepeatingPatterns",gZ]]),SZ=function e(t){if(null===t||"object"!=typeof t)return t;var r=void 0;for(var n in r=Array.isArray(t)?[]:{},t)r[n]=e(t[n]);return r},DZ=QY,TZ=dQ,CZ=EZ,AZ={optimize:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.whitelist,n=void 0===r?[]:r,i=t.blacklist,s=void 0===i?[]:i,a=(n.length>0?n:Array.from(CZ.keys())).filter((function(e){return!s.includes(e)})),o=e;e instanceof RegExp&&(e=""+e),"string"==typeof e&&(o=DZ.parse(e));var u=new TZ.TransformResult(o),l=void 0;do{l=u.toString(),o=SZ(u.getAST()),a.forEach((function(e){if(!CZ.has(e))throw new Error("Unknown optimization-transform: "+e+". Available transforms are: "+Array.from(CZ.keys()).join(", "));var t=CZ.get(e),r=TZ.transform(o,t);r.toString()!==u.toString()&&(r.toString().length<=u.toString().length?u=r:o=SZ(u.getAST()))}))}while(u.toString()!==l);return u}},PZ={EPSILON:"ε",EPSILON_CLOSURE:"ε*"},wZ=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},kZ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var IZ=PZ.EPSILON,NZ=PZ.EPSILON_CLOSURE,FZ=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.in=t,this.out=r}return kZ(e,[{key:"matches",value:function(e){return this.in.matches(e)}},{key:"getAlphabet",value:function(){if(!this._alphabet){this._alphabet=new Set;var e=this.getTransitionTable();for(var t in e){var r=e[t];for(var n in r)n!==NZ&&this._alphabet.add(n)}}return this._alphabet}},{key:"getAcceptingStates",value:function(){return this._acceptingStates||this.getTransitionTable(),this._acceptingStates}},{key:"getAcceptingStateNumbers",value:function(){if(!this._acceptingStateNumbers){this._acceptingStateNumbers=new Set;var e=!0,t=!1,r=void 0;try{for(var n,i=this.getAcceptingStates()[Symbol.iterator]();!(e=(n=i.next()).done);e=!0){var s=n.value;this._acceptingStateNumbers.add(s.number)}}catch(e){t=!0,r=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw r}}}return this._acceptingStateNumbers}},{key:"getTransitionTable",value:function(){var e=this;if(!this._transitionTable){this._transitionTable={},this._acceptingStates=new Set;var t=new Set,r=new Set;!function n(i){if(!t.has(i)){t.add(i),i.number=t.size,e._transitionTable[i.number]={},i.accepting&&e._acceptingStates.add(i);var s=i.getTransitions(),a=!0,o=!1,u=void 0;try{for(var l,c=s[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var p=l.value,d=wZ(p,2),h=d[0],f=d[1],m=[];r.add(h);var y=!0,g=!1,b=void 0;try{for(var v,x=f[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=v.value;n(E),m.push(E.number)}}catch(e){g=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(g)throw b}}e._transitionTable[i.number][h]=m}}catch(e){o=!0,u=e}finally{try{!a&&c.return&&c.return()}finally{if(o)throw u}}}}(this.in),t.forEach((function(t){delete e._transitionTable[t.number][IZ],e._transitionTable[t.number][NZ]=[].concat(function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(t.getEpsilonClosure())).map((function(e){return e.number}))}))}return this._transitionTable}}]),e}(),_Z=FZ,OZ=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function BZ(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var jZ=null;function LZ(e,t){if(!t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e[r],i=t[r];if(n.size!==i.size)return!1;if([].concat(BZ(n)).sort().join(",")!==[].concat(BZ(i)).sort().join(","))return!1}return!0}function MZ(e,t,r,n){var i=!0,s=!1,a=void 0;try{for(var o,u=n[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){if(!RZ(e,t,r,o.value))return!1}}catch(e){s=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(s)throw a}}return!0}function RZ(e,t,r,n){if(!jZ[e]||!jZ[t])return!1;var i=r[e][n],s=r[t][n];return!i&&!s||jZ[e].has(i)&&jZ[t].has(s)}var $Z={minimize:function(e){var t=e.getTransitionTable(),r=Object.keys(t),n=e.getAlphabet(),i=e.getAcceptingStateNumbers();jZ={};var s=new Set;r.forEach((function(e){e=Number(e),i.has(e)?jZ[e]=i:(s.add(e),jZ[e]=s)}));var a=[[s,i].filter((function(e){return e.size>0}))],o=void 0,u=void 0;o=a[a.length-1],u=a[a.length-2];for(var l=function(){var e,r={},i=!0,s=!1,l=void 0;try{for(var c,p=o[Symbol.iterator]();!(i=(c=p.next()).done);i=!0){var d=c.value,h={},f=(e=d,Array.isArray(e)?e:Array.from(e)),m=f[0],y=f.slice(1);h[m]=new Set([m]);var g=!0,b=!1,v=void 0;try{e:for(var x,E=y[Symbol.iterator]();!(g=(x=E.next()).done);g=!0){var S=x.value,D=!0,T=!1,C=void 0;try{for(var A,P=Object.keys(h)[Symbol.iterator]();!(D=(A=P.next()).done);D=!0){var w=A.value;if(MZ(S,w,t,n)){h[w].add(S),h[S]=h[w];continue e}}}catch(e){T=!0,C=e}finally{try{!D&&P.return&&P.return()}finally{if(T)throw C}}h[S]=new Set([S])}}catch(e){b=!0,v=e}finally{try{!g&&E.return&&E.return()}finally{if(b)throw v}}Object.assign(r,h)}}catch(e){s=!0,l=e}finally{try{!i&&p.return&&p.return()}finally{if(s)throw l}}jZ=r;var k=new Set(Object.keys(r).map((function(e){return r[e]})));a.push([].concat(BZ(k))),o=a[a.length-1],u=a[a.length-2]};!LZ(o,u);)l();var c=new Map,p=1;o.forEach((function(e){return c.set(e,p++)}));var d={},h=new Set,f=function(e,t){var r=!0,n=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var u=a.value;i.has(u)&&h.add(t)}}catch(e){n=!0,s=e}finally{try{!r&&o.return&&o.return()}finally{if(n)throw s}}},m=!0,y=!1,g=void 0;try{for(var b,v=c.entries()[Symbol.iterator]();!(m=(b=v.next()).done);m=!0){var x=b.value,E=OZ(x,2),S=E[0],D=E[1];d[D]={};var T=!0,C=!1,A=void 0;try{for(var P,w=n[Symbol.iterator]();!(T=(P=w.next()).done);T=!0){var k=P.value;f(S,D);var I=void 0,N=!0,F=!1,_=void 0;try{for(var O,B=S[Symbol.iterator]();!(N=(O=B.next()).done);N=!0){var j=O.value;if(I=t[j][k])break}}catch(e){F=!0,_=e}finally{try{!N&&B.return&&B.return()}finally{if(F)throw _}}I&&(d[D][k]=c.get(jZ[I]))}}catch(e){C=!0,A=e}finally{try{!T&&w.return&&w.return()}finally{if(C)throw A}}}}catch(e){y=!0,g=e}finally{try{!m&&v.return&&v.return()}finally{if(y)throw g}}return e.setTransitionTable(d),e.setAcceptingStateNumbers(h),e}},UZ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function VZ(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var zZ=$Z,qZ=PZ.EPSILON_CLOSURE,WZ=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._nfa=t}return UZ(e,[{key:"minimize",value:function(){this.getTransitionTable(),this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._originalTransitionTable=this._transitionTable,zZ.minimize(this)}},{key:"getAlphabet",value:function(){return this._nfa.getAlphabet()}},{key:"getAcceptingStateNumbers",value:function(){return this._acceptingStateNumbers||this.getTransitionTable(),this._acceptingStateNumbers}},{key:"getOriginaAcceptingStateNumbers",value:function(){return this._originalAcceptingStateNumbers||this.getTransitionTable(),this._originalAcceptingStateNumbers}},{key:"setTransitionTable",value:function(e){this._transitionTable=e}},{key:"setAcceptingStateNumbers",value:function(e){this._acceptingStateNumbers=e}},{key:"getTransitionTable",value:function(){var e=this;if(this._transitionTable)return this._transitionTable;var t=this._nfa.getTransitionTable(),r=Object.keys(t);this._acceptingStateNumbers=new Set;for(var n=[t[r[0]][qZ]],i=this.getAlphabet(),s=this._nfa.getAcceptingStateNumbers(),a={},o=function(t){var r=!0,n=!1,i=void 0;try{for(var a,o=s[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var u=a.value;if(-1!==t.indexOf(u)){e._acceptingStateNumbers.add(t.join(","));break}}}catch(e){n=!0,i=e}finally{try{!r&&o.return&&o.return()}finally{if(n)throw i}}};n.length>0;){var u=n.shift(),l=u.join(",");a[l]={};var c=!0,p=!1,d=void 0;try{for(var h,f=i[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var m=h.value,y=[];o(u);var g=!0,b=!1,v=void 0;try{for(var x,E=u[Symbol.iterator]();!(g=(x=E.next()).done);g=!0){var S=t[x.value][m];if(S){var D=!0,T=!1,C=void 0;try{for(var A,P=S[Symbol.iterator]();!(D=(A=P.next()).done);D=!0){var w=A.value;t[w]&&y.push.apply(y,VZ(t[w][qZ]))}}catch(e){T=!0,C=e}finally{try{!D&&P.return&&P.return()}finally{if(T)throw C}}}}}catch(e){b=!0,v=e}finally{try{!g&&E.return&&E.return()}finally{if(b)throw v}}var k=new Set(y),I=[].concat(VZ(k));if(I.length>0){var N=I.join(",");a[l][m]=N,a.hasOwnProperty(N)||n.unshift(I)}}}catch(e){p=!0,d=e}finally{try{!c&&f.return&&f.return()}finally{if(p)throw d}}}return this._transitionTable=this._remapStateNumbers(a)}},{key:"_remapStateNumbers",value:function(e){var t={};this._originalTransitionTable=e;var r={};for(var n in Object.keys(e).forEach((function(e,r){t[e]=r+1})),e){var i=e[n],s={};for(var a in i)s[a]=t[i[a]];r[t[n]]=s}this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._acceptingStateNumbers=new Set;var o=!0,u=!1,l=void 0;try{for(var c,p=this._originalAcceptingStateNumbers[Symbol.iterator]();!(o=(c=p.next()).done);o=!0){var d=c.value;this._acceptingStateNumbers.add(t[d])}}catch(e){u=!0,l=e}finally{try{!o&&p.return&&p.return()}finally{if(u)throw l}}return r}},{key:"getOriginalTransitionTable",value:function(){return this._originalTransitionTable||this.getTransitionTable(),this._originalTransitionTable}},{key:"matches",value:function(e){for(var t=1,r=0,n=this.getTransitionTable();e[r];)if(!(t=n[t][e[r++]]))return!1;return!!this.getAcceptingStateNumbers().has(t)}}]),e}(),KZ=WZ,HZ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var JZ=function(){function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).accepting,r=void 0!==t&&t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._transitions=new Map,this.accepting=r}return HZ(e,[{key:"getTransitions",value:function(){return this._transitions}},{key:"addTransition",value:function(e,t){return this.getTransitionsOnSymbol(e).add(t),this}},{key:"getTransitionsOnSymbol",value:function(e){var t=this._transitions.get(e);return t||(t=new Set,this._transitions.set(e,t)),t}}]),e}(),XZ=JZ,GZ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var YZ=XZ,QZ=PZ.EPSILON,ZZ=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,YZ),GZ(t,[{key:"matches",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(t.has(this))return!1;if(t.add(this),0===e.length){if(this.accepting)return!0;var r=!0,n=!1,i=void 0;try{for(var s,a=this.getTransitionsOnSymbol(QZ)[Symbol.iterator]();!(r=(s=a.next()).done);r=!0){if(s.value.matches("",t))return!0}}catch(e){n=!0,i=e}finally{try{!r&&a.return&&a.return()}finally{if(n)throw i}}return!1}var o=e[0],u=e.slice(1),l=this.getTransitionsOnSymbol(o),c=!0,p=!1,d=void 0;try{for(var h,f=l[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){if(h.value.matches(u))return!0}}catch(e){p=!0,d=e}finally{try{!c&&f.return&&f.return()}finally{if(p)throw d}}var m=!0,y=!1,g=void 0;try{for(var b,v=this.getTransitionsOnSymbol(QZ)[Symbol.iterator]();!(m=(b=v.next()).done);m=!0){if(b.value.matches(e,t))return!0}}catch(e){y=!0,g=e}finally{try{!m&&v.return&&v.return()}finally{if(y)throw g}}return!1}},{key:"getEpsilonClosure",value:function(){var e=this;return this._epsilonClosure||function(){var t=e.getTransitionsOnSymbol(QZ),r=e._epsilonClosure=new Set;r.add(e);var n=!0,i=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var u=a.value;if(!r.has(u))r.add(u),u.getEpsilonClosure().forEach((function(e){return r.add(e)}))}}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}}(),this._epsilonClosure}}]),t}(),e0=_Z,t0=ZZ,r0=PZ.EPSILON;function n0(e){var t=new t0,r=new t0({accepting:!0});return new e0(t.addTransition(e,r),r)}function i0(e,t){return e.out.accepting=!1,t.out.accepting=!0,e.out.addTransition(r0,t.in),new e0(e.in,t.out)}function s0(e,t){var r=new t0,n=new t0;return r.addTransition(r0,e.in),r.addTransition(r0,t.in),n.accepting=!0,e.out.accepting=!1,t.out.accepting=!1,e.out.addTransition(r0,n),t.out.addTransition(r0,n),new e0(r,n)}var a0={alt:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=!0,s=!1,a=void 0;try{for(var o,u=r[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){e=i0(e,o.value)}}catch(e){s=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(s)throw a}}return e},char:n0,e:function(){return n0(r0)},or:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=!0,s=!1,a=void 0;try{for(var o,u=r[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){e=s0(e,o.value)}}catch(e){s=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(s)throw a}}return e},rep:function(e){return e.in.addTransition(r0,e.out),e.out.addTransition(r0,e.in),e},repExplicit:function(e){var t=new t0,r=new t0({accepting:!0});return t.addTransition(r0,e.in),t.addTransition(r0,r),e.out.accepting=!1,e.out.addTransition(r0,r),r.addTransition(r0,e.in),new e0(t,r)},plusRep:function(e){return e.out.addTransition(r0,e.in),e},questionRep:function(e){return e.in.addTransition(r0,e.out),e}};var o0=QY,u0=a0.alt,l0=a0.char,c0=a0.or,p0=a0.rep,d0=a0.plusRep,h0=a0.questionRep;function f0(e){if(e&&!m0[e.type])throw new Error(e.type+" is not supported in NFA/DFA interpreter.");return e?m0[e.type](e):""}var m0={RegExp:function(e){if(""!==e.flags)throw new Error("NFA/DFA: Flags are not supported yet.");return f0(e.body)},Alternative:function(e){var t=(e.expressions||[]).map(f0);return u0.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(t))},Disjunction:function(e){return c0(f0(e.left),f0(e.right))},Repetition:function(e){switch(e.quantifier.kind){case"*":return p0(f0(e.expression));case"+":return d0(f0(e.expression));case"?":return h0(f0(e.expression));default:throw new Error("Unknown repeatition: "+e.quantifier.kind+".")}},Char:function(e){if("simple"!==e.kind)throw new Error("NFA/DFA: Only simple chars are supported yet.");return l0(e.value)},Group:function(e){return f0(e.expression)}},y0={build:function(e){var t=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(t=o0.parse(e,{captureLocations:!0})),f0(t)}},g0=KZ,b0=y0,v0={NFA:_Z,DFA:g0,builders:a0,toNFA:function(e){return b0.build(e)},toDFA:function(e){return new g0(this.toNFA(e))},test:function(e,t){return this.toDFA(e).matches(t)}},x0=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var E0=function(){function e(t,r){var n=r.flags,i=r.groups,s=r.source;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._re=t,this._groups=i,this.flags=n,this.source=s||t.source,this.dotAll=n.includes("s"),this.global=t.global,this.ignoreCase=t.ignoreCase,this.multiline=t.multiline,this.sticky=t.sticky,this.unicode=t.unicode}return x0(e,[{key:"test",value:function(e){return this._re.test(e)}},{key:"compile",value:function(e){return this._re.compile(e)}},{key:"toString",value:function(){return this._toStringResult||(this._toStringResult="/"+this.source+"/"+this.flags),this._toStringResult}},{key:"exec",value:function(e){var t=this._re.exec(e);if(!this._groups||!t)return t;for(var r in t.groups={},this._groups){var n=this._groups[r];t.groups[r]=t[n]}return t}}]),e}(),S0=mQ,D0=rY,T0=AZ,C0=QY,A0=dQ,P0=aQ,w0={RegExpTree:E0}.RegExpTree,k0={parser:C0,fa:v0,TransformResult:A0.TransformResult,parse:function(e,t){return C0.parse(""+e,t)},traverse:function(e,t,r){return P0.traverse(e,t,r)},transform:function(e,t){return A0.transform(e,t)},generate:function(e){return D0.generate(e)},toRegExp:function(e){var t=this.compatTranspile(e);return new RegExp(t.getSource(),t.getFlags())},optimize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).blacklist;return T0.optimize(e,{whitelist:t,blacklist:r})},compatTranspile:function(e,t){return S0.transform(e,t)},exec:function(e,t){if("string"==typeof e){var r=this.compatTranspile(e),n=r.getExtra();e=n.namedCapturingGroups?new w0(r.toRegExp(),{flags:r.getFlags(),source:r.getSource(),groups:n.namedCapturingGroups}):r.toRegExp()}return e.exec(t)}};const I0=k0,N0=({type:e,kind:t})=>"Char"!==e||"simple"!==t;const F0=e=>{let t=!1;const r=I0.parse(e);return"Alternative"===r.body.type&&(I0.traverse(r,{RegExp({node:e}){const{expressions:r}=e.body;t=Boolean(r.find(N0))}}),!t)};var _0={isSimpleRegExp:F0},O0={};const{compareAny:B0}=RK,{template:j0}=rT,{ObjectPattern:L0,ObjectProperty:M0,isBlockStatement:R0,isFunction:$0,isLabeledStatement:U0,isObjectPattern:V0,isCallExpression:z0}=rh(),{entries:q0}=Object,W0=!0,K0=e=>e.isCallExpression()||e.isStatement(),H0=e=>z0(e.find(K0)),J0=({name:e})=>`Argument '${e}' is missing`;O0.addArgs=e=>({report:J0,fix:X0,traverse:G0(e)});const X0=({declaration:e,path:t,pattern:r,params:n,index:i})=>{const s=j0.ast.fresh(e);if(R0(s)){const e=function(e){if(!U0(e)){const{expression:t}=e;return M0(t,t,!1,W0)}const{label:t,body:r}=e;return M0(t,r.expression,!1,W0)}(s.body[0]);return r.properties.push(e),V0(n[i])?void 0:n.push(r)}t.scope.block.params=[s]},G0=e=>({push:t,options:r})=>{const n={...r.args,...e};return{ReferencedIdentifier(e){for(const[r,[i,s]]of q0(n)){if(e.node.name!==r)continue;if(e.scope.hasBinding(r))continue;if(!H0(e))continue;const n=e.find($0);if(!n)continue;const{block:a}=n.scope;if(!B0(e.scope.path,s))continue;const{params:o}=a,[u,l]=Y0(o);if(V0(l))return void t({name:r,index:u,declaration:i,path:e,params:o,pattern:l});t({name:r,index:u,declaration:i,path:e,params:o,pattern:L0([])})}}}};function Y0(e){for(const[t,r]of e.entries())if(V0(r))return[t,r];return[-1,null]}function Q0(e){return Array.isArray(e)?e:[e]}const Z0=/^\s+$/,e1=/(?:[^\\]|^)\\$/,t1=/^\\!/,r1=/^\\#/,n1=/\r?\n/g,i1=/^\.*\/|^\.+$/;let s1="node-ignore";"undefined"!=typeof Symbol&&(s1=Symbol.for("node-ignore"));const a1=s1,o1=/([0-z])-([0-z])/g,u1=()=>!1,l1=[[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>t+r.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,i)=>"\\"===t?`\\[${r}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(n)}${i}`:"]"===i&&n.length%2==0?`[${(e=>e.replace(o1,((e,t,r)=>t.charCodeAt(0)<=r.charCodeAt(0)?e:"")))(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],c1=Object.create(null),p1=e=>"string"==typeof e;class d1{constructor(e,t,r,n){this.origin=e,this.pattern=t,this.negative=r,this.regex=n}}const h1=(e,t)=>{const r=e;let n=!1;0===e.indexOf("!")&&(n=!0,e=e.substr(1));const i=((e,t)=>{let r=c1[e];return r||(r=l1.reduce(((t,r)=>t.replace(r[0],r[1].bind(e))),e),c1[e]=r),t?new RegExp(r,"i"):new RegExp(r)})(e=e.replace(t1,"!").replace(r1,"#"),t);return new d1(r,e,n,i)},f1=(e,t)=>{throw new t(e)},m1=(e,t,r)=>{if(!p1(e))return r(`path must be a string, but got \`${t}\``,TypeError);if(!e)return r("path must not be empty",TypeError);if(m1.isNotRelative(e)){return r(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},y1=e=>i1.test(e);m1.isNotRelative=y1,m1.convert=e=>e;class g1{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:r=!1}={}){((e,t,r)=>{Object.defineProperty(e,t,{value:r})})(this,a1,!0),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=r,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[a1])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&p1(e)&&!Z0.test(e)&&!e1.test(e)&&0!==e.indexOf("#"))(e)){const t=h1(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,Q0(p1(e)?(e=>e.split(n1))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let r=!1,n=!1;return this._rules.forEach((i=>{const{negative:s}=i;if(n===s&&r!==n||s&&!r&&!n&&!t)return;i.regex.test(e)&&(r=!s,n=s)})),{ignored:r,unignored:n}}_test(e,t,r,n){const i=e&&m1.convert(e);return m1(i,e,this._allowRelativePaths?u1:f1),this._t(i,t,r,n)}_t(e,t,r,n){if(e in t)return t[e];if(n||(n=e.split("/")),n.pop(),!n.length)return t[e]=this._testOne(e,r);const i=this._t(n.join("/")+"/",t,r,n);return t[e]=i.ignored?i:this._testOne(e,r)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return Q0(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const b1=e=>new g1(e);b1.isPathValid=e=>m1(e&&m1.convert(e),e,u1),b1.default=b1;var v1=b1;if("undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");m1.convert=e;const t=/^[a-z]:\//i;m1.isNotRelative=e=>t.test(e)||y1(e)}const{relative:x1}=a,E1=v1,S1=e=>!e.indexOf("!"),D1=e=>e.replace(/^!/,"");var T1=(e,t,r={})=>{const n=x1(e,t),i=E1(),s=function(e){for(const[t,r]of e.entries()){const n=e.indexOf(D1(r));S1(r)&&n>t&&(e[n]=r)}const t=new Set(e);return Array.from(t)}(r.ignore||[]);return i.add(s),e&&i.ignores(n)};const{codeFrameColumns:C1}=Xb;var A1,P1=({source:e,error:t,highlightCode:r=!0})=>{const{message:n,loc:i}=t;if(!i)return n;return C1(e,{start:i},{highlightCode:r,message:n})};function w1(){if(A1)return Bo.exports;A1=1;const e=VD().default,t=rh(),r=qW(),n=WW,{parse:i,print:s,generate:a,template:o}=rT,{cutShebang:u,mergeShebang:l}=LG,c=(e={})=>{const{parser:t="babel",printer:i=e.printer||"putout",fix:s=!0,fixCount:a=2,loadPlugins:o=r.loadPlugins,runPlugins:u=n.runPlugins,soft:l=!1}=e;return{...e,parser:t,printer:i,fix:s,soft:l,fixCount:a,loadPlugins:o,runPlugins:u}};function p(e,t,r){r=c(r);const{plugins:n,cache:i,rules:s,fix:a,fixCount:o,loadPlugins:l,runPlugins:p}=r,[,d]=u(t);return p({ast:e,shebang:d,fix:a,fixCount:o,plugins:l({pluginNames:n,cache:i,rules:s})})}return Bo.exports=(e,t)=>{!function(e){if(t=e,"string"!=typeof t)throw Error(`☝️ Looks like 'source' has type '${typeof e}', expected: 'string'`);var t}(e),t=c(t);const{parser:r,isTS:n,isFlow:a,isJSX:o,sourceFileName:d,sourceMapName:h,printer:f,soft:m}=t,[y,g]=u(e),b=i(y,{sourceFileName:d,parser:r,isTS:n,isFlow:a,isJSX:o,printer:f}),v=p(b,e,t);if(!v.length&&m)return{code:e,places:[]};if(!t.fix)return{code:e,places:v};const x=s(b,{sourceMapName:h,printer:f});return{code:l(g,x),places:v}},Bo.exports.findPlaces=(e,t,r)=>p(e,t,{...r,fix:!1}),Bo.exports.transform=p,Bo.exports.parse=i,Bo.exports.print=s,Bo.exports.traverse=e,Bo.exports.types=t,Bo.exports.template=o,Bo.exports.generate=a,Bo.exports.initReport=MG,Bo.exports.operator={...TA,...RK,...RG,...qX,..._0,...O0},Bo.exports.ignores=T1,Bo.exports.codeframe=P1,Bo.exports}var k1=g(w1()),I1={};const N1=a,F1="\\\\/",_1=`[^${F1}]`,O1="\\.",B1="\\/",j1="[^/]",L1=`(?:${B1}|$)`,M1=`(?:^|${B1})`,R1=`${O1}{1,2}${L1}`,$1={DOT_LITERAL:O1,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:B1,ONE_CHAR:"(?=.)",QMARK:j1,END_ANCHOR:L1,DOTS_SLASH:R1,NO_DOT:`(?!${O1})`,NO_DOTS:`(?!${M1}${R1})`,NO_DOT_SLASH:`(?!${O1}{0,1}${L1})`,NO_DOTS_SLASH:`(?!${R1})`,QMARK_NO_DOT:`[^.${B1}]`,STAR:`${j1}*?`,START_ANCHOR:M1},U1={...$1,SLASH_LITERAL:`[${F1}]`,QMARK:_1,STAR:`${_1}*?`,DOTS_SLASH:`${O1}{1,2}(?:[${F1}]|$)`,NO_DOT:`(?!${O1})`,NO_DOTS:`(?!(?:^|[${F1}])${O1}{1,2}(?:[${F1}]|$))`,NO_DOT_SLASH:`(?!${O1}{0,1}(?:[${F1}]|$))`,NO_DOTS_SLASH:`(?!${O1}{1,2}(?:[${F1}]|$))`,QMARK_NO_DOT:`[^.${F1}]`,START_ANCHOR:`(?:^|[${F1}])`,END_ANCHOR:`(?:[${F1}]|$)`};var V1={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:N1.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?U1:$1};!function(e){const t=a,r="win32"===process.platform,{REGEX_BACKSLASH:n,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:o}=V1;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>s.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(o,"\\$1"),e.toPosixSlashes=e=>e.replace(n,"/"),e.removeBackslashes=e=>e.replace(i,(e=>"\\"===e?"":e)),e.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},e.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===r||"\\"===t.sep,e.escapeLast=(t,r,n)=>{const i=t.lastIndexOf(r,n);return-1===i?t:"\\"===t[i-1]?e.escapeLast(t,r,i-1):`${t.slice(0,i)}\\${t.slice(i)}`},e.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},e.wrapOutput=(e,t={},r={})=>{let n=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(n=`(?:^(?!${n}).*$)`),n}}(I1);const z1=I1,{CHAR_ASTERISK:q1,CHAR_AT:W1,CHAR_BACKWARD_SLASH:K1,CHAR_COMMA:H1,CHAR_DOT:J1,CHAR_EXCLAMATION_MARK:X1,CHAR_FORWARD_SLASH:G1,CHAR_LEFT_CURLY_BRACE:Y1,CHAR_LEFT_PARENTHESES:Q1,CHAR_LEFT_SQUARE_BRACKET:Z1,CHAR_PLUS:e2,CHAR_QUESTION_MARK:t2,CHAR_RIGHT_CURLY_BRACE:r2,CHAR_RIGHT_PARENTHESES:n2,CHAR_RIGHT_SQUARE_BRACKET:i2}=V1,s2=e=>e===G1||e===K1,a2=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};var o2=(e,t)=>{const r=t||{},n=e.length-1,i=!0===r.parts||!0===r.scanToEnd,s=[],a=[],o=[];let u,l,c=e,p=-1,d=0,h=0,f=!1,m=!1,y=!1,g=!1,b=!1,v=!1,x=!1,E=!1,S=!1,D=!1,T=0,C={value:"",depth:0,isGlob:!1};const A=()=>p>=n,P=()=>(u=l,c.charCodeAt(++p));for(;p<n;){let e;if(l=P(),l!==K1){if(!0===v||l===Y1){for(T++;!0!==A()&&(l=P());)if(l!==K1)if(l!==Y1){if(!0!==v&&l===J1&&(l=P())===J1){if(f=C.isBrace=!0,y=C.isGlob=!0,D=!0,!0===i)continue;break}if(!0!==v&&l===H1){if(f=C.isBrace=!0,y=C.isGlob=!0,D=!0,!0===i)continue;break}if(l===r2&&(T--,0===T)){v=!1,f=C.isBrace=!0,D=!0;break}}else T++;else x=C.backslashes=!0,P();if(!0===i)continue;break}if(l!==G1){if(!0!==r.noext){if(!0===(l===e2||l===W1||l===q1||l===t2||l===X1)&&c.charCodeAt(p+1)===Q1){if(y=C.isGlob=!0,g=C.isExtglob=!0,D=!0,l===X1&&p===d&&(S=!0),!0===i){for(;!0!==A()&&(l=P());)if(l!==K1){if(l===n2){y=C.isGlob=!0,D=!0;break}}else x=C.backslashes=!0,l=P();continue}break}}if(l===q1){if(u===q1&&(b=C.isGlobstar=!0),y=C.isGlob=!0,D=!0,!0===i)continue;break}if(l===t2){if(y=C.isGlob=!0,D=!0,!0===i)continue;break}if(l===Z1){for(;!0!==A()&&(e=P());)if(e!==K1){if(e===i2){m=C.isBracket=!0,y=C.isGlob=!0,D=!0;break}}else x=C.backslashes=!0,P();if(!0===i)continue;break}if(!0===r.nonegate||l!==X1||p!==d){if(!0!==r.noparen&&l===Q1){if(y=C.isGlob=!0,!0===i){for(;!0!==A()&&(l=P());)if(l!==Q1){if(l===n2){D=!0;break}}else x=C.backslashes=!0,l=P();continue}break}if(!0===y){if(D=!0,!0===i)continue;break}}else E=C.negated=!0,d++}else{if(s.push(p),a.push(C),C={value:"",depth:0,isGlob:!1},!0===D)continue;if(u===J1&&p===d+1){d+=2;continue}h=p+1}}else x=C.backslashes=!0,l=P(),l===Y1&&(v=!0)}!0===r.noext&&(g=!1,y=!1);let w=c,k="",I="";d>0&&(k=c.slice(0,d),c=c.slice(d),h-=d),w&&!0===y&&h>0?(w=c.slice(0,h),I=c.slice(h)):!0===y?(w="",I=c):w=c,w&&""!==w&&"/"!==w&&w!==c&&s2(w.charCodeAt(w.length-1))&&(w=w.slice(0,-1)),!0===r.unescape&&(I&&(I=z1.removeBackslashes(I)),w&&!0===x&&(w=z1.removeBackslashes(w)));const N={prefix:k,input:e,start:d,base:w,glob:I,isBrace:f,isBracket:m,isGlob:y,isExtglob:g,isGlobstar:b,negated:E,negatedExtglob:S};if(!0===r.tokens&&(N.maxDepth=0,s2(l)||a.push(C),N.tokens=a),!0===r.parts||!0===r.tokens){let t;for(let n=0;n<s.length;n++){const i=t?t+1:d,u=s[n],l=e.slice(i,u);r.tokens&&(0===n&&0!==d?(a[n].isPrefix=!0,a[n].value=k):a[n].value=l,a2(a[n]),N.maxDepth+=a[n].depth),0===n&&""===l||o.push(l),t=u}if(t&&t+1<e.length){const n=e.slice(t+1);o.push(n),r.tokens&&(a[a.length-1].value=n,a2(a[a.length-1]),N.maxDepth+=a[a.length-1].depth)}N.slashes=s,N.parts=o}return N};const u2=V1,l2=I1,{MAX_LENGTH:c2,POSIX_REGEX_SOURCE:p2,REGEX_NON_SPECIAL_CHARS:d2,REGEX_SPECIAL_CHARS_BACKREF:h2,REPLACEMENTS:f2}=u2,m2=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>l2.escapeRegex(e))).join("..")}return r},y2=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,g2=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=f2[e]||e;const r={...t},n="number"==typeof r.maxLength?Math.min(c2,r.maxLength):c2;let i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);const s={type:"bos",value:"",output:r.prepend||""},a=[s],o=r.capture?"":"?:",u=l2.isWindows(t),l=u2.globChars(u),c=u2.extglobChars(l),{DOT_LITERAL:p,PLUS_LITERAL:d,SLASH_LITERAL:h,ONE_CHAR:f,DOTS_SLASH:m,NO_DOT:y,NO_DOT_SLASH:g,NO_DOTS_SLASH:b,QMARK:v,QMARK_NO_DOT:x,STAR:E,START_ANCHOR:S}=l,D=e=>`(${o}(?:(?!${S}${e.dot?m:p}).)*?)`,T=r.dot?"":y,C=r.dot?v:x;let A=!0===r.bash?D(r):E;r.capture&&(A=`(${A})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const P={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};e=l2.removePrefix(e,P),i=e.length;const w=[],k=[],I=[];let N,F=s;const _=()=>P.index===i-1,O=P.peek=(t=1)=>e[P.index+t],B=P.advance=()=>e[++P.index]||"",j=()=>e.slice(P.index+1),L=(e="",t=0)=>{P.consumed+=e,P.index+=t},M=e=>{P.output+=null!=e.output?e.output:e.value,L(e.value)},R=()=>{let e=1;for(;"!"===O()&&("("!==O(2)||"?"===O(3));)B(),P.start++,e++;return e%2!=0&&(P.negated=!0,P.start++,!0)},$=e=>{P[e]++,I.push(e)},U=e=>{P[e]--,I.pop()},V=e=>{if("globstar"===F.type){const t=P.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||w.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(P.output=P.output.slice(0,-F.output.length),F.type="star",F.value="*",F.output=A,P.output+=F.output)}if(w.length&&"paren"!==e.type&&(w[w.length-1].inner+=e.value),(e.value||e.output)&&M(e),F&&"text"===F.type&&"text"===e.type)return F.value+=e.value,void(F.output=(F.output||"")+e.value);e.prev=F,a.push(e),F=e},z=(e,t)=>{const n={...c[t],conditions:1,inner:""};n.prev=F,n.parens=P.parens,n.output=P.output;const i=(r.capture?"(":"")+n.open;$("parens"),V({type:e,value:t,output:P.output?"":f}),V({type:"paren",extglob:!0,value:B(),output:i}),w.push(n)},q=e=>{let n,i=e.close+(r.capture?")":"");if("negate"===e.type){let s=A;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(s=D(r)),(s!==A||_()||/^\)+$/.test(j()))&&(i=e.close=`)$))${s}`),e.inner.includes("*")&&(n=j())&&/^\.[^\\/.]+$/.test(n)){const r=g2(n,{...t,fastpaths:!1}).output;i=e.close=`)${r})${s})`}"bos"===e.prev.type&&(P.negatedExtglob=!0)}V({type:"paren",extglob:!0,value:N,output:i}),U("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=!1,i=e.replace(h2,((e,t,r,i,s,a)=>"\\"===i?(n=!0,e):"?"===i?t?t+i+(s?v.repeat(s.length):""):0===a?C+(s?v.repeat(s.length):""):v.repeat(r.length):"."===i?p.repeat(r.length):"*"===i?t?t+i+(s?A:""):A:t?e:`\\${e}`));return!0===n&&(i=!0===r.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===r.contains?(P.output=e,P):(P.output=l2.wrapOutput(i,P,t),P)}for(;!_();){if(N=B(),"\0"===N)continue;if("\\"===N){const e=O();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){N+="\\",V({type:"text",value:N});continue}const t=/^\\+/.exec(j());let n=0;if(t&&t[0].length>2&&(n=t[0].length,P.index+=n,n%2!=0&&(N+="\\")),!0===r.unescape?N=B():N+=B(),0===P.brackets){V({type:"text",value:N});continue}}if(P.brackets>0&&("]"!==N||"["===F.value||"[^"===F.value)){if(!1!==r.posix&&":"===N){const e=F.value.slice(1);if(e.includes("[")&&(F.posix=!0,e.includes(":"))){const e=F.value.lastIndexOf("["),t=F.value.slice(0,e),r=F.value.slice(e+2),n=p2[r];if(n){F.value=t+n,P.backtrack=!0,B(),s.output||1!==a.indexOf(F)||(s.output=f);continue}}}("["===N&&":"!==O()||"-"===N&&"]"===O())&&(N=`\\${N}`),"]"!==N||"["!==F.value&&"[^"!==F.value||(N=`\\${N}`),!0===r.posix&&"!"===N&&"["===F.value&&(N="^"),F.value+=N,M({value:N});continue}if(1===P.quotes&&'"'!==N){N=l2.escapeRegex(N),F.value+=N,M({value:N});continue}if('"'===N){P.quotes=1===P.quotes?0:1,!0===r.keepQuotes&&V({type:"text",value:N});continue}if("("===N){$("parens"),V({type:"paren",value:N});continue}if(")"===N){if(0===P.parens&&!0===r.strictBrackets)throw new SyntaxError(y2("opening","("));const e=w[w.length-1];if(e&&P.parens===e.parens+1){q(w.pop());continue}V({type:"paren",value:N,output:P.parens?")":"\\)"}),U("parens");continue}if("["===N){if(!0!==r.nobracket&&j().includes("]"))$("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(y2("closing","]"));N=`\\${N}`}V({type:"bracket",value:N});continue}if("]"===N){if(!0===r.nobracket||F&&"bracket"===F.type&&1===F.value.length){V({type:"text",value:N,output:`\\${N}`});continue}if(0===P.brackets){if(!0===r.strictBrackets)throw new SyntaxError(y2("opening","["));V({type:"text",value:N,output:`\\${N}`});continue}U("brackets");const e=F.value.slice(1);if(!0===F.posix||"^"!==e[0]||e.includes("/")||(N=`/${N}`),F.value+=N,M({value:N}),!1===r.literalBrackets||l2.hasRegexChars(e))continue;const t=l2.escapeRegex(F.value);if(P.output=P.output.slice(0,-F.value.length),!0===r.literalBrackets){P.output+=t,F.value=t;continue}F.value=`(${o}${t}|${F.value})`,P.output+=F.value;continue}if("{"===N&&!0!==r.nobrace){$("braces");const e={type:"brace",value:N,output:"(",outputIndex:P.output.length,tokensIndex:P.tokens.length};k.push(e),V(e);continue}if("}"===N){const e=k[k.length-1];if(!0===r.nobrace||!e){V({type:"text",value:N,output:N});continue}let t=")";if(!0===e.dots){const e=a.slice(),n=[];for(let t=e.length-1;t>=0&&(a.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&n.unshift(e[t].value);t=m2(n,r),P.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=P.output.slice(0,e.outputIndex),n=P.tokens.slice(e.tokensIndex);e.value=e.output="\\{",N=t="\\}",P.output=r;for(const e of n)P.output+=e.output||e.value}V({type:"brace",value:N,output:t}),U("braces"),k.pop();continue}if("|"===N){w.length>0&&w[w.length-1].conditions++,V({type:"text",value:N});continue}if(","===N){let e=N;const t=k[k.length-1];t&&"braces"===I[I.length-1]&&(t.comma=!0,e="|"),V({type:"comma",value:N,output:e});continue}if("/"===N){if("dot"===F.type&&P.index===P.start+1){P.start=P.index+1,P.consumed="",P.output="",a.pop(),F=s;continue}V({type:"slash",value:N,output:h});continue}if("."===N){if(P.braces>0&&"dot"===F.type){"."===F.value&&(F.output=p);const e=k[k.length-1];F.type="dots",F.output+=N,F.value+=N,e.dots=!0;continue}if(P.braces+P.parens===0&&"bos"!==F.type&&"slash"!==F.type){V({type:"text",value:N,output:p});continue}V({type:"dot",value:N,output:p});continue}if("?"===N){if(!(F&&"("===F.value)&&!0!==r.noextglob&&"("===O()&&"?"!==O(2)){z("qmark",N);continue}if(F&&"paren"===F.type){const e=O();let t=N;if("<"===e&&!l2.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===F.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(j()))&&(t=`\\${N}`),V({type:"text",value:N,output:t});continue}if(!0!==r.dot&&("slash"===F.type||"bos"===F.type)){V({type:"qmark",value:N,output:x});continue}V({type:"qmark",value:N,output:v});continue}if("!"===N){if(!0!==r.noextglob&&"("===O()&&("?"!==O(2)||!/[!=<:]/.test(O(3)))){z("negate",N);continue}if(!0!==r.nonegate&&0===P.index){R();continue}}if("+"===N){if(!0!==r.noextglob&&"("===O()&&"?"!==O(2)){z("plus",N);continue}if(F&&"("===F.value||!1===r.regex){V({type:"plus",value:N,output:d});continue}if(F&&("bracket"===F.type||"paren"===F.type||"brace"===F.type)||P.parens>0){V({type:"plus",value:N});continue}V({type:"plus",value:d});continue}if("@"===N){if(!0!==r.noextglob&&"("===O()&&"?"!==O(2)){V({type:"at",extglob:!0,value:N,output:""});continue}V({type:"text",value:N});continue}if("*"!==N){"$"!==N&&"^"!==N||(N=`\\${N}`);const e=d2.exec(j());e&&(N+=e[0],P.index+=e[0].length),V({type:"text",value:N});continue}if(F&&("globstar"===F.type||!0===F.star)){F.type="star",F.star=!0,F.value+=N,F.output=A,P.backtrack=!0,P.globstar=!0,L(N);continue}let t=j();if(!0!==r.noextglob&&/^\([^?]/.test(t)){z("star",N);continue}if("star"===F.type){if(!0===r.noglobstar){L(N);continue}const n=F.prev,i=n.prev,s="slash"===n.type||"bos"===n.type,a=i&&("star"===i.type||"globstar"===i.type);if(!0===r.bash&&(!s||t[0]&&"/"!==t[0])){V({type:"star",value:N,output:""});continue}const o=P.braces>0&&("comma"===n.type||"brace"===n.type),u=w.length&&("pipe"===n.type||"paren"===n.type);if(!s&&"paren"!==n.type&&!o&&!u){V({type:"star",value:N,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[P.index+4];if(r&&"/"!==r)break;t=t.slice(3),L("/**",3)}if("bos"===n.type&&_()){F.type="globstar",F.value+=N,F.output=D(r),P.output=F.output,P.globstar=!0,L(N);continue}if("slash"===n.type&&"bos"!==n.prev.type&&!a&&_()){P.output=P.output.slice(0,-(n.output+F.output).length),n.output=`(?:${n.output}`,F.type="globstar",F.output=D(r)+(r.strictSlashes?")":"|$)"),F.value+=N,P.globstar=!0,P.output+=n.output+F.output,L(N);continue}if("slash"===n.type&&"bos"!==n.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";P.output=P.output.slice(0,-(n.output+F.output).length),n.output=`(?:${n.output}`,F.type="globstar",F.output=`${D(r)}${h}|${h}${e})`,F.value+=N,P.output+=n.output+F.output,P.globstar=!0,L(N+B()),V({type:"slash",value:"/",output:""});continue}if("bos"===n.type&&"/"===t[0]){F.type="globstar",F.value+=N,F.output=`(?:^|${h}|${D(r)}${h})`,P.output=F.output,P.globstar=!0,L(N+B()),V({type:"slash",value:"/",output:""});continue}P.output=P.output.slice(0,-F.output.length),F.type="globstar",F.output=D(r),F.value+=N,P.output+=F.output,P.globstar=!0,L(N);continue}const n={type:"star",value:N,output:A};!0!==r.bash?!F||"bracket"!==F.type&&"paren"!==F.type||!0!==r.regex?(P.index!==P.start&&"slash"!==F.type&&"dot"!==F.type||("dot"===F.type?(P.output+=g,F.output+=g):!0===r.dot?(P.output+=b,F.output+=b):(P.output+=T,F.output+=T),"*"!==O()&&(P.output+=f,F.output+=f)),V(n)):(n.output=N,V(n)):(n.output=".*?","bos"!==F.type&&"slash"!==F.type||(n.output=T+n.output),V(n))}for(;P.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(y2("closing","]"));P.output=l2.escapeLast(P.output,"["),U("brackets")}for(;P.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(y2("closing",")"));P.output=l2.escapeLast(P.output,"("),U("parens")}for(;P.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(y2("closing","}"));P.output=l2.escapeLast(P.output,"{"),U("braces")}if(!0===r.strictSlashes||"star"!==F.type&&"bracket"!==F.type||V({type:"maybe_slash",value:"",output:`${h}?`}),!0===P.backtrack){P.output="";for(const e of P.tokens)P.output+=null!=e.output?e.output:e.value,e.suffix&&(P.output+=e.suffix)}return P};g2.fastpaths=(e,t)=>{const r={...t},n="number"==typeof r.maxLength?Math.min(c2,r.maxLength):c2,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=f2[e]||e;const s=l2.isWindows(t),{DOT_LITERAL:a,SLASH_LITERAL:o,ONE_CHAR:u,DOTS_SLASH:l,NO_DOT:c,NO_DOTS:p,NO_DOTS_SLASH:d,STAR:h,START_ANCHOR:f}=u2.globChars(s),m=r.dot?p:c,y=r.dot?d:c,g=r.capture?"":"?:";let b=!0===r.bash?".*?":h;r.capture&&(b=`(${b})`);const v=e=>!0===e.noglobstar?b:`(${g}(?:(?!${f}${e.dot?l:a}).)*?)`,x=e=>{switch(e){case"*":return`${m}${u}${b}`;case".*":return`${a}${u}${b}`;case"*.*":return`${m}${b}${a}${u}${b}`;case"*/*":return`${m}${b}${o}${u}${y}${b}`;case"**":return m+v(r);case"**/*":return`(?:${m}${v(r)}${o})?${y}${u}${b}`;case"**/*.*":return`(?:${m}${v(r)}${o})?${y}${b}${a}${u}${b}`;case"**/.*":return`(?:${m}${v(r)}${o})?${a}${u}${b}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=x(t[1]);if(!r)return;return r+a+t[2]}}},E=l2.removePrefix(e,{negated:!1,prefix:""});let S=x(E);return S&&!0!==r.strictSlashes&&(S+=`${o}?`),S};const b2=a,v2=o2,x2=g2,E2=I1,S2=V1,D2=(e,t,r=!1)=>{if(Array.isArray(e)){const n=e.map((e=>D2(e,t,r))),i=e=>{for(const t of n){const r=t(e);if(r)return r}return!1};return i}const n=(i=e)&&"object"==typeof i&&!Array.isArray(i)&&e.tokens&&e.input;var i;if(""===e||"string"!=typeof e&&!n)throw new TypeError("Expected pattern to be a non-empty string");const s=t||{},a=E2.isWindows(t),o=n?D2.compileRe(e,t):D2.makeRe(e,t,!1,!0),u=o.state;delete o.state;let l=()=>!1;if(s.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};l=D2(s.ignore,e,r)}const c=(r,n=!1)=>{const{isMatch:i,match:c,output:p}=D2.test(r,o,t,{glob:e,posix:a}),d={glob:e,state:u,regex:o,posix:a,input:r,output:p,match:c,isMatch:i};return"function"==typeof s.onResult&&s.onResult(d),!1===i?(d.isMatch=!1,!!n&&d):l(r)?("function"==typeof s.onIgnore&&s.onIgnore(d),d.isMatch=!1,!!n&&d):("function"==typeof s.onMatch&&s.onMatch(d),!n||d)};return r&&(c.state=u),c};D2.test=(e,t,r,{glob:n,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const s=r||{},a=s.format||(i?E2.toPosixSlashes:null);let o=e===n,u=o&&a?a(e):e;return!1===o&&(u=a?a(e):e,o=u===n),!1!==o&&!0!==s.capture||(o=!0===s.matchBase||!0===s.basename?D2.matchBase(e,t,r,i):t.exec(u)),{isMatch:Boolean(o),match:o,output:u}},D2.matchBase=(e,t,r,n=E2.isWindows(r))=>(t instanceof RegExp?t:D2.makeRe(t,r)).test(b2.basename(e)),D2.isMatch=(e,t,r)=>D2(t,r)(e),D2.parse=(e,t)=>Array.isArray(e)?e.map((e=>D2.parse(e,t))):x2(e,{...t,fastpaths:!1}),D2.scan=(e,t)=>v2(e,t),D2.compileRe=(e,t,r=!1,n=!1)=>{if(!0===r)return e.output;const i=t||{},s=i.contains?"":"^",a=i.contains?"":"$";let o=`${s}(?:${e.output})${a}`;e&&!0===e.negated&&(o=`^(?!${o}).*$`);const u=D2.toRegex(o,t);return!0===n&&(u.state=e),u},D2.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(i.output=x2.fastpaths(e,t)),i.output||(i=x2(e,t)),D2.compileRe(i,t,r,n)},D2.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},D2.constants=S2;var T2=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===C2}(e)}(e)};var C2="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function A2(e,t){return!1!==t.clone&&t.isMergeableObject(e)?N2((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function P2(e,t,r){return e.concat(t).map((function(e){return A2(e,r)}))}function w2(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function k2(e,t){try{return t in e}catch(e){return!1}}function I2(e,t,r){var n={};return r.isMergeableObject(e)&&w2(e).forEach((function(t){n[t]=A2(e[t],r)})),w2(t).forEach((function(i){(function(e,t){return k2(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(k2(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return N2;var r=t.customMerge(e);return"function"==typeof r?r:N2}(i,r)(e[i],t[i],r):n[i]=A2(t[i],r))})),n}function N2(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||P2,r.isMergeableObject=r.isMergeableObject||T2,r.cloneUnlessOtherwiseSpecified=A2;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):I2(e,t,r):A2(t,r)}N2.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return N2(e,r,t)}),{})};var F2,_2={exports:{}},O2={},B2={},j2={},L2={},M2={},R2={};function $2(){return F2||(F2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(t){if(super(),!e.IDENTIFIER.test(t))throw new Error("CodeGen: name must be a valid identifier");this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const r=[e[0]];let i=0;for(;i<t.length;)o(r,t[i]),r.push(e[++i]);return new n(r)}e._Code=n,e.nil=new n(""),e._=i;const s=new n("+");function a(e,...t){const r=[l(e[0])];let i=0;for(;i<t.length;)r.push(s),o(r,t[i]),r.push(s,l(e[++i]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===s){const r=u(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(r),new n(r)}function o(e,t){var i;t instanceof n?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(i=t)||"boolean"==typeof i||null===i?i:l(Array.isArray(i)?i.join(","):i))}function u(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function l(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.str=a,e.addCodeArg=o,e.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},e.stringify=function(e){return new n(l(e))},e.safeStringify=l,e.getProperty=function(t){return"string"==typeof t&&e.IDENTIFIER.test(t)?new n(`.${t}`):i`[${t}]`},e.getEsmExportName=function(t){if("string"==typeof t&&e.IDENTIFIER.test(t))return new n(`${t}`);throw new Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)},e.regexpCode=function(e){return new n(e.toString())}}(R2)),R2}var U2,V2,z2={};function q2(){return U2||(U2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=$2();class r extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var n;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(n=e.UsedValueState||(e.UsedValueState={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class i{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof t.Name?e:this.name(e)}name(e){return new t.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}e.Scope=i;class s extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:r,itemIndex:n}){this.value=e,this.scopePath=t._`.${new t.Name(r)}[${n}]`}}e.ValueScopeName=s;const a=t._`\n`;e.ValueScope=class extends i{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?a:t.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e),{prefix:i}=n,s=null!==(r=t.key)&&void 0!==r?r:t.ref;let a=this._values[i];if(a){const e=a.get(s);if(e)return e}else a=this._values[i]=new Map;a.set(s,n);const o=this._scope[i]||(this._scope[i]=[]),u=o.length;return o[u]=t.ref,n.setValue(t,{property:i,itemIndex:u}),n}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e,r=this._values){return this._reduceValues(r,(r=>{if(void 0===r.scopePath)throw new Error(`CodeGen: name "${r}" has no value`);return t._`${e}${r.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(i,s,a={},o){let u=t.nil;for(const l in i){const c=i[l];if(!c)continue;const p=a[l]=a[l]||new Map;c.forEach((i=>{if(p.has(i))return;p.set(i,n.Started);let a=s(i);if(a){const r=this.opts.es5?e.varKinds.var:e.varKinds.const;u=t._`${u}${r} ${i} = ${a};${this.opts._n}`}else{if(!(a=null==o?void 0:o(i)))throw new r(i);u=t._`${u}${a}${this.opts._n}`}p.set(i,n.Completed)}))}return u}}}(z2)),z2}function W2(){return V2||(V2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=$2(),r=q2();var n=$2();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=q2();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class a extends s{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){const n=e?r.varKinds.var:this.varKind,i=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=k(this.rhs,e,t)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class o extends s{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,r){if(!(this.lhs instanceof t.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=k(this.rhs,e,r),this}get names(){return w(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}}class u extends o{constructor(e,t,r,n){super(e,r,n),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class l extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class c extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class p extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class d extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=k(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class h extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;for(;n--;){const i=r[n];i.optimizeNames(e,t)||(I(e,i.names),r.splice(n,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>P(e,t.names)),{})}}class f extends h{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class m extends h{}class y extends f{}y.kind="else";class g extends f{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new y(e):e}return t?!1===e?t instanceof g?t:t.nodes:this.nodes.length?this:new g(N(e),t instanceof g?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=k(this.condition,e,t),this}get names(){const e=super.names;return w(e,this.condition),this.else&&P(e,this.else.names),e}}g.kind="if";class b extends f{}b.kind="for";class v extends b{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=k(this.iteration,e,t),this}get names(){return P(super.names,this.iteration.names)}}class x extends b{constructor(e,t,r,n){super(),this.varKind=e,this.name=t,this.from=r,this.to=n}render(e){const t=e.es5?r.varKinds.var:this.varKind,{name:n,from:i,to:s}=this;return`for(${t} ${n}=${i}; ${n}<${s}; ${n}++)`+super.render(e)}get names(){const e=w(super.names,this.from);return w(e,this.to)}}class E extends b{constructor(e,t,r,n){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=k(this.iterable,e,t),this}get names(){return P(super.names,this.iterable.names)}}class S extends f{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}S.kind="func";class D extends h{render(e){return"return "+super.render(e)}}D.kind="return";class T extends f{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,n;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(n=this.finally)||void 0===n||n.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&P(e,this.catch.names),this.finally&&P(e,this.finally.names),e}}class C extends f{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}C.kind="catch";class A extends f{render(e){return"finally"+super.render(e)}}A.kind="finally";function P(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function w(e,r){return r instanceof t._CodeOrName?P(e,r.names):e}function k(e,r,n){return e instanceof t.Name?i(e):function(e){return e instanceof t._Code&&e._items.some((e=>e instanceof t.Name&&1===r[e.str]&&void 0!==n[e.str]))}(e)?new t._Code(e._items.reduce(((e,r)=>(r instanceof t.Name&&(r=i(r)),r instanceof t._Code?e.push(...r._items):e.push(r),e)),[])):e;function i(e){const t=n[e.str];return void 0===t||1!==r[e.str]?e:(delete r[e.str],t)}}function I(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function N(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:t._`!${B(e)}`}e.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new r.Scope({parent:e}),this._nodes=[new m]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const i=this._scope.toName(t);return void 0!==r&&n&&(this._constants[i.str]=r),this._leafNode(new a(e,i,r)),i}const(e,t,n){return this._def(r.varKinds.const,e,t,n)}let(e,t,n){return this._def(r.varKinds.let,e,t,n)}var(e,t,n){return this._def(r.varKinds.var,e,t,n)}assign(e,t,r){return this._leafNode(new o(e,t,r))}add(t,r){return this._leafNode(new u(t,e.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==t.nil&&this._leafNode(new d(e)),this}object(...e){const r=["{"];for(const[n,i]of e)r.length>1&&r.push(","),r.push(n),(n!==i||this.opts.es5)&&(r.push(":"),(0,t.addCodeArg)(r,i));return r.push("}"),new t._Code(r)}if(e,t,r){if(this._blockNode(new g(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new g(e))}else(){return this._elseNode(new y)}endIf(){return this._endBlockNode(g,y)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new v(e),t)}forRange(e,t,n,i,s=(this.opts.es5?r.varKinds.var:r.varKinds.let)){const a=this._scope.toName(e);return this._for(new x(s,a,t,n),(()=>i(a)))}forOf(e,n,i,s=r.varKinds.const){const a=this._scope.toName(e);if(this.opts.es5){const e=n instanceof t.Name?n:this.var("_arr",n);return this.forRange("_i",0,t._`${e}.length`,(r=>{this.var(a,t._`${e}[${r}]`),i(a)}))}return this._for(new E("of",s,a,n),(()=>i(a)))}forIn(e,n,i,s=(this.opts.es5?r.varKinds.var:r.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,t._`Object.keys(${n})`,i);const a=this._scope.toName(e);return this._for(new E("in",s,a,n),(()=>i(a)))}endFor(){return this._endBlockNode(b)}label(e){return this._leafNode(new l(e))}break(e){return this._leafNode(new c(e))}return(e){const t=new D;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(D)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new T;if(this._blockNode(n),this.code(e),t){const e=this.name("e");this._currNode=n.catch=new C(e),t(e)}return r&&(this._currNode=n.finally=new A,this.code(r)),this._endBlockNode(C,A)}throw(e){return this._leafNode(new p(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,r=t.nil,n,i){return this._blockNode(new S(e,r,n)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof g))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},e.not=N;const F=O(e.operators.AND);e.and=function(...e){return e.reduce(F)};const _=O(e.operators.OR);function O(e){return(r,n)=>r===t.nil?n:n===t.nil?r:t._`${B(r)} ${e} ${B(n)}`}function B(e){return e instanceof t.Name?e:t._`(${e})`}e.or=function(...e){return e.reduce(_)}}(M2)),M2}var K2={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;const t=W2(),r=$2();function n(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if("boolean"==typeof t)return;const i=n.RULES.keywords;for(const r in t)i[r]||d(e,`unknown keyword: "${r}"`)}function i(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function a(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function o({mergeNames:e,mergeToName:r,mergeValues:n,resultToName:i}){return(s,a,o,u)=>{const l=void 0===o?a:o instanceof t.Name?(a instanceof t.Name?e(s,a,o):r(s,a,o),o):a instanceof t.Name?(r(s,o,a),a):n(a,o);return u!==t.Name||l instanceof t.Name?l:i(s,l)}}function u(e,r){if(!0===r)return e.var("props",!0);const n=e.var("props",t._`{}`);return void 0!==r&&l(e,n,r),n}function l(e,r,n){Object.keys(n).forEach((n=>e.assign(t._`${r}${(0,t.getProperty)(n)}`,!0)))}e.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},e.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(n(e,t),!i(t,e.self.RULES.all))},e.checkUnknownRules=n,e.schemaHasRules=i,e.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},e.schemaRefOrVal=function({topSchemaRef:e,schemaPath:r},n,i,s){if(!s){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return t._`${n}`}return t._`${e}${r}${(0,t.getProperty)(i)}`},e.unescapeFragment=function(e){return a(decodeURIComponent(e))},e.escapeFragment=function(e){return encodeURIComponent(s(e))},e.escapeJsonPointer=s,e.unescapeJsonPointer=a,e.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},e.mergeEvaluated={props:o({mergeNames:(e,r,n)=>e.if(t._`${n} !== true && ${r} !== undefined`,(()=>{e.if(t._`${r} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,t._`${n} || {}`).code(t._`Object.assign(${n}, ${r})`)))})),mergeToName:(e,r,n)=>e.if(t._`${n} !== true`,(()=>{!0===r?e.assign(n,!0):(e.assign(n,t._`${n} || {}`),l(e,n,r))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:o({mergeNames:(e,r,n)=>e.if(t._`${n} !== true && ${r} !== undefined`,(()=>e.assign(n,t._`${r} === true ? true : ${n} > ${r} ? ${n} : ${r}`))),mergeToName:(e,r,n)=>e.if(t._`${n} !== true`,(()=>e.assign(n,!0===r||t._`${n} > ${r} ? ${n} : ${r}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},e.evaluatedPropsToName=u,e.setEvaluated=l;const c={};var p;function d(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}e.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:c[t.code]||(c[t.code]=new r._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(p=e.Type||(e.Type={})),e.getErrorPath=function(e,r,n){if(e instanceof t.Name){const i=r===p.Num;return n?i?t._`"[" + ${e} + "]"`:t._`"['" + ${e} + "']"`:i?t._`"/" + ${e}`:t._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,t.getProperty)(e).toString():"/"+s(e)},e.checkStrictMode=d}(K2);var H2,J2,X2,G2={};function Y2(){if(H2)return G2;H2=1,Object.defineProperty(G2,"__esModule",{value:!0});const e=W2(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return G2.default=t,G2}function Q2(){return J2||(J2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=W2(),r=K2,n=Y2();function i(e,r){const i=e.const("err",r);e.if(t._`${n.default.vErrors} === null`,(()=>e.assign(n.default.vErrors,t._`[${i}]`)),t._`${n.default.vErrors}.push(${i})`),e.code(t._`${n.default.errors}++`)}function s(e,r){const{gen:n,validateName:i,schemaEnv:s}=e;s.$async?n.throw(t._`new ${e.ValidationError}(${r})`):(n.assign(t._`${i}.errors`,r),n.return(!1))}e.keywordError={message:({keyword:e})=>t.str`must pass "${e}" keyword validation`},e.keyword$DataError={message:({keyword:e,schemaType:r})=>r?t.str`"${e}" keyword must be ${r} ($data)`:t.str`"${e}" keyword is invalid ($data)`},e.reportError=function(r,n=e.keywordError,a,u){const{it:l}=r,{gen:c,compositeRule:p,allErrors:d}=l,h=o(r,n,a);(null!=u?u:p||d)?i(c,h):s(l,t._`[${h}]`)},e.reportExtraError=function(t,r=e.keywordError,a){const{it:u}=t,{gen:l,compositeRule:c,allErrors:p}=u;i(l,o(t,r,a)),c||p||s(u,n.default.vErrors)},e.resetErrorsCount=function(e,r){e.assign(n.default.errors,r),e.if(t._`${n.default.vErrors} !== null`,(()=>e.if(r,(()=>e.assign(t._`${n.default.vErrors}.length`,r)),(()=>e.assign(n.default.vErrors,null)))))},e.extendErrors=function({gen:e,keyword:r,schemaValue:i,data:s,errsCount:a,it:o}){if(void 0===a)throw new Error("ajv implementation error");const u=e.name("err");e.forRange("i",a,n.default.errors,(a=>{e.const(u,t._`${n.default.vErrors}[${a}]`),e.if(t._`${u}.instancePath === undefined`,(()=>e.assign(t._`${u}.instancePath`,(0,t.strConcat)(n.default.instancePath,o.errorPath)))),e.assign(t._`${u}.schemaPath`,t.str`${o.errSchemaPath}/${r}`),o.opts.verbose&&(e.assign(t._`${u}.schema`,i),e.assign(t._`${u}.data`,s))}))};const a={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function o(e,r,i){const{createErrors:s}=e.it;return!1===s?t._`{}`:function(e,r,i={}){const{gen:s,it:o}=e,c=[u(o,i),l(e,i)];return function(e,{params:r,message:i},s){const{keyword:o,data:u,schemaValue:l,it:c}=e,{opts:p,propertyName:d,topSchemaRef:h,schemaPath:f}=c;s.push([a.keyword,o],[a.params,"function"==typeof r?r(e):r||t._`{}`]),p.messages&&s.push([a.message,"function"==typeof i?i(e):i]);p.verbose&&s.push([a.schema,l],[a.parentSchema,t._`${h}${f}`],[n.default.data,u]);d&&s.push([a.propertyName,d])}(e,r,c),s.object(...c)}(e,r,i)}function u({errorPath:e},{instancePath:i}){const s=i?t.str`${e}${(0,r.getErrorPath)(i,r.Type.Str)}`:e;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,s)]}function l({keyword:e,it:{errSchemaPath:n}},{schemaPath:i,parentSchema:s}){let o=s?n:t.str`${n}/${e}`;return i&&(o=t.str`${o}${(0,r.getErrorPath)(i,r.Type.Str)}`),[a.schemaPath,o]}}(L2)),L2}var Z2={},e3={};Object.defineProperty(e3,"__esModule",{value:!0}),e3.getRules=e3.isJSONType=void 0;const t3=new Set(["string","number","integer","boolean","null","object","array"]);e3.isJSONType=function(e){return"string"==typeof e&&t3.has(e)},e3.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}};var r3,n3={};function i3(){if(r3)return n3;function e(e,r){return r.rules.some((r=>t(e,r)))}function t(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some((t=>void 0!==e[t])))}return r3=1,Object.defineProperty(n3,"__esModule",{value:!0}),n3.shouldUseRule=n3.shouldUseGroup=n3.schemaHasRulesForType=void 0,n3.schemaHasRulesForType=function({schema:t,self:r},n){const i=r.RULES.types[n];return i&&!0!==i&&e(t,i)},n3.shouldUseGroup=e,n3.shouldUseRule=t,n3}!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;const t=e3,r=i3(),n=Q2(),i=W2(),s=K2;var a;function o(e){const r=Array.isArray(e)?e:e?[e]:[];if(r.every(t.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(a=e.DataType||(e.DataType={})),e.getSchemaTypes=function(e){const t=o(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},e.getJSONTypes=o,e.coerceAndCheckDataType=function(e,t){const{gen:n,data:s,opts:o}=e,l=function(e,t){return t?e.filter((e=>u.has(e)||"array"===t&&"array"===e)):[]}(t,o.coerceTypes),p=t.length>0&&!(0===l.length&&1===t.length&&(0,r.schemaHasRulesForType)(e,t[0]));if(p){const r=c(t,s,o.strictNumbers,a.Wrong);n.if(r,(()=>{l.length?function(e,t,r){const{gen:n,data:s,opts:a}=e,o=n.let("dataType",i._`typeof ${s}`),l=n.let("coerced",i._`undefined`);"array"===a.coerceTypes&&n.if(i._`${o} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,(()=>n.assign(s,i._`${s}[0]`).assign(o,i._`typeof ${s}`).if(c(t,s,a.strictNumbers),(()=>n.assign(l,s)))));n.if(i._`${l} !== undefined`);for(const e of r)(u.has(e)||"array"===e&&"array"===a.coerceTypes)&&p(e);function p(e){switch(e){case"string":return void n.elseIf(i._`${o} == "number" || ${o} == "boolean"`).assign(l,i._`"" + ${s}`).elseIf(i._`${s} === null`).assign(l,i._`""`);case"number":return void n.elseIf(i._`${o} == "boolean" || ${s} === null
|
|
1867
|
+
`}a.loc=i.loc,u.push(a),u.push(...(0,t.buildNamespaceInitStatements)(o,i,v))}(0,t.ensureStatementsHoisted)(u),e.unshiftContainer("body",u),e.get("body").forEach((e=>{-1!==u.indexOf(e.node)&&e.isVariableDeclaration()&&e.scope.registerDeclaration(e)}))}}}}}));return gz.default=s,gz}function xz(){return fz||(fz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=xV(),r=lz();!function(){if(cz)return pz;cz=1,Object.defineProperty(pz,"__esModule",{value:!0}),pz.default=void 0;var e=(0,xV().declare)((e=>(e.assertVersion(7),{name:"syntax-jsx",manipulateOptions(e,t){t.plugins.some((e=>"typescript"===(Array.isArray(e)?e[0]:e)))||t.plugins.push("jsx")}})));pz.default=e}();var n=vz(),i=zR();function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(r),o=s(n);const u=new i.OptionValidator("@babel/preset-typescript");var l=t.declarePreset(((e,t)=>{e.assertVersion(7);const{allExtensions:r,ignoreExtensions:n,allowNamespaces:i,disallowAmbiguousJSXLike:s,isTSX:l,jsxPragma:c,jsxPragmaFrag:p,onlyRemoveTypeImports:d,optimizeConstEnums:h}=function(e={}){let{allowNamespaces:t=!0,jsxPragma:r,onlyRemoveTypeImports:n}=e;const i="ignoreExtensions",s="disallowAmbiguousJSXLike",a="jsxPragmaFrag",o="optimizeConstEnums",l="allExtensions",c="isTSX",p=u.validateStringOption(a,e.jsxPragmaFrag,"React.Fragment");var d=u.validateBooleanOption(l,e.allExtensions,!1),h=u.validateBooleanOption(c,e.isTSX,!1);h&&u.invariant(d,"isTSX:true requires allExtensions:true");const f=u.validateBooleanOption(i,e.ignoreExtensions,!1),m=u.validateBooleanOption(s,e.disallowAmbiguousJSXLike,!1);m&&u.invariant(d,"disallowAmbiguousJSXLike:true requires allExtensions:true");const y={ignoreExtensions:f,allowNamespaces:t,disallowAmbiguousJSXLike:m,jsxPragma:r,jsxPragmaFrag:p,onlyRemoveTypeImports:n,optimizeConstEnums:u.validateBooleanOption(o,e.optimizeConstEnums,!1)};return y.allExtensions=d,y.isTSX=h,y}(t),f=e=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:i,disallowAmbiguousJSXLike:e,jsxPragma:c,jsxPragmaFrag:p,onlyRemoveTypeImports:d,optimizeConstEnums:h}),m=(e,t)=>[[a.default,Object.assign({isTSX:e},f(t))]];return{overrides:r||n?[{plugins:m(l,s)}]:[{test:/\.ts$/,plugins:m(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:m(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[o.default,{allowTopLevelThis:!0}],[a.default,f(!0)]]},{test:/\.tsx$/,plugins:m(!0,!1)}]}}));e.default=l}(bV)),bV}function Ez(){if(mz)return BM;mz=1,Object.defineProperty(BM,"__esModule",{value:!0}),BM.default=function*(r,a){switch(t().extname(r)){case".cjs":return d(r,arguments[2]);case".mjs":break;case".cts":return function(e){const r=".cts",s=!!(dO.extensions[".ts"]||dO.extensions[".cts"]||dO.extensions[".mts"]);let a;if(!s){const i={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:t().basename(e),presets:[[f(e),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};a=function(e,t){if(a&&t.endsWith(r))try{return e._compile((0,u.transformFileSync)(t,Object.assign({},i,{filename:t})).code,t)}catch(e){if(!s){const e=gV;n().lt(e.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw e}return dO.extensions[".js"](e,t)},dO.extensions[r]=a}try{const t=(0,i.endHiddenCallStack)(dO)(e);return null!=t&&t.__esModule?t.default:t}finally{s||(dO.extensions[r]===a&&delete dO.extensions[r],a=void 0)}}(r);default:try{return d(r,arguments[2])}catch(e){if("ERR_REQUIRE_ESM"!==e.code)throw e}}if(yield*(0,e.isAsync)())return yield*(0,e.waitFor)(function(e){return h.apply(this,arguments)}(r));throw new s.default(a,r)},BM.supportsESM=void 0;var e=Zj;function t(){const e=a;return t=function(){return e},e}function r(){const e=o;return r=function(){return e},e}function n(){const e=ij();return n=function(){return e},e}var i=BL,s=OL,u=mV();function l(e,t,r,n,i,s,a){try{var o=e[s](a),u=o.value}catch(e){return void r(e)}o.done?t(u):Promise.resolve(u).then(n,i)}let c;try{c=oV?aV:(oV=1,aV=function(e){return import(e)})}catch(e){}const p=n().satisfies(process.versions.node,"^12.17 || >=13.2");function d(e){const t=(0,i.endHiddenCallStack)(dO)(e);return null!=t&&t.__esModule?t.default||(arguments[1]?t:void 0):t}function h(){var e;return e=function*(e){if(!c)throw new s.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n",e);return(yield(0,i.endHiddenCallStack)(c)((0,r().pathToFileURL)(e))).default},h=function(){var t=this,r=arguments;return new Promise((function(n,i){var s=e.apply(t,r);function a(e){l(s,n,i,a,o,"next",e)}function o(e){l(s,n,i,a,o,"throw",e)}a(void 0)}))},h.apply(this,arguments)}function f(e){try{return xz()}catch(t){if("MODULE_NOT_FOUND"!==t.code)throw t;let r="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(r+='\nIf you are using Yarn Plug\'n\'Play, you may also need to add the following configuration to your .yarnrc.yml file:\n\npackageExtensions:\n\t"@babel/core@*":\n\t\tpeerDependencies:\n\t\t\t"@babel/preset-typescript": "*"\n'),new s.default(r,e)}}return BM.supportsESM=p,BM}function Sz(){if(yz)return GL;function e(){const t=qh;return e=function(){return t},t}function t(){const e=i;return t=function(){return e},e}function r(){const e=a;return r=function(){return e},e}function s(){const e=FM;return s=function(){return e},e}function o(){const e=Qj();return o=function(){return e},e}yz=1,Object.defineProperty(GL,"__esModule",{value:!0}),GL.ROOT_CONFIG_FILENAMES=void 0,GL.findConfigUpwards=function(e){let n=e;for(;;){for(const e of g)if(t().existsSync(r().join(n,e)))return n;const e=r().dirname(n);if(n===e)break;n=e}return null},GL.findRelativeConfig=function*(e,t,n){let i=null,s=null;const a=r().dirname(e.filepath);for(const u of e.directories){var o;if(!i)i=yield*C(b,u,t,n,(null==(o=e.pkg)?void 0:o.dirname)===u?S(e.pkg):null);if(!s){const e=r().join(u,v);s=yield*T(e),s&&y("Found ignore %o from %o.",s.filepath,a)}}return{config:i,ignore:s}},GL.findRootConfig=function(e,t,r){return C(g,e,t,r)},GL.loadConfig=function*(e,t,r,i){const s=(o=process.versions.node,u="8.9",o=o.split("."),u=u.split("."),+o[0]>+u[0]||o[0]==u[0]&&+o[1]>=+u[1]?require.resolve:(e,{paths:[t]},r=n)=>{let i=r._findPath(e,r._nodeModulePaths(t).concat(t));if(i)return i;throw i=new Error(`Cannot resolve module '${e}'`),i.code="MODULE_NOT_FOUND",i})(e,{paths:[t]}),a=yield*A(s,r,i);var o,u;if(!a)throw new h.default("Config file contains no configuration data",s);return y("Loaded config %o from %o.",e,t),a},GL.resolveShowConfigPath=function*(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(null!=t){const n=r().resolve(e,t);if(!(yield*f.stat(n)).isFile())throw new Error(`${n}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return n}return null};var u=Yj,l=OM(),c=Gj,p=Ez(),d=B$,h=OL,f=AL,m=BL;const y=e()("babel:config:loading:files:configuration"),g=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"];GL.ROOT_CONFIG_FILENAMES=g;const b=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],v=".babelignore",x=new Set,E=(0,u.makeStrongCache)((function*(e,n){if(!t().existsSync(e))return n.never(),null;if(x.has(e))return n.never(),y("Auto-ignoring usage of config %o.",e),{filepath:e,dirname:r().dirname(e),options:{}};let i;try{x.add(e),i=yield*(0,p.default)(e,"You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously.")}finally{x.delete(e)}let s=!1;if("function"==typeof i&&(yield*[],i=(0,m.endHiddenCallStack)(i)((0,l.makeConfigAPI)(n)),s=!0),!i||"object"!=typeof i||Array.isArray(i))throw new h.default("Configuration should be an exported JavaScript object.",e);if("function"==typeof i.then)throw new h.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.",e);return s&&!n.configured()&&function(e){throw new h.default('Caching was left unconfigured. Babel\'s plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don\'t call this function again.\n api.cache(true);\n\n // Don\'t cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};',e)}(e),{filepath:e,dirname:r().dirname(e),options:i}})),S=(0,u.makeWeakCacheSync)((e=>{const t=e.options.babel;if(void 0===t)return null;if("object"!=typeof t||Array.isArray(t)||null===t)throw new h.default(".babel property must be an object",e.filepath);return{filepath:e.filepath,dirname:e.dirname,options:t}})),D=(0,c.makeStaticFileCache)(((e,t)=>{let n;try{n=s().parse(t)}catch(t){throw new h.default(`Error while parsing config - ${t.message}`,e)}if(!n)throw new h.default("No config detected",e);if("object"!=typeof n)throw new h.default("Config returned typeof "+typeof n,e);if(Array.isArray(n))throw new h.default("Expected config object but found array",e);return delete n.$schema,{filepath:e,dirname:r().dirname(e),options:n}})),T=(0,c.makeStaticFileCache)(((e,t)=>{const n=r().dirname(e),i=t.split("\n").map((e=>e.replace(/#(.*?)$/,"").trim())).filter((e=>!!e));for(const t of i)if("!"===t[0])throw new h.default("Negation of file paths is not supported.",e);return{filepath:e,dirname:r().dirname(e),ignore:i.map((e=>(0,d.default)(e,n)))}}));function*C(e,t,n,i,s=null){const a=(yield*o().all(e.map((e=>A(r().join(t,e),n,i))))).reduce(((e,n)=>{if(n&&e)throw new h.default(`Multiple configuration files found. Please remove one:\n - ${r().basename(e.filepath)}\n - ${n.filepath}\nfrom ${t}`);return n||e}),s);return a&&y("Found configuration %o from %o.",a.filepath,t),a}function A(e,t,n){switch(r().extname(e)){case".js":case".cjs":case".mjs":case".cts":return E(e,{envName:t,caller:n});default:return D(e)}}return GL}var Dz={},Tz={},Cz={};function Az(){const e=s;return Az=function(){return e},e}function Pz(){const e=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=Oz(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var a=i?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(n,s,a):n[s]=e[s]}n.default=e,r&&r.set(e,n);return n}(i,!0);return Pz=function(){return e},e}function wz(){const e=u;return wz=function(){return e},e}function kz(){const e=o;return kz=function(){return e},e}function Iz(){const e=a;return Iz=function(){return e},e}function Nz(){const e=n;return Nz=function(){return e},e}function Fz(){const e=l;return Fz=function(){return e},e}function _z(){const e=t;return _z=function(){return e},e}function Oz(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(Oz=function(e){return e?r:t})(e)}Object.defineProperty(Cz,"__esModule",{value:!0}),Cz.moduleResolve=Vq,Cz.resolve=function(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return function(e,t={}){const{parentURL:r}=t;let n,i;if(Az()(void 0!==r,"expected `parentURL` to be defined"),function(e){if(void 0===e)return;if("string"!=typeof e&&!function(e){return Boolean(e&&"object"==typeof e&&"href"in e&&"string"==typeof e.href&&"protocol"in e&&"string"==typeof e.protocol&&e.href&&e.protocol)}(e))throw new Rz.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}(r),r)try{n=new(kz().URL)(r)}catch(e){}try{i=Uq(e)?new(kz().URL)(e,n):new(kz().URL)(e);const t=i.protocol;if("data:"===t||uq&&("https:"===t||"http:"===t))return{url:i.href,format:null}}catch(e){}const s=function(e,t,r){if(r){const n=r.protocol;if("http:"===n||"https:"===n){if(Uq(e)){const n=null==t?void 0:t.protocol;if(n&&"https:"!==n&&"http:"!==n)throw new lq(e,r,"remote imports cannot import from a local location.");return{url:(null==t?void 0:t.href)||""}}if(Nz().builtinModules.includes(e))throw new lq(e,r,"remote imports cannot import from a local location.");throw new lq(e,r,"only relative and absolute specifiers are supported.")}}}(e,i,n);if(s)return s;if(i&&"node:"===i.protocol)return{url:e};!function(e,t){const r=null==e?void 0:e.protocol;if(r&&"file:"!==r&&"data:"!==r&&(!t||"https:"!==r&&"http:"!==r))throw new gq(e,["file","data"].concat(t?["https","http"]:[]))}(i,uq);const a=function(e){if(void 0!==e&&e!==sq){if(!Array.isArray(e))throw new iq("conditions",e,"expected an array");return new Set(e)}return aq}(t.conditions),o=Vq(e,new(kz().URL)(r),a,!1);return function(e){const t=e.protocol;if("file:"!==t&&"data:"!==t&&"node:"!==t)throw new gq(e)}(o),{url:o.href,format:nq(o,{parentURL:r})}}(e,{parentURL:t}).url}catch(e){const t=e;if("ERR_UNSUPPORTED_DIR_IMPORT"===t.code&&"string"==typeof t.url)return t.url;throw e}};const Bz="win32"===wz().platform,jz={}.hasOwnProperty,Lz=/^([A-Z][a-z\d]*)+$/,Mz=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Rz={};function $z(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const Uz=new Map;let Vz;function zz(e,t,r){return Uz.set(e,t),function(e,t){return r;function r(...r){const n=Error.stackTraceLimit;qz()&&(Error.stackTraceLimit=0);const i=new e;qz()&&(Error.stackTraceLimit=n);const s=function(e,t,r){const n=Uz.get(e);if(Az()(void 0!==n,"expected `message` to be found"),"function"==typeof n)return Az()(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,r,t);const i=/%[dfijoOs]/g;let s=0;for(;null!==i.exec(n);)s++;return Az()(s===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${s}).`),0===t.length?n:(t.unshift(n),Reflect.apply(_z().format,null,t))}(t,r,i);return Object.defineProperties(i,{message:{value:s,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),Wz(i),i.code=t,i}}(r,e)}function qz(){try{if(Fz().startupSnapshot.isBuildingSnapshot())return!1}catch(e){}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):jz.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}Rz.ERR_INVALID_ARG_TYPE=zz("ERR_INVALID_ARG_TYPE",((e,t,r)=>{Az()("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";if(e.endsWith(" argument"))n+=`${e} `;else{const t=e.includes(".")?"property":"argument";n+=`"${e}" ${t} `}n+="must be ";const i=[],s=[],a=[];for(const e of t)Az()("string"==typeof e,"All expected entries have to be of type string"),Mz.has(e)?i.push(e.toLowerCase()):null===Lz.exec(e)?(Az()("object"!==e,'The value "object" should be written as "Object"'),a.push(e)):s.push(e);if(s.length>0){const e=i.indexOf("object");-1!==e&&(i.slice(e,1),s.push("Object"))}return i.length>0&&(n+=`${i.length>1?"one of type":"of type"} ${$z(i,"or")}`,(s.length>0||a.length>0)&&(n+=" or ")),s.length>0&&(n+=`an instance of ${$z(s,"or")}`,a.length>0&&(n+=" or ")),a.length>0&&(a.length>1?n+=`one of ${$z(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`)),n+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${(0,_z().inspect)(e,{depth:-1})}`;let t=(0,_z().inspect)(e,{colors:!1});t.length>28&&(t=`${t.slice(0,25)}...`);return`type ${typeof e} (${t})`}(r)}`,n}),TypeError),Rz.ERR_INVALID_MODULE_SPECIFIER=zz("ERR_INVALID_MODULE_SPECIFIER",((e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`),TypeError),Rz.ERR_INVALID_PACKAGE_CONFIG=zz("ERR_INVALID_PACKAGE_CONFIG",((e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`),Error),Rz.ERR_INVALID_PACKAGE_TARGET=zz("ERR_INVALID_PACKAGE_TARGET",((e,t,r,n=!1,i=void 0)=>{const s="string"==typeof r&&!n&&r.length>0&&!r.startsWith("./");return"."===t?(Az()(!1===n),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${i?` imported from ${i}`:""}${s?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${i?` imported from ${i}`:""}${s?'; targets must start with "./"':""}`}),Error),Rz.ERR_MODULE_NOT_FOUND=zz("ERR_MODULE_NOT_FOUND",((e,t,r="package")=>`Cannot find ${r} '${e}' imported from ${t}`),Error),Rz.ERR_NETWORK_IMPORT_DISALLOWED=zz("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Rz.ERR_PACKAGE_IMPORT_NOT_DEFINED=zz("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`),TypeError),Rz.ERR_PACKAGE_PATH_NOT_EXPORTED=zz("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,r=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`),Error),Rz.ERR_UNSUPPORTED_DIR_IMPORT=zz("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Rz.ERR_UNKNOWN_FILE_EXTENSION=zz("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError),Rz.ERR_INVALID_ARG_VALUE=zz("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=(0,_z().inspect)(t);n.length>128&&(n=`${n.slice(0,128)}...`);return`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`}),TypeError),Rz.ERR_UNSUPPORTED_ESM_URL_SCHEME=zz("ERR_UNSUPPORTED_ESM_URL_SCHEME",((e,t)=>{let r=`Only URLs with a scheme in: ${$z(t)} are supported by the default ESM loader`;return Bz&&2===e.protocol.length&&(r+=". On Windows, absolute paths must be valid file:// URLs"),r+=`. Received protocol '${e.protocol}'`,r}),Error);const Wz=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}((function(e){const t=qz();return t&&(Vz=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=Vz),e}));const Kz={read:function(e){try{return{string:Pz().default.readFileSync(Iz().toNamespacedPath(Iz().join(Iz().dirname(e),"package.json")),"utf8")}}catch(e){const t=e;if("ENOENT"===t.code)return{string:void 0};throw t}}};var Hz=Kz;const{ERR_INVALID_PACKAGE_CONFIG:Jz}=Rz,Xz=new Map;function Gz(e,t,r){const n=Xz.get(e);if(void 0!==n)return n;const i=Hz.read(e).string;if(void 0===i){const t={pjsonPath:e,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Xz.set(e,t),t}let s;try{s=JSON.parse(i)}catch(n){const i=n;throw new Jz(e,(r?`"${t}" from `:"")+(0,kz().fileURLToPath)(r||t),i.message)}const{exports:a,imports:o,main:u,name:l,type:c}=s,p={pjsonPath:e,exists:!0,main:"string"==typeof u?u:void 0,name:"string"==typeof l?l:void 0,type:"module"===c||"commonjs"===c?c:"none",exports:a,imports:o&&"object"==typeof o?o:void 0};return Xz.set(e,p),p}function Yz(e){let t=new(kz().URL)("package.json",e);for(;;){if(t.pathname.endsWith("node_modules/package.json"))break;const r=Gz((0,kz().fileURLToPath)(t),e);if(r.exists)return r;const n=t;if(t=new(kz().URL)("../package.json",t),t.pathname===n.pathname)break}const r=(0,kz().fileURLToPath)(t),n={pjsonPath:r,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return Xz.set(r,n),n}const{ERR_UNKNOWN_FILE_EXTENSION:Qz}=Rz,Zz={}.hasOwnProperty,eq={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};const tq={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,r){const n=function(e){const t=e.pathname;let r=t.length;for(;r--;){const e=t.codePointAt(r);if(47===e)return"";if(46===e)return 47===t.codePointAt(r-1)?"":t.slice(r)}return""}(e);if(".js"===n)return"module"===function(e){return Yz(e).type}(e)?"module":"commonjs";const i=eq[n];if(i)return i;if(r)return;const s=(0,kz().fileURLToPath)(e);throw new Qz(n,s)},"http:":rq,"https:":rq,"node:":()=>"builtin"};function rq(){}function nq(e,t){return Zz.call(tq,e.protocol)&&tq[e.protocol](e,t,!0)||null}const{ERR_INVALID_ARG_VALUE:iq}=Rz,sq=Object.freeze(["node","import"]),aq=new Set(sq);const oq=RegExp.prototype[Symbol.replace],uq=!1,{ERR_NETWORK_IMPORT_DISALLOWED:lq,ERR_INVALID_MODULE_SPECIFIER:cq,ERR_INVALID_PACKAGE_CONFIG:pq,ERR_INVALID_PACKAGE_TARGET:dq,ERR_MODULE_NOT_FOUND:hq,ERR_PACKAGE_IMPORT_NOT_DEFINED:fq,ERR_PACKAGE_PATH_NOT_EXPORTED:mq,ERR_UNSUPPORTED_DIR_IMPORT:yq,ERR_UNSUPPORTED_ESM_URL_SCHEME:gq}=Rz,bq={}.hasOwnProperty,vq=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,xq=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Eq=/^\.|%|\\/,Sq=/\*/g,Dq=/%2f|%5c/i,Tq=new Set,Cq=/[/\\]{2}/;function Aq(e,t,r,n,i,s,a){const o=(0,kz().fileURLToPath)(n),u=null!==Cq.exec(a?e:t);wz().emitWarning(`Use of deprecated ${u?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${i?"imports":"exports"}" field module resolution of the package at ${o}${s?` imported from ${(0,kz().fileURLToPath)(s)}`:""}.`,"DeprecationWarning","DEP0166")}function Pq(e,t,r,n){if("module"!==nq(e,{parentURL:r.href}))return;const i=(0,kz().fileURLToPath)(e.href),s=(0,kz().fileURLToPath)(new(kz().URL)(".",t)),a=(0,kz().fileURLToPath)(r);n?wz().emitWarning(`Package ${s} has a "main" field set to ${JSON.stringify(n)}, excluding the full filename and extension to the resolved file at "${i.slice(s.length)}", imported from ${a}.\n Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):wz().emitWarning(`No "main" or "exports" field defined in the package.json for ${s} resolving the main entry point "${i.slice(s.length)}", imported from ${a}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function wq(e){try{return(0,Pz().statSync)(e)}catch(e){return new(Pz().Stats)}}function kq(e){const t=(0,Pz().statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return null!=r&&r}function Iq(e,t,r){let n;if(void 0!==t.main){if(n=new(kz().URL)(t.main,e),kq(n))return n;const i=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let s=-1;for(;++s<i.length&&(n=new(kz().URL)(i[s],e),!kq(n));)n=void 0;if(n)return Pq(n,e,r,t.main),n}const i=["./index.js","./index.json","./index.node"];let s=-1;for(;++s<i.length&&(n=new(kz().URL)(i[s],e),!kq(n));)n=void 0;if(n)return Pq(n,e,r,t.main),n;throw new hq((0,kz().fileURLToPath)(new(kz().URL)(".",e)),(0,kz().fileURLToPath)(r))}function Nq(e,t,r){return new mq((0,kz().fileURLToPath)(new(kz().URL)(".",t)),e,r&&(0,kz().fileURLToPath)(r))}function Fq(e,t,r,n,i){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new dq((0,kz().fileURLToPath)(new(kz().URL)(".",r)),e,t,n,i&&(0,kz().fileURLToPath)(i))}function _q(e,t,r,n,i,s,a,o,u){if(""!==t&&!s&&"/"!==e[e.length-1])throw Fq(r,e,n,a,i);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let r=!1;try{new(kz().URL)(e),r=!0}catch(e){}if(!r){return $q(s?oq.call(Sq,e,(()=>t)):e+t,n,u)}}throw Fq(r,e,n,a,i)}if(null!==vq.exec(e.slice(2))){if(null!==xq.exec(e.slice(2)))throw Fq(r,e,n,a,i);if(!o){const o=s?r.replace("*",(()=>t)):r+t;Aq(s?oq.call(Sq,e,(()=>t)):e,o,r,n,a,i,!0)}}const l=new(kz().URL)(e,n),c=l.pathname,p=new(kz().URL)(".",n).pathname;if(!c.startsWith(p))throw Fq(r,e,n,a,i);if(""===t)return l;if(null!==vq.exec(t)){const u=s?r.replace("*",(()=>t)):r+t;if(null===xq.exec(t)){if(!o){Aq(s?oq.call(Sq,e,(()=>t)):e,u,r,n,a,i,!1)}}else!function(e,t,r,n,i){const s=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,kz().fileURLToPath)(r)}`;throw new cq(e,s,i&&(0,kz().fileURLToPath)(i))}(u,r,n,a,i)}return s?new(kz().URL)(oq.call(Sq,l.href,(()=>t))):new(kz().URL)(t,l)}function Oq(e){const t=Number(e);return`${t}`===e&&(t>=0&&t<4294967295)}function Bq(e,t,r,n,i,s,a,o,u){if("string"==typeof t)return _q(t,r,n,e,i,s,a,o,u);if(Array.isArray(t)){const l=t;if(0===l.length)return null;let c,p=-1;for(;++p<l.length;){const t=l[p];let d;try{d=Bq(e,t,r,n,i,s,a,o,u)}catch(e){if(c=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==d){if(null!==d)return d;c=null}}if(null==c)return null;throw c}if("object"==typeof t&&null!==t){const l=Object.getOwnPropertyNames(t);let c=-1;for(;++c<l.length;){if(Oq(l[c]))throw new pq((0,kz().fileURLToPath)(e),i,'"exports" cannot contain numeric property keys.')}for(c=-1;++c<l.length;){const p=l[c];if("default"===p||u&&u.has(p)){const l=Bq(e,t[p],r,n,i,s,a,o,u);if(void 0===l)continue;return l}}return null}if(null===t)return null;throw Fq(n,t,e,a,i)}function jq(e,t,r){const n=(0,kz().fileURLToPath)(t);Tq.has(n+"|"+e)||(Tq.add(n+"|"+e),wz().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${n}${r?` imported from ${(0,kz().fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Lq(e,t,r,n,i){let s=r.exports;if(function(e,t,r){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const n=Object.getOwnPropertyNames(e);let i=!1,s=0,a=-1;for(;++a<n.length;){const e=n[a],o=""===e||"."!==e[0];if(0==s++)i=o;else if(i!==o)throw new pq((0,kz().fileURLToPath)(t),r,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return i}(s,e,n)&&(s={".":s}),bq.call(s,t)&&!t.includes("*")&&!t.endsWith("/")){const r=Bq(e,s[t],"",t,n,!1,!1,!1,i);if(null==r)throw Nq(t,e,n);return r}let a="",o="";const u=Object.getOwnPropertyNames(s);let l=-1;for(;++l<u.length;){const r=u[l],i=r.indexOf("*");if(-1!==i&&t.startsWith(r.slice(0,i))){t.endsWith("/")&&jq(t,e,n);const s=r.slice(i+1);t.length>=r.length&&t.endsWith(s)&&1===Mq(a,r)&&r.lastIndexOf("*")===i&&(a=r,o=t.slice(i,t.length-s.length))}}if(a){const r=Bq(e,s[a],o,a,n,!0,!1,t.endsWith("/"),i);if(null==r)throw Nq(t,e,n);return r}throw Nq(t,e,n)}function Mq(e,t){const r=e.indexOf("*"),n=t.indexOf("*"),i=-1===r?e.length:r+1,s=-1===n?t.length:n+1;return i>s?-1:s>i||-1===r?1:-1===n||e.length>t.length?-1:t.length>e.length?1:0}function Rq(e,t,r){if("#"===e||e.startsWith("#/")||e.endsWith("/")){throw new cq(e,"is not a valid internal imports specifier name",(0,kz().fileURLToPath)(t))}let n;const i=Yz(t);if(i.exists){n=(0,kz().pathToFileURL)(i.pjsonPath);const s=i.imports;if(s)if(bq.call(s,e)&&!e.includes("*")){const i=Bq(n,s[e],"",e,t,!1,!0,!1,r);if(null!=i)return i}else{let i="",a="";const o=Object.getOwnPropertyNames(s);let u=-1;for(;++u<o.length;){const t=o[u],r=t.indexOf("*");if(-1!==r&&e.startsWith(t.slice(0,-1))){const n=t.slice(r+1);e.length>=t.length&&e.endsWith(n)&&1===Mq(i,t)&&t.lastIndexOf("*")===r&&(i=t,a=e.slice(r,e.length-n.length))}}if(i){const e=Bq(n,s[i],a,i,t,!0,!0,!1,r);if(null!=e)return e}}}throw function(e,t,r){return new fq(e,t&&(0,kz().fileURLToPath)(new(kz().URL)(".",t)),(0,kz().fileURLToPath)(r))}(e,n,t)}function $q(e,t,r){if(Nz().builtinModules.includes(e))return new(kz().URL)("node:"+e);const{packageName:n,packageSubpath:i,isScoped:s}=function(e,t){let r=e.indexOf("/"),n=!0,i=!1;"@"===e[0]&&(i=!0,-1===r||0===e.length?n=!1:r=e.indexOf("/",r+1));const s=-1===r?e:e.slice(0,r);if(null!==Eq.exec(s)&&(n=!1),!n)throw new cq(e,"is not a valid package name",(0,kz().fileURLToPath)(t));return{packageName:s,packageSubpath:"."+(-1===r?"":e.slice(r)),isScoped:i}}(e,t),a=Yz(t);if(a.exists){const e=(0,kz().pathToFileURL)(a.pjsonPath);if(a.name===n&&void 0!==a.exports&&null!==a.exports)return Lq(e,i,a,t,r)}let o,u=new(kz().URL)("./node_modules/"+n+"/package.json",t),l=(0,kz().fileURLToPath)(u);do{if(!wq(l.slice(0,-13)).isDirectory()){o=l,u=new(kz().URL)((s?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",u),l=(0,kz().fileURLToPath)(u);continue}const a=Gz(l,e,t);return void 0!==a.exports&&null!==a.exports?Lq(u,i,a,t,r):"."===i?Iq(u,a,t):new(kz().URL)(i,u)}while(l.length!==o.length);throw new hq(n,(0,kz().fileURLToPath)(t))}function Uq(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}function Vq(e,t,r,n){const i=t.protocol,s="http:"===i||"https:"===i;let a;if(Uq(e))a=new(kz().URL)(e,t);else if(s||"#"!==e[0])try{a=new(kz().URL)(e)}catch(n){s||(a=$q(e,t,r))}else a=Rq(e,t,r);return Az()(void 0!==a,"expected to be defined"),"file:"!==a.protocol?a:function(e,t,r){if(null!==Dq.exec(e.pathname))throw new cq(e.pathname,'must not include encoded "/" or "\\" characters',(0,kz().fileURLToPath)(t));const n=(0,kz().fileURLToPath)(e),i=wq(n.endsWith("/")?n.slice(-1):n);if(i.isDirectory()){const r=new yq(n,(0,kz().fileURLToPath)(t));throw r.url=String(e),r}if(!i.isFile())throw new hq(n||e.pathname,t&&(0,kz().fileURLToPath)(t),"module");if(!r){const t=(0,Pz().realpathSync)(n),{search:r,hash:i}=e;(e=(0,kz().pathToFileURL)(t+(n.endsWith(Iz().sep)?"/":""))).search=r,e.hash=i}return e}(a,t,n)}let zq;var qq,Wq;function Kq(){if(qq)return Dz;function e(){const t=qh;return e=function(){return t},t}function t(){const e=a;return t=function(){return e},e}qq=1,Object.defineProperty(Dz,"__esModule",{value:!0}),Dz.loadPlugin=function*(e,t){const n=g(e,t,yield*(0,r.isAsync)()),i=yield*A("plugin",n);return u("Loaded plugin %o from %o.",e,t),{filepath:n,value:i}},Dz.loadPreset=function*(e,t){const n=b(e,t,yield*(0,r.isAsync)()),i=yield*A("preset",n);return u("Loaded preset %o from %o.",e,t),{filepath:n,value:i}},Dz.resolvePreset=Dz.resolvePlugin=void 0;var r=Zj,n=Ez();function i(){const e=o;return i=function(){return e},e}var s=Tz;const u=e()("babel:config:loading:files:plugins"),l=/^module:/,c=/^(?!@|module:|[^/]+\/|babel-plugin-)/,p=/^(?!@|module:|[^/]+\/|babel-preset-)/,d=/^(@babel\/)(?!plugin-|[^/]+\/)/,h=/^(@babel\/)(?!preset-|[^/]+\/)/,f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,m=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,y=/^(@(?!babel$)[^/]+)$/,g=T.bind(null,"plugin");Dz.resolvePlugin=g;const b=T.bind(null,"preset");function v(e,r){if(t().isAbsolute(r))return r;const n="preset"===e;return r.replace(n?p:c,`babel-${e}-`).replace(n?h:d,`$1${e}-`).replace(n?m:f,`$1babel-${e}-`).replace(y,`$1/babel-${e}`).replace(l,"")}function*x(e,t){const r=v(e,t),{error:n,value:i}=yield r;if(!n)return i;if("MODULE_NOT_FOUND"!==n.code)throw n;r===t||(yield t).error||(n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`),(yield v(e,"@babel/"+t)).error||(n.message+=`\n- Did you mean "@babel/${t}"?`);const s="preset"===e?"plugin":"preset";if((yield v(s,t)).error||(n.message+=`\n- Did you accidentally pass a ${s} as a ${e}?`),"plugin"===e){const e=r.replace("-proposal-","-transform-");e===r||(yield e).error||(n.message+=`\n- Did you mean "${e}"?`)}throw n.message+="\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n",n}function E(e,t){try{return t?{error:null,value:(r=process.versions.node,n="8.9",r=r.split("."),n=n.split("."),+r[0]>+n[0]||r[0]==n[0]&&+r[1]>=+n[1]?require.resolve:(e,{paths:[t]},r=require("module"))=>{let n=r._findPath(e,r._nodeModulePaths(t).concat(t));if(n)return n;throw n=new Error(`Cannot resolve module '${e}'`),n.code="MODULE_NOT_FOUND",n})(e,{paths:[t]})}:{error:null,value:require.resolve(e)}}catch(e){return{error:e,value:null}}var r,n}function S(e,t){try{return{error:null,value:(0,s.default)(e,t)}}catch(e){return{error:e,value:null}}}function D(e,t,r){const n=x(e,t);let i=n.next();for(;!i.done;)i=n.next(E(i.value,r));return i.value}function T(e,r,s,a){if(!n.supportsESM||!a)return D(e,r,s);try{return function(e,r,n){const s=(0,i().pathToFileURL)(t().join(n,"./babel-virtual-resolve-base.js")).href,a=x(e,r);let o=a.next();for(;!o.done;)o=a.next(S(o.value,s));return(0,i().fileURLToPath)(o.value)}(e,r,s)}catch(t){try{return D(e,r,s)}catch(e){if("MODULE_NOT_FOUND"===t.type)throw t;if("MODULE_NOT_FOUND"===e.type)throw e;throw t}}}Dz.resolvePreset=b;var C=new Set;function*A(e,t){if(!(yield*(0,r.isAsync)())&&C.has(t))throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return C.add(t),yield*(0,n.default)(t,`You appear to be using a native ECMAScript module ${e}, which is only supported when running Babel asynchronously.`,!0)}catch(e){throw e.message=`[BABEL]: ${e.message} (While processing: ${t})`,e}finally{C.delete(t)}}return Dz}function Hq(){return Wq||(Wq=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return r.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(e,"findConfigUpwards",{enumerable:!0,get:function(){return r.findConfigUpwards}}),Object.defineProperty(e,"findPackageData",{enumerable:!0,get:function(){return t.findPackageData}}),Object.defineProperty(e,"findRelativeConfig",{enumerable:!0,get:function(){return r.findRelativeConfig}}),Object.defineProperty(e,"findRootConfig",{enumerable:!0,get:function(){return r.findRootConfig}}),Object.defineProperty(e,"loadConfig",{enumerable:!0,get:function(){return r.loadConfig}}),Object.defineProperty(e,"loadPlugin",{enumerable:!0,get:function(){return n.loadPlugin}}),Object.defineProperty(e,"loadPreset",{enumerable:!0,get:function(){return n.loadPreset}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return n.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return n.resolvePreset}}),Object.defineProperty(e,"resolveShowConfigPath",{enumerable:!0,get:function(){return r.resolveShowConfigPath}});var t=Xj,r=Sz(),n=Kq()}(Jj)),Jj}Object.defineProperty(Tz,"__esModule",{value:!0}),Tz.default=function(e,t){return zq(e,t)},zq=Cz.resolve;var Jq,Xq={};var Gq,Yq={};var Qq,Zq,eW={};function tW(){return Zq||(Zq=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(e,"File",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"buildExternalHelpers",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"createConfigItem",{enumerable:!0,get:function(){return l.createConfigItem}}),Object.defineProperty(e,"createConfigItemAsync",{enumerable:!0,get:function(){return l.createConfigItemAsync}}),Object.defineProperty(e,"createConfigItemSync",{enumerable:!0,get:function(){return l.createConfigItemSync}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return i.getEnv}}),Object.defineProperty(e,"loadOptions",{enumerable:!0,get:function(){return l.loadOptions}}),Object.defineProperty(e,"loadOptionsAsync",{enumerable:!0,get:function(){return l.loadOptionsAsync}}),Object.defineProperty(e,"loadOptionsSync",{enumerable:!0,get:function(){return l.loadOptionsSync}}),Object.defineProperty(e,"loadPartialConfig",{enumerable:!0,get:function(){return l.loadPartialConfig}}),Object.defineProperty(e,"loadPartialConfigAsync",{enumerable:!0,get:function(){return l.loadPartialConfigAsync}}),Object.defineProperty(e,"loadPartialConfigSync",{enumerable:!0,get:function(){return l.loadPartialConfigSync}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return h.parse}}),Object.defineProperty(e,"parseAsync",{enumerable:!0,get:function(){return h.parseAsync}}),Object.defineProperty(e,"parseSync",{enumerable:!0,get:function(){return h.parseSync}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return n.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return n.resolvePreset}}),Object.defineProperty(e,"template",{enumerable:!0,get:function(){return u().default}}),Object.defineProperty(e,"tokTypes",{enumerable:!0,get:function(){return a().tokTypes}}),Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return c.transform}}),Object.defineProperty(e,"transformAsync",{enumerable:!0,get:function(){return c.transformAsync}}),Object.defineProperty(e,"transformFile",{enumerable:!0,get:function(){return p.transformFile}}),Object.defineProperty(e,"transformFileAsync",{enumerable:!0,get:function(){return p.transformFileAsync}}),Object.defineProperty(e,"transformFileSync",{enumerable:!0,get:function(){return p.transformFileSync}}),Object.defineProperty(e,"transformFromAst",{enumerable:!0,get:function(){return d.transformFromAst}}),Object.defineProperty(e,"transformFromAstAsync",{enumerable:!0,get:function(){return d.transformFromAstAsync}}),Object.defineProperty(e,"transformFromAstSync",{enumerable:!0,get:function(){return d.transformFromAstSync}}),Object.defineProperty(e,"transformSync",{enumerable:!0,get:function(){return c.transformSync}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return o().default}}),e.version=e.types=void 0;var t=SB,r=mj,n=Hq(),i=aU;function s(){const e=rh();return s=function(){return e},e}function a(){const e=Gn;return a=function(){return e},e}function o(){const e=VD();return o=function(){return e},e}function u(){const e=hx;return u=function(){return e},e}Object.defineProperty(e,"types",{enumerable:!0,get:function(){return s()}});var l=uU(),c=function(){if(Jq)return Xq;function e(){const t=Qj();return e=function(){return t},t}Jq=1,Object.defineProperty(Xq,"__esModule",{value:!0}),Xq.transform=void 0,Xq.transformAsync=function(...e){return(0,n.beginHiddenCallStack)(i.async)(...e)},Xq.transformSync=function(...e){return(0,n.beginHiddenCallStack)(i.sync)(...e)};var t=uU(),r=lU,n=BL;const i=e()((function*(e,n){const i=yield*(0,t.default)(n);return null===i?null:yield*(0,r.run)(i,e)}));return Xq.transform=function(e,t,r){let s,a;if("function"==typeof t?(a=t,s=void 0):(s=t,a=r),void 0===a)return(0,n.beginHiddenCallStack)(i.sync)(e,s);(0,n.beginHiddenCallStack)(i.errback)(e,s,a)},Xq}(),p=mV(),d=function(){if(Gq)return Yq;function e(){const t=Qj();return e=function(){return t},t}Gq=1,Object.defineProperty(Yq,"__esModule",{value:!0}),Yq.transformFromAst=void 0,Yq.transformFromAstAsync=function(...e){return(0,n.beginHiddenCallStack)(i.async)(...e)},Yq.transformFromAstSync=function(...e){return(0,n.beginHiddenCallStack)(i.sync)(...e)};var t=uU(),r=lU,n=BL;const i=e()((function*(e,n,i){const s=yield*(0,t.default)(i);if(null===s)return null;if(!e)throw new Error("No AST given");return yield*(0,r.run)(s,n,e)}));return Yq.transformFromAst=function(e,t,r,s){let a,o;if("function"==typeof r?(o=r,a=void 0):(a=r,o=s),void 0===o)return(0,n.beginHiddenCallStack)(i.sync)(e,t,a);(0,n.beginHiddenCallStack)(i.errback)(e,t,a,o)},Yq}(),h=function(){if(Qq)return eW;function e(){const t=Qj();return e=function(){return t},t}Qq=1,Object.defineProperty(eW,"__esModule",{value:!0}),eW.parse=void 0,eW.parseAsync=function(...e){return(0,i.beginHiddenCallStack)(s.async)(...e)},eW.parseSync=function(...e){return(0,i.beginHiddenCallStack)(s.sync)(...e)};var t=uU(),r=TU,n=bU,i=BL;const s=e()((function*(e,i){const s=yield*(0,t.default)(i);return null===s?null:yield*(0,r.default)(s.passes,(0,n.default)(s),e)}));return eW.parse=function(e,t,r){if("function"==typeof t&&(r=t,t=void 0),void 0===r)return(0,i.beginHiddenCallStack)(s.sync)(e,t);(0,i.beginHiddenCallStack)(s.errback)(e,t,r)},eW}();tW();e.version="7.22.5";const f=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);e.DEFAULT_EXTENSIONS=f,e.OptionManager=class{init(e){return(0,l.loadOptionsSync)(e)}},e.Plugin=function(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}}(EB)),EB}const{createConfigItem:rW,transformFromAstSync:nW}=tW();const iW=JD,{print:sW}=rT,aW=(e,t)=>{const r=function(e){let t=0;const r=[];let n=0;for(const[i,s]of e)i!==yB?(i===gB&&(t+=s.split("\n").length-1),n===yB?(r.push(t),n=i):n=i):++t;return r}(function(e,t){const r=new mB,n=r.diff_linesToChars_(e,t),i=n.chars1,s=n.chars2,{lineArray:a}=n,o=r.diff_main(i,s,!1);return r.diff_charsToLines_(o,a),o}(e,t));return function(e){const t=[],r=0;for(const n of e)t.push({line:n,column:r});return t}(r)},oW=(e,t,r)=>{const n="string"!=typeof r?r:dO(r);return nW(e,t,{cloneInputAst:!1,plugins:[rW(n)]}),e},uW=/@babel\/plugin-|babel-plugin-/;tT.exports=(e,t)=>{const r=e.replace(uW,"").replaceAll("-"," ");return/babel/.test(t)?lW({name:cW(e),message:r,transform:oW}):null};const lW=({name:e,transform:t,message:r})=>({report:()=>r,fix:()=>{},find(r,{push:n}){const i=sW(r,{printer:"putout"});t(r,i,e);const s=sW(r,{printer:"putout"});if(s===i)return;const a=aW(i,s);for(const e of a){n({node:{loc:{start:e}}})}}});function cW(e){const t=(e=>{const[,t]=iW(require.resolve,e);return t})(`@babel/plugin-${e}`);return t||`babel-plugin-${e}`}tT.exports.babelPlugin=(e,t)=>lW({name:e,transform:oW,message:t});var pW,dW=tT.exports;function hW(){if(pW)return HD;pW=1;const e=JD,t=eT,r=dW,n=e=>({name:t,namespace:n})=>{if("putout"!==n)return r(t,n);const[i,s]=function(e,t,r){let[n,i]=a(`@${e}/${t}-${r}`);n||([n,i]=a(`${e}-${t}-${r}`));n||([n,i]=a(r));return[n,i]}(n,e,t);if(!i)throw Error(`${o=e,`${o[0].toUpperCase()}${o.slice(1)}`} "${n}-${e}-${t}" could not be found!`);var o;return s(i)};HD.loadPlugin=n("plugin"),HD.loadProcessor=n("processor"),process.env;const i=t((()=>w1())),s=t((()=>w1()));function a(t){let r;const n=i(),a=s();return[,r]=e(a.resolve,t),r?[r,a]:([,r]=e(n.resolve,t),[r,n])}return HD}var fW={};var mW={simpleImport:async e=>{const t=await import(e);return t.default||t}};const yW=async(e,...t)=>{!function(e){if("function"!=typeof e)throw Error("fn should be a function!")}(e);try{return[null,await e(...t)]}catch(e){return[e]}},{simpleImport:gW}=mW,{assign:bW}=Object;fW.createAsyncLoader=e=>async(t,r)=>{if("none"===t)return()=>{};const[n,i]=await async function(e,t=gW){let r,n;for(const i of e){if([r,n]=await yW(t,i),!r)return[null,n];if("ERR_MODULE_NOT_FOUND"!==r.code)return bW(r,{message:`${i}: ${r.message}`}),[r]}return bW(r,{message:r.message.replace(/\simported.*/,"")}),[r]}([`@putout/${e}-${t}`,`putout-${e}-${t}`],r);if(n)throw n;return i};const{isArray:vW}=Array,{entries:xW}=Object;var EW=e=>{const t=[];for(const r of e)if("string"!=typeof r)if(vW(r)){const[e,n]=r;t.push([e,n])}else t.push(...xW(r));else t.push([r]);return t};const{isArray:SW}=Array,DW=e=>"on"===e,TW=e=>"off"===e;var CW=e=>{const t=[];for(const r of e)if("string"!=typeof r)if(SW(r)){const[e,n]=r;if(TW(n))continue;if(DW(n)){t.push([e]);continue}t.push([e,n])}else;else t.push([r]);return t};const{isArray:AW}=Array,PW=e=>"boolean"==typeof e,wW=e=>"string"==typeof e,kW=e=>"object"==typeof e,{entries:IW}=Object,{stringify:NW}=JSON,FW=e=>Error(`☝️ Rule format not supported ${e}: ${typeof e}`),_W=()=>Object.create(null),OW=(e,t)=>function(e,t){if(PW(t))return!0;if(/^(on|off)$/.test(t))return!0;if(kW(t))return!0;throw(({rule:e,value:t})=>Error(`☝️ ${e}: state option can be "on" or "off" only, when used as string, received: "${t}"`))({rule:e,value:t})}(e,t)&&"on"===t||"off"!==t;var BW=e=>{e=function(e){const t={};for(const[r,n]of IW(e))!MW(r)&&r.includes("/")&&OW(r,n)&&(t[LW(r)]="on"),t[r]=n;return t}(e);const t=[];for(const[r,n]of IW(e)){if(wW(n)){t.push({rule:r,state:OW(r,n),plugin:null,msg:"",options:_W()});continue}if(PW(n)){t.push({rule:r,state:n,plugin:null,msg:"",options:_W()});continue}if(!(AW(n)&&n.length)){if(kW(n))throw Error(`☝️ Looks like you need to change "rules" to "match" for ${NW(n)}`);throw FW(n)}t.push(jW(r,n))}return t};function jW(e,t){const r=null,[n]=t,i=OW(e,n);if(3===t.length){const[,n,s]=t;return{rule:e,state:i,plugin:r,msg:n,options:s}}const[,s="",a=_W()]=t;return 2!==t.length||wW(s)?1===t.length&&kW(n)?{rule:e,state:i,plugin:r,msg:s,options:n}:{rule:e,state:i,plugin:r,msg:s,options:a}:{rule:e,state:i,plugin:r,msg:"",options:s}}const LW=e=>e.split("/")[0],MW=e=>e.includes("babel");const RW=e=>e.startsWith("babel/")?e:e.includes("/")?e.split("/").shift():e;var $W=({items:e,rules:t})=>{const r=Object.keys(t);for(const t of r){let r=!1,n=!1;for(const[i,s={}]of e){if(r=i===t,n=i===RW(t),r&&s.rules)throw Error(`Rule "${t}" cannot be applied to nested plugin "${i}"`);if(r||n)break}if(!r&&!n)throw Error(`No plugin found for a rule: "${t}"`)}};const UW=["find","traverse","replace","include","exclude","rules","declare"];var VW,zW=({plugin:e,rule:t})=>{const r=Object.keys(e);for(const e of UW)if(r.includes(e))return;throw Error(`☝️ Cannot determine type of plugin '${t}'. Here is list of supported plugins: https://git.io/JqcMn`)};function qW(){if(VW)return zD;VW=1;const{nanomemoize:e}=WD,t=KD,{loadPlugin:r}=hW(),{createAsyncLoader:n}=fW,i=EW,s=CW,a=BW,o=$W,u=zW,{babelPlugin:l}=dW,c=e=>"string"==typeof e,p=([e,t],r)=>{for(const n of r){if(n.rule!==e)continue;const{msg:r,options:i}=n;return{rule:e,plugin:t,msg:r,options:i}}return{rule:e,plugin:t,msg:"",options:Object.create(null)}};function d(e){const t=e.replace("babel/","");return e.startsWith("babel")?[t,"babel"]:[t,"putout"]}function h(e,t){const r=[],n=Object.entries(t);for(const[t,i]of n)r.push([`${e}/${t}`,i]);return r}function f(e){if(!e||"object"!=typeof e)throw Error("options should be an object!")}function m(e){if(!c(e))throw Error(`☝️ Looks like plugin name type is not 'string', but: '${typeof e}'`)}return zD.loadProcessorsAsync=e((async(e,t)=>{f(e);const{processors:r=[]}=e,i=s(r),a=n("processor"),o=[];for(const[e,r]of i)r?o.push(r):o.push(a(e,t));return await Promise.all(o)})),zD.createAsyncLoader=n,zD.babelPlugin=l,zD.loadPlugins=e=>{f(e);const{pluginNames:n=[],rules:s={}}=e,l=a(s),c=function(e){const t=[];for(const r of e){const{rule:e}=r;e.includes("/")||t.push(r)}return t}(l),y=i(n),g=function({items:e,loadedRules:n}){const i=[];for(const[s,a]of e){if(!t(s,n))continue;m(s);const[e,o]=d(s),l=a||r({name:e,namespace:o});u({plugin:l,rule:s});const{rules:c}=l;c?i.push(...h(s,c)):i.push([s,l])}return i}({items:y,loadedRules:c});o({rules:s,items:y});const b=[];for(const[e,r]of g)t(e,l)&&b.push(p([e,r],l));return b},zD}var WW={};const KW=JD,HW=qh("putout:runner:fix"),{enabled:JW}=HW,{stringify:XW}=JSON;var GW=(e,t,{path:r,rule:n,position:i,options:s})=>{e&&(JW&&HW(`fix: ${n}`,i,(e=>e.path||e)(r).toString()),function(e,t){if(r=t,"function"!=typeof r)throw Error(`☝️ Looks like '${e}' is not a 'function' but '${typeof t}' with value: '${XW(t)}'. More on writing 🐊Putout Plugins: https://git.io/JqcMn`);var r}("fix",t),((e,{path:t,position:r,options:n})=>{const[i]=KW(e,t,{options:n}),{scope:s}=t.path||t;if(!i&&s&&s.getProgramParent().crawl(),i)throw i.loc=i.loc||r,i})(t,{path:r,position:i,options:s}))};var YW={};const QW=e=>e.path||e;YW.getPath=QW,YW.getPosition=(e,t)=>{const r=QW(e);!function(e){if(!e.node)throw Error("☝️ Looks like 'push' called without a 'path' argument.")}(r);const{node:n}=r,{loc:i}=n;if(!i)return{line:0,column:0};const{line:s,column:a}=n.loc.start;return{line:t?s+1:s,column:a}};const{isArray:ZW}=Array;var eK=e=>e?(e=>ZW(e)?e:[e])(e):[],tK={};const{values:rK,entries:nK,assign:iK}=Object,sK=e=>Array.from(e),aK=e=>e.node,oK=e=>sK(e).filter(aK),uK=e=>e;function lK({set:e,get:t}){return(r={})=>{const n=(...n)=>{if(!n.length)return t(r);const[i,s]=n;if(1===n.length)return r[i];e(r,i,s)};return n.clear=()=>{r={}},n.entries=()=>nK(r),n}}function cK(e=uK){return(t=new Set)=>{const r=(...r)=>{if(!r.length)return e(sK(t));const[n]=r;t.add(n)};return r.clear=()=>{const r=t;return t=new Set,e(sK(r))},r}}tK.listStore=cK(),tK.pathStore=cK(oK),tK.mapStore=lK({get:e=>rK(e),set(e,t,r){e[t]=r}}),tK.upStore=lK({get:e=>rK(e),set(e,t,r){e[t]=e[t]||{},iK(e[t],r)}}),tK.upListStore=lK({get:e=>rK(e).map(oK),set(e,t,r){e[t]=e[t]||new Set,e[t].add(r)}});const pK=VD().default,{generate:dK}=rT,hK=GW,{getPosition:fK}=YW,mK=eK,{listStore:yK,mapStore:gK,upStore:bK,upListStore:vK,pathStore:xK}=tK,EK=e=>!e.parent,{merge:SK}=pK.visitors,{assign:DK}=Object,TK=(e,t,r)=>{const n=[];return t[e]&&n.push(...mK(t[e]())),r[e]&&n.push(...mK(r[e])),n};function CK(e,{fix:t,rule:r,shebang:n,msg:i,options:s}){const a=gK(),o=yK(),u=bK(),l=yK(),c=vK(),p=xK();return{push:a=>{const o=fK(a,n),u=i||e.report(a);l({message:u,position:o}),hK(t,e.fix,{path:a,rule:r,position:o,options:s})},pull:()=>(a.clear(),o.clear(),u.clear(),c.clear(),p.clear(),l.clear()),store:a,listStore:o,upstore:u,uplist:c,pathStore:p}}const AK=VD().default,{types:PK}=rh(),{generate:wK}=rT,{merge:kK}=AK.visitors;function IK({rule:e,options:t,template:r}){return(n,i)=>{const s=kK(r({rule:e,visitor:i,options:t}));return AK(n,s)}}const NK=qh("putout:runner:include"),FK=eK,{stringify:_K}=JSON,OK=()=>[],BK=()=>!0;const jK=(e,t,r)=>({push:n,options:i})=>{const s={},a=(({rule:e,filter:t,push:r,options:n})=>i=>{NK(e),t(i,{options:n})&&r(i)})({rule:r,filter:t,push:n,options:i});for(const t of e)s[t]=a;return s};function LK(e,t){if("function"!=typeof t)throw Error(`☝️ Looks like '${e}' is not a 'function' but '${typeof t}' with value: '${_K(t)}'. More on using Includer: https://git.io/JqcMn`)}var MK={exports:{}},RK={},$K={};var UK={};const{template:VK}=rT,{isBlockStatement:zK,isBooleanLiteral:qK,isIdentifier:WK,isLiteral:KK,isTemplateElement:HK,isFunction:JK,isImportDefaultSpecifier:XK,isRegExpLiteral:GK,isTSTypeParameter:YK,isJSXText:QK,isJSXIdentifier:ZK,isJSXAttribute:eH}=rh(),tH="__object",rH="__array",nH="__args",iH="__imports",sH="__body",aH="__jsx_children",oH="__jsx_attributes",uH="__",lH="__identifier",cH="__bool",pH=/^__[a-z]$/,dH=/__args__[a-z]$/,hH=/^__identifier__[a-z]$/,fH=/^__bool__[a-z]$/,mH=[tH,rH,nH,cH,aH,oH,iH,sH,uH,lH,pH,dH,hH,fH];function yH(e,t){return"string"==typeof t?e===t:t.test(e)}UK.isTemplate=e=>/[(;={.\s]/.test(e)||!/^[A-Z]/.test(e),UK.is=(e,t=mH)=>{for(const r of t)if(yH(e,r))return!0;return!1},UK.isNameStr=e=>pH.test(e),UK.isImportsStr=e=>e===iH,UK.isArgsStr=e=>e===nH||dH.test(e),UK.isJSXChildrenStr=e=>e===aH,UK.isJSXAttributesStr=e=>e===oH,UK.isObjectStr=e=>e===tH,UK.isArrayStr=e=>e===rH,UK.isAnyStr=e=>e===uH;const gH=(e,t)=>e.type===t.type,{isArray:bH}=Array;UK.isId=(e,t)=>!!WK(t,{name:lH})&&WK(e),UK.isBool=(e,t)=>!!WK(t,{name:cH})&&qK(e),UK.isEqualType=gH,UK.isStr=e=>"string"==typeof e,UK.isAny=e=>!!WK(e,{name:uH})||QK(e,{value:uH}),UK.isAnyLiteral=(e,t)=>!!KK(t,{value:uH})&&gH(e,t),UK.isArgs=e=>{const t=bH(e)?e[0]:e;return WK(t,{name:nH})},UK.isLinkedArgs=e=>{const t=bH(e)?e[0]:e;return WK(t)&&dH.test(t.name)},UK.isJSXChildren=e=>{const t=bH(e)?e[0]:e;return QK(t,{value:aH})},UK.isJSXAttributes=e=>{const t=bH(e)?e[0]:e;return!!eH(t)&&ZK(t.name,{name:oH})},UK.isLinkedId=(e,t)=>!(!WK(t)||!hH.test(t.name))&&WK(e),UK.isLinkedBool=(e,t)=>!(!WK(t)||!fH.test(t.name))&&qK(e),UK.isLinkedRegExp=(e,t)=>!(!GK(t)||!pH.test(t.pattern))&&GK(e),UK.isPath=e=>Boolean(e.node),UK.isArray=bH,UK.isObject=e=>!!e&&(!bH(e)&&"object"==typeof e),UK.isArrays=(e,t)=>!(!bH(e)||!bH(t))&&e.length===t.length,UK.isImports=e=>{const t=bH(e)?e[0]:e;return!!XK(t)&&WK(t.local,{name:iH})};const vH="ObjectPattern|ObjectExpression",xH="ArrayPattern|ArrayExpression";UK.isEqualAnyArray=(e,t)=>{if(!WK(t,{name:rH}))return!1;const{type:r}=e;return xH.includes(r)},UK.isEqualAnyObject=(e,t)=>{if(!WK(t,{name:tH}))return!1;const{type:r}=e;return vH.includes(r)},UK.isEqualBody=(e,t)=>!!WK(t,{name:sH})&&"BlockStatement"===e.type,UK.isEqualNop=(e,t)=>{if(!WK(t,{name:"__nop"}))return!1;if(!JK(e))return!1;const{body:r}=e;return!!zK(r)&&!r.body.length},UK.isLinkedNode=e=>!(!WK(e)||!pH.test(e.name))||(!(!KK(e)||!pH.test(e.value))||(!(!QK(e)||!pH.test(e.value))||(!(!ZK(e)||!pH.test(e.name))||(!(!HK(e)||!pH.test(e.value.raw))||YK(e)&&pH.test(e.name))))),UK.parseTemplate=(e,{program:t}={})=>{const r=(t?VK.program.ast:VK.ast)(e)||VK.ast.fresh(e);if(e===tH)return[r,vH];if(e===rH)return[r,xH];const{type:n}=r;return[r,n]};const EH=VD().default,SH=(e,t,r)=>{if(r||(r=t,t="."),function(e,t){if("string"!=typeof e)throw Error("selector should be string!");if("object"!=typeof t)throw Error("obj should be object!")}(e,r),!e)return r;if(n=r,!Object.keys(n).length)return;var n;const i=e.split(t);return i.some(((e,n)=>{const s=i.slice(n).join(t);return void 0!==r[s]?(r=r[s],!0):r[e]?!(r=r[e]):(r=void 0,!0)})),r},DH=(e,t,r,n)=>{n||(n=r||{},r=".");const i=n;!function(e){if("string"!=typeof e)throw Error("selector should be string!")}(e);const s=e.split(r);for(let e=0;e<s.length;e++){const r=s[e];/__proto__|prototype/.test(r)||(e===s.length-1?n[r]=t:n[r]||(n[r]={}),n=n[r])}return i},{template:TH}=rT,{replaceWith:CH,extract:AH}=TA,{isIdentifier:PH,isStatement:wH,isJSXElement:kH,isLiteral:IH,isTemplateLiteral:NH,TemplateElement:FH}=rh(),{is:_H,isArgsStr:OH,isJSXChildrenStr:BH,isJSXAttributesStr:jH,isImportsStr:LH}=UK,{entries:MH}=Object,RH=e=>e?.expression||e,{stringify:$H}=JSON;function UH(e){if(PH(e)&&_H(e.name))return{[e.name]:[""]};const t={};return EH(e,{noScope:!0,"Identifier|BooleanLiteral|StringLiteral|TemplateElement|RegExpLiteral|JSXText|JSXAttribute"(e){const{node:r}=e,n=[],i=AH(r);_H(i)&&(e.find((({key:e,listKey:t})=>{"number"!=typeof e?n.unshift(e):n.unshift(`${t}.${e}`)})),t[i]=t[i]||[],t[i].push(n.join(".")))}}),t}function VH({waysFrom:e,node:t}){const r={};for(const[n,i]of MH(e))for(let e of i)LH(n)?e=e.replace(/\.0.local$/,""):(OH(n)||BH(n)||jH(n))&&(e=e.replace(/\.0$/,"")),kH(t)||(e=e.replace(/\.expression$/,"")),r[n]=r[n]||RH(SH(e,t));return r}$K.getTemplateValues=(e,t)=>{if("string"!=typeof t)throw Error(`☝️ Looks like argument 'template' of 'getTemplateValues(node, template)': is not a string, but '${$H(t)}'`);e=(e=>e.node||e)(e);return VH({node:e,waysFrom:UH(TH.ast(t))})},$K.findVarsWays=UH,$K.getValues=VH;$K.setValues=function({waysTo:e,values:t,path:r}){const n=RH(r.node);for(const[s,a]of MH(e))for(let e of a){if(!e){CH(r,t[s]);continue}if((OH(s)||BH(s)||jH(s))&&(e=e.replace(/\.0$/,"")),wH(t[s])&&(e=e.replace(/\.expression$/,"")),IH(t[s])&&NH(n)){const{value:r}=t[s],a=FH({raw:(i=r,i.replace("`","\\`"))});DH(e,a,n);continue}const{extra:a}=SH(e,n),o=t[s].extra;t[s].extra={...a,...o},DH(e,t[s],n)}var i};var zH={},qH={exports:{}};const WH=qh("putout:compare"),{isArray:KH}=Array;function HH(e){if(KH(e)&&e[0]){const[{type:t,name:r,value:n}]=e;return`${t}: ["${r||n}"]`}if((e=>e&&"object"==typeof e)(e)){const{type:t,name:r,value:n}=e;return`${t}: "${r||n}"`}return`${typeof e}: "${e}"`}qH.exports=(e,t)=>{if(!WH.enabled)return;const r=HH(e),n=HH(t);return WH(`${r} = ${n}`)},qH.exports._parseValue=HH;var JH=qH.exports;const{isIdentifier:XH,isLiteral:GH,isStringLiteral:YH,isTemplateElement:QH}=rh();const ZH=JH,eJ=({add:e,value:t,nodeValue:r,templateStore:n})=>{const i=(e=>{e=e[0]||e;const{name:t,value:r}=e;return XH(e)?t:GH(e)?r:QH(e)?e.value.cooked:void 0})(t);return!(YH(t)&&!YH(r))&&(n[i]?(e(n[i],r),!0):(n[i]=r,!0))},{is:tJ,isId:rJ,isBool:nJ,isObject:iJ,isArrays:sJ,isAny:aJ,isAnyLiteral:oJ,isArgs:uJ,isJSXChildren:lJ,isJSXAttributes:cJ,isLinkedArgs:pJ,isLinkedId:dJ,isLinkedBool:hJ,isImports:fJ,isEqualAnyObject:mJ,isEqualAnyArray:yJ,isEqualBody:gJ,isEqualNop:bJ,isLinkedNode:vJ,isLinkedRegExp:xJ}=UK,{isClassBody:EJ,isBlock:SJ,isJSXText:DJ,isTemplateElement:TJ}=rh(),CJ=e=>(t,r)=>e(r),AJ=[function(e,t){if(!TJ(e)||!TJ(t))return!1;const r=e.value.raw===t.value.raw,n=e.value.cooked===t.value.cooked,i=e.tail===t.tail;return r&&n&&i},function(e,t){return!(!DJ(e)||!DJ(t))&&(/^\s+$/.test(t.value)&&/^\s+$/.test(e.value))},function(e,t){return"__"===t},function(e,t){return!(r=t,"object"==typeof r&&null!==r||tJ(t)||t!==e);var r},CJ(EJ),CJ((e=>SJ(e)&&!e.body.length)),CJ(aJ),rJ,nJ,yJ,mJ,gJ,bJ,xJ,function(e,t,{add:r,templateStore:n}){return!!(e&&vJ(t)||pJ(t)||dJ(e,t)||hJ(e,t))&&eJ({add:r,value:t,nodeValue:e,templateStore:n})},oJ,CJ(fJ),CJ(uJ),CJ(lJ),CJ(cJ),function(e,t,{add:r}){const n=iJ(t);n&&r(e,t);return n},function(e,t,{add:r}){const n=sJ(e,t);n&&r(e,t);return n}];zH.runComparators=(e,t,{add:r,templateStore:n})=>{ZH(t,e);for(const i of AJ)if(i(e,t,{add:r,templateStore:n}))return!0;return!1};const{template:PJ}=rT,{isIdentifier:wJ,isExpressionStatement:kJ,isStringLiteral:IJ}=rh(),{findVarsWays:NJ,getValues:FJ,setValues:_J,getTemplateValues:OJ}=$K,{runComparators:BJ}=zH,{isStr:jJ,isPath:LJ,isEqualType:MJ,isEqualBody:RJ,isEqualAnyObject:$J,isEqualAnyArray:UJ,isLinkedNode:VJ,isLinkedId:zJ,isEqualNop:qJ,isTemplate:WJ,parseTemplate:KJ}=UK,{keys:HJ}=Object,{isArray:JJ}=Array,XJ=()=>{},GJ=e=>JJ(e)&&!e.length,YJ=e=>kJ(e)?e.expression:e,QJ=e=>(t,r)=>e.push([t,r]),ZJ=e=>JJ(e)?e:[e];function eX(e){return jJ(e)?PJ.ast(e):e.node?e.node:e}function tX(e,t,r={},n=XJ){const{findUp:i=!0}=r;if(!e&&!t)return!0;if(!e)return!1;if(!t)return!1;const s=YJ(eX(e)),a=YJ(eX(t));if(n(s,a),s.type===t)return!0;if($J(s,a))return!0;if(UJ(s,a))return!0;if(qJ(s,a))return!0;if(wJ(s)&&VJ(a))return!0;if(zJ(s,a))return!0;if(IJ(s)&&VJ(a))return!0;if(RJ(s,a))return!0;if(i&&LJ(e)&&!MJ(s,a)){const{type:t}=a,r=((e,t)=>{const r=e.findParent((e=>t=>t.type===e)(t));return r?r.node:null})(e,t);return nX(r,a)}return nX(s,a)}RK.compare=tX,RK.parseTemplate=KJ,RK.isTemplate=WJ,RK.findVarsWays=NJ,RK.getValues=FJ,RK.setValues=_J,RK.getTemplateValues=OJ,RK.compareAny=(e,t,r)=>{t=ZJ(t);for(const n of t)if(tX(e,n,r))return!0;return!1},RK.compareAll=(e,t,r)=>{t=ZJ(t);for(const n of t)if(!tX(e,n,r))return!1;return!0};const rX=["loc","start","end","directives","extra","raw","comments","leadingComments","innerComments","parent","range","trailingComments","importKind","exportKind"];function nX(e,t){let r=[e,t];const n=[r],i={},s=QJ(n);for(;r=n.pop();){const[e,t]=r;if(!e||GJ(e)&&!GJ(t))return!1;for(const r of HJ(t)){if(rX.includes(r))continue;const n=YJ(e[r]),a=YJ(t[r]);if(!BJ(n,a,{add:s,templateStore:i}))return!1}}return!0}var iX={exports:{}};const sX=e=>(...t)=>(...r)=>e(...t,...r);const{entries:aX}=Object,{isArray:oX}=Array;function uX(e,t){const{node:r}=e;for(const[e,n]of aX(t))if(oX(n)){const t=n.indexOf(r);if(t>=0)return`${e}.${t}`}else if(n===r)return e}const{isProgram:lX}=rh(),cX=(e,...t)=>(function(e){if("function"!=typeof e)throw Error("fn should be a function!")}(e),t.length?sX(e)(...t):sX(e)),pX=e=>{let t={parentPath:e};const r=[];for(;t=t.parentPath;)r.unshift(uX(t,t.parent));return r.join(".")},dX="__putout_runner_replace";function hX(e,t,r){const n=`${e} -> ${t}`;return{watermark:n,highWatermark:`${pX(r)}: ${n}`}}function fX({path:e,program:t}){e.node&&(e.node[dX]=e.node[dX]||new Set),t.node[dX]=t.node[dX]||new Set}function mX({path:e,program:t,watermark:r,highWatermark:n}){fX({path:e,program:t}),e?.node[dX].add(r),t.node[dX].add(n)}function yX({path:e,program:t,watermark:r,highWatermark:n}){return!(!e.node?.[dX].has(r)&&!e.findParent((e=>t=>t.node?.[dX]?.has(e))(r)))||t.node[dX].has(n)}iX.exports=(e,t,r)=>{const{watermark:n,highWatermark:i}=hX(e,t,r),s={watermark:n,highWatermark:i,program:r.findParent(lX)||r,path:r};return{init:cX(fX,s),has:cX(yX,s),add:cX(mX,s)}},iX.exports.REPLACE_WATERMARK=dX,iX.exports.create=hX,iX.exports.init=fX,iX.exports.add=mX,iX.exports.has=yX;var gX=iX.exports;const{template:bX}=rT,{isExpression:vX,isStatement:xX,isExpressionStatement:EX}=rh(),{remove:SX,replaceWith:DX}=TA,{compare:TX,findVarsWays:CX,getValues:AX,setValues:PX}=RK,wX=qh("putout:runner:replace"),kX=eK,IX=gX,NX=(e,t)=>{wX.enabled&&wX(`${e} -> ${t}\n`)},{keys:FX,entries:_X}=Object,{stringify:OX}=JSON,BX=()=>[],jX=()=>({});MK.exports=({rule:e,plugin:t,msg:r,options:n})=>{const{report:i,exclude:s=BX,replace:a,filter:o=$X(t.match,n)}=t,u=a({options:n}),l=RX(u),c=(p=u,()=>FX(p));var p;return{rule:e,msg:r,options:{...n,exclude:[...s(),...kX(n.exclude)]},plugin:{report:i,fix:l,filter:o,include:c}}},MK.exports.clearWatermark=e=>{delete e.program[IX.REPLACE_WATERMARK]};const LX=e=>"function"==typeof e,MX=(e,t,r)=>{const n=bX.ast(e),i=IX(e,t,r);if(i.init(),i.has())return;if(!TX(r,n,{findUp:!1}))return;const s=CX(n),{node:a}=r,o=AX({waysFrom:s,node:a}),u=function(e,t,r){const n=LX(e)?e(t,r):e;if(!n)return null;if(i=n,"object"==typeof i&&n.type)return n;var i;if(!(e=>"string"==typeof e)(n))throw Error(`☝️ Looks like you passed 'replace' value with a wrong type. Allowed: 'string', 'node' and 'path'. Received: '${typeof n}' with value '${n}'.`);const s=bX.ast.fresh(n);return s}(t,o,r);if(!u)return NX(e,"''"),SX(r);!function(e,t,r){if(!vX(e))return;if(!xX(t)||EX(t))return;if(EX(r)||EX(r.parentPath))return;throw Error("☝️ Looks like try to put Statement in place of Expression, use 'match' to filter out such cases")}(n,u,r);const l=CX(u),c=DX(r,u);VX(l,s),PX({waysTo:l,values:o,path:c}),i.add(),r.scope.getBlockParent().crawl(),NX(e,c)},RX=e=>t=>{for(const[r,n]of _X(e))MX(r,n,t)},$X=(e=jX,t)=>r=>{const n=_X(e({options:t}));for(const[e,t]of n){const n=bX.ast(e);if(!TX(r.node,n))continue;const i=CX(n),{node:s}=r,a=AX({waysFrom:i,node:s});return UX(t),t(a,r)}return!0};function UX(e){if(!LX(e))throw Error(`☝️ Looks like 'match' property value is not a 'function', but '${typeof e}' with value '${e}'.`)}const VX=(e,t)=>{for(const r of FX(e))if(!t[r])throw Error(`☝️ Looks like template values not linked: ${OX(FX(t))} -> ${OX(FX(e))}`)};var zX=MK.exports,qX={},WX={};const KX="__putout_declare_undefined_variables",HX=e=>e.scope.getProgramParent().path,JX=(e,t)=>t[e]=t[e]||{};WX.checkDeclarationForESLint=(e,t)=>{const r=HX(t);return JX(KX,r),r[KX][e]},WX.addDeclarationForESLint=(e,t)=>{const r=HX(t);return JX(KX,r),r[KX][e]=!0},WX.setModuleType=(e,t)=>{const r=HX(t);return JX(KX,r),r[KX].__putout_module_type=e,e},WX.getModuleType=e=>{const t=HX(e);return JX(KX,t),t[KX].__putout_module_type};const{template:XX}=rT,{isESM:GX}=TA,{compare:YX}=RK,{addDeclarationForESLint:QX,checkDeclarationForESLint:ZX,getModuleType:eG,setModuleType:tG}=WX,{isImportDeclaration:rG,isVariableDeclaration:nG}=rh(),{keys:iG}=Object,sG=e=>e.filter(nG).pop(),aG=(e,t)=>t.at(-1)===e,oG=e=>e.node.source.value.includes("."),uG=["TSMethodSignature","TSParameterProperty","TSFunctionType","TSDeclareMethod","TSDeclareFunction","TSTypeAliasDeclaration"];qX.declare=e=>({report:lG,include:cG,fix:dG(e),filter:pG(e)});const lG=e=>{const{name:t}=e.node;return`Declare '${t.split(".").shift()}', it referenced but not defined`},cG=()=>["ReferencedIdentifier"],pG=e=>(t,{options:r})=>{if(uG.includes(t.parentPath.type))return!1;const{dismiss:n=[]}=r,i={...e,...r.declarations},s=iG(i),{scope:a,node:o}=t,{name:u}=o,l=eG(t)||tG((e=>GX(e)?"esm":"commonjs")(t),t);if(a.hasBinding(u)||ZX(u,t))return!1;if(!s.includes(u))return!1;if(n.includes(u))return!1;return fG(l,i[u])},dG=e=>(t,{options:r})=>{const n=eG(t),i={...e,...r.declarations},{name:s}=t.node,a=fG(n,i[s]),o=t.scope.getProgramParent().path.get("body");!function(e,t){const r=function(e,t){const r=yG(t),n=sG(t);return nG(e)&&r||(rG(e)||mG(e))&&r?r:nG(e)&&n&&!aG(n,t)?n:null}(e,t),[n]=t;nG(e)&&rG(r)?r.insertAfter(e):nG(e)?n.insertBefore(e):!r&&hG(n)?n.insertAfter(e):r||hG(n)?r.isImportDeclaration()&&oG(r)?r.insertBefore(e):r.insertAfter(e):n.insertBefore(e)}(XX.ast.fresh(a),o),QX(s,t)};function hG(e){if(!e.isExpressionStatement())return!1;return e.get("expression").isStringLiteral({value:"use strict"})}const fG=(e,t)=>{if("string"==typeof t)return t;return t[e]};const mG=e=>YX(e,"const __a = require(__b)");const yG=e=>{const t=[],r=[];for(const n of e)n.isImportDeclaration()&&(oG(n)?r.push(n):t.push(n));return t.pop()||r.pop()},{declare:gG}=qX,{stringify:bG}=JSON;var vG,xG={exports:{}};function EG(){if(vG)return xG.exports;vG=1;const e=JD,{compareAny:t,compareAll:r,parseTemplate:n,isTemplate:i}=RK,s=eK,a=qh("putout:runner:template"),{entries:o}=Object,u=e=>"function"==typeof e,l=(e,t)=>{a.enabled&&a(e,t.toString())},{stringify:c}=JSON;xG.exports._log=l;const p=({rule:e,tmpl:t,fn:r,nodesExclude:n})=>{if(!u(r)||!n.length)return{[t]:r};return{[t]:d({rule:e,fn:r,nodesExclude:n,nodesInclude:[]})}};function d({rule:n,nodesInclude:i,nodesExclude:s,fn:a}){return o=>{if(l(n,o),s.length&&t(o,s))return;if(i.length&&!r(o,i))return;if(!u(a))throw Error(`☝️ Looks like provided visitor is not a function: ${c(a)}. More on using Traverser: https://git.io/JqcMn`);const[p]=e(a,o);if(p)throw p.rule=n,p}}return xG.exports=({rule:e,visitor:t,options:r})=>{const a=[],u=s(r.exclude),l=s(r.include);for(const[r,s]of o(t)){if(!r)continue;if(!i(r)){a.push(p({rule:e,tmpl:r,fn:s,nodesExclude:u}));continue}const[t,o]=n(r),c=d({rule:e,fn:s,nodesExclude:u,nodesInclude:[t,...l]});a.push({[o]:c})}return a},xG.exports._log=l,xG.exports}const SG=VD().default,DG=eT,TG=qh("putout:runner:find"),CG=GW,AG=(e,{fix:t,shebang:r,template:n})=>{const i=[],s={};for(const{rule:a,plugin:o,msg:u,options:l}of e){const{push:e,pull:c,store:p,upstore:d,listStore:h,pathStore:f,uplist:m}=CK(o,{fix:t,rule:a,shebang:r,msg:u,options:l});s[a]=c;const y=o.traverse({push:e,store:p,listStore:h,pathStore:f,upstore:d,uplist:m,generate:dK,options:l});if(!y)throw Error(`☝️ Visitors cannot be empty in "${a}"`);DK(l,{include:TK("include",o,l),exclude:TK("exclude",o,l)}),i.push(...n({rule:a,visitor:y,options:l}))}return{entries:Object.entries(s),visitor:{shouldSkip:EK,...SK(i)}}},PG=function({rule:e,find:t,ast:r,options:n,template:i}){const s=[],a=t(r,{traverse:IK({rule:e,options:n,template:i}),generate:wK,types:PK,push:e=>{s.push(e)},options:n});return[...s,...a||[]]},wG=({rule:e,plugin:t,msg:r,options:n})=>{const{fix:i,report:s,include:a,exclude:o=OK,filter:u=BK}=t;LK("include",a),LK("report",s);const l=jK(a(),u,e);return{rule:e,msg:r,options:{...n,exclude:[...o(),...FK(n.exclude)]},plugin:{report:s,fix:i,traverse:l}}},kG=zX,IG=({rule:e,plugin:t,msg:r,options:n})=>(function(e){if(t=e,"function"!=typeof t)throw Error(`☝️ Looks like 'declare' property value is not a 'function', but '${typeof e}' with value '${bG(e)}'.`);var t}(t.declare),{rule:e,plugin:gG(t.declare()),msg:r,options:n}),{getPath:NG,getPosition:FG}=YW,_G=e=>e?.removed;function OG({ast:e,fix:t,shebang:r,pluginsFind:n,pluginsTraverse:i,template:s,merge:a}){return[...jG({ast:e,fix:t,shebang:r,template:s,pluginsFind:n}),...BG({ast:e,fix:t,shebang:r,template:s,pluginsTraverse:i,merge:a})]}function BG({ast:e,fix:t,shebang:r,template:n,pluginsTraverse:i,merge:s}){const{entries:a,visitor:o}=s(i,{fix:t,shebang:r,template:n});SG(e,o);const u=[];for(const[e,t]of a){const r=t();for(const{message:t,position:n}of r)u.push({rule:e,message:t,position:n})}return u}function jG({ast:e,fix:t,shebang:r,template:n,pluginsFind:i}){const s=[];for(const{rule:a,plugin:o,msg:u,options:l}of i){TG(`find: ${a}`);const{report:i,find:c}=o,p=PG({rule:a,find:c,ast:e,options:l,fix:t,shebang:r,template:n});if(p.length)for(const e of p){const n=u||i(e),{parentPath:c}=NG(e),p=FG(e,r);s.push({rule:a,message:n,position:p}),_G(c)||CG(t,o.fix,{path:e,rule:a,position:p,options:l})}}return s}WW.runPlugins=({ast:e,shebang:t,fix:r,fixCount:n,plugins:i,template:s=EG()})=>{let a=[];const o=DG(AG),{pluginsFind:u,pluginsTraverse:l}=function(e){const t=[],r=[];for(const n of e){const{plugin:e}=n;e.find?t.push(n):e.traverse?r.push(n):e.replace?r.push(wG(kG(n))):e.declare?r.push(wG(IG(n))):e.include&&r.push(wG(n))}return{pluginsFind:t,pluginsTraverse:r}}(i);for(let i=0;i<n;i++){if(a=OG({ast:e,fix:r,shebang:t,pluginsFind:u,pluginsTraverse:l,merge:o,template:s}),!r||!a.length)return a;kG.clearWatermark(e)}return a},WW.getPosition=FG;var LG={};LG.mergeShebang=(e,t)=>{return e?e+("\n"===(r=t)[0]?r:`\n${r}`):t;var r},LG.cutShebang=e=>{if(e.indexOf("#"))return[e,""];const t=e.split("\n"),r=t.slice(1).join("\n"),[n]=t;return[r,`${n}\n`]};var MG=()=>{let e=0,t=0;return async(r,n)=>{const{name:i,source:s,places:a,index:o=0,count:u=1,formatterOptions:l={}}=n;return a.length&&++e,t+=a.length,await r({name:i,options:l,source:s,places:a,index:o,count:u,filesCount:e,errorsCount:t})}},RG={};const $G=VD().default,{isFile:UG,isProgram:VG}=rh(),{compare:zG,parseTemplate:qG,isTemplate:WG,getTemplateValues:KG}=RK,{merge:HG}=$G.visitors,{entries:JG}=Object;RG.traverse=YG;const XG=e=>(e=>Boolean(e.node))(e)?e.node:e,GG=([e])=>e;function YG(e,t){e=XG(e);const r=[],n=!UG(e)&&!VG(e),i=JG(t);if(!i.map(GG).find(WG))return $G(e,{noScope:n,...t});for(const[e,t]of i){if(!WG(e)){r.push({[e]:t});continue}const[n,i]=qG(e),s=QG({fn:t,node:n,tmpl:e});r.push({[i]:s})}$G(e,{noScope:n,...HG(r)})}const QG=({fn:e,node:t,tmpl:r})=>n=>{zG(n,t)&&e(n,KG(n.node,r))};RG.contains=(e,t)=>{let r=!1;const{node:n=e}=e,i=e=>{r=!0,e.stop()},s={};for(const e of t)s[e]=i;return YG(n,s),r};var ZG={dotAll:{_hasUFlag:!1,shouldRun:function(e){var t=e.flags.includes("s");return!!t&&(e.flags=e.flags.replace("s",""),this._hasUFlag=e.flags.includes("u"),!0)},Char:function(e){var t=e.node;if("meta"===t.kind&&"."===t.value){var r="\\uFFFF",n="";this._hasUFlag&&(r="\\u{10FFFF}",n=""),e.replace({type:"CharacterClass",expressions:[{type:"ClassRange",from:{type:"Char",value:"\\0",kind:"decimal",symbol:"\0"},to:{type:"Char",value:r,kind:"unicode",symbol:n}}]})}}},namedCapturingGroups:{_groupNames:{},init:function(){this._groupNames={}},getExtra:function(){return this._groupNames},Group:function(e){var t=e.node;t.name&&(this._groupNames[t.name]=t.number,delete t.name,delete t.nameRaw)},Backreference:function(e){var t=e.node;"name"===t.kind&&(t.kind="number",t.reference=t.number,delete t.referenceRaw)}},xFlag:{RegExp:function(e){var t=e.node;t.flags.includes("x")&&(t.flags=t.flags.replace("x",""))}}};function eY(e){return e?tY[e.type](e):""}var tY={RegExp:function(e){return"/"+eY(e.body)+"/"+e.flags},Alternative:function(e){return(e.expressions||[]).map(eY).join("")},Disjunction:function(e){return eY(e.left)+"|"+eY(e.right)},Group:function(e){var t=eY(e.expression);return e.capturing?e.name?"(?<"+(e.nameRaw||e.name)+">"+t+")":"("+t+")":"(?:"+t+")"},Backreference:function(e){switch(e.kind){case"number":return"\\"+e.reference;case"name":return"\\k<"+(e.referenceRaw||e.reference)+">";default:throw new TypeError("Unknown Backreference kind: "+e.kind)}},Assertion:function(e){switch(e.kind){case"^":case"$":case"\\b":case"\\B":return e.kind;case"Lookahead":var t=eY(e.assertion);return e.negative?"(?!"+t+")":"(?="+t+")";case"Lookbehind":var r=eY(e.assertion);return e.negative?"(?<!"+r+")":"(?<="+r+")";default:throw new TypeError("Unknown Assertion kind: "+e.kind)}},CharacterClass:function(e){var t=e.expressions.map(eY).join("");return e.negative?"[^"+t+"]":"["+t+"]"},ClassRange:function(e){return eY(e.from)+"-"+eY(e.to)},Repetition:function(e){return""+eY(e.expression)+eY(e.quantifier)},Quantifier:function(e){var t=void 0,r=e.greedy?"":"?";switch(e.kind){case"+":case"?":case"*":t=e.kind;break;case"Range":t=e.from===e.to?"{"+e.from+"}":e.to?"{"+e.from+","+e.to+"}":"{"+e.from+",}";break;default:throw new TypeError("Unknown Quantifier kind: "+e.kind)}return""+t+r},Char:function(e){var t=e.value;switch(e.kind){case"simple":return e.escaped?"\\"+t:t;case"hex":case"unicode":case"oct":case"decimal":case"control":case"meta":return t;default:throw new TypeError("Unknown Char kind: "+e.kind)}},UnicodeProperty:function(e){return"\\"+(e.negative?"P":"p")+"{"+(e.shorthand||e.binary?"":e.name+"=")+e.value+"}"}},rY={generate:eY},nY={General_Category:"gc",Script:"sc",Script_Extensions:"scx"},iY=pY(nY),sY={ASCII:"ASCII",ASCII_Hex_Digit:"AHex",Alphabetic:"Alpha",Any:"Any",Assigned:"Assigned",Bidi_Control:"Bidi_C",Bidi_Mirrored:"Bidi_M",Case_Ignorable:"CI",Cased:"Cased",Changes_When_Casefolded:"CWCF",Changes_When_Casemapped:"CWCM",Changes_When_Lowercased:"CWL",Changes_When_NFKC_Casefolded:"CWKCF",Changes_When_Titlecased:"CWT",Changes_When_Uppercased:"CWU",Dash:"Dash",Default_Ignorable_Code_Point:"DI",Deprecated:"Dep",Diacritic:"Dia",Emoji:"Emoji",Emoji_Component:"Emoji_Component",Emoji_Modifier:"Emoji_Modifier",Emoji_Modifier_Base:"Emoji_Modifier_Base",Emoji_Presentation:"Emoji_Presentation",Extended_Pictographic:"Extended_Pictographic",Extender:"Ext",Grapheme_Base:"Gr_Base",Grapheme_Extend:"Gr_Ext",Hex_Digit:"Hex",IDS_Binary_Operator:"IDSB",IDS_Trinary_Operator:"IDST",ID_Continue:"IDC",ID_Start:"IDS",Ideographic:"Ideo",Join_Control:"Join_C",Logical_Order_Exception:"LOE",Lowercase:"Lower",Math:"Math",Noncharacter_Code_Point:"NChar",Pattern_Syntax:"Pat_Syn",Pattern_White_Space:"Pat_WS",Quotation_Mark:"QMark",Radical:"Radical",Regional_Indicator:"RI",Sentence_Terminal:"STerm",Soft_Dotted:"SD",Terminal_Punctuation:"Term",Unified_Ideograph:"UIdeo",Uppercase:"Upper",Variation_Selector:"VS",White_Space:"space",XID_Continue:"XIDC",XID_Start:"XIDS"},aY=pY(sY),oY={Cased_Letter:"LC",Close_Punctuation:"Pe",Connector_Punctuation:"Pc",Control:["Cc","cntrl"],Currency_Symbol:"Sc",Dash_Punctuation:"Pd",Decimal_Number:["Nd","digit"],Enclosing_Mark:"Me",Final_Punctuation:"Pf",Format:"Cf",Initial_Punctuation:"Pi",Letter:"L",Letter_Number:"Nl",Line_Separator:"Zl",Lowercase_Letter:"Ll",Mark:["M","Combining_Mark"],Math_Symbol:"Sm",Modifier_Letter:"Lm",Modifier_Symbol:"Sk",Nonspacing_Mark:"Mn",Number:"N",Open_Punctuation:"Ps",Other:"C",Other_Letter:"Lo",Other_Number:"No",Other_Punctuation:"Po",Other_Symbol:"So",Paragraph_Separator:"Zp",Private_Use:"Co",Punctuation:["P","punct"],Separator:"Z",Space_Separator:"Zs",Spacing_Mark:"Mc",Surrogate:"Cs",Symbol:"S",Titlecase_Letter:"Lt",Unassigned:"Cn",Uppercase_Letter:"Lu"},uY=pY(oY),lY={Adlam:"Adlm",Ahom:"Ahom",Anatolian_Hieroglyphs:"Hluw",Arabic:"Arab",Armenian:"Armn",Avestan:"Avst",Balinese:"Bali",Bamum:"Bamu",Bassa_Vah:"Bass",Batak:"Batk",Bengali:"Beng",Bhaiksuki:"Bhks",Bopomofo:"Bopo",Brahmi:"Brah",Braille:"Brai",Buginese:"Bugi",Buhid:"Buhd",Canadian_Aboriginal:"Cans",Carian:"Cari",Caucasian_Albanian:"Aghb",Chakma:"Cakm",Cham:"Cham",Cherokee:"Cher",Common:"Zyyy",Coptic:["Copt","Qaac"],Cuneiform:"Xsux",Cypriot:"Cprt",Cyrillic:"Cyrl",Deseret:"Dsrt",Devanagari:"Deva",Dogra:"Dogr",Duployan:"Dupl",Egyptian_Hieroglyphs:"Egyp",Elbasan:"Elba",Ethiopic:"Ethi",Georgian:"Geor",Glagolitic:"Glag",Gothic:"Goth",Grantha:"Gran",Greek:"Grek",Gujarati:"Gujr",Gunjala_Gondi:"Gong",Gurmukhi:"Guru",Han:"Hani",Hangul:"Hang",Hanifi_Rohingya:"Rohg",Hanunoo:"Hano",Hatran:"Hatr",Hebrew:"Hebr",Hiragana:"Hira",Imperial_Aramaic:"Armi",Inherited:["Zinh","Qaai"],Inscriptional_Pahlavi:"Phli",Inscriptional_Parthian:"Prti",Javanese:"Java",Kaithi:"Kthi",Kannada:"Knda",Katakana:"Kana",Kayah_Li:"Kali",Kharoshthi:"Khar",Khmer:"Khmr",Khojki:"Khoj",Khudawadi:"Sind",Lao:"Laoo",Latin:"Latn",Lepcha:"Lepc",Limbu:"Limb",Linear_A:"Lina",Linear_B:"Linb",Lisu:"Lisu",Lycian:"Lyci",Lydian:"Lydi",Mahajani:"Mahj",Makasar:"Maka",Malayalam:"Mlym",Mandaic:"Mand",Manichaean:"Mani",Marchen:"Marc",Medefaidrin:"Medf",Masaram_Gondi:"Gonm",Meetei_Mayek:"Mtei",Mende_Kikakui:"Mend",Meroitic_Cursive:"Merc",Meroitic_Hieroglyphs:"Mero",Miao:"Plrd",Modi:"Modi",Mongolian:"Mong",Mro:"Mroo",Multani:"Mult",Myanmar:"Mymr",Nabataean:"Nbat",New_Tai_Lue:"Talu",Newa:"Newa",Nko:"Nkoo",Nushu:"Nshu",Ogham:"Ogam",Ol_Chiki:"Olck",Old_Hungarian:"Hung",Old_Italic:"Ital",Old_North_Arabian:"Narb",Old_Permic:"Perm",Old_Persian:"Xpeo",Old_Sogdian:"Sogo",Old_South_Arabian:"Sarb",Old_Turkic:"Orkh",Oriya:"Orya",Osage:"Osge",Osmanya:"Osma",Pahawh_Hmong:"Hmng",Palmyrene:"Palm",Pau_Cin_Hau:"Pauc",Phags_Pa:"Phag",Phoenician:"Phnx",Psalter_Pahlavi:"Phlp",Rejang:"Rjng",Runic:"Runr",Samaritan:"Samr",Saurashtra:"Saur",Sharada:"Shrd",Shavian:"Shaw",Siddham:"Sidd",SignWriting:"Sgnw",Sinhala:"Sinh",Sogdian:"Sogd",Sora_Sompeng:"Sora",Soyombo:"Soyo",Sundanese:"Sund",Syloti_Nagri:"Sylo",Syriac:"Syrc",Tagalog:"Tglg",Tagbanwa:"Tagb",Tai_Le:"Tale",Tai_Tham:"Lana",Tai_Viet:"Tavt",Takri:"Takr",Tamil:"Taml",Tangut:"Tang",Telugu:"Telu",Thaana:"Thaa",Thai:"Thai",Tibetan:"Tibt",Tifinagh:"Tfng",Tirhuta:"Tirh",Ugaritic:"Ugar",Vai:"Vaii",Warang_Citi:"Wara",Yi:"Yiii",Zanabazar_Square:"Zanb"},cY=pY(lY);function pY(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(Array.isArray(n))for(var i=0;i<n.length;i++)t[n[i]]=r;else t[n]=r}return t}function dY(e){return oY.hasOwnProperty(e)||uY.hasOwnProperty(e)}function hY(e){return lY.hasOwnProperty(e)||cY.hasOwnProperty(e)}var fY={isAlias:function(e){return iY.hasOwnProperty(e)||aY.hasOwnProperty(e)},isValidName:function(e){return nY.hasOwnProperty(e)||iY.hasOwnProperty(e)||sY.hasOwnProperty(e)||aY.hasOwnProperty(e)},isValidValue:function(e,t){return function(e){return"General_Category"===e||"gc"==e}(e)?dY(t):!!function(e){return"Script"===e||"Script_Extensions"===e||"sc"===e||"scx"===e}(e)&&hY(t)},isGeneralCategoryValue:dY,isScriptCategoryValue:hY,isBinaryPropertyName:function(e){return sY.hasOwnProperty(e)||aY.hasOwnProperty(e)},getCanonicalName:function(e){return iY.hasOwnProperty(e)?iY[e]:aY.hasOwnProperty(e)?aY[e]:null},getCanonicalValue:function(e){return uY.hasOwnProperty(e)?uY[e]:cY.hasOwnProperty(e)?cY[e]:aY.hasOwnProperty(e)?aY[e]:null},NON_BINARY_PROP_NAMES_TO_ALIASES:nY,NON_BINARY_ALIASES_TO_PROP_NAMES:iY,BINARY_PROP_NAMES_TO_ALIASES:sY,BINARY_ALIASES_TO_PROP_NAMES:aY,GENERAL_CATEGORY_VALUE_TO_ALIASES:oY,GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES:uY,SCRIPT_VALUE_TO_ALIASES:lY,SCRIPT_VALUE_ALIASES_TO_VALUE:cY},mY=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function yY(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var gY=void 0,bY={},vY=void 0,xY=void 0;function EY(e,t){return bY.options.captureLocations?e&&t?{startOffset:e.startOffset,endOffset:t.endOffset,startLine:e.startLine,endLine:t.endLine,startColumn:e.startColumn,endColumn:t.endColumn}:e||t:null}var SY=[[-1,1,function(e,t){xY=EY(t,t),vY=e}],[0,4,function(e,t,r,n,i,s,a,o){xY=EY(i,o),vY=KY({type:"RegExp",body:t,flags:RY(n)},HY(i,o||a))}],[1,1,function(e,t){xY=EY(t,t),vY=e}],[1,0,function(){xY=null,vY=""}],[2,1,function(e,t){xY=EY(t,t),vY=e}],[2,2,function(e,t,r,n){xY=EY(r,n),vY=e+t}],[3,1,function(e,t){xY=EY(t,t),vY=e}],[4,1,function(e,t){xY=EY(t,t),vY=e}],[4,3,function(e,t,r,n,i,s){xY=EY(n,s);var a=null;i&&(a=HY(n||i,s||i)),vY=KY({type:"Disjunction",left:e,right:r},a)}],[5,1,function(e,t){xY=EY(t,t),vY=0!==e.length?1===e.length?KY(e[0],xY):KY({type:"Alternative",expressions:e},xY):null}],[6,0,function(){xY=null,vY=[]}],[6,2,function(e,t,r,n){xY=EY(r,n),vY=e.concat(t)}],[7,1,function(e,t){xY=EY(t,t),vY=KY(Object.assign({type:"Assertion"},e),xY)}],[7,2,function(e,t,r,n){xY=EY(r,n),vY=e,t&&(vY=KY({type:"Repetition",expression:e,quantifier:t},xY))}],[8,1,function(e,t){xY=EY(t,t),vY={kind:"^"}}],[8,1,function(e,t){xY=EY(t,t),vY={kind:"$"}}],[8,1,function(e,t){xY=EY(t,t),vY={kind:"\\b"}}],[8,1,function(e,t){xY=EY(t,t),vY={kind:"\\B"}}],[8,3,function(e,t,r,n,i,s){xY=EY(n,s),vY={kind:"Lookahead",assertion:t}}],[8,3,function(e,t,r,n,i,s){xY=EY(n,s),vY={kind:"Lookahead",negative:!0,assertion:t}}],[8,3,function(e,t,r,n,i,s){xY=EY(n,s),vY={kind:"Lookbehind",assertion:t}}],[8,3,function(e,t,r,n,i,s){xY=EY(n,s),vY={kind:"Lookbehind",negative:!0,assertion:t}}],[9,1,function(e,t){xY=EY(t,t),vY=e}],[9,1,function(e,t){xY=EY(t,t),vY=e}],[9,1,function(e,t){xY=EY(t,t),vY=e}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"simple",xY)}],[10,1,function(e,t){xY=EY(t,t),(vY=LY(e.slice(1),"simple",xY)).escaped=!0}],[10,1,function(e,t){xY=EY(t,t),(vY=LY(e,"unicode",xY)).isSurrogatePair=!0}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"unicode",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=function(e,t){var r="P"===e[1],n=e.indexOf("="),i=e.slice(3,-1!==n?n:-1),s=void 0,a=-1===n&&jY.isGeneralCategoryValue(i),o=-1===n&&jY.isBinaryPropertyName(i);if(a)s=i,i="General_Category";else if(o)s=i;else{if(!jY.isValidName(i))throw new SyntaxError("Invalid unicode property name: "+i+".");if(s=e.slice(n+1,-1),!jY.isValidValue(i,s))throw new SyntaxError("Invalid "+i+" unicode property value: "+s+".")}return KY({type:"UnicodeProperty",name:i,value:s,negative:r,shorthand:a,binary:o,canonicalName:jY.getCanonicalName(i)||i,canonicalValue:jY.getCanonicalValue(s)||s},t)}(e,xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"control",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"hex",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"oct",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=function(e,t){var r=Number(e.slice(1));if(r>0&&r<=NY)return KY({type:"Backreference",kind:"number",number:r,reference:r},t);return LY(e,"decimal",t)}(e,xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"meta",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=LY(e,"meta",xY)}],[10,1,function(e,t){xY=EY(t,t),vY=function(e,t){var r=e.slice(3,-1),n=WY(r);if(FY.hasOwnProperty(n))return KY({type:"Backreference",kind:"name",number:FY[n],reference:n,referenceRaw:r},t);var i=null,s=null,a=null,o=null;t&&(i=t.startOffset,s=t.startLine,a=t.endLine,o=t.startColumn);var u=/^[\w$<>]/,l=void 0,c=[LY(e.slice(1,2),"simple",i?{startLine:s,endLine:a,startColumn:o,startOffset:i,endOffset:i+=2,endColumn:o+=2}:null)];c[0].escaped=!0,e=e.slice(2);for(;e.length>0;){var p=null;(p=e.match($Y))||(p=e.match(UY))?(i&&(l={startLine:s,endLine:a,startColumn:o,startOffset:i,endOffset:i+=p[0].length,endColumn:o+=p[0].length}),c.push(LY(p[0],"unicode",l)),e=e.slice(p[0].length)):(p=e.match(u))&&(i&&(l={startLine:s,endLine:a,startColumn:o,startOffset:i,endOffset:++i,endColumn:++o}),c.push(LY(p[0],"simple",l)),e=e.slice(1))}return c}(e,t)}],[11,1,function(e,t){xY=EY(t,t),vY=e}],[11,0],[12,1,function(e,t){xY=EY(t,t),vY=e}],[12,2,function(e,t,r,n){xY=EY(r,n),e.greedy=!1,vY=e}],[13,1,function(e,t){xY=EY(t,t),vY=KY({type:"Quantifier",kind:e,greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t),vY=KY({type:"Quantifier",kind:e,greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t),vY=KY({type:"Quantifier",kind:e,greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t);var r=OY(e);vY=KY({type:"Quantifier",kind:"Range",from:r[0],to:r[0],greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t),vY=KY({type:"Quantifier",kind:"Range",from:OY(e)[0],greedy:!0},xY)}],[13,1,function(e,t){xY=EY(t,t);var r=OY(e);vY=KY({type:"Quantifier",kind:"Range",from:r[0],to:r[1],greedy:!0},xY)}],[14,1,function(e,t){xY=EY(t,t),vY=e}],[14,1,function(e,t){xY=EY(t,t),vY=e}],[15,3,function(e,t,r,n,i,s){xY=EY(n,s);var a=String(e),o=WY(a);if(!bY.options.allowGroupNameDuplicates&&FY.hasOwnProperty(o))throw new SyntaxError('Duplicate of the named group "'+o+'".');FY[o]=e.groupNumber,vY=KY({type:"Group",capturing:!0,name:o,nameRaw:a,number:e.groupNumber,expression:t},xY)}],[15,3,function(e,t,r,n,i,s){xY=EY(n,s),vY=KY({type:"Group",capturing:!0,number:e.groupNumber,expression:t},xY)}],[16,3,function(e,t,r,n,i,s){xY=EY(n,s),vY=KY({type:"Group",capturing:!1,expression:t},xY)}],[17,3,function(e,t,r,n,i,s){xY=EY(n,s),vY=KY({type:"CharacterClass",negative:!0,expressions:t},xY)}],[17,3,function(e,t,r,n,i,s){xY=EY(n,s),vY=KY({type:"CharacterClass",expressions:t},xY)}],[18,0,function(){xY=null,vY=[]}],[18,1,function(e,t){xY=EY(t,t),vY=e}],[19,1,function(e,t){xY=EY(t,t),vY=[e]}],[19,2,function(e,t,r,n){xY=EY(r,n),vY=[e].concat(t)}],[19,4,function(e,t,r,n,i,s,a,o){xY=EY(i,o),BY(e,r),vY=[KY({type:"ClassRange",from:e,to:r},HY(i,a))],n&&(vY=vY.concat(n))}],[20,1,function(e,t){xY=EY(t,t),vY=e}],[20,2,function(e,t,r,n){xY=EY(r,n),vY=[e].concat(t)}],[20,4,function(e,t,r,n,i,s,a,o){xY=EY(i,o),BY(e,r),vY=[KY({type:"ClassRange",from:e,to:r},HY(i,a))],n&&(vY=vY.concat(n))}],[21,1,function(e,t){xY=EY(t,t),vY=LY(e,"simple",xY)}],[21,1,function(e,t){xY=EY(t,t),vY=e}],[22,1,function(e,t){xY=EY(t,t),vY=e}],[22,1,function(e,t){xY=EY(t,t),vY=LY(e,"meta",xY)}]],DY={SLASH:"23",CHAR:"24",BAR:"25",BOS:"26",EOS:"27",ESC_b:"28",ESC_B:"29",POS_LA_ASSERT:"30",R_PAREN:"31",NEG_LA_ASSERT:"32",POS_LB_ASSERT:"33",NEG_LB_ASSERT:"34",ESC_CHAR:"35",U_CODE_SURROGATE:"36",U_CODE:"37",U_PROP_VALUE_EXP:"38",CTRL_CH:"39",HEX_CODE:"40",OCT_CODE:"41",DEC_CODE:"42",META_CHAR:"43",ANY:"44",NAMED_GROUP_REF:"45",Q_MARK:"46",STAR:"47",PLUS:"48",RANGE_EXACT:"49",RANGE_OPEN:"50",RANGE_CLOSED:"51",NAMED_CAPTURE_GROUP:"52",L_PAREN:"53",NON_CAPTURE_GROUP:"54",NEG_CLASS:"55",R_BRACKET:"56",L_BRACKET:"57",DASH:"58",$:"59"},TY=[{0:1,23:"s2"},{59:"acc"},{3:3,4:4,5:5,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"s7"},{23:"r6",25:"s12"},{23:"r7",25:"r7",31:"r7"},{7:14,8:15,9:16,10:25,14:27,15:42,16:43,17:26,23:"r9",24:"s28",25:"r9",26:"s17",27:"s18",28:"s19",29:"s20",30:"s21",31:"r9",32:"s22",33:"s23",34:"s24",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",52:"s44",53:"s45",54:"s46",55:"s40",57:"s41"},{1:8,2:9,24:"s10",59:"r3"},{59:"r1"},{24:"s11",59:"r2"},{24:"r4",59:"r4"},{24:"r5",59:"r5"},{5:13,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r8",25:"r8",31:"r8"},{23:"r11",24:"r11",25:"r11",26:"r11",27:"r11",28:"r11",29:"r11",30:"r11",31:"r11",32:"r11",33:"r11",34:"r11",35:"r11",36:"r11",37:"r11",38:"r11",39:"r11",40:"r11",41:"r11",42:"r11",43:"r11",44:"r11",45:"r11",52:"r11",53:"r11",54:"r11",55:"r11",57:"r11"},{23:"r12",24:"r12",25:"r12",26:"r12",27:"r12",28:"r12",29:"r12",30:"r12",31:"r12",32:"r12",33:"r12",34:"r12",35:"r12",36:"r12",37:"r12",38:"r12",39:"r12",40:"r12",41:"r12",42:"r12",43:"r12",44:"r12",45:"r12",52:"r12",53:"r12",54:"r12",55:"r12",57:"r12"},{11:47,12:48,13:49,23:"r38",24:"r38",25:"r38",26:"r38",27:"r38",28:"r38",29:"r38",30:"r38",31:"r38",32:"r38",33:"r38",34:"r38",35:"r38",36:"r38",37:"r38",38:"r38",39:"r38",40:"r38",41:"r38",42:"r38",43:"r38",44:"r38",45:"r38",46:"s52",47:"s50",48:"s51",49:"s53",50:"s54",51:"s55",52:"r38",53:"r38",54:"r38",55:"r38",57:"r38"},{23:"r14",24:"r14",25:"r14",26:"r14",27:"r14",28:"r14",29:"r14",30:"r14",31:"r14",32:"r14",33:"r14",34:"r14",35:"r14",36:"r14",37:"r14",38:"r14",39:"r14",40:"r14",41:"r14",42:"r14",43:"r14",44:"r14",45:"r14",52:"r14",53:"r14",54:"r14",55:"r14",57:"r14"},{23:"r15",24:"r15",25:"r15",26:"r15",27:"r15",28:"r15",29:"r15",30:"r15",31:"r15",32:"r15",33:"r15",34:"r15",35:"r15",36:"r15",37:"r15",38:"r15",39:"r15",40:"r15",41:"r15",42:"r15",43:"r15",44:"r15",45:"r15",52:"r15",53:"r15",54:"r15",55:"r15",57:"r15"},{23:"r16",24:"r16",25:"r16",26:"r16",27:"r16",28:"r16",29:"r16",30:"r16",31:"r16",32:"r16",33:"r16",34:"r16",35:"r16",36:"r16",37:"r16",38:"r16",39:"r16",40:"r16",41:"r16",42:"r16",43:"r16",44:"r16",45:"r16",52:"r16",53:"r16",54:"r16",55:"r16",57:"r16"},{23:"r17",24:"r17",25:"r17",26:"r17",27:"r17",28:"r17",29:"r17",30:"r17",31:"r17",32:"r17",33:"r17",34:"r17",35:"r17",36:"r17",37:"r17",38:"r17",39:"r17",40:"r17",41:"r17",42:"r17",43:"r17",44:"r17",45:"r17",52:"r17",53:"r17",54:"r17",55:"r17",57:"r17"},{4:57,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:59,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:61,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:63,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r22",24:"r22",25:"r22",26:"r22",27:"r22",28:"r22",29:"r22",30:"r22",31:"r22",32:"r22",33:"r22",34:"r22",35:"r22",36:"r22",37:"r22",38:"r22",39:"r22",40:"r22",41:"r22",42:"r22",43:"r22",44:"r22",45:"r22",46:"r22",47:"r22",48:"r22",49:"r22",50:"r22",51:"r22",52:"r22",53:"r22",54:"r22",55:"r22",57:"r22"},{23:"r23",24:"r23",25:"r23",26:"r23",27:"r23",28:"r23",29:"r23",30:"r23",31:"r23",32:"r23",33:"r23",34:"r23",35:"r23",36:"r23",37:"r23",38:"r23",39:"r23",40:"r23",41:"r23",42:"r23",43:"r23",44:"r23",45:"r23",46:"r23",47:"r23",48:"r23",49:"r23",50:"r23",51:"r23",52:"r23",53:"r23",54:"r23",55:"r23",57:"r23"},{23:"r24",24:"r24",25:"r24",26:"r24",27:"r24",28:"r24",29:"r24",30:"r24",31:"r24",32:"r24",33:"r24",34:"r24",35:"r24",36:"r24",37:"r24",38:"r24",39:"r24",40:"r24",41:"r24",42:"r24",43:"r24",44:"r24",45:"r24",46:"r24",47:"r24",48:"r24",49:"r24",50:"r24",51:"r24",52:"r24",53:"r24",54:"r24",55:"r24",57:"r24"},{23:"r25",24:"r25",25:"r25",26:"r25",27:"r25",28:"r25",29:"r25",30:"r25",31:"r25",32:"r25",33:"r25",34:"r25",35:"r25",36:"r25",37:"r25",38:"r25",39:"r25",40:"r25",41:"r25",42:"r25",43:"r25",44:"r25",45:"r25",46:"r25",47:"r25",48:"r25",49:"r25",50:"r25",51:"r25",52:"r25",53:"r25",54:"r25",55:"r25",56:"r25",57:"r25",58:"r25"},{23:"r26",24:"r26",25:"r26",26:"r26",27:"r26",28:"r26",29:"r26",30:"r26",31:"r26",32:"r26",33:"r26",34:"r26",35:"r26",36:"r26",37:"r26",38:"r26",39:"r26",40:"r26",41:"r26",42:"r26",43:"r26",44:"r26",45:"r26",46:"r26",47:"r26",48:"r26",49:"r26",50:"r26",51:"r26",52:"r26",53:"r26",54:"r26",55:"r26",56:"r26",57:"r26",58:"r26"},{23:"r27",24:"r27",25:"r27",26:"r27",27:"r27",28:"r27",29:"r27",30:"r27",31:"r27",32:"r27",33:"r27",34:"r27",35:"r27",36:"r27",37:"r27",38:"r27",39:"r27",40:"r27",41:"r27",42:"r27",43:"r27",44:"r27",45:"r27",46:"r27",47:"r27",48:"r27",49:"r27",50:"r27",51:"r27",52:"r27",53:"r27",54:"r27",55:"r27",56:"r27",57:"r27",58:"r27"},{23:"r28",24:"r28",25:"r28",26:"r28",27:"r28",28:"r28",29:"r28",30:"r28",31:"r28",32:"r28",33:"r28",34:"r28",35:"r28",36:"r28",37:"r28",38:"r28",39:"r28",40:"r28",41:"r28",42:"r28",43:"r28",44:"r28",45:"r28",46:"r28",47:"r28",48:"r28",49:"r28",50:"r28",51:"r28",52:"r28",53:"r28",54:"r28",55:"r28",56:"r28",57:"r28",58:"r28"},{23:"r29",24:"r29",25:"r29",26:"r29",27:"r29",28:"r29",29:"r29",30:"r29",31:"r29",32:"r29",33:"r29",34:"r29",35:"r29",36:"r29",37:"r29",38:"r29",39:"r29",40:"r29",41:"r29",42:"r29",43:"r29",44:"r29",45:"r29",46:"r29",47:"r29",48:"r29",49:"r29",50:"r29",51:"r29",52:"r29",53:"r29",54:"r29",55:"r29",56:"r29",57:"r29",58:"r29"},{23:"r30",24:"r30",25:"r30",26:"r30",27:"r30",28:"r30",29:"r30",30:"r30",31:"r30",32:"r30",33:"r30",34:"r30",35:"r30",36:"r30",37:"r30",38:"r30",39:"r30",40:"r30",41:"r30",42:"r30",43:"r30",44:"r30",45:"r30",46:"r30",47:"r30",48:"r30",49:"r30",50:"r30",51:"r30",52:"r30",53:"r30",54:"r30",55:"r30",56:"r30",57:"r30",58:"r30"},{23:"r31",24:"r31",25:"r31",26:"r31",27:"r31",28:"r31",29:"r31",30:"r31",31:"r31",32:"r31",33:"r31",34:"r31",35:"r31",36:"r31",37:"r31",38:"r31",39:"r31",40:"r31",41:"r31",42:"r31",43:"r31",44:"r31",45:"r31",46:"r31",47:"r31",48:"r31",49:"r31",50:"r31",51:"r31",52:"r31",53:"r31",54:"r31",55:"r31",56:"r31",57:"r31",58:"r31"},{23:"r32",24:"r32",25:"r32",26:"r32",27:"r32",28:"r32",29:"r32",30:"r32",31:"r32",32:"r32",33:"r32",34:"r32",35:"r32",36:"r32",37:"r32",38:"r32",39:"r32",40:"r32",41:"r32",42:"r32",43:"r32",44:"r32",45:"r32",46:"r32",47:"r32",48:"r32",49:"r32",50:"r32",51:"r32",52:"r32",53:"r32",54:"r32",55:"r32",56:"r32",57:"r32",58:"r32"},{23:"r33",24:"r33",25:"r33",26:"r33",27:"r33",28:"r33",29:"r33",30:"r33",31:"r33",32:"r33",33:"r33",34:"r33",35:"r33",36:"r33",37:"r33",38:"r33",39:"r33",40:"r33",41:"r33",42:"r33",43:"r33",44:"r33",45:"r33",46:"r33",47:"r33",48:"r33",49:"r33",50:"r33",51:"r33",52:"r33",53:"r33",54:"r33",55:"r33",56:"r33",57:"r33",58:"r33"},{23:"r34",24:"r34",25:"r34",26:"r34",27:"r34",28:"r34",29:"r34",30:"r34",31:"r34",32:"r34",33:"r34",34:"r34",35:"r34",36:"r34",37:"r34",38:"r34",39:"r34",40:"r34",41:"r34",42:"r34",43:"r34",44:"r34",45:"r34",46:"r34",47:"r34",48:"r34",49:"r34",50:"r34",51:"r34",52:"r34",53:"r34",54:"r34",55:"r34",56:"r34",57:"r34",58:"r34"},{23:"r35",24:"r35",25:"r35",26:"r35",27:"r35",28:"r35",29:"r35",30:"r35",31:"r35",32:"r35",33:"r35",34:"r35",35:"r35",36:"r35",37:"r35",38:"r35",39:"r35",40:"r35",41:"r35",42:"r35",43:"r35",44:"r35",45:"r35",46:"r35",47:"r35",48:"r35",49:"r35",50:"r35",51:"r35",52:"r35",53:"r35",54:"r35",55:"r35",56:"r35",57:"r35",58:"r35"},{23:"r36",24:"r36",25:"r36",26:"r36",27:"r36",28:"r36",29:"r36",30:"r36",31:"r36",32:"r36",33:"r36",34:"r36",35:"r36",36:"r36",37:"r36",38:"r36",39:"r36",40:"r36",41:"r36",42:"r36",43:"r36",44:"r36",45:"r36",46:"r36",47:"r36",48:"r36",49:"r36",50:"r36",51:"r36",52:"r36",53:"r36",54:"r36",55:"r36",56:"r36",57:"r36",58:"r36"},{10:70,18:65,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{10:70,18:83,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{23:"r47",24:"r47",25:"r47",26:"r47",27:"r47",28:"r47",29:"r47",30:"r47",31:"r47",32:"r47",33:"r47",34:"r47",35:"r47",36:"r47",37:"r47",38:"r47",39:"r47",40:"r47",41:"r47",42:"r47",43:"r47",44:"r47",45:"r47",46:"r47",47:"r47",48:"r47",49:"r47",50:"r47",51:"r47",52:"r47",53:"r47",54:"r47",55:"r47",57:"r47"},{23:"r48",24:"r48",25:"r48",26:"r48",27:"r48",28:"r48",29:"r48",30:"r48",31:"r48",32:"r48",33:"r48",34:"r48",35:"r48",36:"r48",37:"r48",38:"r48",39:"r48",40:"r48",41:"r48",42:"r48",43:"r48",44:"r48",45:"r48",46:"r48",47:"r48",48:"r48",49:"r48",50:"r48",51:"r48",52:"r48",53:"r48",54:"r48",55:"r48",57:"r48"},{4:85,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:87,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:89,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r13",24:"r13",25:"r13",26:"r13",27:"r13",28:"r13",29:"r13",30:"r13",31:"r13",32:"r13",33:"r13",34:"r13",35:"r13",36:"r13",37:"r13",38:"r13",39:"r13",40:"r13",41:"r13",42:"r13",43:"r13",44:"r13",45:"r13",52:"r13",53:"r13",54:"r13",55:"r13",57:"r13"},{23:"r37",24:"r37",25:"r37",26:"r37",27:"r37",28:"r37",29:"r37",30:"r37",31:"r37",32:"r37",33:"r37",34:"r37",35:"r37",36:"r37",37:"r37",38:"r37",39:"r37",40:"r37",41:"r37",42:"r37",43:"r37",44:"r37",45:"r37",52:"r37",53:"r37",54:"r37",55:"r37",57:"r37"},{23:"r39",24:"r39",25:"r39",26:"r39",27:"r39",28:"r39",29:"r39",30:"r39",31:"r39",32:"r39",33:"r39",34:"r39",35:"r39",36:"r39",37:"r39",38:"r39",39:"r39",40:"r39",41:"r39",42:"r39",43:"r39",44:"r39",45:"r39",46:"s56",52:"r39",53:"r39",54:"r39",55:"r39",57:"r39"},{23:"r41",24:"r41",25:"r41",26:"r41",27:"r41",28:"r41",29:"r41",30:"r41",31:"r41",32:"r41",33:"r41",34:"r41",35:"r41",36:"r41",37:"r41",38:"r41",39:"r41",40:"r41",41:"r41",42:"r41",43:"r41",44:"r41",45:"r41",46:"r41",52:"r41",53:"r41",54:"r41",55:"r41",57:"r41"},{23:"r42",24:"r42",25:"r42",26:"r42",27:"r42",28:"r42",29:"r42",30:"r42",31:"r42",32:"r42",33:"r42",34:"r42",35:"r42",36:"r42",37:"r42",38:"r42",39:"r42",40:"r42",41:"r42",42:"r42",43:"r42",44:"r42",45:"r42",46:"r42",52:"r42",53:"r42",54:"r42",55:"r42",57:"r42"},{23:"r43",24:"r43",25:"r43",26:"r43",27:"r43",28:"r43",29:"r43",30:"r43",31:"r43",32:"r43",33:"r43",34:"r43",35:"r43",36:"r43",37:"r43",38:"r43",39:"r43",40:"r43",41:"r43",42:"r43",43:"r43",44:"r43",45:"r43",46:"r43",52:"r43",53:"r43",54:"r43",55:"r43",57:"r43"},{23:"r44",24:"r44",25:"r44",26:"r44",27:"r44",28:"r44",29:"r44",30:"r44",31:"r44",32:"r44",33:"r44",34:"r44",35:"r44",36:"r44",37:"r44",38:"r44",39:"r44",40:"r44",41:"r44",42:"r44",43:"r44",44:"r44",45:"r44",46:"r44",52:"r44",53:"r44",54:"r44",55:"r44",57:"r44"},{23:"r45",24:"r45",25:"r45",26:"r45",27:"r45",28:"r45",29:"r45",30:"r45",31:"r45",32:"r45",33:"r45",34:"r45",35:"r45",36:"r45",37:"r45",38:"r45",39:"r45",40:"r45",41:"r45",42:"r45",43:"r45",44:"r45",45:"r45",46:"r45",52:"r45",53:"r45",54:"r45",55:"r45",57:"r45"},{23:"r46",24:"r46",25:"r46",26:"r46",27:"r46",28:"r46",29:"r46",30:"r46",31:"r46",32:"r46",33:"r46",34:"r46",35:"r46",36:"r46",37:"r46",38:"r46",39:"r46",40:"r46",41:"r46",42:"r46",43:"r46",44:"r46",45:"r46",46:"r46",52:"r46",53:"r46",54:"r46",55:"r46",57:"r46"},{23:"r40",24:"r40",25:"r40",26:"r40",27:"r40",28:"r40",29:"r40",30:"r40",31:"r40",32:"r40",33:"r40",34:"r40",35:"r40",36:"r40",37:"r40",38:"r40",39:"r40",40:"r40",41:"r40",42:"r40",43:"r40",44:"r40",45:"r40",52:"r40",53:"r40",54:"r40",55:"r40",57:"r40"},{25:"s12",31:"s58"},{23:"r18",24:"r18",25:"r18",26:"r18",27:"r18",28:"r18",29:"r18",30:"r18",31:"r18",32:"r18",33:"r18",34:"r18",35:"r18",36:"r18",37:"r18",38:"r18",39:"r18",40:"r18",41:"r18",42:"r18",43:"r18",44:"r18",45:"r18",52:"r18",53:"r18",54:"r18",55:"r18",57:"r18"},{25:"s12",31:"s60"},{23:"r19",24:"r19",25:"r19",26:"r19",27:"r19",28:"r19",29:"r19",30:"r19",31:"r19",32:"r19",33:"r19",34:"r19",35:"r19",36:"r19",37:"r19",38:"r19",39:"r19",40:"r19",41:"r19",42:"r19",43:"r19",44:"r19",45:"r19",52:"r19",53:"r19",54:"r19",55:"r19",57:"r19"},{25:"s12",31:"s62"},{23:"r20",24:"r20",25:"r20",26:"r20",27:"r20",28:"r20",29:"r20",30:"r20",31:"r20",32:"r20",33:"r20",34:"r20",35:"r20",36:"r20",37:"r20",38:"r20",39:"r20",40:"r20",41:"r20",42:"r20",43:"r20",44:"r20",45:"r20",52:"r20",53:"r20",54:"r20",55:"r20",57:"r20"},{25:"s12",31:"s64"},{23:"r21",24:"r21",25:"r21",26:"r21",27:"r21",28:"r21",29:"r21",30:"r21",31:"r21",32:"r21",33:"r21",34:"r21",35:"r21",36:"r21",37:"r21",38:"r21",39:"r21",40:"r21",41:"r21",42:"r21",43:"r21",44:"r21",45:"r21",52:"r21",53:"r21",54:"r21",55:"r21",57:"r21"},{56:"s72"},{56:"r55"},{10:70,20:73,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r56",58:"s74"},{24:"r62",28:"r62",35:"r62",36:"r62",37:"r62",38:"r62",39:"r62",40:"r62",41:"r62",42:"r62",43:"r62",44:"r62",45:"r62",56:"r62",58:"r62"},{24:"r63",28:"r63",35:"r63",36:"r63",37:"r63",38:"r63",39:"r63",40:"r63",41:"r63",42:"r63",43:"r63",44:"r63",45:"r63",56:"r63",58:"r63"},{24:"r64",28:"r64",35:"r64",36:"r64",37:"r64",38:"r64",39:"r64",40:"r64",41:"r64",42:"r64",43:"r64",44:"r64",45:"r64",56:"r64",58:"r64"},{24:"r65",28:"r65",35:"r65",36:"r65",37:"r65",38:"r65",39:"r65",40:"r65",41:"r65",42:"r65",43:"r65",44:"r65",45:"r65",56:"r65",58:"r65"},{23:"r52",24:"r52",25:"r52",26:"r52",27:"r52",28:"r52",29:"r52",30:"r52",31:"r52",32:"r52",33:"r52",34:"r52",35:"r52",36:"r52",37:"r52",38:"r52",39:"r52",40:"r52",41:"r52",42:"r52",43:"r52",44:"r52",45:"r52",46:"r52",47:"r52",48:"r52",49:"r52",50:"r52",51:"r52",52:"r52",53:"r52",54:"r52",55:"r52",57:"r52"},{56:"r57"},{10:70,21:77,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{56:"r59"},{10:70,20:79,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r63",58:"s80"},{10:70,18:78,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r58"},{56:"r60"},{10:70,21:81,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{10:70,18:82,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r61"},{56:"s84"},{23:"r53",24:"r53",25:"r53",26:"r53",27:"r53",28:"r53",29:"r53",30:"r53",31:"r53",32:"r53",33:"r53",34:"r53",35:"r53",36:"r53",37:"r53",38:"r53",39:"r53",40:"r53",41:"r53",42:"r53",43:"r53",44:"r53",45:"r53",46:"r53",47:"r53",48:"r53",49:"r53",50:"r53",51:"r53",52:"r53",53:"r53",54:"r53",55:"r53",57:"r53"},{25:"s12",31:"s86"},{23:"r49",24:"r49",25:"r49",26:"r49",27:"r49",28:"r49",29:"r49",30:"r49",31:"r49",32:"r49",33:"r49",34:"r49",35:"r49",36:"r49",37:"r49",38:"r49",39:"r49",40:"r49",41:"r49",42:"r49",43:"r49",44:"r49",45:"r49",46:"r49",47:"r49",48:"r49",49:"r49",50:"r49",51:"r49",52:"r49",53:"r49",54:"r49",55:"r49",57:"r49"},{25:"s12",31:"s88"},{23:"r50",24:"r50",25:"r50",26:"r50",27:"r50",28:"r50",29:"r50",30:"r50",31:"r50",32:"r50",33:"r50",34:"r50",35:"r50",36:"r50",37:"r50",38:"r50",39:"r50",40:"r50",41:"r50",42:"r50",43:"r50",44:"r50",45:"r50",46:"r50",47:"r50",48:"r50",49:"r50",50:"r50",51:"r50",52:"r50",53:"r50",54:"r50",55:"r50",57:"r50"},{25:"s12",31:"s90"},{23:"r51",24:"r51",25:"r51",26:"r51",27:"r51",28:"r51",29:"r51",30:"r51",31:"r51",32:"r51",33:"r51",34:"r51",35:"r51",36:"r51",37:"r51",38:"r51",39:"r51",40:"r51",41:"r51",42:"r51",43:"r51",44:"r51",45:"r51",46:"r51",47:"r51",48:"r51",49:"r51",50:"r51",51:"r51",52:"r51",53:"r51",54:"r51",55:"r51",57:"r51"}],CY=[],AY=void 0,PY=[[/^#[^\n]+/,function(){}],[/^\s+/,function(){}],[/^-/,function(){return"DASH"}],[/^\//,function(){return"CHAR"}],[/^#/,function(){return"CHAR"}],[/^\|/,function(){return"CHAR"}],[/^\./,function(){return"CHAR"}],[/^\{/,function(){return"CHAR"}],[/^\{\d+\}/,function(){return"RANGE_EXACT"}],[/^\{\d+,\}/,function(){return"RANGE_OPEN"}],[/^\{\d+,\d+\}/,function(){return"RANGE_CLOSED"}],[/^\\k<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return zY(gY.slice(3,-1),this.getCurrentState()),"NAMED_GROUP_REF"}],[/^\\b/,function(){return"ESC_b"}],[/^\\B/,function(){return"ESC_B"}],[/^\\c[a-zA-Z]/,function(){return"CTRL_CH"}],[/^\\0\d{1,2}/,function(){return"OCT_CODE"}],[/^\\0/,function(){return"DEC_CODE"}],[/^\\\d{1,3}/,function(){return"DEC_CODE"}],[/^\\u[dD][89abAB][0-9a-fA-F]{2}\\u[dD][c-fC-F][0-9a-fA-F]{2}/,function(){return"U_CODE_SURROGATE"}],[/^\\u\{[0-9a-fA-F]{1,}\}/,function(){return"U_CODE"}],[/^\\u[0-9a-fA-F]{4}/,function(){return"U_CODE"}],[/^\\[pP]\{\w+(?:=\w+)?\}/,function(){return"U_PROP_VALUE_EXP"}],[/^\\x[0-9a-fA-F]{2}/,function(){return"HEX_CODE"}],[/^\\[tnrdDsSwWvf]/,function(){return"META_CHAR"}],[/^\\\//,function(){return"ESC_CHAR"}],[/^\\[ #]/,function(){return"ESC_CHAR"}],[/^\\[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/,function(){return"ESC_CHAR"}],[/^\\[^*?+\[()\\|]/,function(){var e=this.getCurrentState();if("u_class"===e&&"\\-"===gY)return"ESC_CHAR";if("u"===e||"xu"===e||"u_class"===e)throw new SyntaxError("invalid Unicode escape "+gY);return"ESC_CHAR"}],[/^\(/,function(){return"CHAR"}],[/^\)/,function(){return"CHAR"}],[/^\(\?=/,function(){return"POS_LA_ASSERT"}],[/^\(\?!/,function(){return"NEG_LA_ASSERT"}],[/^\(\?<=/,function(){return"POS_LB_ASSERT"}],[/^\(\?<!/,function(){return"NEG_LB_ASSERT"}],[/^\(\?:/,function(){return"NON_CAPTURE_GROUP"}],[/^\(\?<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return zY(gY=gY.slice(3,-1),this.getCurrentState()),"NAMED_CAPTURE_GROUP"}],[/^\(/,function(){return"L_PAREN"}],[/^\)/,function(){return"R_PAREN"}],[/^[*?+[^$]/,function(){return"CHAR"}],[/^\\\]/,function(){return"ESC_CHAR"}],[/^\]/,function(){return this.popState(),"R_BRACKET"}],[/^\^/,function(){return"BOS"}],[/^\$/,function(){return"EOS"}],[/^\*/,function(){return"STAR"}],[/^\?/,function(){return"Q_MARK"}],[/^\+/,function(){return"PLUS"}],[/^\|/,function(){return"BAR"}],[/^\./,function(){return"ANY"}],[/^\//,function(){return"SLASH"}],[/^[^*?+\[()\\|]/,function(){return"CHAR"}],[/^\[\^/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"NEG_CLASS"}],[/^\[/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"L_BRACKET"}]],wY={INITIAL:[8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u:[8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],xu:[0,1,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],x:[0,1,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u_class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]},kY={type:"$",value:""};AY={initString:function(e){return this._string=e,this._cursor=0,this._states=["INITIAL"],this._tokensQueue=[],this._currentLine=1,this._currentColumn=0,this._currentLineBeginOffset=0,this._tokenStartOffset=0,this._tokenEndOffset=0,this._tokenStartLine=1,this._tokenEndLine=1,this._tokenStartColumn=0,this._tokenEndColumn=0,this},getStates:function(){return this._states},getCurrentState:function(){return this._states[this._states.length-1]},pushState:function(e){this._states.push(e)},begin:function(e){this.pushState(e)},popState:function(){return this._states.length>1?this._states.pop():this._states[0]},getNextToken:function(){if(this._tokensQueue.length>0)return this.onToken(this._toToken(this._tokensQueue.shift()));if(!this.hasMoreTokens())return this.onToken(kY);for(var e=this._string.slice(this._cursor),t=wY[this.getCurrentState()],r=0;r<t.length;r++){var n=t[r],i=PY[n],s=this._match(e,i[0]);if(""===e&&""===s&&this._cursor++,null!==s){(gY=s).length;var a=i[1].call(this);if(!a)return this.getNextToken();if(Array.isArray(a)){var o,u=a.slice(1);if(a=a[0],u.length>0)(o=this._tokensQueue).unshift.apply(o,yY(u))}return this.onToken(this._toToken(a,gY))}}if(this.isEOF())return this._cursor++,kY;this.throwUnexpectedToken(e[0],this._currentLine,this._currentColumn)},throwUnexpectedToken:function(e,t,r){var n=this._string.split("\n")[t-1],i="";n&&(i="\n\n"+n+"\n"+" ".repeat(r)+"^\n");throw new SyntaxError(i+'Unexpected token: "'+e+'" at '+t+":"+r+".")},getCursor:function(){return this._cursor},getCurrentLine:function(){return this._currentLine},getCurrentColumn:function(){return this._currentColumn},_captureLocation:function(e){var t=/\n/g;this._tokenStartOffset=this._cursor,this._tokenStartLine=this._currentLine,this._tokenStartColumn=this._tokenStartOffset-this._currentLineBeginOffset;for(var r=void 0;null!==(r=t.exec(e));)this._currentLine++,this._currentLineBeginOffset=this._tokenStartOffset+r.index+1;this._tokenEndOffset=this._cursor+e.length,this._tokenEndLine=this._currentLine,this._tokenEndColumn=this._currentColumn=this._tokenEndOffset-this._currentLineBeginOffset},_toToken:function(e){return{type:e,value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",startOffset:this._tokenStartOffset,endOffset:this._tokenEndOffset,startLine:this._tokenStartLine,endLine:this._tokenEndLine,startColumn:this._tokenStartColumn,endColumn:this._tokenEndColumn}},isEOF:function(){return this._cursor===this._string.length},hasMoreTokens:function(){return this._cursor<=this._string.length},_match:function(e,t){var r=e.match(t);return r?(this._captureLocation(r[0]),this._cursor+=r[0].length,r[0]):null},onToken:function(e){return e}},bY.lexer=AY,bY.tokenizer=AY,bY.options={captureLocations:!0};var IY={setOptions:function(e){return bY.options=e,this},getOptions:function(){return bY.options},parse:function(e,t){if(!AY)throw new Error("Tokenizer instance wasn't specified.");AY.initString(e);var r=bY.options;t&&(bY.options=Object.assign({},bY.options,t)),IY.onParseBegin(e,AY,bY.options),CY.length=0,CY.push(0);var n=AY.getNextToken(),i=null;do{n||(bY.options=r,XY());var s=CY[CY.length-1],a=DY[n.type];TY[s].hasOwnProperty(a)||(bY.options=r,JY(n));var o=TY[s][a];if("s"===o[0]){var u=null;bY.options.captureLocations&&(u={startOffset:n.startOffset,endOffset:n.endOffset,startLine:n.startLine,endLine:n.endLine,startColumn:n.startColumn,endColumn:n.endColumn}),i=this.onShift(n),CY.push({symbol:DY[i.type],semanticValue:i.value,loc:u},Number(o.slice(1))),n=AY.getNextToken()}else if("r"===o[0]){var l=o.slice(1),c=SY[l],p="function"==typeof c[2],d=p?[]:null,h=p&&bY.options.captureLocations?[]:null;if(0!==c[1])for(var f=c[1];f-- >0;){CY.pop();var m=CY.pop();p&&(d.unshift(m.semanticValue),h&&h.unshift(m.loc))}var y={symbol:c[0]};if(p){gY=i?i.value:null,i&&i.value.length;var g=null!==h?d.concat(h):d;c[2].apply(c,yY(g)),y.semanticValue=vY,h&&(y.loc=xY)}var b=CY[CY.length-1],v=c[0];CY.push(y,TY[b][v])}else if("acc"===o){CY.pop();var x=CY.pop();return(1!==CY.length||0!==CY[0]||AY.hasMoreTokens())&&(bY.options=r,JY(n)),x.hasOwnProperty("semanticValue")?(bY.options=r,IY.onParseEnd(x.semanticValue),x.semanticValue):(IY.onParseEnd(),bY.options=r,!0)}}while(AY.hasMoreTokens()||CY.length>1)},setTokenizer:function(e){return AY=e,IY},getTokenizer:function(){return AY},onParseBegin:function(e,t,r){},onParseEnd:function(e){},onShift:function(e){return e}},NY=0,FY={},_Y="";function OY(e){var t=e.match(/\d+/g).map(Number);if(Number.isFinite(t[1])&&t[1]<t[0])throw new SyntaxError("Numbers out of order in "+e+" quantifier");return t}function BY(e,t){if("control"===e.kind||"control"===t.kind||!isNaN(e.codePoint)&&!isNaN(t.codePoint)&&e.codePoint>t.codePoint)throw new SyntaxError("Range "+e.value+"-"+t.value+" out of order in character class")}IY.onParseBegin=function(e,t){_Y=e,NY=0,FY={};var r=e.lastIndexOf("/"),n=e.slice(r);n.includes("x")&&n.includes("u")?t.pushState("xu"):(n.includes("x")&&t.pushState("x"),n.includes("u")&&t.pushState("u"))},IY.onShift=function(e){return"L_PAREN"!==e.type&&"NAMED_CAPTURE_GROUP"!==e.type||(e.value=new String(e.value),e.value.groupNumber=++NY),e};var jY=fY;function LY(e,t,r){var n=void 0,i=void 0;switch(t){case"decimal":i=Number(e.slice(1)),n=String.fromCodePoint(i);break;case"oct":i=parseInt(e.slice(1),8),n=String.fromCodePoint(i);break;case"hex":case"unicode":if(e.lastIndexOf("\\u")>0){var s=e.split("\\u").slice(1),a=mY(s,2),o=a[0],u=a[1];i=1024*((o=parseInt(o,16))-55296)+((u=parseInt(u,16))-56320)+65536,n=String.fromCodePoint(i)}else{var l=e.slice(2).replace("{","");if((i=parseInt(l,16))>1114111)throw new SyntaxError("Bad character escape sequence: "+e);n=String.fromCodePoint(i)}break;case"meta":switch(e){case"\\t":i=(n="\t").codePointAt(0);break;case"\\n":i=(n="\n").codePointAt(0);break;case"\\r":i=(n="\r").codePointAt(0);break;case"\\v":i=(n="\v").codePointAt(0);break;case"\\f":i=(n="\f").codePointAt(0);break;case"\\b":i=(n="\b").codePointAt(0);case"\\0":n="\0",i=0;case".":n=".",i=NaN;break;default:i=NaN}break;case"simple":i=(n=e).codePointAt(0)}return KY({type:"Char",value:e,kind:t,symbol:n,codePoint:i},r)}var MY="gimsuxy";function RY(e){var t=new Set,r=!0,n=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0){var o=s.value;if(t.has(o)||!MY.includes(o))throw new SyntaxError("Invalid flags: "+e);t.add(o)}}catch(e){n=!0,i=e}finally{try{!r&&a.return&&a.return()}finally{if(n)throw i}}return e.split("").sort().join("")}var $Y=/^\\u[0-9a-fA-F]{4}/,UY=/^\\u\{[0-9a-fA-F]{1,}\}/,VY=/\\u\{[0-9a-fA-F]{1,}\}/;function zY(e,t){if(VY.test(e)&&!("u"===t||"xu"===t||"u_class"===t))throw new SyntaxError('invalid group Unicode name "'+e+'", use `u` flag.');return e}var qY=/\\u(?:([dD][89aAbB][0-9a-fA-F]{2})\\u([dD][c-fC-F][0-9a-fA-F]{2})|([dD][89aAbB][0-9a-fA-F]{2})|([dD][c-fC-F][0-9a-fA-F]{2})|([0-9a-ce-fA-CE-F][0-9a-fA-F]{3}|[dD][0-7][0-9a-fA-F]{2})|\{(0*(?:[0-9a-fA-F]{1,5}|10[0-9a-fA-F]{4}))\})/;function WY(e){return e.replace(new RegExp(qY,"g"),(function(e,t,r,n,i,s,a){return t?String.fromCodePoint(parseInt(t,16),parseInt(r,16)):n?String.fromCodePoint(parseInt(n,16)):i?String.fromCodePoint(parseInt(i,16)):s?String.fromCodePoint(parseInt(s,16)):a?String.fromCodePoint(parseInt(a,16)):e}))}function KY(e,t){return bY.options.captureLocations&&(e.loc={source:_Y.slice(t.startOffset,t.endOffset),start:{line:t.startLine,column:t.startColumn,offset:t.startOffset},end:{line:t.endLine,column:t.endColumn,offset:t.endOffset}}),e}function HY(e,t){return bY.options.captureLocations?{startOffset:e.startOffset,endOffset:t.endOffset,startLine:e.startLine,endLine:t.endLine,startColumn:e.startColumn,endColumn:t.endColumn}:null}function JY(e){"$"===e.type&&XY(),AY.throwUnexpectedToken(e.value,e.startLine,e.startColumn)}function XY(){!function(e){throw new SyntaxError(e)}("Unexpected end of input.")}var GY=IY,YY=GY.parse.bind(GY);GY.parse=function(e,t){return YY(""+e,t)},GY.setOptions({captureLocations:!1});var QY=GY,ZY=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var eQ="expressions",tQ="expression",rQ=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.node=t,this.parentPath=r,this.parent=r?r.node:null,this.property=n,this.index=i}return ZY(e,[{key:"_enforceProp",value:function(e){if(!this.node.hasOwnProperty(e))throw new Error("Node of type "+this.node.type+" doesn't have \""+e+'" collection.')}},{key:"setChild",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=void 0;return null!=r?(n||(n=eQ),this._enforceProp(n),this.node[n][r]=t,i=e.getForNode(t,this,n,r)):(n||(n=tQ),this._enforceProp(n),this.node[n]=t,i=e.getForNode(t,this,n,null)),i}},{key:"appendChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t||(t=eQ),this._enforceProp(t);var r=this.node[t].length;return this.setChild(e,r,t)}},{key:"insertChildAt",value:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eQ;this._enforceProp(n),this.node[n].splice(r,0,t),r<=e.getTraversingIndex()&&e.updateTraversingIndex(1),this._rebuildIndex(this.node,n)}},{key:"remove",value:function(){if(!this.isRemoved()&&(e.registry.delete(this.node),this.node=null,this.parent)){if(null!==this.index)return this.parent[this.property].splice(this.index,1),this.index<=e.getTraversingIndex()&&e.updateTraversingIndex(-1),this._rebuildIndex(this.parent,this.property),this.index=null,void(this.property=null);delete this.parent[this.property],this.property=null}}},{key:"_rebuildIndex",value:function(t,r){for(var n=e.getForNode(t),i=0;i<t[r].length;i++){e.getForNode(t[r][i],n,r,i).index=i}}},{key:"isRemoved",value:function(){return null===this.node}},{key:"replace",value:function(t){return e.registry.delete(this.node),this.node=t,this.parent?(null!==this.index?this.parent[this.property][this.index]=t:this.parent[this.property]=t,e.getForNode(t,this.parentPath,this.property,this.index)):null}},{key:"update",value:function(e){Object.assign(this.node,e)}},{key:"getParent",value:function(){return this.parentPath}},{key:"getChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.node.expressions?e.getForNode(this.node.expressions[t],this,eQ,t):this.node.expression&&0==t?e.getForNode(this.node.expression,this,tQ):null}},{key:"hasEqualSource",value:function(e){return JSON.stringify(this.node,nQ)===JSON.stringify(e.node,nQ)}},{key:"jsonEncode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.format,r=e.useLoc;return JSON.stringify(this.node,r?null:nQ,t)}},{key:"getPreviousSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index-1],e.getForNode(this.parent),this.property,this.index-1):null}},{key:"getNextSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index+1],e.getForNode(this.parent),this.property,this.index+1):null}}],[{key:"getForNode",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;if(!t)return null;e.registry.has(t)||e.registry.set(t,new e(t,r,n,-1==i?null:i));var s=e.registry.get(t);return null!==r&&(s.parentPath=r,s.parent=s.parentPath.node),null!==n&&(s.property=n),i>=0&&(s.index=i),s}},{key:"initRegistry",value:function(){e.registry||(e.registry=new Map),e.registry.clear()}},{key:"updateTraversingIndex",value:function(t){return e.traversingIndexStack[e.traversingIndexStack.length-1]+=t}},{key:"getTraversingIndex",value:function(){return e.traversingIndexStack[e.traversingIndexStack.length-1]}}]),e}();function nQ(e,t){if("loc"!==e)return t}rQ.initRegistry(),rQ.traversingIndexStack=[];var iQ=rQ,sQ=iQ;var aQ={traverse:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{asNodes:!1};function n(e,t,r,n){var i=sQ.getForNode(t);return sQ.getForNode(e,i,r,n)}Array.isArray(t)||(t=[t]),t=t.filter((function(t){return"function"!=typeof t.shouldRun||t.shouldRun(e)})),sQ.initRegistry(),t.forEach((function(t){"function"==typeof t.init&&t.init(e)})),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.pre,n=t.post,i=t.skipProperty;!function e(t,s,a,o){if(t&&"string"==typeof t.type){var u=void 0;if(r&&(u=r(t,s,a,o)),!1!==u)for(var l in s&&s[a]&&(t=isNaN(o)?s[a]:s[a][o]),t)if(t.hasOwnProperty(l)){if(i?i(l,t):"$"===l[0])continue;var c=t[l];if(Array.isArray(c)){var p=0;for(sQ.traversingIndexStack.push(p);p<c.length;)e(c[p],t,l,p),p=sQ.updateTraversingIndex(1);sQ.traversingIndexStack.pop()}else e(c,t,l)}n&&n(t,s,a,o)}}(e,null)}(e,{pre:function(e,i,s,a){var o=void 0;r.asNodes||(o=n(e,i,s,a));var u=!0,l=!1,c=void 0;try{for(var p,d=t[Symbol.iterator]();!(u=(p=d.next()).done);u=!0){var h=p.value;if("function"==typeof h["*"])if(o){if(!o.isRemoved())if(!1===h["*"](o))return!1}else h["*"](e,i,s,a);var f=void 0;if("function"==typeof h[e.type]?f=h[e.type]:"object"==typeof h[e.type]&&"function"==typeof h[e.type].pre&&(f=h[e.type].pre),f)if(o){if(!o.isRemoved())if(!1===f.call(h,o))return!1}else f.call(h,e,i,s,a)}}catch(e){l=!0,c=e}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}},post:function(e,i,s,a){if(e){var o=void 0;r.asNodes||(o=n(e,i,s,a));var u=!0,l=!1,c=void 0;try{for(var p,d=t[Symbol.iterator]();!(u=(p=d.next()).done);u=!0){var h=p.value,f=void 0;if("object"==typeof h[e.type]&&"function"==typeof h[e.type].post&&(f=h[e.type].post),f)if(o){if(!o.isRemoved())if(!1===f.call(h,o))return!1}else f.call(h,e,i,s,a)}}catch(e){l=!0,c=e}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}}},skipProperty:function(e){return"loc"===e}})}},oQ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var uQ=rY,lQ=QY,cQ=aQ,pQ=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._ast=t,this._source=null,this._string=null,this._regexp=null,this._extra=r}return oQ(e,[{key:"getAST",value:function(){return this._ast}},{key:"setExtra",value:function(e){this._extra=e}},{key:"getExtra",value:function(){return this._extra}},{key:"toRegExp",value:function(){return this._regexp||(this._regexp=new RegExp(this.getSource(),this._ast.flags)),this._regexp}},{key:"getSource",value:function(){return this._source||(this._source=uQ.generate(this._ast.body)),this._source}},{key:"getFlags",value:function(){return this._ast.flags}},{key:"toString",value:function(){return this._string||(this._string=uQ.generate(this._ast)),this._string}}]),e}(),dQ={TransformResult:pQ,transform:function(e,t){var r=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(r=lQ.parse(e,{captureLocations:!0})),cQ.traverse(r,t),new pQ(r)}},hQ=ZG,fQ=dQ,mQ={transform:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.length>0?t:Object.keys(hQ),n=void 0,i={};return r.forEach((function(t){if(!hQ.hasOwnProperty(t))throw new Error("Unknown compat-transform: "+t+". Available transforms are: "+Object.keys(hQ).join(", "));var r=hQ[t];n=fQ.transform(e,r),e=n.getAST(),"function"==typeof r.getExtra&&(i[t]=r.getExtra())})),n.setExtra(i),n}},yQ={shouldRun:function(e){return e.flags.includes("u")},Char:function(e){var t=e.node;"unicode"===t.kind&&t.isSurrogatePair&&!isNaN(t.codePoint)&&(t.value="\\u{"+t.codePoint.toString(16)+"}",delete t.isSurrogatePair)}},gQ="A".codePointAt(0),bQ="Z".codePointAt(0),vQ="a".codePointAt(0),xQ="z".codePointAt(0),EQ="0".codePointAt(0),SQ="9".codePointAt(0),DQ={Char:function(e){var t,r,n,i=e.node,s=e.parent;if(!isNaN(i.codePoint)&&"simple"!==i.kind&&(("ClassRange"!==s.type||(r=(t=s).from,n=t.to,r.codePoint>=EQ&&r.codePoint<=SQ&&n.codePoint>=EQ&&n.codePoint<=SQ||r.codePoint>=gQ&&r.codePoint<=bQ&&n.codePoint>=gQ&&n.codePoint<=bQ||r.codePoint>=vQ&&r.codePoint<=xQ&&n.codePoint>=vQ&&n.codePoint<=xQ))&&(a=i.codePoint)>=32&&a<=126)){var a,o=String.fromCodePoint(i.codePoint),u={type:"Char",kind:"simple",value:o,symbol:o,codePoint:i.codePoint};(function(e,t){if("ClassRange"===t||"CharacterClass"===t)return/[\]\\^-]/.test(e);return/[*[()+?^$./\\|{}]/.test(e)})(o,s.type)&&(u.escaped=!0),e.replace(u)}}};var TQ="A".codePointAt(0),CQ="Z".codePointAt(0),AQ={_AZClassRanges:null,_hasUFlag:!1,init:function(e){this._AZClassRanges=new Set,this._hasUFlag=e.flags.includes("u")},shouldRun:function(e){return e.flags.includes("i")},Char:function(e){var t=e.node,r=e.parent;if(!isNaN(t.codePoint)&&(this._hasUFlag||!(t.codePoint>=4096))){if("ClassRange"===r.type){if(!(this._AZClassRanges.has(r)||(n=r,i=n.from,s=n.to,i.codePoint>=TQ&&i.codePoint<=CQ&&s.codePoint>=TQ&&s.codePoint<=CQ)))return;this._AZClassRanges.add(r)}var n,i,s,a=t.symbol.toLowerCase();a!==t.symbol&&(t.value=function(e,t){var r=e.codePointAt(0);if("decimal"===t.kind)return"\\"+r;if("oct"===t.kind)return"\\0"+r.toString(8);if("hex"===t.kind)return"\\x"+r.toString(16);if("unicode"===t.kind){if(t.isSurrogatePair){var n=function(e){var t=Math.floor((e-65536)/1024)+55296,r=(e-65536)%1024+56320;return{lead:t.toString(16),trail:r.toString(16)}}(r),i=n.lead,s=n.trail;return"\\u"+"0".repeat(4-i.length)+i+"\\u"+"0".repeat(4-s.length)+s}if(t.value.includes("{"))return"\\u{"+r.toString(16)+"}";var a=r.toString(16);return"\\u"+"0".repeat(4-a.length)+a}return e}(a,t),t.symbol=a,t.codePoint=a.codePointAt(0))}}};var PQ={disjunctionToList:function e(t){if("Disjunction"!==t.type)throw new TypeError('Expected "Disjunction" node, got "'+t.type+'"');var r=[];return t.left&&"Disjunction"===t.left.type?r.push.apply(r,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(e(t.left)).concat([t.right])):r.push(t.left,t.right),r},listToDisjunction:function(e){return e.reduce((function(e,t){return{type:"Disjunction",left:e,right:t}}))},increaseQuantifierByOne:function(e){"*"===e.kind?e.kind="+":"+"===e.kind?(e.kind="Range",e.from=2,delete e.to):"?"===e.kind?(e.kind="Range",e.from=1,e.to=2):"Range"===e.kind&&(e.from+=1,e.to&&(e.to+=1))}},wQ=PQ.increaseQuantifierByOne,kQ={Repetition:function(e){var t=e.node;if("Alternative"===e.parent.type&&e.index){var r=e.getPreviousSibling();if(r)if("Repetition"===r.node.type){if(!r.getChild().hasEqualSource(e.getChild()))return;var n=NQ(r.node.quantifier),i=n.from,s=n.to,a=NQ(t.quantifier),o=a.from,u=a.to;if(r.node.quantifier.greedy!==t.quantifier.greedy&&!IQ(r.node.quantifier)&&!IQ(t.quantifier))return;t.quantifier.kind="Range",t.quantifier.from=i+o,s&&u?t.quantifier.to=s+u:delete t.quantifier.to,(IQ(r.node.quantifier)||IQ(t.quantifier))&&(t.quantifier.greedy=!0),r.remove()}else{if(!r.hasEqualSource(e.getChild()))return;wQ(t.quantifier),r.remove()}}}};function IQ(e){return e.greedy&&("+"===e.kind||"*"===e.kind||"Range"===e.kind&&!e.to)}function NQ(e){var t=void 0,r=void 0;return"*"===e.kind?t=0:"+"===e.kind?t=1:"?"===e.kind?(t=0,r=1):(t=e.from,e.to&&(r=e.to)),{from:t,to:r}}var FQ={Quantifier:function(e){"Range"===e.node.kind&&(function(e){var t=e.node;if(0!==t.from||t.to)return;t.kind="*",delete t.from}(e),function(e){var t=e.node;if(1!==t.from||t.to)return;t.kind="+",delete t.from}(e),function(e){var t=e.node;if(1!==t.from||1!==t.to)return;e.parentPath.replace(e.parentPath.node.expression)}(e))}};function _Q(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var OQ={_hasIFlag:!1,_hasUFlag:!1,init:function(e){this._hasIFlag=e.flags.includes("i"),this._hasUFlag=e.flags.includes("u")},CharacterClass:function(e){!function(e){var t=e.node;t.expressions.forEach((function(t,r){(function(e){return"ClassRange"===e.type&&"0"===e.from.value&&"9"===e.to.value})(t)&&e.getChild(r).replace({type:"Char",value:"\\d",kind:"meta"})}))}(e),function(e,t,r){var n=e.node,i=null,s=null,a=null,o=null,u=null,l=null;n.expressions.forEach((function(n,c){LQ(n,"\\d")?i=e.getChild(c):!function(e){return"ClassRange"===e.type&&"a"===e.from.value&&"z"===e.to.value}(n)?!function(e){return"ClassRange"===e.type&&"A"===e.from.value&&"Z"===e.to.value}(n)?!function(e){return"Char"===e.type&&"_"===e.value&&"simple"===e.kind}(n)?t&&r&&MQ(n,383)?u=e.getChild(c):t&&r&&MQ(n,8490)&&(l=e.getChild(c)):o=e.getChild(c):a=e.getChild(c):s=e.getChild(c)})),i&&(s&&a||t&&(s||a))&&o&&(!r||!t||u&&l)&&(i.replace({type:"Char",value:"\\w",kind:"meta"}),s&&s.remove(),a&&a.remove(),o.remove(),u&&u.remove(),l&&l.remove())}(e,this._hasIFlag,this._hasUFlag),function(e){var t=e.node;if(t.expressions.length<BQ.length||!BQ.every((function(e){return t.expressions.some((function(t){return e(t)}))})))return;var r=t.expressions.find((function(e){return LQ(e,"\\n")}));r.value="\\s",r.symbol=void 0,r.codePoint=NaN,t.expressions.map((function(t,r){return BQ.some((function(e){return e(t)}))?e.getChild(r):void 0})).filter(Boolean).forEach((function(e){return e.remove()}))}(e)}};var BQ=[function(e){return jQ(e," ")}].concat(_Q(["\\f","\\n","\\r","\\t","\\v"].map((function(e){return function(t){return LQ(t,e)}}))),_Q([160,5760,8232,8233,8239,8287,12288,65279].map((function(e){return function(t){return MQ(t,e)}}))),[function(e){return"ClassRange"===e.type&&MQ(e.from,8192)&&MQ(e.to,8202)}]);function jQ(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"simple";return"Char"===e.type&&e.value===t&&e.kind===r}function LQ(e,t){return jQ(e,t,"meta")}function MQ(e,t){return"Char"===e.type&&"unicode"===e.kind&&e.codePoint===t}var RQ={CharacterClass:function(e){var t=e.node;if(1===t.expressions.length&&function(e){var t=e.parent,r=e.index;if("Alternative"!==t.type)return!0;var n=t.expressions[r-1];if(null==n)return!0;if("Backreference"===n.type&&"number"===n.kind)return!1;if("Char"===n.type&&"decimal"===n.kind)return!1;return!0}(e)&&function(e){return"Char"===e.type&&"\\b"!==e.value}(t.expressions[0])){var r=t.expressions[0],n=r.value,i=r.kind,s=r.escaped;if(t.negative){if(!function(e){return/^\\[dwsDWS]$/.test(e)}(n))return;n=function(e){return/[dws]/.test(e)?e.toUpperCase():e.toLowerCase()}(n)}e.replace({type:"Char",value:n,kind:i,escaped:s||$Q(n)})}}};function $Q(e){return/[*[()+?$./{}|]/.test(e)}var UQ={_hasXFlag:!1,init:function(e){this._hasXFlag=e.flags.includes("x")},Char:function(e){var t=e.node;t.escaped&&function(e,t){var r=e.node.value,n=e.index,i=e.parent;if("CharacterClass"!==i.type&&"ClassRange"!==i.type)return!function(e,t,r,n){if("{"===e)return function(e,t){if(null==e)return!1;var r=VQ(e+1,t),n=e+r+1,i=n<t.expressions.length&&t.expressions[n];if(r){if(zQ(i,"}"))return!0;if(zQ(i,","))return zQ(i=(n=n+(r=VQ(n+1,t))+1)<t.expressions.length&&t.expressions[n],"}")}return!1}(t,r);if("}"===e)return function(e,t){if(null==e)return!1;var r=VQ(e-1,t,!0),n=e-r-1,i=n>=0&&t.expressions[n];if(r&&zQ(i,"{"))return!0;if(zQ(i,","))return i=(n=n-(r=VQ(n-1,t,!0))-1)<t.expressions.length&&t.expressions[n],r&&zQ(i,"{");return!1}(t,r);if(n&&/[ #]/.test(e))return!0;return/[*[()+?^$./\\|]/.test(e)}(r,n,i,t);return!function(e,t,r){if("^"===e)return 0===t&&!r.negative;if("-"===e)return!0;return/[\]\\]/.test(e)}(r,n,i)}(e,this._hasXFlag)&&delete t.escaped}};function VQ(e,t,r){for(var n=e,i=(r?n>=0:n<t.expressions.length)&&t.expressions[n];i&&"Char"===i.type&&"simple"===i.kind&&!i.escaped&&/\d/.test(i.value);)r?n--:n++,i=(r?n>=0:n<t.expressions.length)&&t.expressions[n];return Math.abs(e-n)}function zQ(e,t){return e&&"Char"===e.type&&"simple"===e.kind&&!e.escaped&&e.value===t}var qQ={_hasIUFlags:!1,init:function(e){this._hasIUFlags=e.flags.includes("i")&&e.flags.includes("u")},CharacterClass:function(e){var t=e.node.expressions,r=[];t.forEach((function(e){HQ(e)&&r.push(e.value)})),t.sort(WQ);for(var n=0;n<t.length;n++){var i=t[n];if(XQ(i,r,this._hasIUFlags)||eZ(i,t[n-1])||tZ(i,t[n+1]))t.splice(n,1),n--;else{var s=nZ(i,n,t);t.splice(n-s+1,s),n-=s}}}};function WQ(e,t){var r=KQ(e),n=KQ(t);if(r===n){if("ClassRange"===e.type&&"ClassRange"!==t.type)return-1;if("ClassRange"===t.type&&"ClassRange"!==e.type)return 1;if("ClassRange"===e.type&&"ClassRange"===t.type)return KQ(e.to)-KQ(t.to);if(HQ(e)&&HQ(t)||JQ(e)&&JQ(t))return e.value<t.value?-1:1}return r-n}function KQ(e){return"Char"===e.type?"-"===e.value||"control"===e.kind?1/0:"meta"===e.kind&&isNaN(e.codePoint)?-1:e.codePoint:e.from.codePoint}function HQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"Char"===e.type&&"meta"===e.kind&&(t?e.value===t:/^\\[dws]$/i.test(e.value))}function JQ(e){return"Char"===e.type&&"control"===e.kind}function XQ(e,t,r){for(var n=0;n<t.length;n++)if(GQ(e,t[n],r))return!0;return!1}function GQ(e,t,r){return"ClassRange"===e.type?GQ(e.from,t,r)&&GQ(e.to,t,r):!("\\S"!==t||!HQ(e,"\\w")&&!HQ(e,"\\d"))||(!("\\D"!==t||!HQ(e,"\\W")&&!HQ(e,"\\s"))||(!("\\w"!==t||!HQ(e,"\\d"))||(!("\\W"!==t||!HQ(e,"\\s"))||"Char"===e.type&&!isNaN(e.codePoint)&&("\\s"===t?YQ(e):"\\S"===t?!YQ(e):"\\d"===t?QQ(e):"\\D"===t?!QQ(e):"\\w"===t?ZQ(e,r):"\\W"===t&&!ZQ(e,r)))))}function YQ(e){return 9===e.codePoint||10===e.codePoint||11===e.codePoint||12===e.codePoint||13===e.codePoint||32===e.codePoint||160===e.codePoint||5760===e.codePoint||e.codePoint>=8192&&e.codePoint<=8202||8232===e.codePoint||8233===e.codePoint||8239===e.codePoint||8287===e.codePoint||12288===e.codePoint||65279===e.codePoint}function QQ(e){return e.codePoint>=48&&e.codePoint<=57}function ZQ(e,t){return QQ(e)||e.codePoint>=65&&e.codePoint<=90||e.codePoint>=97&&e.codePoint<=122||"_"===e.value||t&&(383===e.codePoint||8490===e.codePoint)}function eZ(e,t){if(t&&"ClassRange"===t.type){if(rZ(e,t))return!0;if(iZ(e)&&t.to.codePoint===e.codePoint-1)return t.to=e,!0;if("ClassRange"===e.type&&e.from.codePoint<=t.to.codePoint+1&&e.to.codePoint>=t.from.codePoint-1)return e.from.codePoint<t.from.codePoint&&(t.from=e.from),e.to.codePoint>t.to.codePoint&&(t.to=e.to),!0}return!1}function tZ(e,t){return!(!t||"ClassRange"!==t.type||!iZ(e)||t.from.codePoint!==e.codePoint+1)&&(t.from=e,!0)}function rZ(e,t){return("Char"!==e.type||!isNaN(e.codePoint))&&("ClassRange"===e.type?rZ(e.from,t)&&rZ(e.to,t):e.codePoint>=t.from.codePoint&&e.codePoint<=t.to.codePoint)}function nZ(e,t,r){if(!iZ(e))return 0;for(var n=0;t>0;){var i=r[t],s=r[t-1];if(!iZ(s)||s.codePoint!==i.codePoint-1)break;n++,t--}return n>1?(r[t]={type:"ClassRange",from:r[t],to:e},n):0}function iZ(e){return e&&"Char"===e.type&&!isNaN(e.codePoint)&&(ZQ(e,!1)||"unicode"===e.kind||"hex"===e.kind||"oct"===e.kind||"decimal"===e.kind)}var sZ=iQ,aZ=PQ.disjunctionToList,oZ=PQ.listToDisjunction,uZ={Disjunction:function(e){var t=e.node,r={},n=aZ(t).filter((function(e){var t=e?sZ.getForNode(e).jsonEncode():"null";return!r.hasOwnProperty(t)&&(r[t]=e,!0)}));e.replace(oZ(n))}},lZ={Disjunction:function(e){var t=e.node,r=e.parent;if(cZ[r.type]){var n=new Map;if(pZ(t,n)&&n.size){var i={type:"CharacterClass",expressions:Array.from(n.keys()).sort().map((function(e){return n.get(e)}))};cZ[r.type](e.getParent(),i)}}}},cZ={RegExp:function(e,t){e.node.body=t},Group:function(e,t){var r=e.node;r.capturing?r.expression=t:e.replace(t)}};function pZ(e,t){if(!e)return!1;var r=e.type;if("Disjunction"===r){var n=e.left,i=e.right;return pZ(n,t)&&pZ(i,t)}if("Char"===r){if("meta"===e.kind&&"."===e.symbol)return!1;var s=e.value;return t.set(s,e),!0}return"CharacterClass"===r&&!e.negative&&e.expressions.every((function(e){return pZ(e,t)}))}function dZ(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var hZ={Group:function(e){var t=e.node,r=e.parent,n=e.getChild();if(!t.capturing&&n&&function(e){var t=e.parent,r=e.index;if("Alternative"!==t.type)return!0;var n=t.expressions[r-1];if(null==n)return!0;if("Backreference"===n.type&&"number"===n.kind)return!1;if("Char"===n.type&&"decimal"===n.kind)return!1;return!0}(e)&&!("Disjunction"===n.node.type&&"RegExp"!==r.type||"Repetition"===r.type&&"Char"!==n.node.type&&"CharacterClass"!==n.node.type))if("Alternative"===n.node.type){var i=e.getParent();"Alternative"===i.node.type&&i.replace({type:"Alternative",expressions:[].concat(dZ(r.expressions.slice(0,e.index)),dZ(n.node.expressions),dZ(r.expressions.slice(e.index+1)))})}else e.replace(n.node)}};function fZ(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var mZ=iQ,yZ=PQ.increaseQuantifierByOne,gZ={Alternative:function(e){for(var t=e.node,r=1;r<t.expressions.length;){var n=e.getChild(r);if((r=Math.max(1,bZ(e,n,r)))>=t.expressions.length)break;if(n=e.getChild(r),(r=Math.max(1,vZ(e,n,r)))>=t.expressions.length)break;n=e.getChild(r),r=Math.max(1,xZ(e,n,r)),r++}}};function bZ(e,t,r){for(var n=e.node,i=Math.ceil(r/2),s=0;s<i;){var a=r-2*s-1,o=void 0,u=void 0;if(0===s?(o=t,u=e.getChild(a)):(o=mZ.getForNode({type:"Alternative",expressions:[].concat(fZ(n.expressions.slice(r-s,r)),[t.node])}),u=mZ.getForNode({type:"Alternative",expressions:[].concat(fZ(n.expressions.slice(a,r-s)))})),o.hasEqualSource(u)){for(var l=0;l<2*s+1;l++)e.getChild(a).remove();return t.replace({type:"Repetition",expression:0===s&&"Repetition"!==o.node.type?o.node:{type:"Group",capturing:!1,expression:o.node},quantifier:{type:"Quantifier",kind:"Range",from:2,to:2,greedy:!0}}),a}s++}return r}function vZ(e,t,r){for(var n=e.node,i=0;i<r;){var s=e.getChild(i);if("Repetition"===s.node.type&&s.node.quantifier.greedy){var a=s.getChild(),o=void 0;if("Group"!==a.node.type||a.node.capturing||(a=a.getChild()),i+1===r?"Group"!==(o=t).node.type||o.node.capturing||(o=o.getChild()):o=mZ.getForNode({type:"Alternative",expressions:[].concat(fZ(n.expressions.slice(i+1,r+1)))}),a.hasEqualSource(o)){for(var u=i;u<r;u++)e.getChild(i+1).remove();return yZ(s.node.quantifier),i}}i++}return r}function xZ(e,t,r){var n=e.node;if("Repetition"===t.node.type&&t.node.quantifier.greedy){var i=t.getChild(),s=void 0;"Group"!==i.node.type||i.node.capturing||(i=i.getChild());var a=void 0;if("Alternative"===i.node.type?(a=i.node.expressions.length,s=mZ.getForNode({type:"Alternative",expressions:[].concat(fZ(n.expressions.slice(r-a,r)))})):(a=1,"Group"!==(s=e.getChild(r-1)).node.type||s.node.capturing||(s=s.getChild())),s.hasEqualSource(i)){for(var o=r-a;o<r;o++)e.getChild(r-a).remove();return yZ(t.node.quantifier),r-a}}return r}var EZ=new Map([["charSurrogatePairToSingleUnicode",yQ],["charCodeToSimpleChar",DQ],["charCaseInsensitiveLowerCaseTransform",AQ],["charClassRemoveDuplicates",{CharacterClass:function(e){for(var t=e.node,r={},n=0;n<t.expressions.length;n++){var i=e.getChild(n),s=i.jsonEncode();r.hasOwnProperty(s)&&(i.remove(),n--),r[s]=!0}}}],["quantifiersMerge",kQ],["quantifierRangeToSymbol",FQ],["charClassClassrangesToChars",{ClassRange:function(e){var t=e.node;t.from.codePoint===t.to.codePoint?e.replace(t.from):t.from.codePoint===t.to.codePoint-1&&(e.getParent().insertChildAt(t.to,e.index+1),e.replace(t.from))}}],["charClassToMeta",OQ],["charClassToSingleChar",RQ],["charEscapeUnescape",UQ],["charClassClassrangesMerge",qQ],["disjunctionRemoveDuplicates",uZ],["groupSingleCharsToCharClass",lZ],["removeEmptyGroup",{Group:function(e){var t=e.node,r=e.parent,n=e.getChild();t.capturing||n||("Repetition"===r.type?e.getParent().replace(t):"RegExp"!==r.type&&e.remove())}}],["ungroup",hZ],["combineRepeatingPatterns",gZ]]),SZ=function e(t){if(null===t||"object"!=typeof t)return t;var r=void 0;for(var n in r=Array.isArray(t)?[]:{},t)r[n]=e(t[n]);return r},DZ=QY,TZ=dQ,CZ=EZ,AZ={optimize:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.whitelist,n=void 0===r?[]:r,i=t.blacklist,s=void 0===i?[]:i,a=(n.length>0?n:Array.from(CZ.keys())).filter((function(e){return!s.includes(e)})),o=e;e instanceof RegExp&&(e=""+e),"string"==typeof e&&(o=DZ.parse(e));var u=new TZ.TransformResult(o),l=void 0;do{l=u.toString(),o=SZ(u.getAST()),a.forEach((function(e){if(!CZ.has(e))throw new Error("Unknown optimization-transform: "+e+". Available transforms are: "+Array.from(CZ.keys()).join(", "));var t=CZ.get(e),r=TZ.transform(o,t);r.toString()!==u.toString()&&(r.toString().length<=u.toString().length?u=r:o=SZ(u.getAST()))}))}while(u.toString()!==l);return u}},PZ={EPSILON:"ε",EPSILON_CLOSURE:"ε*"},wZ=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},kZ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var IZ=PZ.EPSILON,NZ=PZ.EPSILON_CLOSURE,FZ=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.in=t,this.out=r}return kZ(e,[{key:"matches",value:function(e){return this.in.matches(e)}},{key:"getAlphabet",value:function(){if(!this._alphabet){this._alphabet=new Set;var e=this.getTransitionTable();for(var t in e){var r=e[t];for(var n in r)n!==NZ&&this._alphabet.add(n)}}return this._alphabet}},{key:"getAcceptingStates",value:function(){return this._acceptingStates||this.getTransitionTable(),this._acceptingStates}},{key:"getAcceptingStateNumbers",value:function(){if(!this._acceptingStateNumbers){this._acceptingStateNumbers=new Set;var e=!0,t=!1,r=void 0;try{for(var n,i=this.getAcceptingStates()[Symbol.iterator]();!(e=(n=i.next()).done);e=!0){var s=n.value;this._acceptingStateNumbers.add(s.number)}}catch(e){t=!0,r=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw r}}}return this._acceptingStateNumbers}},{key:"getTransitionTable",value:function(){var e=this;if(!this._transitionTable){this._transitionTable={},this._acceptingStates=new Set;var t=new Set,r=new Set;!function n(i){if(!t.has(i)){t.add(i),i.number=t.size,e._transitionTable[i.number]={},i.accepting&&e._acceptingStates.add(i);var s=i.getTransitions(),a=!0,o=!1,u=void 0;try{for(var l,c=s[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var p=l.value,d=wZ(p,2),h=d[0],f=d[1],m=[];r.add(h);var y=!0,g=!1,b=void 0;try{for(var v,x=f[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=v.value;n(E),m.push(E.number)}}catch(e){g=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(g)throw b}}e._transitionTable[i.number][h]=m}}catch(e){o=!0,u=e}finally{try{!a&&c.return&&c.return()}finally{if(o)throw u}}}}(this.in),t.forEach((function(t){delete e._transitionTable[t.number][IZ],e._transitionTable[t.number][NZ]=[].concat(function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(t.getEpsilonClosure())).map((function(e){return e.number}))}))}return this._transitionTable}}]),e}(),_Z=FZ,OZ=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function BZ(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var jZ=null;function LZ(e,t){if(!t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e[r],i=t[r];if(n.size!==i.size)return!1;if([].concat(BZ(n)).sort().join(",")!==[].concat(BZ(i)).sort().join(","))return!1}return!0}function MZ(e,t,r,n){var i=!0,s=!1,a=void 0;try{for(var o,u=n[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){if(!RZ(e,t,r,o.value))return!1}}catch(e){s=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(s)throw a}}return!0}function RZ(e,t,r,n){if(!jZ[e]||!jZ[t])return!1;var i=r[e][n],s=r[t][n];return!i&&!s||jZ[e].has(i)&&jZ[t].has(s)}var $Z={minimize:function(e){var t=e.getTransitionTable(),r=Object.keys(t),n=e.getAlphabet(),i=e.getAcceptingStateNumbers();jZ={};var s=new Set;r.forEach((function(e){e=Number(e),i.has(e)?jZ[e]=i:(s.add(e),jZ[e]=s)}));var a=[[s,i].filter((function(e){return e.size>0}))],o=void 0,u=void 0;o=a[a.length-1],u=a[a.length-2];for(var l=function(){var e,r={},i=!0,s=!1,l=void 0;try{for(var c,p=o[Symbol.iterator]();!(i=(c=p.next()).done);i=!0){var d=c.value,h={},f=(e=d,Array.isArray(e)?e:Array.from(e)),m=f[0],y=f.slice(1);h[m]=new Set([m]);var g=!0,b=!1,v=void 0;try{e:for(var x,E=y[Symbol.iterator]();!(g=(x=E.next()).done);g=!0){var S=x.value,D=!0,T=!1,C=void 0;try{for(var A,P=Object.keys(h)[Symbol.iterator]();!(D=(A=P.next()).done);D=!0){var w=A.value;if(MZ(S,w,t,n)){h[w].add(S),h[S]=h[w];continue e}}}catch(e){T=!0,C=e}finally{try{!D&&P.return&&P.return()}finally{if(T)throw C}}h[S]=new Set([S])}}catch(e){b=!0,v=e}finally{try{!g&&E.return&&E.return()}finally{if(b)throw v}}Object.assign(r,h)}}catch(e){s=!0,l=e}finally{try{!i&&p.return&&p.return()}finally{if(s)throw l}}jZ=r;var k=new Set(Object.keys(r).map((function(e){return r[e]})));a.push([].concat(BZ(k))),o=a[a.length-1],u=a[a.length-2]};!LZ(o,u);)l();var c=new Map,p=1;o.forEach((function(e){return c.set(e,p++)}));var d={},h=new Set,f=function(e,t){var r=!0,n=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var u=a.value;i.has(u)&&h.add(t)}}catch(e){n=!0,s=e}finally{try{!r&&o.return&&o.return()}finally{if(n)throw s}}},m=!0,y=!1,g=void 0;try{for(var b,v=c.entries()[Symbol.iterator]();!(m=(b=v.next()).done);m=!0){var x=b.value,E=OZ(x,2),S=E[0],D=E[1];d[D]={};var T=!0,C=!1,A=void 0;try{for(var P,w=n[Symbol.iterator]();!(T=(P=w.next()).done);T=!0){var k=P.value;f(S,D);var I=void 0,N=!0,F=!1,_=void 0;try{for(var O,B=S[Symbol.iterator]();!(N=(O=B.next()).done);N=!0){var j=O.value;if(I=t[j][k])break}}catch(e){F=!0,_=e}finally{try{!N&&B.return&&B.return()}finally{if(F)throw _}}I&&(d[D][k]=c.get(jZ[I]))}}catch(e){C=!0,A=e}finally{try{!T&&w.return&&w.return()}finally{if(C)throw A}}}}catch(e){y=!0,g=e}finally{try{!m&&v.return&&v.return()}finally{if(y)throw g}}return e.setTransitionTable(d),e.setAcceptingStateNumbers(h),e}},UZ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function VZ(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var zZ=$Z,qZ=PZ.EPSILON_CLOSURE,WZ=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._nfa=t}return UZ(e,[{key:"minimize",value:function(){this.getTransitionTable(),this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._originalTransitionTable=this._transitionTable,zZ.minimize(this)}},{key:"getAlphabet",value:function(){return this._nfa.getAlphabet()}},{key:"getAcceptingStateNumbers",value:function(){return this._acceptingStateNumbers||this.getTransitionTable(),this._acceptingStateNumbers}},{key:"getOriginaAcceptingStateNumbers",value:function(){return this._originalAcceptingStateNumbers||this.getTransitionTable(),this._originalAcceptingStateNumbers}},{key:"setTransitionTable",value:function(e){this._transitionTable=e}},{key:"setAcceptingStateNumbers",value:function(e){this._acceptingStateNumbers=e}},{key:"getTransitionTable",value:function(){var e=this;if(this._transitionTable)return this._transitionTable;var t=this._nfa.getTransitionTable(),r=Object.keys(t);this._acceptingStateNumbers=new Set;for(var n=[t[r[0]][qZ]],i=this.getAlphabet(),s=this._nfa.getAcceptingStateNumbers(),a={},o=function(t){var r=!0,n=!1,i=void 0;try{for(var a,o=s[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var u=a.value;if(-1!==t.indexOf(u)){e._acceptingStateNumbers.add(t.join(","));break}}}catch(e){n=!0,i=e}finally{try{!r&&o.return&&o.return()}finally{if(n)throw i}}};n.length>0;){var u=n.shift(),l=u.join(",");a[l]={};var c=!0,p=!1,d=void 0;try{for(var h,f=i[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var m=h.value,y=[];o(u);var g=!0,b=!1,v=void 0;try{for(var x,E=u[Symbol.iterator]();!(g=(x=E.next()).done);g=!0){var S=t[x.value][m];if(S){var D=!0,T=!1,C=void 0;try{for(var A,P=S[Symbol.iterator]();!(D=(A=P.next()).done);D=!0){var w=A.value;t[w]&&y.push.apply(y,VZ(t[w][qZ]))}}catch(e){T=!0,C=e}finally{try{!D&&P.return&&P.return()}finally{if(T)throw C}}}}}catch(e){b=!0,v=e}finally{try{!g&&E.return&&E.return()}finally{if(b)throw v}}var k=new Set(y),I=[].concat(VZ(k));if(I.length>0){var N=I.join(",");a[l][m]=N,a.hasOwnProperty(N)||n.unshift(I)}}}catch(e){p=!0,d=e}finally{try{!c&&f.return&&f.return()}finally{if(p)throw d}}}return this._transitionTable=this._remapStateNumbers(a)}},{key:"_remapStateNumbers",value:function(e){var t={};this._originalTransitionTable=e;var r={};for(var n in Object.keys(e).forEach((function(e,r){t[e]=r+1})),e){var i=e[n],s={};for(var a in i)s[a]=t[i[a]];r[t[n]]=s}this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._acceptingStateNumbers=new Set;var o=!0,u=!1,l=void 0;try{for(var c,p=this._originalAcceptingStateNumbers[Symbol.iterator]();!(o=(c=p.next()).done);o=!0){var d=c.value;this._acceptingStateNumbers.add(t[d])}}catch(e){u=!0,l=e}finally{try{!o&&p.return&&p.return()}finally{if(u)throw l}}return r}},{key:"getOriginalTransitionTable",value:function(){return this._originalTransitionTable||this.getTransitionTable(),this._originalTransitionTable}},{key:"matches",value:function(e){for(var t=1,r=0,n=this.getTransitionTable();e[r];)if(!(t=n[t][e[r++]]))return!1;return!!this.getAcceptingStateNumbers().has(t)}}]),e}(),KZ=WZ,HZ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var JZ=function(){function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).accepting,r=void 0!==t&&t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._transitions=new Map,this.accepting=r}return HZ(e,[{key:"getTransitions",value:function(){return this._transitions}},{key:"addTransition",value:function(e,t){return this.getTransitionsOnSymbol(e).add(t),this}},{key:"getTransitionsOnSymbol",value:function(e){var t=this._transitions.get(e);return t||(t=new Set,this._transitions.set(e,t)),t}}]),e}(),XZ=JZ,GZ=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var YZ=XZ,QZ=PZ.EPSILON,ZZ=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,YZ),GZ(t,[{key:"matches",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(t.has(this))return!1;if(t.add(this),0===e.length){if(this.accepting)return!0;var r=!0,n=!1,i=void 0;try{for(var s,a=this.getTransitionsOnSymbol(QZ)[Symbol.iterator]();!(r=(s=a.next()).done);r=!0){if(s.value.matches("",t))return!0}}catch(e){n=!0,i=e}finally{try{!r&&a.return&&a.return()}finally{if(n)throw i}}return!1}var o=e[0],u=e.slice(1),l=this.getTransitionsOnSymbol(o),c=!0,p=!1,d=void 0;try{for(var h,f=l[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){if(h.value.matches(u))return!0}}catch(e){p=!0,d=e}finally{try{!c&&f.return&&f.return()}finally{if(p)throw d}}var m=!0,y=!1,g=void 0;try{for(var b,v=this.getTransitionsOnSymbol(QZ)[Symbol.iterator]();!(m=(b=v.next()).done);m=!0){if(b.value.matches(e,t))return!0}}catch(e){y=!0,g=e}finally{try{!m&&v.return&&v.return()}finally{if(y)throw g}}return!1}},{key:"getEpsilonClosure",value:function(){var e=this;return this._epsilonClosure||function(){var t=e.getTransitionsOnSymbol(QZ),r=e._epsilonClosure=new Set;r.add(e);var n=!0,i=!1,s=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var u=a.value;if(!r.has(u))r.add(u),u.getEpsilonClosure().forEach((function(e){return r.add(e)}))}}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}}(),this._epsilonClosure}}]),t}(),e0=_Z,t0=ZZ,r0=PZ.EPSILON;function n0(e){var t=new t0,r=new t0({accepting:!0});return new e0(t.addTransition(e,r),r)}function i0(e,t){return e.out.accepting=!1,t.out.accepting=!0,e.out.addTransition(r0,t.in),new e0(e.in,t.out)}function s0(e,t){var r=new t0,n=new t0;return r.addTransition(r0,e.in),r.addTransition(r0,t.in),n.accepting=!0,e.out.accepting=!1,t.out.accepting=!1,e.out.addTransition(r0,n),t.out.addTransition(r0,n),new e0(r,n)}var a0={alt:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=!0,s=!1,a=void 0;try{for(var o,u=r[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){e=i0(e,o.value)}}catch(e){s=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(s)throw a}}return e},char:n0,e:function(){return n0(r0)},or:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=!0,s=!1,a=void 0;try{for(var o,u=r[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){e=s0(e,o.value)}}catch(e){s=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(s)throw a}}return e},rep:function(e){return e.in.addTransition(r0,e.out),e.out.addTransition(r0,e.in),e},repExplicit:function(e){var t=new t0,r=new t0({accepting:!0});return t.addTransition(r0,e.in),t.addTransition(r0,r),e.out.accepting=!1,e.out.addTransition(r0,r),r.addTransition(r0,e.in),new e0(t,r)},plusRep:function(e){return e.out.addTransition(r0,e.in),e},questionRep:function(e){return e.in.addTransition(r0,e.out),e}};var o0=QY,u0=a0.alt,l0=a0.char,c0=a0.or,p0=a0.rep,d0=a0.plusRep,h0=a0.questionRep;function f0(e){if(e&&!m0[e.type])throw new Error(e.type+" is not supported in NFA/DFA interpreter.");return e?m0[e.type](e):""}var m0={RegExp:function(e){if(""!==e.flags)throw new Error("NFA/DFA: Flags are not supported yet.");return f0(e.body)},Alternative:function(e){var t=(e.expressions||[]).map(f0);return u0.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(t))},Disjunction:function(e){return c0(f0(e.left),f0(e.right))},Repetition:function(e){switch(e.quantifier.kind){case"*":return p0(f0(e.expression));case"+":return d0(f0(e.expression));case"?":return h0(f0(e.expression));default:throw new Error("Unknown repeatition: "+e.quantifier.kind+".")}},Char:function(e){if("simple"!==e.kind)throw new Error("NFA/DFA: Only simple chars are supported yet.");return l0(e.value)},Group:function(e){return f0(e.expression)}},y0={build:function(e){var t=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(t=o0.parse(e,{captureLocations:!0})),f0(t)}},g0=KZ,b0=y0,v0={NFA:_Z,DFA:g0,builders:a0,toNFA:function(e){return b0.build(e)},toDFA:function(e){return new g0(this.toNFA(e))},test:function(e,t){return this.toDFA(e).matches(t)}},x0=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var E0=function(){function e(t,r){var n=r.flags,i=r.groups,s=r.source;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._re=t,this._groups=i,this.flags=n,this.source=s||t.source,this.dotAll=n.includes("s"),this.global=t.global,this.ignoreCase=t.ignoreCase,this.multiline=t.multiline,this.sticky=t.sticky,this.unicode=t.unicode}return x0(e,[{key:"test",value:function(e){return this._re.test(e)}},{key:"compile",value:function(e){return this._re.compile(e)}},{key:"toString",value:function(){return this._toStringResult||(this._toStringResult="/"+this.source+"/"+this.flags),this._toStringResult}},{key:"exec",value:function(e){var t=this._re.exec(e);if(!this._groups||!t)return t;for(var r in t.groups={},this._groups){var n=this._groups[r];t.groups[r]=t[n]}return t}}]),e}(),S0=mQ,D0=rY,T0=AZ,C0=QY,A0=dQ,P0=aQ,w0={RegExpTree:E0}.RegExpTree,k0={parser:C0,fa:v0,TransformResult:A0.TransformResult,parse:function(e,t){return C0.parse(""+e,t)},traverse:function(e,t,r){return P0.traverse(e,t,r)},transform:function(e,t){return A0.transform(e,t)},generate:function(e){return D0.generate(e)},toRegExp:function(e){var t=this.compatTranspile(e);return new RegExp(t.getSource(),t.getFlags())},optimize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).blacklist;return T0.optimize(e,{whitelist:t,blacklist:r})},compatTranspile:function(e,t){return S0.transform(e,t)},exec:function(e,t){if("string"==typeof e){var r=this.compatTranspile(e),n=r.getExtra();e=n.namedCapturingGroups?new w0(r.toRegExp(),{flags:r.getFlags(),source:r.getSource(),groups:n.namedCapturingGroups}):r.toRegExp()}return e.exec(t)}};const I0=k0,N0=({type:e,kind:t})=>"Char"!==e||"simple"!==t;const F0=e=>{let t=!1;const r=I0.parse(e);return"Alternative"===r.body.type&&(I0.traverse(r,{RegExp({node:e}){const{expressions:r}=e.body;t=Boolean(r.find(N0))}}),!t)};var _0={isSimpleRegExp:F0},O0={};const{compareAny:B0}=RK,{template:j0}=rT,{ObjectPattern:L0,ObjectProperty:M0,isBlockStatement:R0,isFunction:$0,isLabeledStatement:U0,isObjectPattern:V0,isCallExpression:z0}=rh(),{entries:q0}=Object,W0=!0,K0=e=>e.isCallExpression()||e.isStatement(),H0=e=>z0(e.find(K0)),J0=({name:e})=>`Argument '${e}' is missing`;O0.addArgs=e=>({report:J0,fix:X0,traverse:G0(e)});const X0=({declaration:e,path:t,pattern:r,params:n,index:i})=>{const s=j0.ast.fresh(e);if(R0(s)){const e=function(e){if(!U0(e)){const{expression:t}=e;return M0(t,t,!1,W0)}const{label:t,body:r}=e;return M0(t,r.expression,!1,W0)}(s.body[0]);return r.properties.push(e),V0(n[i])?void 0:n.push(r)}t.scope.block.params=[s]},G0=e=>({push:t,options:r})=>{const n={...r.args,...e};return{ReferencedIdentifier(e){for(const[r,[i,s]]of q0(n)){if(e.node.name!==r)continue;if(e.scope.hasBinding(r))continue;if(!H0(e))continue;const n=e.find($0);if(!n)continue;const{block:a}=n.scope;if(!B0(e.scope.path,s))continue;const{params:o}=a,[u,l]=Y0(o);if(V0(l))return void t({name:r,index:u,declaration:i,path:e,params:o,pattern:l});t({name:r,index:u,declaration:i,path:e,params:o,pattern:L0([])})}}}};function Y0(e){for(const[t,r]of e.entries())if(V0(r))return[t,r];return[-1,null]}function Q0(e){return Array.isArray(e)?e:[e]}const Z0=/^\s+$/,e1=/(?:[^\\]|^)\\$/,t1=/^\\!/,r1=/^\\#/,n1=/\r?\n/g,i1=/^\.*\/|^\.+$/;let s1="node-ignore";"undefined"!=typeof Symbol&&(s1=Symbol.for("node-ignore"));const a1=s1,o1=/([0-z])-([0-z])/g,u1=()=>!1,l1=[[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>t+r.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,i)=>"\\"===t?`\\[${r}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(n)}${i}`:"]"===i&&n.length%2==0?`[${(e=>e.replace(o1,((e,t,r)=>t.charCodeAt(0)<=r.charCodeAt(0)?e:"")))(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],c1=Object.create(null),p1=e=>"string"==typeof e;class d1{constructor(e,t,r,n){this.origin=e,this.pattern=t,this.negative=r,this.regex=n}}const h1=(e,t)=>{const r=e;let n=!1;0===e.indexOf("!")&&(n=!0,e=e.substr(1));const i=((e,t)=>{let r=c1[e];return r||(r=l1.reduce(((t,r)=>t.replace(r[0],r[1].bind(e))),e),c1[e]=r),t?new RegExp(r,"i"):new RegExp(r)})(e=e.replace(t1,"!").replace(r1,"#"),t);return new d1(r,e,n,i)},f1=(e,t)=>{throw new t(e)},m1=(e,t,r)=>{if(!p1(e))return r(`path must be a string, but got \`${t}\``,TypeError);if(!e)return r("path must not be empty",TypeError);if(m1.isNotRelative(e)){return r(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},y1=e=>i1.test(e);m1.isNotRelative=y1,m1.convert=e=>e;class g1{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:r=!1}={}){((e,t,r)=>{Object.defineProperty(e,t,{value:r})})(this,a1,!0),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=r,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[a1])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&p1(e)&&!Z0.test(e)&&!e1.test(e)&&0!==e.indexOf("#"))(e)){const t=h1(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,Q0(p1(e)?(e=>e.split(n1))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let r=!1,n=!1;return this._rules.forEach((i=>{const{negative:s}=i;if(n===s&&r!==n||s&&!r&&!n&&!t)return;i.regex.test(e)&&(r=!s,n=s)})),{ignored:r,unignored:n}}_test(e,t,r,n){const i=e&&m1.convert(e);return m1(i,e,this._allowRelativePaths?u1:f1),this._t(i,t,r,n)}_t(e,t,r,n){if(e in t)return t[e];if(n||(n=e.split("/")),n.pop(),!n.length)return t[e]=this._testOne(e,r);const i=this._t(n.join("/")+"/",t,r,n);return t[e]=i.ignored?i:this._testOne(e,r)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return Q0(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const b1=e=>new g1(e);b1.isPathValid=e=>m1(e&&m1.convert(e),e,u1),b1.default=b1;var v1=b1;if("undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");m1.convert=e;const t=/^[a-z]:\//i;m1.isNotRelative=e=>t.test(e)||y1(e)}const{relative:x1}=a,E1=v1,S1=e=>!e.indexOf("!"),D1=e=>e.replace(/^!/,"");var T1=(e,t,r={})=>{const n=x1(e,t),i=E1(),s=function(e){for(const[t,r]of e.entries()){const n=e.indexOf(D1(r));S1(r)&&n>t&&(e[n]=r)}const t=new Set(e);return Array.from(t)}(r.ignore||[]);return i.add(s),e&&i.ignores(n)};const{codeFrameColumns:C1}=Xb;var A1,P1=({source:e,error:t,highlightCode:r=!0})=>{const{message:n,loc:i}=t;if(!i)return n;return C1(e,{start:i},{highlightCode:r,message:n})};function w1(){if(A1)return Bo.exports;A1=1;const e=VD().default,t=rh(),r=qW(),n=WW,{parse:i,print:s,generate:a,template:o}=rT,{cutShebang:u,mergeShebang:l}=LG,c=(e={})=>{const{parser:t="babel",printer:i=e.printer||"putout",fix:s=!0,fixCount:a=2,loadPlugins:o=r.loadPlugins,runPlugins:u=n.runPlugins}=e;return{...e,parser:t,printer:i,fix:s,fixCount:a,loadPlugins:o,runPlugins:u}};function p(e,t,r){r=c(r);const{plugins:n,cache:i,rules:s,fix:a,fixCount:o,loadPlugins:l,runPlugins:p}=r,[,d]=u(t);return p({ast:e,shebang:d,fix:a,fixCount:o,plugins:l({pluginNames:n,cache:i,rules:s})})}return Bo.exports=(e,t)=>{!function(e){if(t=e,"string"!=typeof t)throw Error(`☝️ Looks like 'source' has type '${typeof e}', expected: 'string'`);var t}(e),t=c(t);const{parser:r,isTS:n,isFlow:a,isJSX:o,sourceFileName:d,sourceMapName:h,printer:f}=t,[m,y]=u(e),g=i(m,{sourceFileName:d,parser:r,isTS:n,isFlow:a,isJSX:o,printer:f}),b=p(g,e,t);if(!t.fix)return{code:e,places:b};const v=s(g,{sourceMapName:h,printer:f});return{code:l(y,v),places:b}},Bo.exports.findPlaces=(e,t,r)=>p(e,t,{...r,fix:!1}),Bo.exports.transform=p,Bo.exports.parse=i,Bo.exports.print=s,Bo.exports.traverse=e,Bo.exports.types=t,Bo.exports.template=o,Bo.exports.generate=a,Bo.exports.initReport=MG,Bo.exports.operator={...TA,...RK,...RG,...qX,..._0,...O0},Bo.exports.ignores=T1,Bo.exports.codeframe=P1,Bo.exports}var k1=g(w1()),I1={};const N1=a,F1="\\\\/",_1=`[^${F1}]`,O1="\\.",B1="\\/",j1="[^/]",L1=`(?:${B1}|$)`,M1=`(?:^|${B1})`,R1=`${O1}{1,2}${L1}`,$1={DOT_LITERAL:O1,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:B1,ONE_CHAR:"(?=.)",QMARK:j1,END_ANCHOR:L1,DOTS_SLASH:R1,NO_DOT:`(?!${O1})`,NO_DOTS:`(?!${M1}${R1})`,NO_DOT_SLASH:`(?!${O1}{0,1}${L1})`,NO_DOTS_SLASH:`(?!${R1})`,QMARK_NO_DOT:`[^.${B1}]`,STAR:`${j1}*?`,START_ANCHOR:M1},U1={...$1,SLASH_LITERAL:`[${F1}]`,QMARK:_1,STAR:`${_1}*?`,DOTS_SLASH:`${O1}{1,2}(?:[${F1}]|$)`,NO_DOT:`(?!${O1})`,NO_DOTS:`(?!(?:^|[${F1}])${O1}{1,2}(?:[${F1}]|$))`,NO_DOT_SLASH:`(?!${O1}{0,1}(?:[${F1}]|$))`,NO_DOTS_SLASH:`(?!${O1}{1,2}(?:[${F1}]|$))`,QMARK_NO_DOT:`[^.${F1}]`,START_ANCHOR:`(?:^|[${F1}])`,END_ANCHOR:`(?:[${F1}]|$)`};var V1={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:N1.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?U1:$1};!function(e){const t=a,r="win32"===process.platform,{REGEX_BACKSLASH:n,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:o}=V1;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>s.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(o,"\\$1"),e.toPosixSlashes=e=>e.replace(n,"/"),e.removeBackslashes=e=>e.replace(i,(e=>"\\"===e?"":e)),e.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},e.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===r||"\\"===t.sep,e.escapeLast=(t,r,n)=>{const i=t.lastIndexOf(r,n);return-1===i?t:"\\"===t[i-1]?e.escapeLast(t,r,i-1):`${t.slice(0,i)}\\${t.slice(i)}`},e.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},e.wrapOutput=(e,t={},r={})=>{let n=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(n=`(?:^(?!${n}).*$)`),n}}(I1);const z1=I1,{CHAR_ASTERISK:q1,CHAR_AT:W1,CHAR_BACKWARD_SLASH:K1,CHAR_COMMA:H1,CHAR_DOT:J1,CHAR_EXCLAMATION_MARK:X1,CHAR_FORWARD_SLASH:G1,CHAR_LEFT_CURLY_BRACE:Y1,CHAR_LEFT_PARENTHESES:Q1,CHAR_LEFT_SQUARE_BRACKET:Z1,CHAR_PLUS:e2,CHAR_QUESTION_MARK:t2,CHAR_RIGHT_CURLY_BRACE:r2,CHAR_RIGHT_PARENTHESES:n2,CHAR_RIGHT_SQUARE_BRACKET:i2}=V1,s2=e=>e===G1||e===K1,a2=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};var o2=(e,t)=>{const r=t||{},n=e.length-1,i=!0===r.parts||!0===r.scanToEnd,s=[],a=[],o=[];let u,l,c=e,p=-1,d=0,h=0,f=!1,m=!1,y=!1,g=!1,b=!1,v=!1,x=!1,E=!1,S=!1,D=!1,T=0,C={value:"",depth:0,isGlob:!1};const A=()=>p>=n,P=()=>(u=l,c.charCodeAt(++p));for(;p<n;){let e;if(l=P(),l!==K1){if(!0===v||l===Y1){for(T++;!0!==A()&&(l=P());)if(l!==K1)if(l!==Y1){if(!0!==v&&l===J1&&(l=P())===J1){if(f=C.isBrace=!0,y=C.isGlob=!0,D=!0,!0===i)continue;break}if(!0!==v&&l===H1){if(f=C.isBrace=!0,y=C.isGlob=!0,D=!0,!0===i)continue;break}if(l===r2&&(T--,0===T)){v=!1,f=C.isBrace=!0,D=!0;break}}else T++;else x=C.backslashes=!0,P();if(!0===i)continue;break}if(l!==G1){if(!0!==r.noext){if(!0===(l===e2||l===W1||l===q1||l===t2||l===X1)&&c.charCodeAt(p+1)===Q1){if(y=C.isGlob=!0,g=C.isExtglob=!0,D=!0,l===X1&&p===d&&(S=!0),!0===i){for(;!0!==A()&&(l=P());)if(l!==K1){if(l===n2){y=C.isGlob=!0,D=!0;break}}else x=C.backslashes=!0,l=P();continue}break}}if(l===q1){if(u===q1&&(b=C.isGlobstar=!0),y=C.isGlob=!0,D=!0,!0===i)continue;break}if(l===t2){if(y=C.isGlob=!0,D=!0,!0===i)continue;break}if(l===Z1){for(;!0!==A()&&(e=P());)if(e!==K1){if(e===i2){m=C.isBracket=!0,y=C.isGlob=!0,D=!0;break}}else x=C.backslashes=!0,P();if(!0===i)continue;break}if(!0===r.nonegate||l!==X1||p!==d){if(!0!==r.noparen&&l===Q1){if(y=C.isGlob=!0,!0===i){for(;!0!==A()&&(l=P());)if(l!==Q1){if(l===n2){D=!0;break}}else x=C.backslashes=!0,l=P();continue}break}if(!0===y){if(D=!0,!0===i)continue;break}}else E=C.negated=!0,d++}else{if(s.push(p),a.push(C),C={value:"",depth:0,isGlob:!1},!0===D)continue;if(u===J1&&p===d+1){d+=2;continue}h=p+1}}else x=C.backslashes=!0,l=P(),l===Y1&&(v=!0)}!0===r.noext&&(g=!1,y=!1);let w=c,k="",I="";d>0&&(k=c.slice(0,d),c=c.slice(d),h-=d),w&&!0===y&&h>0?(w=c.slice(0,h),I=c.slice(h)):!0===y?(w="",I=c):w=c,w&&""!==w&&"/"!==w&&w!==c&&s2(w.charCodeAt(w.length-1))&&(w=w.slice(0,-1)),!0===r.unescape&&(I&&(I=z1.removeBackslashes(I)),w&&!0===x&&(w=z1.removeBackslashes(w)));const N={prefix:k,input:e,start:d,base:w,glob:I,isBrace:f,isBracket:m,isGlob:y,isExtglob:g,isGlobstar:b,negated:E,negatedExtglob:S};if(!0===r.tokens&&(N.maxDepth=0,s2(l)||a.push(C),N.tokens=a),!0===r.parts||!0===r.tokens){let t;for(let n=0;n<s.length;n++){const i=t?t+1:d,u=s[n],l=e.slice(i,u);r.tokens&&(0===n&&0!==d?(a[n].isPrefix=!0,a[n].value=k):a[n].value=l,a2(a[n]),N.maxDepth+=a[n].depth),0===n&&""===l||o.push(l),t=u}if(t&&t+1<e.length){const n=e.slice(t+1);o.push(n),r.tokens&&(a[a.length-1].value=n,a2(a[a.length-1]),N.maxDepth+=a[a.length-1].depth)}N.slashes=s,N.parts=o}return N};const u2=V1,l2=I1,{MAX_LENGTH:c2,POSIX_REGEX_SOURCE:p2,REGEX_NON_SPECIAL_CHARS:d2,REGEX_SPECIAL_CHARS_BACKREF:h2,REPLACEMENTS:f2}=u2,m2=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>l2.escapeRegex(e))).join("..")}return r},y2=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,g2=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=f2[e]||e;const r={...t},n="number"==typeof r.maxLength?Math.min(c2,r.maxLength):c2;let i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);const s={type:"bos",value:"",output:r.prepend||""},a=[s],o=r.capture?"":"?:",u=l2.isWindows(t),l=u2.globChars(u),c=u2.extglobChars(l),{DOT_LITERAL:p,PLUS_LITERAL:d,SLASH_LITERAL:h,ONE_CHAR:f,DOTS_SLASH:m,NO_DOT:y,NO_DOT_SLASH:g,NO_DOTS_SLASH:b,QMARK:v,QMARK_NO_DOT:x,STAR:E,START_ANCHOR:S}=l,D=e=>`(${o}(?:(?!${S}${e.dot?m:p}).)*?)`,T=r.dot?"":y,C=r.dot?v:x;let A=!0===r.bash?D(r):E;r.capture&&(A=`(${A})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const P={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};e=l2.removePrefix(e,P),i=e.length;const w=[],k=[],I=[];let N,F=s;const _=()=>P.index===i-1,O=P.peek=(t=1)=>e[P.index+t],B=P.advance=()=>e[++P.index]||"",j=()=>e.slice(P.index+1),L=(e="",t=0)=>{P.consumed+=e,P.index+=t},M=e=>{P.output+=null!=e.output?e.output:e.value,L(e.value)},R=()=>{let e=1;for(;"!"===O()&&("("!==O(2)||"?"===O(3));)B(),P.start++,e++;return e%2!=0&&(P.negated=!0,P.start++,!0)},$=e=>{P[e]++,I.push(e)},U=e=>{P[e]--,I.pop()},V=e=>{if("globstar"===F.type){const t=P.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||w.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(P.output=P.output.slice(0,-F.output.length),F.type="star",F.value="*",F.output=A,P.output+=F.output)}if(w.length&&"paren"!==e.type&&(w[w.length-1].inner+=e.value),(e.value||e.output)&&M(e),F&&"text"===F.type&&"text"===e.type)return F.value+=e.value,void(F.output=(F.output||"")+e.value);e.prev=F,a.push(e),F=e},z=(e,t)=>{const n={...c[t],conditions:1,inner:""};n.prev=F,n.parens=P.parens,n.output=P.output;const i=(r.capture?"(":"")+n.open;$("parens"),V({type:e,value:t,output:P.output?"":f}),V({type:"paren",extglob:!0,value:B(),output:i}),w.push(n)},q=e=>{let n,i=e.close+(r.capture?")":"");if("negate"===e.type){let s=A;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(s=D(r)),(s!==A||_()||/^\)+$/.test(j()))&&(i=e.close=`)$))${s}`),e.inner.includes("*")&&(n=j())&&/^\.[^\\/.]+$/.test(n)){const r=g2(n,{...t,fastpaths:!1}).output;i=e.close=`)${r})${s})`}"bos"===e.prev.type&&(P.negatedExtglob=!0)}V({type:"paren",extglob:!0,value:N,output:i}),U("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=!1,i=e.replace(h2,((e,t,r,i,s,a)=>"\\"===i?(n=!0,e):"?"===i?t?t+i+(s?v.repeat(s.length):""):0===a?C+(s?v.repeat(s.length):""):v.repeat(r.length):"."===i?p.repeat(r.length):"*"===i?t?t+i+(s?A:""):A:t?e:`\\${e}`));return!0===n&&(i=!0===r.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===r.contains?(P.output=e,P):(P.output=l2.wrapOutput(i,P,t),P)}for(;!_();){if(N=B(),"\0"===N)continue;if("\\"===N){const e=O();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){N+="\\",V({type:"text",value:N});continue}const t=/^\\+/.exec(j());let n=0;if(t&&t[0].length>2&&(n=t[0].length,P.index+=n,n%2!=0&&(N+="\\")),!0===r.unescape?N=B():N+=B(),0===P.brackets){V({type:"text",value:N});continue}}if(P.brackets>0&&("]"!==N||"["===F.value||"[^"===F.value)){if(!1!==r.posix&&":"===N){const e=F.value.slice(1);if(e.includes("[")&&(F.posix=!0,e.includes(":"))){const e=F.value.lastIndexOf("["),t=F.value.slice(0,e),r=F.value.slice(e+2),n=p2[r];if(n){F.value=t+n,P.backtrack=!0,B(),s.output||1!==a.indexOf(F)||(s.output=f);continue}}}("["===N&&":"!==O()||"-"===N&&"]"===O())&&(N=`\\${N}`),"]"!==N||"["!==F.value&&"[^"!==F.value||(N=`\\${N}`),!0===r.posix&&"!"===N&&"["===F.value&&(N="^"),F.value+=N,M({value:N});continue}if(1===P.quotes&&'"'!==N){N=l2.escapeRegex(N),F.value+=N,M({value:N});continue}if('"'===N){P.quotes=1===P.quotes?0:1,!0===r.keepQuotes&&V({type:"text",value:N});continue}if("("===N){$("parens"),V({type:"paren",value:N});continue}if(")"===N){if(0===P.parens&&!0===r.strictBrackets)throw new SyntaxError(y2("opening","("));const e=w[w.length-1];if(e&&P.parens===e.parens+1){q(w.pop());continue}V({type:"paren",value:N,output:P.parens?")":"\\)"}),U("parens");continue}if("["===N){if(!0!==r.nobracket&&j().includes("]"))$("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(y2("closing","]"));N=`\\${N}`}V({type:"bracket",value:N});continue}if("]"===N){if(!0===r.nobracket||F&&"bracket"===F.type&&1===F.value.length){V({type:"text",value:N,output:`\\${N}`});continue}if(0===P.brackets){if(!0===r.strictBrackets)throw new SyntaxError(y2("opening","["));V({type:"text",value:N,output:`\\${N}`});continue}U("brackets");const e=F.value.slice(1);if(!0===F.posix||"^"!==e[0]||e.includes("/")||(N=`/${N}`),F.value+=N,M({value:N}),!1===r.literalBrackets||l2.hasRegexChars(e))continue;const t=l2.escapeRegex(F.value);if(P.output=P.output.slice(0,-F.value.length),!0===r.literalBrackets){P.output+=t,F.value=t;continue}F.value=`(${o}${t}|${F.value})`,P.output+=F.value;continue}if("{"===N&&!0!==r.nobrace){$("braces");const e={type:"brace",value:N,output:"(",outputIndex:P.output.length,tokensIndex:P.tokens.length};k.push(e),V(e);continue}if("}"===N){const e=k[k.length-1];if(!0===r.nobrace||!e){V({type:"text",value:N,output:N});continue}let t=")";if(!0===e.dots){const e=a.slice(),n=[];for(let t=e.length-1;t>=0&&(a.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&n.unshift(e[t].value);t=m2(n,r),P.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=P.output.slice(0,e.outputIndex),n=P.tokens.slice(e.tokensIndex);e.value=e.output="\\{",N=t="\\}",P.output=r;for(const e of n)P.output+=e.output||e.value}V({type:"brace",value:N,output:t}),U("braces"),k.pop();continue}if("|"===N){w.length>0&&w[w.length-1].conditions++,V({type:"text",value:N});continue}if(","===N){let e=N;const t=k[k.length-1];t&&"braces"===I[I.length-1]&&(t.comma=!0,e="|"),V({type:"comma",value:N,output:e});continue}if("/"===N){if("dot"===F.type&&P.index===P.start+1){P.start=P.index+1,P.consumed="",P.output="",a.pop(),F=s;continue}V({type:"slash",value:N,output:h});continue}if("."===N){if(P.braces>0&&"dot"===F.type){"."===F.value&&(F.output=p);const e=k[k.length-1];F.type="dots",F.output+=N,F.value+=N,e.dots=!0;continue}if(P.braces+P.parens===0&&"bos"!==F.type&&"slash"!==F.type){V({type:"text",value:N,output:p});continue}V({type:"dot",value:N,output:p});continue}if("?"===N){if(!(F&&"("===F.value)&&!0!==r.noextglob&&"("===O()&&"?"!==O(2)){z("qmark",N);continue}if(F&&"paren"===F.type){const e=O();let t=N;if("<"===e&&!l2.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===F.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(j()))&&(t=`\\${N}`),V({type:"text",value:N,output:t});continue}if(!0!==r.dot&&("slash"===F.type||"bos"===F.type)){V({type:"qmark",value:N,output:x});continue}V({type:"qmark",value:N,output:v});continue}if("!"===N){if(!0!==r.noextglob&&"("===O()&&("?"!==O(2)||!/[!=<:]/.test(O(3)))){z("negate",N);continue}if(!0!==r.nonegate&&0===P.index){R();continue}}if("+"===N){if(!0!==r.noextglob&&"("===O()&&"?"!==O(2)){z("plus",N);continue}if(F&&"("===F.value||!1===r.regex){V({type:"plus",value:N,output:d});continue}if(F&&("bracket"===F.type||"paren"===F.type||"brace"===F.type)||P.parens>0){V({type:"plus",value:N});continue}V({type:"plus",value:d});continue}if("@"===N){if(!0!==r.noextglob&&"("===O()&&"?"!==O(2)){V({type:"at",extglob:!0,value:N,output:""});continue}V({type:"text",value:N});continue}if("*"!==N){"$"!==N&&"^"!==N||(N=`\\${N}`);const e=d2.exec(j());e&&(N+=e[0],P.index+=e[0].length),V({type:"text",value:N});continue}if(F&&("globstar"===F.type||!0===F.star)){F.type="star",F.star=!0,F.value+=N,F.output=A,P.backtrack=!0,P.globstar=!0,L(N);continue}let t=j();if(!0!==r.noextglob&&/^\([^?]/.test(t)){z("star",N);continue}if("star"===F.type){if(!0===r.noglobstar){L(N);continue}const n=F.prev,i=n.prev,s="slash"===n.type||"bos"===n.type,a=i&&("star"===i.type||"globstar"===i.type);if(!0===r.bash&&(!s||t[0]&&"/"!==t[0])){V({type:"star",value:N,output:""});continue}const o=P.braces>0&&("comma"===n.type||"brace"===n.type),u=w.length&&("pipe"===n.type||"paren"===n.type);if(!s&&"paren"!==n.type&&!o&&!u){V({type:"star",value:N,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[P.index+4];if(r&&"/"!==r)break;t=t.slice(3),L("/**",3)}if("bos"===n.type&&_()){F.type="globstar",F.value+=N,F.output=D(r),P.output=F.output,P.globstar=!0,L(N);continue}if("slash"===n.type&&"bos"!==n.prev.type&&!a&&_()){P.output=P.output.slice(0,-(n.output+F.output).length),n.output=`(?:${n.output}`,F.type="globstar",F.output=D(r)+(r.strictSlashes?")":"|$)"),F.value+=N,P.globstar=!0,P.output+=n.output+F.output,L(N);continue}if("slash"===n.type&&"bos"!==n.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";P.output=P.output.slice(0,-(n.output+F.output).length),n.output=`(?:${n.output}`,F.type="globstar",F.output=`${D(r)}${h}|${h}${e})`,F.value+=N,P.output+=n.output+F.output,P.globstar=!0,L(N+B()),V({type:"slash",value:"/",output:""});continue}if("bos"===n.type&&"/"===t[0]){F.type="globstar",F.value+=N,F.output=`(?:^|${h}|${D(r)}${h})`,P.output=F.output,P.globstar=!0,L(N+B()),V({type:"slash",value:"/",output:""});continue}P.output=P.output.slice(0,-F.output.length),F.type="globstar",F.output=D(r),F.value+=N,P.output+=F.output,P.globstar=!0,L(N);continue}const n={type:"star",value:N,output:A};!0!==r.bash?!F||"bracket"!==F.type&&"paren"!==F.type||!0!==r.regex?(P.index!==P.start&&"slash"!==F.type&&"dot"!==F.type||("dot"===F.type?(P.output+=g,F.output+=g):!0===r.dot?(P.output+=b,F.output+=b):(P.output+=T,F.output+=T),"*"!==O()&&(P.output+=f,F.output+=f)),V(n)):(n.output=N,V(n)):(n.output=".*?","bos"!==F.type&&"slash"!==F.type||(n.output=T+n.output),V(n))}for(;P.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(y2("closing","]"));P.output=l2.escapeLast(P.output,"["),U("brackets")}for(;P.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(y2("closing",")"));P.output=l2.escapeLast(P.output,"("),U("parens")}for(;P.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(y2("closing","}"));P.output=l2.escapeLast(P.output,"{"),U("braces")}if(!0===r.strictSlashes||"star"!==F.type&&"bracket"!==F.type||V({type:"maybe_slash",value:"",output:`${h}?`}),!0===P.backtrack){P.output="";for(const e of P.tokens)P.output+=null!=e.output?e.output:e.value,e.suffix&&(P.output+=e.suffix)}return P};g2.fastpaths=(e,t)=>{const r={...t},n="number"==typeof r.maxLength?Math.min(c2,r.maxLength):c2,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=f2[e]||e;const s=l2.isWindows(t),{DOT_LITERAL:a,SLASH_LITERAL:o,ONE_CHAR:u,DOTS_SLASH:l,NO_DOT:c,NO_DOTS:p,NO_DOTS_SLASH:d,STAR:h,START_ANCHOR:f}=u2.globChars(s),m=r.dot?p:c,y=r.dot?d:c,g=r.capture?"":"?:";let b=!0===r.bash?".*?":h;r.capture&&(b=`(${b})`);const v=e=>!0===e.noglobstar?b:`(${g}(?:(?!${f}${e.dot?l:a}).)*?)`,x=e=>{switch(e){case"*":return`${m}${u}${b}`;case".*":return`${a}${u}${b}`;case"*.*":return`${m}${b}${a}${u}${b}`;case"*/*":return`${m}${b}${o}${u}${y}${b}`;case"**":return m+v(r);case"**/*":return`(?:${m}${v(r)}${o})?${y}${u}${b}`;case"**/*.*":return`(?:${m}${v(r)}${o})?${y}${b}${a}${u}${b}`;case"**/.*":return`(?:${m}${v(r)}${o})?${a}${u}${b}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=x(t[1]);if(!r)return;return r+a+t[2]}}},E=l2.removePrefix(e,{negated:!1,prefix:""});let S=x(E);return S&&!0!==r.strictSlashes&&(S+=`${o}?`),S};const b2=a,v2=o2,x2=g2,E2=I1,S2=V1,D2=(e,t,r=!1)=>{if(Array.isArray(e)){const n=e.map((e=>D2(e,t,r))),i=e=>{for(const t of n){const r=t(e);if(r)return r}return!1};return i}const n=(i=e)&&"object"==typeof i&&!Array.isArray(i)&&e.tokens&&e.input;var i;if(""===e||"string"!=typeof e&&!n)throw new TypeError("Expected pattern to be a non-empty string");const s=t||{},a=E2.isWindows(t),o=n?D2.compileRe(e,t):D2.makeRe(e,t,!1,!0),u=o.state;delete o.state;let l=()=>!1;if(s.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};l=D2(s.ignore,e,r)}const c=(r,n=!1)=>{const{isMatch:i,match:c,output:p}=D2.test(r,o,t,{glob:e,posix:a}),d={glob:e,state:u,regex:o,posix:a,input:r,output:p,match:c,isMatch:i};return"function"==typeof s.onResult&&s.onResult(d),!1===i?(d.isMatch=!1,!!n&&d):l(r)?("function"==typeof s.onIgnore&&s.onIgnore(d),d.isMatch=!1,!!n&&d):("function"==typeof s.onMatch&&s.onMatch(d),!n||d)};return r&&(c.state=u),c};D2.test=(e,t,r,{glob:n,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const s=r||{},a=s.format||(i?E2.toPosixSlashes:null);let o=e===n,u=o&&a?a(e):e;return!1===o&&(u=a?a(e):e,o=u===n),!1!==o&&!0!==s.capture||(o=!0===s.matchBase||!0===s.basename?D2.matchBase(e,t,r,i):t.exec(u)),{isMatch:Boolean(o),match:o,output:u}},D2.matchBase=(e,t,r,n=E2.isWindows(r))=>(t instanceof RegExp?t:D2.makeRe(t,r)).test(b2.basename(e)),D2.isMatch=(e,t,r)=>D2(t,r)(e),D2.parse=(e,t)=>Array.isArray(e)?e.map((e=>D2.parse(e,t))):x2(e,{...t,fastpaths:!1}),D2.scan=(e,t)=>v2(e,t),D2.compileRe=(e,t,r=!1,n=!1)=>{if(!0===r)return e.output;const i=t||{},s=i.contains?"":"^",a=i.contains?"":"$";let o=`${s}(?:${e.output})${a}`;e&&!0===e.negated&&(o=`^(?!${o}).*$`);const u=D2.toRegex(o,t);return!0===n&&(u.state=e),u},D2.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(i.output=x2.fastpaths(e,t)),i.output||(i=x2(e,t)),D2.compileRe(i,t,r,n)},D2.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},D2.constants=S2;var T2=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===C2}(e)}(e)};var C2="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function A2(e,t){return!1!==t.clone&&t.isMergeableObject(e)?N2((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function P2(e,t,r){return e.concat(t).map((function(e){return A2(e,r)}))}function w2(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function k2(e,t){try{return t in e}catch(e){return!1}}function I2(e,t,r){var n={};return r.isMergeableObject(e)&&w2(e).forEach((function(t){n[t]=A2(e[t],r)})),w2(t).forEach((function(i){(function(e,t){return k2(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(k2(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return N2;var r=t.customMerge(e);return"function"==typeof r?r:N2}(i,r)(e[i],t[i],r):n[i]=A2(t[i],r))})),n}function N2(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||P2,r.isMergeableObject=r.isMergeableObject||T2,r.cloneUnlessOtherwiseSpecified=A2;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):I2(e,t,r):A2(t,r)}N2.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return N2(e,r,t)}),{})};var F2,_2={exports:{}},O2={},B2={},j2={},L2={},M2={},R2={};function $2(){return F2||(F2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(t){if(super(),!e.IDENTIFIER.test(t))throw new Error("CodeGen: name must be a valid identifier");this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const r=[e[0]];let i=0;for(;i<t.length;)o(r,t[i]),r.push(e[++i]);return new n(r)}e._Code=n,e.nil=new n(""),e._=i;const s=new n("+");function a(e,...t){const r=[l(e[0])];let i=0;for(;i<t.length;)r.push(s),o(r,t[i]),r.push(s,l(e[++i]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===s){const r=u(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(r),new n(r)}function o(e,t){var i;t instanceof n?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(i=t)||"boolean"==typeof i||null===i?i:l(Array.isArray(i)?i.join(","):i))}function u(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function l(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.str=a,e.addCodeArg=o,e.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},e.stringify=function(e){return new n(l(e))},e.safeStringify=l,e.getProperty=function(t){return"string"==typeof t&&e.IDENTIFIER.test(t)?new n(`.${t}`):i`[${t}]`},e.getEsmExportName=function(t){if("string"==typeof t&&e.IDENTIFIER.test(t))return new n(`${t}`);throw new Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)},e.regexpCode=function(e){return new n(e.toString())}}(R2)),R2}var U2,V2,z2={};function q2(){return U2||(U2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=$2();class r extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var n;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(n=e.UsedValueState||(e.UsedValueState={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class i{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof t.Name?e:this.name(e)}name(e){return new t.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}e.Scope=i;class s extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:r,itemIndex:n}){this.value=e,this.scopePath=t._`.${new t.Name(r)}[${n}]`}}e.ValueScopeName=s;const a=t._`\n`;e.ValueScope=class extends i{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?a:t.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e),{prefix:i}=n,s=null!==(r=t.key)&&void 0!==r?r:t.ref;let a=this._values[i];if(a){const e=a.get(s);if(e)return e}else a=this._values[i]=new Map;a.set(s,n);const o=this._scope[i]||(this._scope[i]=[]),u=o.length;return o[u]=t.ref,n.setValue(t,{property:i,itemIndex:u}),n}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e,r=this._values){return this._reduceValues(r,(r=>{if(void 0===r.scopePath)throw new Error(`CodeGen: name "${r}" has no value`);return t._`${e}${r.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(i,s,a={},o){let u=t.nil;for(const l in i){const c=i[l];if(!c)continue;const p=a[l]=a[l]||new Map;c.forEach((i=>{if(p.has(i))return;p.set(i,n.Started);let a=s(i);if(a){const r=this.opts.es5?e.varKinds.var:e.varKinds.const;u=t._`${u}${r} ${i} = ${a};${this.opts._n}`}else{if(!(a=null==o?void 0:o(i)))throw new r(i);u=t._`${u}${a}${this.opts._n}`}p.set(i,n.Completed)}))}return u}}}(z2)),z2}function W2(){return V2||(V2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=$2(),r=q2();var n=$2();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=q2();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class a extends s{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){const n=e?r.varKinds.var:this.varKind,i=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=k(this.rhs,e,t)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class o extends s{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,r){if(!(this.lhs instanceof t.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=k(this.rhs,e,r),this}get names(){return w(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}}class u extends o{constructor(e,t,r,n){super(e,r,n),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class l extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class c extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class p extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class d extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=k(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class h extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;for(;n--;){const i=r[n];i.optimizeNames(e,t)||(I(e,i.names),r.splice(n,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>P(e,t.names)),{})}}class f extends h{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class m extends h{}class y extends f{}y.kind="else";class g extends f{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new y(e):e}return t?!1===e?t instanceof g?t:t.nodes:this.nodes.length?this:new g(N(e),t instanceof g?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=k(this.condition,e,t),this}get names(){const e=super.names;return w(e,this.condition),this.else&&P(e,this.else.names),e}}g.kind="if";class b extends f{}b.kind="for";class v extends b{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=k(this.iteration,e,t),this}get names(){return P(super.names,this.iteration.names)}}class x extends b{constructor(e,t,r,n){super(),this.varKind=e,this.name=t,this.from=r,this.to=n}render(e){const t=e.es5?r.varKinds.var:this.varKind,{name:n,from:i,to:s}=this;return`for(${t} ${n}=${i}; ${n}<${s}; ${n}++)`+super.render(e)}get names(){const e=w(super.names,this.from);return w(e,this.to)}}class E extends b{constructor(e,t,r,n){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=k(this.iterable,e,t),this}get names(){return P(super.names,this.iterable.names)}}class S extends f{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}S.kind="func";class D extends h{render(e){return"return "+super.render(e)}}D.kind="return";class T extends f{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,n;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(n=this.finally)||void 0===n||n.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&P(e,this.catch.names),this.finally&&P(e,this.finally.names),e}}class C extends f{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}C.kind="catch";class A extends f{render(e){return"finally"+super.render(e)}}A.kind="finally";function P(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function w(e,r){return r instanceof t._CodeOrName?P(e,r.names):e}function k(e,r,n){return e instanceof t.Name?i(e):function(e){return e instanceof t._Code&&e._items.some((e=>e instanceof t.Name&&1===r[e.str]&&void 0!==n[e.str]))}(e)?new t._Code(e._items.reduce(((e,r)=>(r instanceof t.Name&&(r=i(r)),r instanceof t._Code?e.push(...r._items):e.push(r),e)),[])):e;function i(e){const t=n[e.str];return void 0===t||1!==r[e.str]?e:(delete r[e.str],t)}}function I(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function N(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:t._`!${B(e)}`}e.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new r.Scope({parent:e}),this._nodes=[new m]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const i=this._scope.toName(t);return void 0!==r&&n&&(this._constants[i.str]=r),this._leafNode(new a(e,i,r)),i}const(e,t,n){return this._def(r.varKinds.const,e,t,n)}let(e,t,n){return this._def(r.varKinds.let,e,t,n)}var(e,t,n){return this._def(r.varKinds.var,e,t,n)}assign(e,t,r){return this._leafNode(new o(e,t,r))}add(t,r){return this._leafNode(new u(t,e.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==t.nil&&this._leafNode(new d(e)),this}object(...e){const r=["{"];for(const[n,i]of e)r.length>1&&r.push(","),r.push(n),(n!==i||this.opts.es5)&&(r.push(":"),(0,t.addCodeArg)(r,i));return r.push("}"),new t._Code(r)}if(e,t,r){if(this._blockNode(new g(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new g(e))}else(){return this._elseNode(new y)}endIf(){return this._endBlockNode(g,y)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new v(e),t)}forRange(e,t,n,i,s=(this.opts.es5?r.varKinds.var:r.varKinds.let)){const a=this._scope.toName(e);return this._for(new x(s,a,t,n),(()=>i(a)))}forOf(e,n,i,s=r.varKinds.const){const a=this._scope.toName(e);if(this.opts.es5){const e=n instanceof t.Name?n:this.var("_arr",n);return this.forRange("_i",0,t._`${e}.length`,(r=>{this.var(a,t._`${e}[${r}]`),i(a)}))}return this._for(new E("of",s,a,n),(()=>i(a)))}forIn(e,n,i,s=(this.opts.es5?r.varKinds.var:r.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,t._`Object.keys(${n})`,i);const a=this._scope.toName(e);return this._for(new E("in",s,a,n),(()=>i(a)))}endFor(){return this._endBlockNode(b)}label(e){return this._leafNode(new l(e))}break(e){return this._leafNode(new c(e))}return(e){const t=new D;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(D)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new T;if(this._blockNode(n),this.code(e),t){const e=this.name("e");this._currNode=n.catch=new C(e),t(e)}return r&&(this._currNode=n.finally=new A,this.code(r)),this._endBlockNode(C,A)}throw(e){return this._leafNode(new p(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,r=t.nil,n,i){return this._blockNode(new S(e,r,n)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof g))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},e.not=N;const F=O(e.operators.AND);e.and=function(...e){return e.reduce(F)};const _=O(e.operators.OR);function O(e){return(r,n)=>r===t.nil?n:n===t.nil?r:t._`${B(r)} ${e} ${B(n)}`}function B(e){return e instanceof t.Name?e:t._`(${e})`}e.or=function(...e){return e.reduce(_)}}(M2)),M2}var K2={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;const t=W2(),r=$2();function n(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if("boolean"==typeof t)return;const i=n.RULES.keywords;for(const r in t)i[r]||d(e,`unknown keyword: "${r}"`)}function i(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function a(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function o({mergeNames:e,mergeToName:r,mergeValues:n,resultToName:i}){return(s,a,o,u)=>{const l=void 0===o?a:o instanceof t.Name?(a instanceof t.Name?e(s,a,o):r(s,a,o),o):a instanceof t.Name?(r(s,o,a),a):n(a,o);return u!==t.Name||l instanceof t.Name?l:i(s,l)}}function u(e,r){if(!0===r)return e.var("props",!0);const n=e.var("props",t._`{}`);return void 0!==r&&l(e,n,r),n}function l(e,r,n){Object.keys(n).forEach((n=>e.assign(t._`${r}${(0,t.getProperty)(n)}`,!0)))}e.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},e.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(n(e,t),!i(t,e.self.RULES.all))},e.checkUnknownRules=n,e.schemaHasRules=i,e.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},e.schemaRefOrVal=function({topSchemaRef:e,schemaPath:r},n,i,s){if(!s){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return t._`${n}`}return t._`${e}${r}${(0,t.getProperty)(i)}`},e.unescapeFragment=function(e){return a(decodeURIComponent(e))},e.escapeFragment=function(e){return encodeURIComponent(s(e))},e.escapeJsonPointer=s,e.unescapeJsonPointer=a,e.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},e.mergeEvaluated={props:o({mergeNames:(e,r,n)=>e.if(t._`${n} !== true && ${r} !== undefined`,(()=>{e.if(t._`${r} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,t._`${n} || {}`).code(t._`Object.assign(${n}, ${r})`)))})),mergeToName:(e,r,n)=>e.if(t._`${n} !== true`,(()=>{!0===r?e.assign(n,!0):(e.assign(n,t._`${n} || {}`),l(e,n,r))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:o({mergeNames:(e,r,n)=>e.if(t._`${n} !== true && ${r} !== undefined`,(()=>e.assign(n,t._`${r} === true ? true : ${n} > ${r} ? ${n} : ${r}`))),mergeToName:(e,r,n)=>e.if(t._`${n} !== true`,(()=>e.assign(n,!0===r||t._`${n} > ${r} ? ${n} : ${r}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},e.evaluatedPropsToName=u,e.setEvaluated=l;const c={};var p;function d(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}e.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:c[t.code]||(c[t.code]=new r._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(p=e.Type||(e.Type={})),e.getErrorPath=function(e,r,n){if(e instanceof t.Name){const i=r===p.Num;return n?i?t._`"[" + ${e} + "]"`:t._`"['" + ${e} + "']"`:i?t._`"/" + ${e}`:t._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,t.getProperty)(e).toString():"/"+s(e)},e.checkStrictMode=d}(K2);var H2,J2,X2,G2={};function Y2(){if(H2)return G2;H2=1,Object.defineProperty(G2,"__esModule",{value:!0});const e=W2(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return G2.default=t,G2}function Q2(){return J2||(J2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=W2(),r=K2,n=Y2();function i(e,r){const i=e.const("err",r);e.if(t._`${n.default.vErrors} === null`,(()=>e.assign(n.default.vErrors,t._`[${i}]`)),t._`${n.default.vErrors}.push(${i})`),e.code(t._`${n.default.errors}++`)}function s(e,r){const{gen:n,validateName:i,schemaEnv:s}=e;s.$async?n.throw(t._`new ${e.ValidationError}(${r})`):(n.assign(t._`${i}.errors`,r),n.return(!1))}e.keywordError={message:({keyword:e})=>t.str`must pass "${e}" keyword validation`},e.keyword$DataError={message:({keyword:e,schemaType:r})=>r?t.str`"${e}" keyword must be ${r} ($data)`:t.str`"${e}" keyword is invalid ($data)`},e.reportError=function(r,n=e.keywordError,a,u){const{it:l}=r,{gen:c,compositeRule:p,allErrors:d}=l,h=o(r,n,a);(null!=u?u:p||d)?i(c,h):s(l,t._`[${h}]`)},e.reportExtraError=function(t,r=e.keywordError,a){const{it:u}=t,{gen:l,compositeRule:c,allErrors:p}=u;i(l,o(t,r,a)),c||p||s(u,n.default.vErrors)},e.resetErrorsCount=function(e,r){e.assign(n.default.errors,r),e.if(t._`${n.default.vErrors} !== null`,(()=>e.if(r,(()=>e.assign(t._`${n.default.vErrors}.length`,r)),(()=>e.assign(n.default.vErrors,null)))))},e.extendErrors=function({gen:e,keyword:r,schemaValue:i,data:s,errsCount:a,it:o}){if(void 0===a)throw new Error("ajv implementation error");const u=e.name("err");e.forRange("i",a,n.default.errors,(a=>{e.const(u,t._`${n.default.vErrors}[${a}]`),e.if(t._`${u}.instancePath === undefined`,(()=>e.assign(t._`${u}.instancePath`,(0,t.strConcat)(n.default.instancePath,o.errorPath)))),e.assign(t._`${u}.schemaPath`,t.str`${o.errSchemaPath}/${r}`),o.opts.verbose&&(e.assign(t._`${u}.schema`,i),e.assign(t._`${u}.data`,s))}))};const a={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function o(e,r,i){const{createErrors:s}=e.it;return!1===s?t._`{}`:function(e,r,i={}){const{gen:s,it:o}=e,c=[u(o,i),l(e,i)];return function(e,{params:r,message:i},s){const{keyword:o,data:u,schemaValue:l,it:c}=e,{opts:p,propertyName:d,topSchemaRef:h,schemaPath:f}=c;s.push([a.keyword,o],[a.params,"function"==typeof r?r(e):r||t._`{}`]),p.messages&&s.push([a.message,"function"==typeof i?i(e):i]);p.verbose&&s.push([a.schema,l],[a.parentSchema,t._`${h}${f}`],[n.default.data,u]);d&&s.push([a.propertyName,d])}(e,r,c),s.object(...c)}(e,r,i)}function u({errorPath:e},{instancePath:i}){const s=i?t.str`${e}${(0,r.getErrorPath)(i,r.Type.Str)}`:e;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,s)]}function l({keyword:e,it:{errSchemaPath:n}},{schemaPath:i,parentSchema:s}){let o=s?n:t.str`${n}/${e}`;return i&&(o=t.str`${o}${(0,r.getErrorPath)(i,r.Type.Str)}`),[a.schemaPath,o]}}(L2)),L2}var Z2={},e3={};Object.defineProperty(e3,"__esModule",{value:!0}),e3.getRules=e3.isJSONType=void 0;const t3=new Set(["string","number","integer","boolean","null","object","array"]);e3.isJSONType=function(e){return"string"==typeof e&&t3.has(e)},e3.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}};var r3,n3={};function i3(){if(r3)return n3;function e(e,r){return r.rules.some((r=>t(e,r)))}function t(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some((t=>void 0!==e[t])))}return r3=1,Object.defineProperty(n3,"__esModule",{value:!0}),n3.shouldUseRule=n3.shouldUseGroup=n3.schemaHasRulesForType=void 0,n3.schemaHasRulesForType=function({schema:t,self:r},n){const i=r.RULES.types[n];return i&&!0!==i&&e(t,i)},n3.shouldUseGroup=e,n3.shouldUseRule=t,n3}!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;const t=e3,r=i3(),n=Q2(),i=W2(),s=K2;var a;function o(e){const r=Array.isArray(e)?e:e?[e]:[];if(r.every(t.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(a=e.DataType||(e.DataType={})),e.getSchemaTypes=function(e){const t=o(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},e.getJSONTypes=o,e.coerceAndCheckDataType=function(e,t){const{gen:n,data:s,opts:o}=e,l=function(e,t){return t?e.filter((e=>u.has(e)||"array"===t&&"array"===e)):[]}(t,o.coerceTypes),p=t.length>0&&!(0===l.length&&1===t.length&&(0,r.schemaHasRulesForType)(e,t[0]));if(p){const r=c(t,s,o.strictNumbers,a.Wrong);n.if(r,(()=>{l.length?function(e,t,r){const{gen:n,data:s,opts:a}=e,o=n.let("dataType",i._`typeof ${s}`),l=n.let("coerced",i._`undefined`);"array"===a.coerceTypes&&n.if(i._`${o} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,(()=>n.assign(s,i._`${s}[0]`).assign(o,i._`typeof ${s}`).if(c(t,s,a.strictNumbers),(()=>n.assign(l,s)))));n.if(i._`${l} !== undefined`);for(const e of r)(u.has(e)||"array"===e&&"array"===a.coerceTypes)&&p(e);function p(e){switch(e){case"string":return void n.elseIf(i._`${o} == "number" || ${o} == "boolean"`).assign(l,i._`"" + ${s}`).elseIf(i._`${s} === null`).assign(l,i._`""`);case"number":return void n.elseIf(i._`${o} == "boolean" || ${s} === null
|
|
1868
1868
|
|| (${o} == "string" && ${s} && ${s} == +${s})`).assign(l,i._`+${s}`);case"integer":return void n.elseIf(i._`${o} === "boolean" || ${s} === null
|
|
1869
1869
|
|| (${o} === "string" && ${s} && ${s} == +${s} && !(${s} % 1))`).assign(l,i._`+${s}`);case"boolean":return void n.elseIf(i._`${s} === "false" || ${s} === 0 || ${s} === null`).assign(l,!1).elseIf(i._`${s} === "true" || ${s} === 1`).assign(l,!0);case"null":return n.elseIf(i._`${s} === "" || ${s} === 0 || ${s} === false`),void n.assign(l,null);case"array":n.elseIf(i._`${o} === "string" || ${o} === "number"
|
|
1870
1870
|
|| ${o} === "boolean" || ${s} === null`).assign(l,i._`[${s}]`)}}n.else(),d(e),n.endIf(),n.if(i._`${l} !== undefined`,(()=>{n.assign(s,l),function({gen:e,parentData:t,parentDataProperty:r},n){e.if(i._`${t} !== undefined`,(()=>e.assign(i._`${t}[${r}]`,n)))}(e,l)}))}(e,t,l):d(e)}))}return p};const u=new Set(["string","number","integer","boolean","null"]);function l(e,t,r,n=a.Correct){const s=n===a.Correct?i.operators.EQ:i.operators.NEQ;let o;switch(e){case"null":return i._`${t} ${s} null`;case"array":o=i._`Array.isArray(${t})`;break;case"object":o=i._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":o=u(i._`!(${t} % 1) && !isNaN(${t})`);break;case"number":o=u();break;default:return i._`typeof ${t} ${s} ${e}`}return n===a.Correct?o:(0,i.not)(o);function u(e=i.nil){return(0,i.and)(i._`typeof ${t} == "number"`,e,r?i._`isFinite(${t})`:i.nil)}}function c(e,t,r,n){if(1===e.length)return l(e[0],t,r,n);let a;const o=(0,s.toHash)(e);if(o.array&&o.object){const e=i._`typeof ${t} != "object"`;a=o.null?e:i._`!${t} || ${e}`,delete o.null,delete o.array,delete o.object}else a=i.nil;o.number&&delete o.integer;for(const e in o)a=(0,i.and)(a,l(e,t,r,n));return a}e.checkDataType=l,e.checkDataTypes=c;const p={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?i._`{type: ${e}}`:i._`{type: ${t}}`};function d(e){const t=function(e){const{gen:t,data:r,schema:n}=e,i=(0,s.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:i,schemaValue:i,parentSchema:n,params:{},it:e}}(e);(0,n.reportError)(t,p)}e.reportTypeError=d}(Z2);var s3,a3={};var o3,u3,l3={},c3={};function p3(){if(o3)return c3;o3=1,Object.defineProperty(c3,"__esModule",{value:!0}),c3.validateUnion=c3.validateArray=c3.usePattern=c3.callValidateCode=c3.schemaProperties=c3.allSchemaProperties=c3.noPropertyInData=c3.propertyInData=c3.isOwnProperty=c3.hasPropFunc=c3.reportMissingProp=c3.checkMissingProp=c3.checkReportMissingProp=void 0;const e=W2(),t=K2,r=Y2(),n=K2;function i(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:e._`Object.prototype.hasOwnProperty`})}function s(t,r,n){return e._`${i(t)}.call(${r}, ${n})`}function a(t,r,n,i){const a=e._`${r}${(0,e.getProperty)(n)} === undefined`;return i?(0,e.or)(a,(0,e.not)(s(t,r,n))):a}function o(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}c3.checkReportMissingProp=function(t,r){const{gen:n,data:i,it:s}=t;n.if(a(n,i,r,s.opts.ownProperties),(()=>{t.setParams({missingProperty:e._`${r}`},!0),t.error()}))},c3.checkMissingProp=function({gen:t,data:r,it:{opts:n}},i,s){return(0,e.or)(...i.map((i=>(0,e.and)(a(t,r,i,n.ownProperties),e._`${s} = ${i}`))))},c3.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},c3.hasPropFunc=i,c3.isOwnProperty=s,c3.propertyInData=function(t,r,n,i){const a=e._`${r}${(0,e.getProperty)(n)} !== undefined`;return i?e._`${a} && ${s(t,r,n)}`:a},c3.noPropertyInData=a,c3.allSchemaProperties=o,c3.schemaProperties=function(e,r){return o(r).filter((n=>!(0,t.alwaysValidSchema)(e,r[n])))},c3.callValidateCode=function({schemaCode:t,data:n,it:{gen:i,topSchemaRef:s,schemaPath:a,errorPath:o},it:u},l,c,p){const d=p?e._`${t}, ${n}, ${s}${a}`:n,h=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,o)],[r.default.parentData,u.parentData],[r.default.parentDataProperty,u.parentDataProperty],[r.default.rootData,r.default.rootData]];u.opts.dynamicRef&&h.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const f=e._`${d}, ${i.object(...h)}`;return c!==e.nil?e._`${l}.call(${c}, ${f})`:e._`${l}(${f})`};const u=e._`new RegExp`;return c3.usePattern=function({gen:t,it:{opts:r}},i){const s=r.unicodeRegExp?"u":"",{regExp:a}=r.code,o=a(i,s);return t.scopeValue("pattern",{key:o.toString(),ref:o,code:e._`${"new RegExp"===a.code?u:(0,n.useFunc)(t,a)}(${i}, ${s})`})},c3.validateArray=function(r){const{gen:n,data:i,keyword:s,it:a}=r,o=n.name("valid");if(a.allErrors){const e=n.let("valid",!0);return u((()=>n.assign(e,!1))),e}return n.var(o,!0),u((()=>n.break())),o;function u(a){const u=n.const("len",e._`${i}.length`);n.forRange("i",0,u,(i=>{r.subschema({keyword:s,dataProp:i,dataPropType:t.Type.Num},o),n.if((0,e.not)(o),a)}))}},c3.validateUnion=function(r){const{gen:n,schema:i,keyword:s,it:a}=r;if(!Array.isArray(i))throw new Error("ajv implementation error");if(i.some((e=>(0,t.alwaysValidSchema)(a,e)))&&!a.opts.unevaluated)return;const o=n.let("valid",!1),u=n.name("_valid");n.block((()=>i.forEach(((t,i)=>{const a=r.subschema({keyword:s,schemaProp:i,compositeRule:!0},u);n.assign(o,e._`${o} || ${u}`);r.mergeValidEvaluated(a,u)||n.if((0,e.not)(o))})))),r.result(o,(()=>r.reset()),(()=>r.error(!0)))},c3}function d3(){if(u3)return l3;u3=1,Object.defineProperty(l3,"__esModule",{value:!0}),l3.validateKeywordUsage=l3.validSchemaType=l3.funcKeywordCode=l3.macroKeywordCode=void 0;const e=W2(),t=Y2(),r=p3(),n=Q2();function i(t){const{gen:r,data:n,it:i}=t;r.if(i.parentData,(()=>r.assign(n,e._`${i.parentData}[${i.parentDataProperty}]`)))}function s(t,r,n){if(void 0===n)throw new Error(`keyword "${r}" failed to compile`);return t.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,e.stringify)(n)})}return l3.macroKeywordCode=function(t,r){const{gen:n,keyword:i,schema:a,parentSchema:o,it:u}=t,l=r.macro.call(u.self,a,o,u),c=s(n,i,l);!1!==u.opts.validateSchema&&u.self.validateSchema(l,!0);const p=n.name("valid");t.subschema({schema:l,schemaPath:e.nil,errSchemaPath:`${u.errSchemaPath}/${i}`,topSchemaRef:c,compositeRule:!0},p),t.pass(p,(()=>t.error(!0)))},l3.funcKeywordCode=function(a,o){var u;const{gen:l,keyword:c,schema:p,parentSchema:d,$data:h,it:f}=a;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(f,o);const m=!h&&o.compile?o.compile.call(f.self,p,d,f):o.validate,y=s(l,c,m),g=l.let("valid");function b(n=(o.async?e._`await `:e.nil)){const i=f.opts.passContext?t.default.this:t.default.self,s=!("compile"in o&&!h||!1===o.schema);l.assign(g,e._`${n}${(0,r.callValidateCode)(a,y,i,s)}`,o.modifying)}function v(t){var r;l.if((0,e.not)(null!==(r=o.valid)&&void 0!==r?r:g),t)}a.block$data(g,(function(){if(!1===o.errors)b(),o.modifying&&i(a),v((()=>a.error()));else{const r=o.async?function(){const t=l.let("ruleErrs",null);return l.try((()=>b(e._`await `)),(r=>l.assign(g,!1).if(e._`${r} instanceof ${f.ValidationError}`,(()=>l.assign(t,e._`${r}.errors`)),(()=>l.throw(r))))),t}():function(){const t=e._`${y}.errors`;return l.assign(t,null),b(e.nil),t}();o.modifying&&i(a),v((()=>function(r,i){const{gen:s}=r;s.if(e._`Array.isArray(${i})`,(()=>{s.assign(t.default.vErrors,e._`${t.default.vErrors} === null ? ${i} : ${t.default.vErrors}.concat(${i})`).assign(t.default.errors,e._`${t.default.vErrors}.length`),(0,n.extendErrors)(r)}),(()=>r.error()))}(a,r)))}})),a.ok(null!==(u=o.valid)&&void 0!==u?u:g)},l3.validSchemaType=function(e,t,r=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&void 0===e))},l3.validateKeywordUsage=function({schema:e,opts:t,self:r,errSchemaPath:n},i,s){if(Array.isArray(i.keyword)?!i.keyword.includes(s):i.keyword!==s)throw new Error("ajv implementation error");const a=i.dependencies;if(null==a?void 0:a.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${s}: ${a.join(",")}`);if(i.validateSchema){if(!i.validateSchema(e[s])){const e=`keyword "${s}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);r.logger.error(e)}}},l3}var h3,f3={};var m3={},y3=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,s;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(s=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,s[i]))return!1;for(i=n;0!=i--;){var a=s[i];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r},g3={exports:{}},b3=g3.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),v3(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function v3(e,t,r,n,i,s,a,o,u,l){if(n&&"object"==typeof n&&!Array.isArray(n)){for(var c in t(n,i,s,a,o,u,l),n){var p=n[c];if(Array.isArray(p)){if(c in b3.arrayKeywords)for(var d=0;d<p.length;d++)v3(e,t,r,p[d],i+"/"+c+"/"+d,s,i,c,n,d)}else if(c in b3.propsKeywords){if(p&&"object"==typeof p)for(var h in p)v3(e,t,r,p[h],i+"/"+c+"/"+h.replace(/~/g,"~0").replace(/\//g,"~1"),s,i,c,n,h)}else(c in b3.keywords||e.allKeys&&!(c in b3.skipKeywords))&&v3(e,t,r,p,i+"/"+c,s,i,c,n)}r(n,i,s,a,o,u,l)}}b3.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},b3.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},b3.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},b3.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};var x3=g3.exports;Object.defineProperty(m3,"__esModule",{value:!0}),m3.getSchemaRefs=m3.resolveUrl=m3.normalizeId=m3._getFullPath=m3.getFullPath=m3.inlineRef=void 0;const E3=K2,S3=y3,D3=x3,T3=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);m3.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!A3(e):!!t&&P3(e)<=t)};const C3=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function A3(e){for(const t in e){if(C3.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(A3))return!0;if("object"==typeof r&&A3(r))return!0}return!1}function P3(e){let t=0;for(const r in e){if("$ref"===r)return 1/0;if(t++,!T3.has(r)&&("object"==typeof e[r]&&(0,E3.eachItem)(e[r],(e=>t+=P3(e))),t===1/0))return 1/0}return t}function w3(e,t="",r){!1!==r&&(t=N3(t));const n=e.parse(t);return k3(e,n)}function k3(e,t){return e.serialize(t).split("#")[0]+"#"}m3.getFullPath=w3,m3._getFullPath=k3;const I3=/#\/?$/;function N3(e){return e?e.replace(I3,""):""}m3.normalizeId=N3,m3.resolveUrl=function(e,t,r){return r=N3(r),e.resolve(t,r)};const F3=/^[a-z_][-a-z0-9._]*$/i;var _3;function O3(){if(_3)return B2;_3=1,Object.defineProperty(B2,"__esModule",{value:!0}),B2.getData=B2.KeywordCxt=B2.validateFunctionCode=void 0;const e=function(){if(X2)return j2;X2=1,Object.defineProperty(j2,"__esModule",{value:!0}),j2.boolOrEmptySchema=j2.topBoolOrEmptySchema=void 0;const e=Q2(),t=W2(),r=Y2(),n={message:"boolean schema is false"};function i(t,r){const{gen:i,data:s}=t,a={gen:i,keyword:"false schema",data:s,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};(0,e.reportError)(a,n,void 0,r)}return j2.topBoolOrEmptySchema=function(e){const{gen:n,schema:s,validateName:a}=e;!1===s?i(e,!1):"object"==typeof s&&!0===s.$async?n.return(r.default.data):(n.assign(t._`${a}.errors`,null),n.return(!0))},j2.boolOrEmptySchema=function(e,t){const{gen:r,schema:n}=e;!1===n?(r.var(t,!1),i(e)):r.var(t,!0)},j2}(),t=Z2,r=i3(),n=Z2,i=function(){if(s3)return a3;s3=1,Object.defineProperty(a3,"__esModule",{value:!0}),a3.assignDefaults=void 0;const e=W2(),t=K2;function r(r,n,i){const{gen:s,compositeRule:a,data:o,opts:u}=r;if(void 0===i)return;const l=e._`${o}${(0,e.getProperty)(n)}`;if(a)return void(0,t.checkStrictMode)(r,`default is ignored for: ${l}`);let c=e._`${l} === undefined`;"empty"===u.useDefaults&&(c=e._`${c} || ${l} === null || ${l} === ""`),s.if(c,e._`${l} = ${(0,e.stringify)(i)}`)}return a3.assignDefaults=function(e,t){const{properties:n,items:i}=e.schema;if("object"===t&&n)for(const t in n)r(e,t,n[t].default);else"array"===t&&Array.isArray(i)&&i.forEach(((t,n)=>r(e,n,t.default)))},a3}(),s=d3(),a=function(){if(h3)return f3;h3=1,Object.defineProperty(f3,"__esModule",{value:!0}),f3.extendSubschemaMode=f3.extendSubschemaData=f3.getSubschema=void 0;const e=W2(),t=K2;return f3.getSubschema=function(r,{keyword:n,schemaProp:i,schema:s,schemaPath:a,errSchemaPath:o,topSchemaRef:u}){if(void 0!==n&&void 0!==s)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==n){const s=r.schema[n];return void 0===i?{schema:s,schemaPath:e._`${r.schemaPath}${(0,e.getProperty)(n)}`,errSchemaPath:`${r.errSchemaPath}/${n}`}:{schema:s[i],schemaPath:e._`${r.schemaPath}${(0,e.getProperty)(n)}${(0,e.getProperty)(i)}`,errSchemaPath:`${r.errSchemaPath}/${n}/${(0,t.escapeFragment)(i)}`}}if(void 0!==s){if(void 0===a||void 0===o||void 0===u)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:a,topSchemaRef:u,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')},f3.extendSubschemaData=function(r,n,{dataProp:i,dataPropType:s,data:a,dataTypes:o,propertyName:u}){if(void 0!==a&&void 0!==i)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=n;if(void 0!==i){const{errorPath:a,dataPathArr:o,opts:u}=n;c(l.let("data",e._`${n.data}${(0,e.getProperty)(i)}`,!0)),r.errorPath=e.str`${a}${(0,t.getErrorPath)(i,s,u.jsPropertySyntax)}`,r.parentDataProperty=e._`${i}`,r.dataPathArr=[...o,r.parentDataProperty]}function c(e){r.data=e,r.dataLevel=n.dataLevel+1,r.dataTypes=[],n.definedProperties=new Set,r.parentData=n.data,r.dataNames=[...n.dataNames,e]}void 0!==a&&(c(a instanceof e.Name?a:l.let("data",a,!0)),void 0!==u&&(r.propertyName=u)),o&&(r.dataTypes=o)},f3.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:s}){void 0!==n&&(e.compositeRule=n),void 0!==i&&(e.createErrors=i),void 0!==s&&(e.allErrors=s),e.jtdDiscriminator=t,e.jtdMetadata=r},f3}(),o=W2(),u=Y2(),l=m3,c=K2,p=Q2();function d({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},s){i.code.es5?e.func(t,o._`${u.default.data}, ${u.default.valCxt}`,n.$async,(()=>{e.code(o._`"use strict"; ${h(r,i)}`),function(e,t){e.if(u.default.valCxt,(()=>{e.var(u.default.instancePath,o._`${u.default.valCxt}.${u.default.instancePath}`),e.var(u.default.parentData,o._`${u.default.valCxt}.${u.default.parentData}`),e.var(u.default.parentDataProperty,o._`${u.default.valCxt}.${u.default.parentDataProperty}`),e.var(u.default.rootData,o._`${u.default.valCxt}.${u.default.rootData}`),t.dynamicRef&&e.var(u.default.dynamicAnchors,o._`${u.default.valCxt}.${u.default.dynamicAnchors}`)}),(()=>{e.var(u.default.instancePath,o._`""`),e.var(u.default.parentData,o._`undefined`),e.var(u.default.parentDataProperty,o._`undefined`),e.var(u.default.rootData,u.default.data),t.dynamicRef&&e.var(u.default.dynamicAnchors,o._`{}`)}))}(e,i),e.code(s)})):e.func(t,o._`${u.default.data}, ${function(e){return o._`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${e.dynamicRef?o._`, ${u.default.dynamicAnchors}={}`:o.nil}}={}`}(i)}`,n.$async,(()=>e.code(h(r,i)).code(s)))}function h(e,t){const r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?o._`/*# sourceURL=${r} */`:o.nil}function f(t,r){y(t)&&(g(t),m(t))?function(e,t){const{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&v(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,l.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const s=n.const("_errs",u.default.errors);b(e,s),n.var(t,o._`${s} === ${u.default.errors}`)}(t,r):(0,e.boolOrEmptySchema)(t,r)}function m({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function y(e){return"boolean"!=typeof e.schema}function g(e){(0,c.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,c.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function b(e,r){if(e.opts.jtd)return x(e,[],!1,r);const n=(0,t.getSchemaTypes)(e.schema);x(e,n,!(0,t.coerceAndCheckDataType)(e,n),r)}function v({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){const s=r.$comment;if(!0===i.$comment)e.code(o._`${u.default.self}.logger.log(${s})`);else if("function"==typeof i.$comment){const r=o.str`${n}/$comment`,i=e.scopeValue("root",{ref:t.root});e.code(o._`${u.default.self}.opts.$comment(${s}, ${r}, ${i}.schema)`)}}function x(e,t,i,s){const{gen:a,schema:l,data:p,allErrors:d,opts:h,self:f}=e,{RULES:m}=f;function y(c){(0,r.shouldUseGroup)(l,c)&&(c.type?(a.if((0,n.checkDataType)(c.type,p,h.strictNumbers)),E(e,c),1===t.length&&t[0]===c.type&&i&&(a.else(),(0,n.reportTypeError)(e)),a.endIf()):E(e,c),d||a.if(o._`${u.default.errors} === ${s||0}`))}!l.$ref||!h.ignoreKeywordsWithRef&&(0,c.schemaHasRulesButRef)(l,m)?(h.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{D(e.dataTypes,t)||T(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const r=[];for(const n of e.dataTypes)D(t,n)?r.push(n):t.includes("integer")&&"number"===n&&r.push("integer");e.dataTypes=r}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&T(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const i in n){const s=n[i];if("object"==typeof s&&(0,r.shouldUseRule)(e.schema,s)){const{type:r}=s.definition;r.length&&!r.some((e=>S(t,e)))&&T(e,`missing type "${r.join(",")}" for keyword "${i}"`)}}}(e,e.dataTypes)}(e,t),a.block((()=>{for(const e of m.rules)y(e);y(m.post)}))):a.block((()=>A(e,"$ref",m.all.$ref.definition)))}function E(e,t){const{gen:n,schema:s,opts:{useDefaults:a}}=e;a&&(0,i.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,r.shouldUseRule)(s,n)&&A(e,n.keyword,n.definition,t.type)}))}function S(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function D(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function T(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,c.checkStrictMode)(e,t,e.opts.strictTypes)}B2.validateFunctionCode=function(t){y(t)&&(g(t),m(t))?function(e){const{schema:t,opts:r,gen:n}=e;d(e,(()=>{r.$comment&&t.$comment&&v(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,c.checkStrictMode)(e,"default is ignored in the schema root")}(e),n.let(u.default.vErrors,null),n.let(u.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",o._`${r}.evaluated`),t.if(o._`${e.evaluated}.dynamicProps`,(()=>t.assign(o._`${e.evaluated}.props`,o._`undefined`))),t.if(o._`${e.evaluated}.dynamicItems`,(()=>t.assign(o._`${e.evaluated}.items`,o._`undefined`)))}(e),b(e),function(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:s}=e;r.$async?t.if(o._`${u.default.errors} === 0`,(()=>t.return(u.default.data)),(()=>t.throw(o._`new ${i}(${u.default.vErrors})`))):(t.assign(o._`${n}.errors`,u.default.vErrors),s.unevaluated&&function({gen:e,evaluated:t,props:r,items:n}){r instanceof o.Name&&e.assign(o._`${t}.props`,r);n instanceof o.Name&&e.assign(o._`${t}.items`,n)}(e),t.return(o._`${u.default.errors} === 0`))}(e)}))}(t):d(t,(()=>(0,e.topBoolOrEmptySchema)(t)))};class C{constructor(e,t,r){if((0,s.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,c.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",k(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,s.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",u.default.errors))}result(e,t,r){this.failResult((0,o.not)(e),t,r)}failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,o.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(o._`${t} !== undefined && (${(0,o.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t)return this.setParams(t),this._error(e,r),void this.setParams({});this._error(e,r)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=o.nil){this.gen.block((()=>{this.check$data(e,r),t()}))}check$data(e=o.nil,t=o.nil){if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:i,def:s}=this;r.if((0,o.or)(o._`${n} === undefined`,t)),e!==o.nil&&r.assign(e,!0),(i.length||s.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==o.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:i,it:s}=this;return(0,o.or)(function(){if(r.length){if(!(t instanceof o.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return o._`${(0,n.checkDataTypes)(e,t,s.opts.strictNumbers,n.DataType.Wrong)}`}return o.nil}(),function(){if(i.validateSchema){const r=e.scopeValue("validate$data",{ref:i.validateSchema});return o._`!${r}(${t})`}return o.nil}())}subschema(e,t){const r=(0,a.getSubschema)(this.it,e);(0,a.extendSubschemaData)(r,this.it,e),(0,a.extendSubschemaMode)(r,e);const n={...this.it,...r,items:void 0,props:void 0};return f(n,t),n}mergeEvaluated(e,t){const{it:r,gen:n}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=c.mergeEvaluated.props(n,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=c.mergeEvaluated.items(n,e.items,r.items,t)))}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return n.if(t,(()=>this.mergeEvaluated(e,o.Name))),!0}}function A(e,t,r,n){const i=new C(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,s.funcKeywordCode)(i,r):"macro"in r?(0,s.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,s.funcKeywordCode)(i,r)}B2.KeywordCxt=C;const P=/^\/(?:[^~]|~0|~1)*$/,w=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function k(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,s;if(""===e)return u.default.rootData;if("/"===e[0]){if(!P.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,s=u.default.rootData}else{const a=w.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const o=+a[1];if(i=a[2],"#"===i){if(o>=t)throw new Error(p("property/index",o));return n[t-o]}if(o>t)throw new Error(p("data",o));if(s=r[t-o],!i)return s}let a=s;const l=i.split("/");for(const e of l)e&&(s=o._`${s}${(0,o.getProperty)((0,c.unescapeJsonPointer)(e))}`,a=o._`${a} && ${s}`);return a;function p(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}return B2.getData=k,B2}m3.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:r,uriResolver:n}=this.opts,i=N3(e[r]||t),s={"":i},a=w3(n,i,!1),o={},u=new Set;return D3(e,{allKeys:!0},((e,t,n,i)=>{if(void 0===i)return;const p=a+t;let d=s[i];function h(t){const r=this.opts.uriResolver.resolve;if(t=N3(d?r(d,t):t),u.has(t))throw c(t);u.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?l(e,n.schema,t):t!==N3(p)&&("#"===t[0]?(l(e,o[t],t),o[t]=e):this.refs[t]=p),t}function f(e){if("string"==typeof e){if(!F3.test(e))throw new Error(`invalid anchor "${e}"`);h.call(this,`#${e}`)}}"string"==typeof e[r]&&(d=h.call(this,e[r])),f.call(this,e.$anchor),f.call(this,e.$dynamicAnchor),s[t]=d})),o;function l(e,t,r){if(void 0!==t&&!S3(e,t))throw c(r)}function c(e){return new Error(`reference "${e}" resolves to more than one schema`)}};var B3,j3={};function L3(){if(B3)return j3;B3=1,Object.defineProperty(j3,"__esModule",{value:!0});class e extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}return j3.default=e,j3}var M3,R3={};function $3(){if(M3)return R3;M3=1,Object.defineProperty(R3,"__esModule",{value:!0});const e=m3;class t extends Error{constructor(t,r,n,i){super(i||`can't resolve reference ${n} from id ${r}`),this.missingRef=(0,e.resolveUrl)(t,r,n),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(t,this.missingRef))}}return R3.default=t,R3}var U3={};Object.defineProperty(U3,"__esModule",{value:!0}),U3.resolveSchema=U3.getCompilingSchema=U3.resolveRef=U3.compileSchema=U3.SchemaEnv=void 0;const V3=W2(),z3=L3(),q3=Y2(),W3=m3,K3=K2,H3=O3();class J3{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,W3.normalizeId)(null==r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==r?void 0:r.$async,this.refs={}}}function X3(e){const t=Y3.call(this,e);if(t)return t;const r=(0,W3.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:s}=this.opts,a=new V3.CodeGen(this.scope,{es5:n,lines:i,ownProperties:s});let o;e.$async&&(o=a.scopeValue("Error",{ref:z3.default,code:V3._`require("ajv/dist/runtime/validation_error").default`}));const u=a.scopeName("validate");e.validateName=u;const l={gen:a,allErrors:this.opts.allErrors,data:q3.default.data,parentData:q3.default.parentData,parentDataProperty:q3.default.parentDataProperty,dataNames:[q3.default.data],dataPathArr:[V3.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:a.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,V3.stringify)(e.schema)}:{ref:e.schema}),validateName:u,ValidationError:o,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:V3.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:V3._`""`,opts:this.opts,self:this};let c;try{this._compilations.add(e),(0,H3.validateFunctionCode)(l),a.optimize(this.opts.code.optimize);const t=a.toString();c=`${a.scopeRefs(q3.default.scope)}return ${t}`,this.opts.code.process&&(c=this.opts.code.process(c,e));const r=new Function(`${q3.default.self}`,`${q3.default.scope}`,c)(this,this.scope.get());if(this.scope.value(u,{ref:r}),r.errors=null,r.schema=e.schema,r.schemaEnv=e,e.$async&&(r.$async=!0),!0===this.opts.code.source&&(r.source={validateName:u,validateCode:t,scopeValues:a._values}),this.opts.unevaluated){const{props:e,items:t}=l;r.evaluated={props:e instanceof V3.Name?void 0:e,items:t instanceof V3.Name?void 0:t,dynamicProps:e instanceof V3.Name,dynamicItems:t instanceof V3.Name},r.source&&(r.source.evaluated=(0,V3.stringify)(r.evaluated))}return e.validate=r,e}catch(t){throw delete e.validate,delete e.validateName,c&&this.logger.error("Error compiling schema, function code:",c),t}finally{this._compilations.delete(e)}}function G3(e){return(0,W3.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:X3.call(this,e)}function Y3(e){for(const n of this._compilations)if(r=e,(t=n).schema===r.schema&&t.root===r.root&&t.baseId===r.baseId)return n;var t,r}function Q3(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||Z3.call(this,e,t)}function Z3(e,t){const r=this.opts.uriResolver.parse(t),n=(0,W3._getFullPath)(this.opts.uriResolver,r);let i=(0,W3.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===i)return t4.call(this,r,e);const s=(0,W3.normalizeId)(n),a=this.refs[s]||this.schemas[s];if("string"==typeof a){const t=Z3.call(this,e,a);if("object"!=typeof(null==t?void 0:t.schema))return;return t4.call(this,r,t)}if("object"==typeof(null==a?void 0:a.schema)){if(a.validate||X3.call(this,a),s===(0,W3.normalizeId)(t)){const{schema:t}=a,{schemaId:r}=this.opts,n=t[r];return n&&(i=(0,W3.resolveUrl)(this.opts.uriResolver,i,n)),new J3({schema:t,schemaId:r,root:e,baseId:i})}return t4.call(this,r,a)}}U3.SchemaEnv=J3,U3.compileSchema=X3,U3.resolveRef=function(e,t,r){var n;r=(0,W3.resolveUrl)(this.opts.uriResolver,t,r);const i=e.refs[r];if(i)return i;let s=Q3.call(this,e,r);if(void 0===s){const i=null===(n=e.localRefs)||void 0===n?void 0:n[r],{schemaId:a}=this.opts;i&&(s=new J3({schema:i,schemaId:a,root:e,baseId:t}))}return void 0!==s?e.refs[r]=G3.call(this,s):void 0},U3.getCompilingSchema=Y3,U3.resolveSchema=Z3;const e4=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function t4(e,{baseId:t,schema:r,root:n}){var i;if("/"!==(null===(i=e.fragment)||void 0===i?void 0:i[0]))return;for(const n of e.fragment.slice(1).split("/")){if("boolean"==typeof r)return;const e=r[(0,K3.unescapeFragment)(n)];if(void 0===e)return;const i="object"==typeof(r=e)&&r[this.opts.schemaId];!e4.has(n)&&i&&(t=(0,W3.resolveUrl)(this.opts.uriResolver,t,i))}let s;if("boolean"!=typeof r&&r.$ref&&!(0,K3.schemaHasRulesButRef)(r,this.RULES)){const e=(0,W3.resolveUrl)(this.opts.uriResolver,t,r.$ref);s=Z3.call(this,n,e)}const{schemaId:a}=this.opts;return s=s||new J3({schema:r,schemaId:a,root:n,baseId:t}),s.schema!==s.root.schema?s:void 0}var r4={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1},n4={},i4={exports:{}};!function(e){function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,i=1;i<n;++i)t[i]=t[i].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function s(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function o(e){var n="[A-Za-z]",i="[0-9]",s=t(i,"[A-Fa-f]"),a=r(r("%[EFef]"+s+"%"+s+s+"%"+s+s)+"|"+r("%[89A-Fa-f]"+s+"%"+s+s)+"|"+r("%"+s+s)),o="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",o),l=e?"[\\uE000-\\uF8FF]":"[]",c=t(n,i,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");r(n+t(n,i,"[\\+\\-\\.]")+"*"),r(r(a+"|"+t(c,o,"[\\:]"))+"*");var p=r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("0?[1-9]"+i)+"|0?0?"+i),d=r(p+"\\."+p+"\\."+p+"\\."+p),h=r(s+"{1,4}"),f=r(r(h+"\\:"+h)+"|"+d),m=r(r(h+"\\:")+"{6}"+f),y=r("\\:\\:"+r(h+"\\:")+"{5}"+f),g=r(r(h)+"?\\:\\:"+r(h+"\\:")+"{4}"+f),b=r(r(r(h+"\\:")+"{0,1}"+h)+"?\\:\\:"+r(h+"\\:")+"{3}"+f),v=r(r(r(h+"\\:")+"{0,2}"+h)+"?\\:\\:"+r(h+"\\:")+"{2}"+f),x=r(r(r(h+"\\:")+"{0,3}"+h)+"?\\:\\:"+h+"\\:"+f),E=r(r(r(h+"\\:")+"{0,4}"+h)+"?\\:\\:"+f),S=r(r(r(h+"\\:")+"{0,5}"+h)+"?\\:\\:"+h),D=r(r(r(h+"\\:")+"{0,6}"+h)+"?\\:\\:"),T=r([m,y,g,b,v,x,E,S,D].join("|")),C=r(r(c+"|"+a)+"+");r("[vV]"+s+"+\\."+t(c,o,"[\\:]")+"+"),r(r(a+"|"+t(c,o))+"*");var A=r(a+"|"+t(c,o,"[\\:\\@]"));return r(r(a+"|"+t(c,o,"[\\@]"))+"+"),r(r(A+"|"+t("[\\/\\?]",l))+"*"),{NOT_SCHEME:new RegExp(t("[^]",n,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",c,o),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",c,o),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",c,o),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",c,o),"g"),NOT_QUERY:new RegExp(t("[^\\%]",c,o,"[\\:\\@\\/\\?]",l),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",c,o,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",c,o),"g"),UNRESERVED:new RegExp(c,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",c,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+T+")"+r(r("\\%25|\\%(?!"+s+"{2})")+"("+C+")")+"?\\]?$")}}var u=o(!1),l=o(!0),c=function(){function e(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,s=e}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},d=2147483647,h=36,f=1,m=26,y=38,g=700,b=72,v=128,x="-",E=/^xn--/,S=/[^\0-\x7E]/,D=/[\x2E\u3002\uFF0E\uFF61]/g,T={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=h-f,A=Math.floor,P=String.fromCharCode;function w(e){throw new RangeError(T[e])}function k(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function I(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+k((e=e.replace(D,".")).split("."),t).join(".")}function N(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var s=e.charCodeAt(r++);56320==(64512&s)?t.push(((1023&i)<<10)+(1023&s)+65536):(t.push(i),r--)}else t.push(i)}return t}var F=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},O=function(e,t,r){var n=0;for(e=r?A(e/g):e>>1,e+=A(e/t);e>C*m>>1;n+=h)e=A(e/C);return A(n+(C+1)*e/(e+y))},B=function(e){var t=[],r=e.length,n=0,i=v,s=b,a=e.lastIndexOf(x);a<0&&(a=0);for(var o=0;o<a;++o)e.charCodeAt(o)>=128&&w("not-basic"),t.push(e.charCodeAt(o));for(var u=a>0?a+1:0;u<r;){for(var l=n,c=1,p=h;;p+=h){u>=r&&w("invalid-input");var y=F(e.charCodeAt(u++));(y>=h||y>A((d-n)/c))&&w("overflow"),n+=y*c;var g=p<=s?f:p>=s+m?m:p-s;if(y<g)break;var E=h-g;c>A(d/E)&&w("overflow"),c*=E}var S=t.length+1;s=O(n-l,S,0==l),A(n/S)>d-i&&w("overflow"),i+=A(n/S),n%=S,t.splice(n++,0,i)}return String.fromCodePoint.apply(String,t)},j=function(e){var t=[],r=(e=N(e)).length,n=v,i=0,s=b,a=!0,o=!1,u=void 0;try{for(var l,c=e[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var p=l.value;p<128&&t.push(P(p))}}catch(e){o=!0,u=e}finally{try{!a&&c.return&&c.return()}finally{if(o)throw u}}var y=t.length,g=y;for(y&&t.push(x);g<r;){var E=d,S=!0,D=!1,T=void 0;try{for(var C,k=e[Symbol.iterator]();!(S=(C=k.next()).done);S=!0){var I=C.value;I>=n&&I<E&&(E=I)}}catch(e){D=!0,T=e}finally{try{!S&&k.return&&k.return()}finally{if(D)throw T}}var F=g+1;E-n>A((d-i)/F)&&w("overflow"),i+=(E-n)*F,n=E;var B=!0,j=!1,L=void 0;try{for(var M,R=e[Symbol.iterator]();!(B=(M=R.next()).done);B=!0){var $=M.value;if($<n&&++i>d&&w("overflow"),$==n){for(var U=i,V=h;;V+=h){var z=V<=s?f:V>=s+m?m:V-s;if(U<z)break;var q=U-z,W=h-z;t.push(P(_(z+q%W,0))),U=A(q/W)}t.push(P(_(U,0))),s=O(i,F,g==y),i=0,++g}}}catch(e){j=!0,L=e}finally{try{!B&&R.return&&R.return()}finally{if(j)throw L}}++i,++n}return t.join("")},L=function(e){return I(e,(function(e){return E.test(e)?B(e.slice(4).toLowerCase()):e}))},M=function(e){return I(e,(function(e){return S.test(e)?"xn--"+j(e):e}))},R={version:"2.1.0",ucs2:{decode:N,encode:function(e){return String.fromCodePoint.apply(String,p(e))}},decode:B,encode:j,toASCII:M,toUnicode:L},$={};function U(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function V(e){for(var t="",r=0,n=e.length;r<n;){var i=parseInt(e.substr(r+1,2),16);if(i<128)t+=String.fromCharCode(i),r+=3;else if(i>=194&&i<224){if(n-r>=6){var s=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&i)<<6|63&s)}else t+=e.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),o=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&o)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function z(e,t){function r(e){var r=V(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,U).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,U).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,U).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,U).replace(t.PCT_ENCODED,i)),e}function q(e){return e.replace(/^0*(.*)/,"$1")||"0"}function W(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=c(r,2)[1];return n?n.split(".").map(q).join("."):e}function K(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=c(r,3),i=n[1],s=n[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),o=c(a,2),u=o[0],l=o[1],p=l?l.split(":").map(q):[],d=u.split(":").map(q),h=t.IPV4ADDRESS.test(d[d.length-1]),f=h?7:8,m=d.length-f,y=Array(f),g=0;g<f;++g)y[g]=p[g]||d[m+g]||"";h&&(y[f-1]=W(y[f-1],t));var b=y.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]),v=b.sort((function(e,t){return t.length-e.length}))[0],x=void 0;if(v&&v.length>1){var E=y.slice(0,v.index),S=y.slice(v.index+v.length);x=E.join(":")+"::"+S.join(":")}else x=y.join(":");return s&&(x+="%"+s),x}return e}var H=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,J=void 0==="".match(/(){0}/)[1];function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?l:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(H);if(i){J?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||void 0,r.userinfo=-1!==e.indexOf("@")?i[3]:void 0,r.host=-1!==e.indexOf("//")?i[4]:void 0,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==e.indexOf("?")?i[7]:void 0,r.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),r.host&&(r.host=K(W(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var s=$[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||s&&s.unicodeSupport)z(r,n);else{if(r.host&&(t.domainHost||s&&s.domainHost))try{r.host=R.toASCII(r.host.replace(n.PCT_ENCODED,V).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}z(r,u)}s&&s.parse&&s.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function G(e,t){var r=!1!==t.iri?l:u,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(K(W(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var Y=/^\.\.?\//,Q=/^\/\.(\/|$)/,Z=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Y))e=e.replace(Y,"");else if(e.match(Q))e=e.replace(Q,"/");else if(e.match(Z))e=e.replace(Z,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?l:u,n=[],i=$[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?R.toUnicode(e.host):R.toASCII(e.host.replace(r.PCT_ENCODED,V).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}z(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var s=G(e,t);if(void 0!==s&&("suffix"!==t.reference&&n.push("//"),n.push(s),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||i&&i.absolutePath||(a=te(a)),void 0===s&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=X(re(e,r),r),t=X(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function ie(e,t,r){var n=a({scheme:"null"},r);return re(ne(X(e,n),X(t,n),n,!0),n)}function se(e,t){return"string"==typeof e?e=re(X(e,t),t):"object"===n(e)&&(e=X(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(X(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(X(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function oe(e,t){return e&&e.toString().replace(t&&t.iri?l.ESCAPE:u.ESCAPE,U)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?l.PCT_ENCODED:u.PCT_ENCODED,V)}var le={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},ce={scheme:"https",domainHost:le.domainHost,parse:le.parse,serialize:le.serialize};function pe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var de={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=pe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(pe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=c(r,2),i=n[0],s=n[1];e.path=i&&"/"!==i?i:void 0,e.query=s,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:de.domainHost,parse:de.parse,serialize:de.serialize},fe={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ye="[0-9A-Fa-f]",ge=r(r("%[EFef]"+ye+"%"+ye+ye+"%"+ye+ye)+"|"+r("%[89A-Fa-f]"+ye+"%"+ye+ye)+"|"+r("%"+ye+ye)),be="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",ve=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),xe="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Ee=new RegExp(me,"g"),Se=new RegExp(ge,"g"),De=new RegExp(t("[^]",be,"[\\.]",'[\\"]',ve),"g"),Te=new RegExp(t("[^]",me,xe),"g"),Ce=Te;function Ae(e){var t=V(e);return t.match(Ee)?t:e}var Pe={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var i=!1,s={},a=r.query.split("&"),o=0,u=a.length;o<u;++o){var l=a[o].split("=");switch(l[0]){case"to":for(var c=l[1].split(","),p=0,d=c.length;p<d;++p)n.push(c[p]);break;case"subject":r.subject=ue(l[1],t);break;case"body":r.body=ue(l[1],t);break;default:i=!0,s[ue(l[0],t)]=ue(l[1],t)}}i&&(r.headers=s)}r.query=void 0;for(var h=0,f=n.length;h<f;++h){var m=n[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=R.toASCII(ue(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[h]=m.join("@")}return r},serialize:function(e,t){var r=e,n=s(e.to);if(n){for(var a=0,o=n.length;a<o;++a){var u=String(n[a]),l=u.lastIndexOf("@"),c=u.slice(0,l).replace(Se,Ae).replace(Se,i).replace(De,U),p=u.slice(l+1);try{p=t.iri?R.toUnicode(p):R.toASCII(ue(p,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=c+"@"+p}r.path=n.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var h=[];for(var f in d)d[f]!==fe[f]&&h.push(f.replace(Se,Ae).replace(Se,i).replace(Te,U)+"="+d[f].replace(Se,Ae).replace(Se,i).replace(Ce,U));return h.length&&(r.query=h.join("&")),r}},we=/^([^\:]+)\:(.*)/,ke={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(we),n=e;if(r){var i=t.scheme||n.scheme||"urn",s=r[1].toLowerCase(),a=r[2],o=i+":"+(t.nid||s),u=$[o];n.nid=s,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,i=r+":"+(t.nid||n),s=$[i];s&&(e=s.serialize(e,t));var a=e,o=e.nss;return a.path=(n||t.nid)+":"+o,a}},Ie=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Ne={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Ie)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};$[le.scheme]=le,$[ce.scheme]=ce,$[de.scheme]=de,$[he.scheme]=he,$[Pe.scheme]=Pe,$[ke.scheme]=ke,$[Ne.scheme]=Ne,e.SCHEMES=$,e.pctEncChar=U,e.pctDecChars=V,e.parse=X,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=ie,e.normalize=se,e.equal=ae,e.escapeComponent=oe,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(i4.exports);var s4=i4.exports;Object.defineProperty(n4,"__esModule",{value:!0});const a4=s4;a4.code='require("ajv/dist/runtime/uri").default',n4.default=a4,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=O3();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=W2();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=L3(),i=$3(),s=e3,a=U3,o=W2(),u=m3,l=Z2,c=K2,p=r4,d=n4,h=(e,t)=>new RegExp(e,t);h.code="new RegExp";const f=["removeAdditional","useDefaults","coerceTypes"],m=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),y={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},g={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function b(e){var t,r,n,i,s,a,o,u,l,c,p,f,m,y,g,b,v,x,E,S,D,T,C,A,P;const w=e.strict,k=null===(t=e.code)||void 0===t?void 0:t.optimize,I=!0===k||void 0===k?1:k||0,N=null!==(n=null===(r=e.code)||void 0===r?void 0:r.regExp)&&void 0!==n?n:h,F=null!==(i=e.uriResolver)&&void 0!==i?i:d.default;return{strictSchema:null===(a=null!==(s=e.strictSchema)&&void 0!==s?s:w)||void 0===a||a,strictNumbers:null===(u=null!==(o=e.strictNumbers)&&void 0!==o?o:w)||void 0===u||u,strictTypes:null!==(c=null!==(l=e.strictTypes)&&void 0!==l?l:w)&&void 0!==c?c:"log",strictTuples:null!==(f=null!==(p=e.strictTuples)&&void 0!==p?p:w)&&void 0!==f?f:"log",strictRequired:null!==(y=null!==(m=e.strictRequired)&&void 0!==m?m:w)&&void 0!==y&&y,code:e.code?{...e.code,optimize:I,regExp:N}:{optimize:I,regExp:N},loopRequired:null!==(g=e.loopRequired)&&void 0!==g?g:200,loopEnum:null!==(b=e.loopEnum)&&void 0!==b?b:200,meta:null===(v=e.meta)||void 0===v||v,messages:null===(x=e.messages)||void 0===x||x,inlineRefs:null===(E=e.inlineRefs)||void 0===E||E,schemaId:null!==(S=e.schemaId)&&void 0!==S?S:"$id",addUsedSchema:null===(D=e.addUsedSchema)||void 0===D||D,validateSchema:null===(T=e.validateSchema)||void 0===T||T,validateFormats:null===(C=e.validateFormats)||void 0===C||C,unicodeRegExp:null===(A=e.unicodeRegExp)||void 0===A||A,int32range:null===(P=e.int32range)||void 0===P||P,uriResolver:F}}class v{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...b(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new o.ValueScope({scope:{},prefixes:m,es5:t,lines:r}),this.logger=function(e){if(!1===e)return A;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const n=e.validateFormats;e.validateFormats=!1,this.RULES=(0,s.getRules)(),x.call(this,y,e,"NOT SUPPORTED"),x.call(this,g,e,"DEPRECATED","warn"),this._metaOpts=C.call(this),e.formats&&D.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&T.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),S.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=p;"id"===r&&(n={...p},n.id=n.$id,delete n.$id),t&&e&&this.addMetaSchema(n,n[r],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const n=r(t);return"$async"in r||(this.errors=r.errors),n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:r}=this.opts;return n.call(this,e,t);async function n(e,t){await s.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||a.call(this,r)}async function s(e){e&&!this.getSchema(e)&&await n.call(this,{$ref:e},!0)}async function a(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof i.default))throw t;return o.call(this,t),await u.call(this,t.missingSchema),a.call(this,e)}}function o({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function u(e){const r=await l.call(this,e);this.refs[e]||await s.call(this,r.$schema),this.refs[e]||this.addSchema(r,e,t)}async function l(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,n);return this}let i;if("object"==typeof e){const{schemaId:t}=this.opts;if(i=e[t],void 0!==i&&"string"!=typeof i)throw new Error(`schema ${t} must be string`)}return t=(0,u.normalizeId)(t||i),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,n,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const n=this.validate(r,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return n}getSchema(e){let t;for(;"string"==typeof(t=E.call(this,e));)e=t;if(void 0===t){const{schemaId:r}=this.opts,n=new a.SchemaEnv({schema:{},schemaId:r});if(t=a.resolveSchema.call(this,n,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=E.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];return r&&(r=(0,u.normalizeId)(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(w.call(this,r,t),!t)return(0,c.eachItem)(r,(e=>k.call(this,e))),this;N.call(this,t);const n={...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)};return(0,c.eachItem)(r,0===n.type.length?e=>k.call(this,e,n):e=>n.type.forEach((t=>k.call(this,e,n,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex((t=>t.keyword===e));t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map((e=>`${r}${e.instancePath} ${e.message}`)).reduce(((e,r)=>e+t+r)):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let i=e;for(const e of t)i=i[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:n}=t.definition,s=i[e];n&&s&&(i[e]=_(s))}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];t&&!t.test(r)||("string"==typeof n?delete e[r]:n&&!n.meta&&(this._cache.delete(n.schema),delete e[r]))}}_addSchema(e,t,r,n=this.opts.validateSchema,i=this.opts.addUsedSchema){let s;const{schemaId:o}=this.opts;if("object"==typeof e)s=e[o];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let l=this._cache.get(e);if(void 0!==l)return l;r=(0,u.normalizeId)(s||r);const c=u.getSchemaRefs.call(this,e,r);return l=new a.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:r,localRefs:c}),this._cache.set(l.schema,l),i&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=l),n&&this.validateSchema(e,!0),l}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):a.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,e)}finally{this.opts=t}}}function x(e,t,r,n="error"){for(const i in e){const s=i;s in t&&this.logger[n](`${r}: option ${i}. ${e[s]}`)}}function E(e){return e=(0,u.normalizeId)(e),this.schemas[e]||this.refs[e]}function S(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function D(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function T(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function C(){const e={...this.opts};for(const t of f)delete e[t];return e}e.default=v,v.ValidationError=n.default,v.MissingRefError=i.default;const A={log(){},warn(){},error(){}};const P=/^[a-z_$][a-z0-9_$:-]*$/i;function w(e,t){const{RULES:r}=this;if((0,c.eachItem)(e,(e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!P.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function k(e,t,r){var n;const i=null==t?void 0:t.post;if(r&&i)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let a=i?s.post:s.rules.find((({type:e})=>e===r));if(a||(a={type:r,rules:[]},s.rules.push(a)),s.keywords[e]=!0,!t)return;const o={keyword:e,definition:{...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)}};t.before?I.call(this,a,o,t.before):a.rules.push(o),s.all[e]=o,null===(n=t.implements)||void 0===n||n.forEach((e=>this.addKeyword(e)))}function I(e,t,r){const n=e.rules.findIndex((e=>e.keyword===r));n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function N(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=_(t)),e.validateSchema=this.compile(t,!0))}const F={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function _(e){return{anyOf:[e,F]}}}(O2);var o4={},u4={},l4={};Object.defineProperty(l4,"__esModule",{value:!0});const c4={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};l4.default=c4;var p4={};Object.defineProperty(p4,"__esModule",{value:!0}),p4.callRef=p4.getValidate=void 0;const d4=$3(),h4=p3(),f4=W2(),m4=Y2(),y4=U3,g4=K2,b4={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e,{baseId:i,schemaEnv:s,validateName:a,opts:o,self:u}=n,{root:l}=s;if(("#"===r||"#/"===r)&&i===l.baseId)return function(){if(s===l)return x4(e,a,s,s.$async);const r=t.scopeValue("root",{ref:l});return x4(e,f4._`${r}.validate`,l,l.$async)}();const c=y4.resolveRef.call(u,l,i,r);if(void 0===c)throw new d4.default(n.opts.uriResolver,i,r);return c instanceof y4.SchemaEnv?function(t){const r=v4(e,t);x4(e,r,t,t.$async)}(c):function(n){const i=t.scopeValue("schema",!0===o.code.source?{ref:n,code:(0,f4.stringify)(n)}:{ref:n}),s=t.name("valid"),a=e.subschema({schema:n,dataTypes:[],schemaPath:f4.nil,topSchemaRef:i,errSchemaPath:r},s);e.mergeEvaluated(a),e.ok(s)}(c)}};function v4(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):f4._`${r.scopeValue("wrapper",{ref:t})}.validate`}function x4(e,t,r,n){const{gen:i,it:s}=e,{allErrors:a,schemaEnv:o,opts:u}=s,l=u.passContext?m4.default.this:f4.nil;function c(e){const t=f4._`${e}.errors`;i.assign(m4.default.vErrors,f4._`${m4.default.vErrors} === null ? ${t} : ${m4.default.vErrors}.concat(${t})`),i.assign(m4.default.errors,f4._`${m4.default.vErrors}.length`)}function p(e){var t;if(!s.opts.unevaluated)return;const n=null===(t=null==r?void 0:r.validate)||void 0===t?void 0:t.evaluated;if(!0!==s.props)if(n&&!n.dynamicProps)void 0!==n.props&&(s.props=g4.mergeEvaluated.props(i,n.props,s.props));else{const t=i.var("props",f4._`${e}.evaluated.props`);s.props=g4.mergeEvaluated.props(i,t,s.props,f4.Name)}if(!0!==s.items)if(n&&!n.dynamicItems)void 0!==n.items&&(s.items=g4.mergeEvaluated.items(i,n.items,s.items));else{const t=i.var("items",f4._`${e}.evaluated.items`);s.items=g4.mergeEvaluated.items(i,t,s.items,f4.Name)}}n?function(){if(!o.$async)throw new Error("async schema referenced by sync schema");const r=i.let("valid");i.try((()=>{i.code(f4._`await ${(0,h4.callValidateCode)(e,t,l)}`),p(t),a||i.assign(r,!0)}),(e=>{i.if(f4._`!(${e} instanceof ${s.ValidationError})`,(()=>i.throw(e))),c(e),a||i.assign(r,!1)})),e.ok(r)}():e.result((0,h4.callValidateCode)(e,t,l),(()=>p(t)),(()=>c(t)))}p4.getValidate=v4,p4.callRef=x4,p4.default=b4,Object.defineProperty(u4,"__esModule",{value:!0});const E4=p4,S4=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",l4.default,E4.default];u4.default=S4;var D4={},T4={};Object.defineProperty(T4,"__esModule",{value:!0});const C4=W2(),A4=C4.operators,P4={maximum:{okStr:"<=",ok:A4.LTE,fail:A4.GT},minimum:{okStr:">=",ok:A4.GTE,fail:A4.LT},exclusiveMaximum:{okStr:"<",ok:A4.LT,fail:A4.GTE},exclusiveMinimum:{okStr:">",ok:A4.GT,fail:A4.LTE}},w4={message:({keyword:e,schemaCode:t})=>C4.str`must be ${P4[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>C4._`{comparison: ${P4[e].okStr}, limit: ${t}}`},k4={keyword:Object.keys(P4),type:"number",schemaType:"number",$data:!0,error:w4,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data(C4._`${r} ${P4[t].fail} ${n} || isNaN(${r})`)}};T4.default=k4;var I4={};Object.defineProperty(I4,"__esModule",{value:!0});const N4=W2(),F4={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>N4.str`must be multiple of ${e}`,params:({schemaCode:e})=>N4._`{multipleOf: ${e}}`},code(e){const{gen:t,data:r,schemaCode:n,it:i}=e,s=i.opts.multipleOfPrecision,a=t.let("res"),o=s?N4._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:N4._`${a} !== parseInt(${a})`;e.fail$data(N4._`(${n} === 0 || (${a} = ${r}/${n}, ${o}))`)}};I4.default=F4;var _4={},O4={};function B4(e){const t=e.length;let r,n=0,i=0;for(;i<t;)n++,r=e.charCodeAt(i++),r>=55296&&r<=56319&&i<t&&(r=e.charCodeAt(i),56320==(64512&r)&&i++);return n}Object.defineProperty(O4,"__esModule",{value:!0}),O4.default=B4,B4.code='require("ajv/dist/runtime/ucs2length").default',Object.defineProperty(_4,"__esModule",{value:!0});const j4=W2(),L4=K2,M4=O4,R4={message({keyword:e,schemaCode:t}){const r="maxLength"===e?"more":"fewer";return j4.str`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>j4._`{limit: ${e}}`},$4={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:R4,code(e){const{keyword:t,data:r,schemaCode:n,it:i}=e,s="maxLength"===t?j4.operators.GT:j4.operators.LT,a=!1===i.opts.unicode?j4._`${r}.length`:j4._`${(0,L4.useFunc)(e.gen,M4.default)}(${r})`;e.fail$data(j4._`${a} ${s} ${n}`)}};_4.default=$4;var U4={};Object.defineProperty(U4,"__esModule",{value:!0});const V4=p3(),z4=W2(),q4={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>z4.str`must match pattern "${e}"`,params:({schemaCode:e})=>z4._`{pattern: ${e}}`},code(e){const{data:t,$data:r,schema:n,schemaCode:i,it:s}=e,a=s.opts.unicodeRegExp?"u":"",o=r?z4._`(new RegExp(${i}, ${a}))`:(0,V4.usePattern)(e,n);e.fail$data(z4._`!${o}.test(${t})`)}};U4.default=q4;var W4={};Object.defineProperty(W4,"__esModule",{value:!0});const K4=W2(),H4={message({keyword:e,schemaCode:t}){const r="maxProperties"===e?"more":"fewer";return K4.str`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>K4._`{limit: ${e}}`},J4={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:H4,code(e){const{keyword:t,data:r,schemaCode:n}=e,i="maxProperties"===t?K4.operators.GT:K4.operators.LT;e.fail$data(K4._`Object.keys(${r}).length ${i} ${n}`)}};W4.default=J4;var X4={};Object.defineProperty(X4,"__esModule",{value:!0});const G4=p3(),Y4=W2(),Q4=K2,Z4={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>Y4.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>Y4._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:r,schemaCode:n,data:i,$data:s,it:a}=e,{opts:o}=a;if(!s&&0===r.length)return;const u=r.length>=o.loopRequired;if(a.allErrors?function(){if(u||s)e.block$data(Y4.nil,l);else for(const t of r)(0,G4.checkReportMissingProp)(e,t)}():function(){const a=t.let("missing");if(u||s){const r=t.let("valid",!0);e.block$data(r,(()=>function(r,s){e.setParams({missingProperty:r}),t.forOf(r,n,(()=>{t.assign(s,(0,G4.propertyInData)(t,i,r,o.ownProperties)),t.if((0,Y4.not)(s),(()=>{e.error(),t.break()}))}),Y4.nil)}(a,r))),e.ok(r)}else t.if((0,G4.checkMissingProp)(e,r,a)),(0,G4.reportMissingProp)(e,a),t.else()}(),o.strictRequired){const t=e.parentSchema.properties,{definedProperties:n}=e.it;for(const e of r)if(void 0===(null==t?void 0:t[e])&&!n.has(e)){const t=`required property "${e}" is not defined at "${a.schemaEnv.baseId+a.errSchemaPath}" (strictRequired)`;(0,Q4.checkStrictMode)(a,t,a.opts.strictRequired)}}function l(){t.forOf("prop",n,(r=>{e.setParams({missingProperty:r}),t.if((0,G4.noPropertyInData)(t,i,r,o.ownProperties),(()=>e.error()))}))}}};X4.default=Z4;var e8={};Object.defineProperty(e8,"__esModule",{value:!0});const t8=W2(),r8={message({keyword:e,schemaCode:t}){const r="maxItems"===e?"more":"fewer";return t8.str`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>t8._`{limit: ${e}}`},n8={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:r8,code(e){const{keyword:t,data:r,schemaCode:n}=e,i="maxItems"===t?t8.operators.GT:t8.operators.LT;e.fail$data(t8._`${r}.length ${i} ${n}`)}};e8.default=n8;var i8={},s8={};Object.defineProperty(s8,"__esModule",{value:!0});const a8=y3;a8.code='require("ajv/dist/runtime/equal").default',s8.default=a8,Object.defineProperty(i8,"__esModule",{value:!0});const o8=Z2,u8=W2(),l8=K2,c8=s8,p8={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>u8.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>u8._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:r,$data:n,schema:i,parentSchema:s,schemaCode:a,it:o}=e;if(!n&&!i)return;const u=t.let("valid"),l=s.items?(0,o8.getSchemaTypes)(s.items):[];function c(n,i){const s=t.name("item"),a=(0,o8.checkDataTypes)(l,s,o.opts.strictNumbers,o8.DataType.Wrong),c=t.const("indices",u8._`{}`);t.for(u8._`;${n}--;`,(()=>{t.let(s,u8._`${r}[${n}]`),t.if(a,u8._`continue`),l.length>1&&t.if(u8._`typeof ${s} == "string"`,u8._`${s} += "_"`),t.if(u8._`typeof ${c}[${s}] == "number"`,(()=>{t.assign(i,u8._`${c}[${s}]`),e.error(),t.assign(u,!1).break()})).code(u8._`${c}[${s}] = ${n}`)}))}function p(n,i){const s=(0,l8.useFunc)(t,c8.default),a=t.name("outer");t.label(a).for(u8._`;${n}--;`,(()=>t.for(u8._`${i} = ${n}; ${i}--;`,(()=>t.if(u8._`${s}(${r}[${n}], ${r}[${i}])`,(()=>{e.error(),t.assign(u,!1).break(a)}))))))}e.block$data(u,(function(){const n=t.let("i",u8._`${r}.length`),i=t.let("j");e.setParams({i:n,j:i}),t.assign(u,!0),t.if(u8._`${n} > 1`,(()=>(l.length>0&&!l.some((e=>"object"===e||"array"===e))?c:p)(n,i)))}),u8._`${a} === false`),e.ok(u)}};i8.default=p8;var d8={};Object.defineProperty(d8,"__esModule",{value:!0});const h8=W2(),f8=K2,m8=s8,y8={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>h8._`{allowedValue: ${e}}`},code(e){const{gen:t,data:r,$data:n,schemaCode:i,schema:s}=e;n||s&&"object"==typeof s?e.fail$data(h8._`!${(0,f8.useFunc)(t,m8.default)}(${r}, ${i})`):e.fail(h8._`${s} !== ${r}`)}};d8.default=y8;var g8={};Object.defineProperty(g8,"__esModule",{value:!0});const b8=W2(),v8=K2,x8=s8,E8={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>b8._`{allowedValues: ${e}}`},code(e){const{gen:t,data:r,$data:n,schema:i,schemaCode:s,it:a}=e;if(!n&&0===i.length)throw new Error("enum must have non-empty array");const o=i.length>=a.opts.loopEnum;let u;const l=()=>null!=u?u:u=(0,v8.useFunc)(t,x8.default);let c;if(o||n)c=t.let("valid"),e.block$data(c,(function(){t.assign(c,!1),t.forOf("v",s,(e=>t.if(b8._`${l()}(${r}, ${e})`,(()=>t.assign(c,!0).break()))))}));else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",s);c=(0,b8.or)(...i.map(((t,n)=>function(e,t){const n=i[t];return"object"==typeof n&&null!==n?b8._`${l()}(${r}, ${e}[${t}])`:b8._`${r} === ${n}`}(e,n))))}e.pass(c)}};g8.default=E8,Object.defineProperty(D4,"__esModule",{value:!0});const S8=I4,D8=_4,T8=U4,C8=W4,A8=X4,P8=e8,w8=i8,k8=d8,I8=g8,N8=[T4.default,S8.default,D8.default,T8.default,C8.default,A8.default,P8.default,w8.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},k8.default,I8.default];D4.default=N8;var F8={},_8={};Object.defineProperty(_8,"__esModule",{value:!0}),_8.validateAdditionalItems=void 0;const O8=W2(),B8=K2,j8={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>O8.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>O8._`{limit: ${e}}`},code(e){const{parentSchema:t,it:r}=e,{items:n}=t;Array.isArray(n)?L8(e,n):(0,B8.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}};function L8(e,t){const{gen:r,schema:n,data:i,keyword:s,it:a}=e;a.items=!0;const o=r.const("len",O8._`${i}.length`);if(!1===n)e.setParams({len:t.length}),e.pass(O8._`${o} <= ${t.length}`);else if("object"==typeof n&&!(0,B8.alwaysValidSchema)(a,n)){const n=r.var("valid",O8._`${o} <= ${t.length}`);r.if((0,O8.not)(n),(()=>function(n){r.forRange("i",t.length,o,(t=>{e.subschema({keyword:s,dataProp:t,dataPropType:B8.Type.Num},n),a.allErrors||r.if((0,O8.not)(n),(()=>r.break()))}))}(n))),e.ok(n)}}_8.validateAdditionalItems=L8,_8.default=j8;var M8={},R8={};Object.defineProperty(R8,"__esModule",{value:!0}),R8.validateTuple=void 0;const $8=W2(),U8=K2,V8=p3(),z8={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return q8(e,"additionalItems",t);r.items=!0,(0,U8.alwaysValidSchema)(r,t)||e.ok((0,V8.validateArray)(e))}};function q8(e,t,r=e.schema){const{gen:n,parentSchema:i,data:s,keyword:a,it:o}=e;!function(e){const{opts:n,errSchemaPath:i}=o,s=r.length,u=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(n.strictTuples&&!u){const e=`"${a}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,U8.checkStrictMode)(o,e,n.strictTuples)}}(i),o.opts.unevaluated&&r.length&&!0!==o.items&&(o.items=U8.mergeEvaluated.items(n,r.length,o.items));const u=n.name("valid"),l=n.const("len",$8._`${s}.length`);r.forEach(((t,r)=>{(0,U8.alwaysValidSchema)(o,t)||(n.if($8._`${l} > ${r}`,(()=>e.subschema({keyword:a,schemaProp:r,dataProp:r},u))),e.ok(u))}))}R8.validateTuple=q8,R8.default=z8,Object.defineProperty(M8,"__esModule",{value:!0});const W8=R8,K8={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,W8.validateTuple)(e,"items")};M8.default=K8;var H8={};Object.defineProperty(H8,"__esModule",{value:!0});const J8=W2(),X8=K2,G8=p3(),Y8=_8,Q8={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>J8.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>J8._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,(0,X8.alwaysValidSchema)(n,t)||(i?(0,Y8.validateAdditionalItems)(e,i):e.ok((0,G8.validateArray)(e)))}};H8.default=Q8;var Z8={};Object.defineProperty(Z8,"__esModule",{value:!0});const e5=W2(),t5=K2,r5={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?e5.str`must contain at least ${e} valid item(s)`:e5.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?e5._`{minContains: ${e}}`:e5._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:s}=e;let a,o;const{minContains:u,maxContains:l}=n;s.opts.next?(a=void 0===u?1:u,o=l):a=1;const c=t.const("len",e5._`${i}.length`);if(e.setParams({min:a,max:o}),void 0===o&&0===a)return void(0,t5.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==o&&a>o)return(0,t5.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,t5.alwaysValidSchema)(s,r)){let t=e5._`${c} >= ${a}`;return void 0!==o&&(t=e5._`${t} && ${c} <= ${o}`),void e.pass(t)}s.items=!0;const p=t.name("valid");function d(){const e=t.name("_valid"),r=t.let("count",0);h(e,(()=>t.if(e,(()=>function(e){t.code(e5._`${e}++`),void 0===o?t.if(e5._`${e} >= ${a}`,(()=>t.assign(p,!0).break())):(t.if(e5._`${e} > ${o}`,(()=>t.assign(p,!1).break())),1===a?t.assign(p,!0):t.if(e5._`${e} >= ${a}`,(()=>t.assign(p,!0))))}(r)))))}function h(r,n){t.forRange("i",0,c,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:t5.Type.Num,compositeRule:!0},r),n()}))}void 0===o&&1===a?h(p,(()=>t.if(p,(()=>t.break())))):0===a?(t.let(p,!0),void 0!==o&&t.if(e5._`${i}.length > 0`,d)):(t.let(p,!1),d()),e.result(p,(()=>e.reset()))}};Z8.default=r5;var n5={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=W2(),r=K2,n=p3();e.error={message:({params:{property:e,depsCount:r,deps:n}})=>{const i=1===r?"property":"properties";return t.str`must have ${i} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:r,deps:n,missingProperty:i}})=>t._`{property: ${e},
|