eslint-plugin-sukka 4.1.0 → 4.1.1

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 CHANGED
@@ -1,15 +1,15 @@
1
- "use strict";var e,r,t,n,u,a,i,o,s,d=require("node:path"),c=require("node:fs");function f(e){var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var l=f(d),p=f(c);function g(e,r){if("string"==typeof r){let e=r;r=r=>r.type===e}for(;e;){if(r(e))return e;e=e.parent}}function m(e){return e?.type==="Identifier"||e?.type==="PrivateIdentifier"}function y(e){return e?.type==="MemberExpression"}function h(e){return e?.type==="AwaitExpression"}function b(e,r){return!!m(e)&&("function"==typeof r?r(e.name):Array.isArray(r)?r.includes(e.name):e.name===r)}function v(e,r){return e?.type==="Literal"&&(Array.isArray(r)?r.includes(e.value):"string"==typeof e.value&&r instanceof RegExp?r.test(e.value):e.value===r)}function x(e){return!!e&&["ArrowFunctionExpression","FunctionDeclaration","FunctionExpression"].includes(e.type)}function E(e,r){return e?.type==="Identifier"&&r?.type===e.type&&e.name===r.name}function A({name:e,meta:r,create:t,resolveOptions:n}){return r?.docs&&(r.docs.url??=new URL(e,"https://dimensiondev.github.io/eslint-plugin/src/rules/").toString()),Object.freeze({name:e,meta:r,create(e){let r=n?.(...e.options)??e.options[0],u=Object.entries(t(e,r));return Object.fromEntries(u.filter(e=>e[1]))}})}var D=A({name:"array/no-unneeded-flat-map",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow `Array#flatMap((x) => x)` when simpler alternatives exist",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow simple `Array#flatMap()` in array"}},create:e=>({CallExpression(r){var t;if("MemberExpression"!==r.callee.type)return;let n=b(r.callee.property,"flatMap");if(!n||!(x(t=r.arguments[0])&&1===t.params.length&&"Identifier"===t.params[0].type&&t.body&&(E(t.params[0],t.body)||"BlockStatement"===t.body.type&&1===t.body.body.length&&"ReturnStatement"===t.body.body[0].type&&E(t.params[0],t.body.body[0].argument))))return;let{property:u}=r.callee;e.report({node:r,messageId:"invalid",*fix(e){yield e.replaceText(u,"flat"),yield*r.arguments.map(r=>e.remove(r))}})}})});const C=new Set(["href","pathname","search","hash","origin"]);var S=A({name:"browser/prefer-location-assign",meta:{type:"suggestion",fixable:"code",docs:{description:"Prefer `location.assign(...)` over `location.*`",recommended:"stylistic"},schema:[],messages:{instead:"Use `location.assign(...)` instead of `location.{{name}}`"}},create(e){let r=e.getSourceCode();return{AssignmentExpression(t){let n=function(e,r){if(b(e,r))return e;for(;y(e);){if(b(e.property,r))return e;e=e.object}}(t.left,"location");if(!n)return;let u=_(n.parent);e.report({node:t,messageId:"instead",data:{name:u},fix:function(e,r,t){let n=_(r.parent);if(C.has(n??"href"))return n=>n.replaceText(t,`${e.getText(r)}.assign(${e.getText(t.right)})`)}(r,n,t)})}}}});function _(e){if(y(e)&&m(e.property))return e.property.name}var w=A({name:"jsx/no-template-literal",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow use template-literal in JSX",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow use template-literal in JSX"}},create:e=>({JSXExpressionContainer(r){if("TemplateLiteral"!==r.expression.type||r.parent?.type==="JSXAttribute")return;let{expression:t}=r;e.report({node:r,messageId:"invalid",fix(n){let u=[...t.expressions,...t.quasis];u.sort((e,r)=>e.range[0]-r.range[0]);let a=e.getSourceCode(),i=u.map(e=>"TemplateElement"===e.type?e.value.cooked:"{"+a.getText(e)+"}");return n.replaceText(r,i.join(""))}})}})}),F=A({name:"jsx/no-unneeded-nested",meta:{type:"suggestion",fixable:"code",docs:{description:"Reduce unneeded JSXFragment nested",recommended:"stylistic"},schema:[],messages:{invalid:"Reduce unneeded JSXFragment nested"}},create(e){let r=e.getSourceCode();return{JSXFragment(t){if(1!==t.children.length)return;let n=t.children[0];e.report({node:t,messageId:"invalid",*fix(e){"JSXExpressionContainer"===n.type?"JSXEmptyExpression"!==n.expression.type&&(yield e.replaceText(t,r.getText(n.expression))):yield e.replaceText(t,r.getText(n))}})}}}});const T=/^toLocale(?<name>Upper|Lower)Case$/g;var k=A({name:"string/no-locale-case",meta:{type:"problem",fixable:"code",docs:{description:"Disallow use `String#toLocale{Upper,Lower}Case()`",recommended:"recommended"},schema:[],messages:{instead:"Use `.to{{name}}Case(...)` instead of `.toLocale{{name}}Case()`"}},create:e=>({CallExpression(r){if(r.arguments.length>0||!y(r.callee)||!m(r.callee.property))return;let{property:t}=r.callee,n=T.exec(t.name);n&&e.report({node:r,data:{name:n.groups?.name},messageId:"instead",fix:e=>e.replaceText(t,t.name.replaceAll("Locale",""))})}})});function P(e){return JSON.stringify(e)}var I=A({name:"string/no-simple-template-literal",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow simple template-literal",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow simple template-literal"}},create(e){let r=e.getSourceCode();return{TemplateLiteral(t){let n=t.parent?.type!=="TaggedTemplateExpression"&&1===t.quasis.length&&!function({loc:e}){return!!e&&e.start.line!==e.end.line}(t.quasis[0])&&0===t.expressions.length?e=>{let n=P(t.quasis[0].value.cooked),u=g(t,e=>"Property"===e.type&&e.key===t);return u?e.replaceText(u,`${n}: ${r.getText(u.value)}`):e.replaceText(t,n)}:2===t.quasis.length&&t.quasis.every(({value:e})=>""===e.cooked)&&1===t.expressions.length?e=>e.replaceText(t,r.getText(t.expressions[0])):void 0;n&&e.report({node:t,messageId:"invalid",fix:n})}}}});const j=["BigInt","Boolean","Function","Number","Object","String","Symbol","Array"];var B=A({name:"type/no-instanceof-wrapper",meta:{type:"problem",fixable:"code",docs:{description:"Disallow `instanceof` for wrapper objects",recommended:"recommended"},schema:[],messages:{primitive:'Unexpected `instanceof` operator. Use `typeof x === "{{typeName}}"` instead',array:"Unexpected `instanceof` operator. Use `Array.isArray` instead"},replacedBy:["unicorn/no-instanceof-array"]},create(e){let r=e.getSourceCode(),t=e.getScope(),n=j.flatMap(e=>{let r=t.set.get(e);return!r||r.defs.length>0?[]:r.references??[]});return{Program(){for(let{identifier:t}of n){let n=t.parent;if(n?.type==="BinaryExpression"&&"instanceof"===n.operator&&n.right===t){if("Array"===t.name)e.report({node:n,messageId:"array",fix:e=>e.replaceText(n,`Array.isArray(${r.getText(n.left)})`)});else{let u=t.name.toLowerCase();e.report({node:n,messageId:"primitive",data:{typeName:u},fix:e=>e.replaceText(n,`typeof ${r.getText(n.left)} === ${P(u)}`)})}}}}}}});const O=/\P{ASCII}/u;function R(e,r){return{Program(t){for(let n of t.tokens??[]){let t=function(e){switch(e.type){case"String":case"Template":return e.value.slice(1,-1);case"Identifier":if(e.value.startsWith("#"))return e.value.slice(1);return e.value;case"RegularExpression":return e.regex.pattern;case"JSXText":case"JSXIdentifier":return e.value}return!1}(n);!1!==t&&e.test(t)&&r(n,"code")}for(let n of t.comments??[])e.test(n.value)&&r(n,"comment")}}}function N(e,r){switch(e.type){case"String":case"Template":return t=>{let n=e.value.slice(0,1),u=e.value.slice(-1),a=L(e.value.slice(1,-1),r);return t.replaceText(e,`${n}${a}${u}`)};case"JSXText":return t=>{let n=e.value.replace(r,e=>`&#x${M(e.codePointAt(0))};`);return t.replaceText(e,n)};case"RegularExpression":return t=>{let n=new Set(e.regex.flags);n.add("u");let u=new RegExp(L(e.regex.pattern,r),[...n].join(""));return t.replaceText(e,u.toString())}}}function L(e,r){return e.replace(r,e=>{let r=e.codePointAt(0);return r>65535?`\\u{${M(r)}}`:`\\u${M(r)}`})}function M(e){return e.toString(16).padStart(4,"0").toUpperCase()}A({name:"unicode/specific-set",meta:{type:"problem",fixable:"code",docs:{description:"Limit the range of literal characters"},schema:[{type:"object",properties:{pattern:{type:"string"},flags:{type:"string"},only:{type:"string",enum:["code","comment"]}},additionalProperties:!1}],messages:{illegal:"Illegal character detected"}},resolveOptions(e){let r=e?.pattern?new RegExp(e.pattern,e.flags??"u"):O;return{pattern:r,only:e?.only}},create:(e,{pattern:r,only:t})=>R(r,(n,u)=>{if(t&&t!==u)return;let a=RegExp(r.source,"gu"),i=N(n,a);e.report({node:n,messageId:"illegal",fix:i})})});const $=/[\u061C\u202A-\u202E\u2066-\u2069]/;var z=A({name:"unicode/no-bidi",meta:{type:"problem",fixable:"code",docs:{description:"Detect and stop Trojan Source attacks",recommended:"recommended"},schema:[],messages:{detected:"Detected potential trojan source attack with unicode bidi introduced in this {{kind}}: {{text}}."}},create:e=>R($,(r,t)=>{let n=RegExp($.source,"gu"),u={kind:t,text:L(r.value,n)},a=N(r,n);e.report({node:r,data:u,messageId:"detected",fix:a})})});const U=function(){let e=[/\u00AD\u034F\u061C\u17B4\u17B5\uFEFF\uFFFC/,/\u180B-\u180E/,/\u200B-\u200F/,/\u202A-\u202E/,/\u2060-\u206F/,/\uFE00-\uFE0F/,/\uFFF0-\uFFF8/,/\u{1D173}-\u{1D17A}/u,/\u{E0000}-\u{E007F}/u,/\u{E0100}-\u{E01EF}/u].map(e=>"string"==typeof e?e:e.source).join("");return RegExp(`[${e}]`,"u")}(/\u00AD\u034F\u061C\u17B4\u17B5\uFEFF\uFFFC/,/\u180B-\u180E/,/\u200B-\u200F/,/\u202A-\u202E/,/\u2060-\u206F/,/\uFE00-\uFE0F/,/\uFFF0-\uFFF8/,/\u{1D173}-\u{1D17A}/u,/\u{E0000}-\u{E007F}/u,/\u{E0100}-\u{E01EF}/u);var W=A({name:"unicode/no-invisible",meta:{type:"problem",fixable:"code",docs:{description:"Disallow invisible characters",recommended:"recommended"},schema:[],messages:{illegal:"Illegal character detected"}},create:e=>R(U,r=>{let t=RegExp(U.source,"gu"),n=N(r,t);e.report({node:r,messageId:"illegal",fix:n})})}),q=A({name:"no-redundant-variable",meta:{type:"problem",fixable:"code",docs:{description:"Disallow redundant variable",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow Redundant Variable"}},create:e=>({BlockStatement({body:r}){var t;let n=r.find(V);if(!n)return;let u=r[r.indexOf(n)-1];u&&"VariableDeclaration"===u.type&&1===u.declarations.length&&u.declarations.some(({init:e,id:r})=>null!==e&&E(n.argument,r))&&e.report({node:n,messageId:"invalid",fix:(t=e.getSourceCode(),e=>{let{init:r,id:a}=u.declarations[0];if(!(r&&a&&n.argument))return null;let i=!h(r)||g(r,"TryStatement")?r:r.argument,o=(e=>{if(!a.typeAnnotation)return e;let n=t.getText(a.typeAnnotation.typeAnnotation);return`(${e}) as ${h(r)?`Promise<${n}>`:n}`})(t.getText(i));return[e.remove(u),e.replaceText(n.argument,o)]})})}})});function V(e){return"ReturnStatement"===e.type&&m(e.argument)}var Z=A({name:"no-single-return",meta:{type:"suggestion",docs:{description:"Disallow single-return",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow Single Return"}},create:e=>({BlockStatement({parent:r,body:t}){if(!x(r))return;let n=function(e,r){let t=r.find(G);if(!t)return;let n=r.find(e=>"VariableDeclaration"===e.type&&"const"!==e.kind&&e.declarations.some(({id:e})=>E(t.argument,e)));if(n)return e.getDeclaredVariables(n).find(({references:e})=>e.every(e=>e.isWriteOnly()||e.identifier.parent===t))}(e,t);for(let{identifier:r}of n?.references??[])r.parent&&e.report({node:r.parent,messageId:"invalid"})}})});function G(e){return"ReturnStatement"===e.type&&m(e.argument)}var H=A({name:"prefer-early-return",meta:{type:"problem",fixable:"code",docs:{description:"Prefer early returns over full-body conditional wrapping in function declarations",recommended:"stylistic"},schema:[{type:"object",properties:{maximumStatements:{type:"integer",minimum:0}},additionalProperties:!1}],messages:{prefer:"Prefer an early return to a conditionally-wrapped function body"}},resolveOptions:e=>e?.maximumStatements??1,create:(e,r)=>({BlockStatement:function({body:t,parent:n}){var u;if(!x(n))return;let a=1===t.length&&function(e,r){if(!("IfStatement"===e.type&&null===e.alternate))return!1;let{consequent:t}=e;return"ExpressionStatement"===t.type&&0===r||"BlockStatement"===t.type&&t.body.length>r}(t[0],r);if(!a)return;let i=(u=t[0],function*(r){var t;if("IfStatement"!==u.type)return;let n=e.getSourceCode(),{test:a,consequent:i}=u;yield r.insertTextBefore(a,"!("),yield r.insertTextAfter(a,")"),yield r.replaceText(i,"return;");let o=(t=n.getText(i),"BlockStatement"===i.type?t.slice(1,-1):t);yield r.insertTextAfter(u,o)});e.report({node:t[0],messageId:"prefer",fix:i})}})}),K=A({name:"prefer-fetch",meta:{type:"problem",docs:{description:"Enforce fetch",recommended:"stylistic"},schema:[],messages:{callee:"Should use 'fetch' instead"}},create:e=>({ImportDeclaration(r){let t=r.source.value;("axios"===t||"request"===t)&&e.report({node:r,messageId:"callee"})},NewExpression(r){let t=function({callee:e}){return b(e,"XMLHttpRequest")}(r)||b(r.callee,"ActiveXObject")&&v(r.arguments[0],/xmlhttp/i);t&&e.report({node:r,messageId:"callee"})},CallExpression(r){let t=function({callee:e}){let r="$http";return b(e,r)||y(e)&&b(e.object,r)}(r)||function({callee:e,parent:r}){let t=["$","jQuery"];return b(e,t)&&y(r)&&b(r.property,"load")||y(e)&&b(e.object,t)&&b(e.property,["ajax","get","post","getJSON","getScript"])}(r)||J(r,"axios")||J(r,"request");t&&e.report({node:r,messageId:"callee"})}})});function J(e,r){return b(e.callee,"require")&&v(e.arguments[0],r)}const X=new Set(["setTimeout","setInterval","requestAnimationFrame","requestIdleCallback"]);var Y=A({name:"prefer-timer-id",meta:{type:"problem",docs:{description:"Enforce best practice with timer function",recommended:"recommended"},schema:[],messages:{assign:"Timer id should assign to an identifier or member for cleaning up, `const timer = {{name}}(...);`",fix:"Assign timer id to a variable"},hasSuggestions:!0},create:e=>({CallExpression(r){if("Identifier"!==r.callee.type)return;let t=!X.has(r.callee.name)||function(e){if(!b(e.callee,"setTimeout"))return!1;let r=e.arguments[1];return!r||v(r,0)}(r)||r.parent?.type==="AssignmentExpression"&&r.parent.right===r||r.parent?.type==="VariableDeclarator"&&r.parent.init===r;t||e.report({node:r,messageId:"assign",data:{name:r.callee.name},suggest:[{messageId:"fix",fix:e=>e.insertTextBefore(r,"const timer = ")}]})}})});function Q(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ee(e){if(e.__esModule)return e;var r=e.default;if("function"==typeof r){var t=function e(){return this instanceof e?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var er=ee(l),et=e=>{let r=er.basename(e,".js");return`https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/${r}.md`},en=Q(et);const eu={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},ea=Object.keys(eu);for(const e of ea)Object.freeze(eu[e]);Object.freeze(eu);const ei=new Set(["parent","leadingComments","trailingComments"]);function eo(e){return!ei.has(e)&&"_"!==e[0]}function es(e,r){let t=r.range[0],n=e,u=!1;do for(let e of(u=!1,n.childScopes)){let r=e.block.range;if(r[0]<=t&&t<r[1]){n=e,u=!0;break}}while(u);return n}function ed(e,r){let t="",n=e;for("string"==typeof r?t=r:(t=r.name,n=es(n,r));null!=n;){let e=n.set.get(t);if(null!=e)return e;n=n.upper}return null}function ec(e){return!this(e)}function ef(e){return ec.bind(e)}function el(e,r){return"Punctuator"===e.type&&e.value===r}function ep(e){return el(e,"=>")}function eg(e){return el(e,",")}function em(e){return el(e,";")}function ey(e){return el(e,":")}function eh(e){return el(e,"(")}function eb(e){return el(e,")")}function ev(e){return el(e,"[")}function ex(e){return el(e,"]")}function eE(e){return el(e,"{")}function eA(e){return el(e,"}")}function eD(e){return["Block","Line","Shebang"].includes(e.type)}const eC=ef(ep),eS=ef(eg),e_=ef(em),ew=ef(ey),eF=ef(eh),eT=ef(eb),ek=ef(ev),eP=ef(ex),eI=ef(eE),ej=ef(eA),eB=ef(eD);function eO(e,r){let t=e.parent,n=null,u=null;if("ArrowFunctionExpression"===e.type){let t=r.getTokenBefore(e.body,ep);n=t.loc.start,u=t.loc.end}else n="Property"===t.type||"MethodDefinition"===t.type||"PropertyDefinition"===t.type?t.loc.start:e.loc.start,u=(e.id?r.getTokenAfter(e.id,eh):r.getFirstToken(e,eh)).loc.start;return{start:{...n},end:{...u}}}const eR="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},eN=Object.freeze(new Set(["Array","ArrayBuffer","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","isFinite","isNaN","isPrototypeOf","JSON","Map","Math","NaN","Number","Object","parseFloat","parseInt","Promise","Proxy","Reflect","RegExp","Set","String","Symbol","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","undefined","unescape","WeakMap","WeakSet"])),eL=new Set([Array.isArray,Array.of,Array.prototype.at,Array.prototype.concat,Array.prototype.entries,Array.prototype.every,Array.prototype.filter,Array.prototype.find,Array.prototype.findIndex,Array.prototype.flat,Array.prototype.includes,Array.prototype.indexOf,Array.prototype.join,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.slice,Array.prototype.some,Array.prototype.toString,Array.prototype.values,"function"==typeof BigInt?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,Map,Map.prototype.entries,Map.prototype.get,Map.prototype.has,Map.prototype.keys,Map.prototype.values,...Object.getOwnPropertyNames(Math).filter(e=>"random"!==e).map(e=>Math[e]).filter(e=>"function"==typeof e),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Number.prototype.toExponential,Number.prototype.toFixed,Number.prototype.toPrecision,Number.prototype.toString,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,Set,Set.prototype.entries,Set.prototype.has,Set.prototype.keys,Set.prototype.values,String,String.fromCharCode,String.fromCodePoint,String.raw,String.prototype.at,String.prototype.charAt,String.prototype.charCodeAt,String.prototype.codePointAt,String.prototype.concat,String.prototype.endsWith,String.prototype.includes,String.prototype.indexOf,String.prototype.lastIndexOf,String.prototype.normalize,String.prototype.padEnd,String.prototype.padStart,String.prototype.slice,String.prototype.startsWith,String.prototype.substr,String.prototype.substring,String.prototype.toLowerCase,String.prototype.toString,String.prototype.toUpperCase,String.prototype.trim,String.prototype.trimEnd,String.prototype.trimLeft,String.prototype.trimRight,String.prototype.trimStart,Symbol.for,Symbol.keyFor,unescape].filter(e=>"function"==typeof e)),eM=new Set([Object.freeze,Object.preventExtensions,Object.seal]),e$=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function ez(e,r){let t=[];for(let n=0;n<e.length;++n){let u=e[n];if(null==u)t.length=n+1;else if("SpreadElement"===u.type){let e=eW(u.argument,r);if(null==e)return null;t.push(...e.value)}else{let e=eW(u,r);if(null==e)return null;t.push(e.value)}}return t}const eU=Object.freeze({ArrayExpression(e,r){let t=ez(e.elements,r);return null!=t?{value:t}:null},AssignmentExpression:(e,r)=>"="===e.operator?eW(e.right,r):null,BinaryExpression(e,r){if("in"===e.operator||"instanceof"===e.operator)return null;let t=eW(e.left,r),n=eW(e.right,r);if(null!=t&&null!=n)switch(e.operator){case"==":return{value:t.value==n.value};case"!=":return{value:t.value!=n.value};case"===":return{value:t.value===n.value};case"!==":return{value:t.value!==n.value};case"<":return{value:t.value<n.value};case"<=":return{value:t.value<=n.value};case">":return{value:t.value>n.value};case">=":return{value:t.value>=n.value};case"<<":return{value:t.value<<n.value};case">>":return{value:t.value>>n.value};case">>>":return{value:t.value>>>n.value};case"+":return{value:t.value+n.value};case"-":return{value:t.value-n.value};case"*":return{value:t.value*n.value};case"/":return{value:t.value/n.value};case"%":return{value:t.value%n.value};case"**":return{value:t.value**n.value};case"|":return{value:t.value|n.value};case"^":return{value:t.value^n.value};case"&":return{value:t.value&n.value}}return null},CallExpression(e,r){let t=e.callee,n=ez(e.arguments,r);if(null!=n){if("MemberExpression"===t.type){if("PrivateIdentifier"===t.property.type)return null;let u=eW(t.object,r);if(null!=u){if(null==u.value&&(u.optional||e.optional))return{value:void 0,optional:!0};let a=eq(t,r);if(null!=a){let e=u.value,r=a.value;if(eL.has(e[r]))return{value:e[r](...n)};if(eM.has(e[r]))return{value:n[0]}}}}else{let u=eW(t,r);if(null!=u){if(null==u.value&&e.optional)return{value:void 0,optional:!0};let r=u.value;if(eL.has(r))return{value:r(...n)};if(eM.has(r))return{value:n[0]}}}}return null},ConditionalExpression(e,r){let t=eW(e.test,r);return null!=t?t.value?eW(e.consequent,r):eW(e.alternate,r):null},ExpressionStatement:(e,r)=>eW(e.expression,r),Identifier(e,r){if(null!=r){let t=ed(r,e);if(null!=t&&0===t.defs.length&&eN.has(t.name)&&t.name in eR)return{value:eR[t.name]};if(null!=t&&1===t.defs.length){let e=t.defs[0];if(e.parent&&"Variable"===e.type&&("const"===e.parent.kind||function(e){let r=e.references,t=r.filter(e=>e.init).length,n=r.filter(e=>e.isReadOnly()).length;return 1===t&&n+t===r.length}(t))&&"Identifier"===e.node.id.type)return eW(e.node.init,r)}}return null},Literal:e=>(null!=e.regex||null!=e.bigint)&&null==e.value?null:{value:e.value},LogicalExpression(e,r){let t=eW(e.left,r);if(null!=t){if("||"===e.operator&&!0==!!t.value||"&&"===e.operator&&!1==!!t.value||"??"===e.operator&&null!=t.value)return t;let n=eW(e.right,r);if(null!=n)return n}return null},MemberExpression(e,r){if("PrivateIdentifier"===e.property.type)return null;let t=eW(e.object,r);if(null!=t){if(null==t.value&&(t.optional||e.optional))return{value:void 0,optional:!0};let n=eq(e,r);if(null!=n){if(!function(e,r){let t=function(e,r){let t=e;for(;("object"==typeof t||"function"==typeof t)&&null!==t;){let e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}return null}(e,r);return null!=t&&null!=t.get}(t.value,n.value))return{value:t.value[n.value]};for(let[e,r]of e$)if(t.value instanceof e&&r.has(n.value))return{value:t.value[n.value]}}}return null},ChainExpression(e,r){let t=eW(e.expression,r);return null!=t?{value:t.value}:null},NewExpression(e,r){let t=eW(e.callee,r),n=ez(e.arguments,r);if(null!=t&&null!=n){let e=t.value;if(eL.has(e))return{value:new e(...n)}}return null},ObjectExpression(e,r){let t={};for(let n of e.properties)if("Property"===n.type){if("init"!==n.kind)return null;let e=eq(n,r),u=eW(n.value,r);if(null==e||null==u)return null;t[e.value]=u.value}else{if("SpreadElement"!==n.type&&"ExperimentalSpreadProperty"!==n.type)return null;let e=eW(n.argument,r);if(null==e)return null;Object.assign(t,e.value)}return{value:t}},SequenceExpression(e,r){let t=e.expressions[e.expressions.length-1];return eW(t,r)},TaggedTemplateExpression(e,r){let t=eW(e.tag,r),n=ez(e.quasi.expressions,r);if(null!=t&&null!=n){let r=t.value,u=e.quasi.quasis.map(e=>e.value.cooked);if(u.raw=e.quasi.quasis.map(e=>e.value.raw),r===String.raw)return{value:r(u,...n)}}return null},TemplateLiteral(e,r){let t=ez(e.expressions,r);if(null!=t){let r=e.quasis[0].value.cooked;for(let n=0;n<t.length;++n)r+=t[n]+e.quasis[n+1].value.cooked;return{value:r}}return null},UnaryExpression(e,r){if("delete"===e.operator)return null;if("void"===e.operator)return{value:void 0};let t=eW(e.argument,r);if(null!=t)switch(e.operator){case"-":return{value:-t.value};case"+":return{value:+t.value};case"!":return{value:!t.value};case"~":return{value:~t.value};case"typeof":return{value:typeof t.value}}return null}});function eW(e,r){return null!=e&&Object.hasOwnProperty.call(eU,e.type)?eU[e.type](e,r):null}function eq(e,r){let t="Property"===e.type?e.key:e.property;return e.computed?eW(t,r):"Identifier"===t.type?{value:t.name}:"Literal"===t.type?t.bigint?{value:t.bigint}:{value:String(t.value)}:null}function eV(e,r=null){try{return eW(e,r)}catch(e){return null}}function eZ(e,r=null){if(e&&"Literal"===e.type&&null===e.value){if(e.regex)return`/${e.regex.pattern}/${e.regex.flags}`;if(e.bigint)return e.bigint}let t=eV(e,r);return t&&String(t.value)}function eG(e,r){switch(e.type){case"MemberExpression":if(e.computed)return eZ(e.property,r);if("PrivateIdentifier"===e.property.type)break;return e.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":if(e.computed)return eZ(e.key,r);if("Literal"===e.key.type)return String(e.key.value);if("PrivateIdentifier"===e.key.type)break;return e.key.name}return null}function eH(e,r){let t=e.parent,n=[],u="Property"===t.type&&t.value===e,a="MethodDefinition"===t.type&&t.value===e,i="PropertyDefinition"===t.type&&t.value===e;if((a||i)&&(t.static&&n.push("static"),"PrivateIdentifier"===t.key.type&&n.push("private")),e.async&&n.push("async"),e.generator&&n.push("generator"),u||a){if("constructor"===t.kind)return"constructor";"get"===t.kind?n.push("getter"):"set"===t.kind?n.push("setter"):n.push("method")}else i?n.push("method"):("ArrowFunctionExpression"===e.type&&n.push("arrow"),n.push("function"));if(u||a||i){if("PrivateIdentifier"===t.key.type)n.push(`#${t.key.name}`);else{let e=eG(t);if(e)n.push(`'${e}'`);else if(r){let e=r.getText(t.key);e.includes("\n")||n.push(`[${e}]`)}}}else e.id?n.push(`'${e.id.name}'`):"VariableDeclarator"===t.type&&t.id&&"Identifier"===t.id.type?n.push(`'${t.id.name}'`):("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left&&"Identifier"===t.left.type?n.push(`'${t.left.name}'`):"ExportDefaultDeclaration"===t.type&&t.declaration===e&&n.push("'default'");return n.join(" ")}const eK=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),eJ=Object.freeze(new Set(["-","+","!","~"]));function eX(e){return null!==e&&"object"==typeof e&&"string"==typeof e.type}const eY=Object.freeze(Object.assign(Object.create(null),{$visit(e,r,t){let{type:n}=e;return"function"==typeof this[n]?this[n](e,r,t):this.$visitChildren(e,r,t)},$visitChildren(e,r,t){let{type:n}=e;for(let u of t[n]||Object.keys(e).filter(eo)){let n=e[u];if(Array.isArray(n)){for(let e of n)if(eX(e)&&this.$visit(e,r,t))return!0}else if(eX(n)&&this.$visit(n,r,t))return!0}return!1},ArrowFunctionExpression:()=>!1,AssignmentExpression:()=>!0,AwaitExpression:()=>!0,BinaryExpression(e,r,t){return!!(r.considerImplicitTypeConversion&&eK.has(e.operator))&&("Literal"!==e.left.type||"Literal"!==e.right.type)||this.$visitChildren(e,r,t)},CallExpression:()=>!0,FunctionExpression:()=>!1,ImportExpression:()=>!0,MemberExpression(e,r,t){return!!r.considerGetters||!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.property.type||this.$visitChildren(e,r,t)},MethodDefinition(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},NewExpression:()=>!0,Property(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},PropertyDefinition(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},UnaryExpression(e,r,t){return!!("delete"===e.operator||r.considerImplicitTypeConversion&&eJ.has(e.operator)&&"Literal"!==e.argument.type)||this.$visitChildren(e,r,t)},UpdateExpression:()=>!0,YieldExpression:()=>!0}));function eQ(e,r,{considerGetters:t=!1,considerImplicitTypeConversion:n=!1}={}){return eY.$visit(e,{considerGetters:t,considerImplicitTypeConversion:n},r.visitorKeys||eu)}function e0(e,r,t){let n,u,a,i,o;if("number"==typeof e){if(n=0|e,u=r,a=t,!(n>=1))throw TypeError("'times' should be a positive integer.")}else n=1,u=e,a=r;if(null==u||null==u.parent||"CatchClause"===u.parent.type&&u.parent.param===u)return!1;i=o=u;do i=a.getTokenBefore(i),o=a.getTokenAfter(o);while(null!=i&&null!=o&&eh(i)&&eb(o)&&i!==function(e,r){let t=e.parent;switch(t.type){case"CallExpression":case"NewExpression":if(1===t.arguments.length&&t.arguments[0]===e)return r.getTokenAfter(t.callee,eh);return null;case"DoWhileStatement":if(t.test===e)return r.getTokenAfter(t.body,eh);return null;case"IfStatement":case"WhileStatement":if(t.test===e)return r.getFirstToken(t,1);return null;case"ImportExpression":if(t.source===e)return r.getFirstToken(t,1);return null;case"SwitchStatement":if(t.discriminant===e)return r.getFirstToken(t,1);return null;case"WithStatement":if(t.object===e)return r.getFirstToken(t,1);return null;default:return null}}(u,a)&&--n>0);return 0===n}const e1=/\$(?:[$&`']|[1-9][0-9]?)/gu,e2=new WeakMap;class e3{constructor(e,{escaped:r=!1}={}){if(!(e instanceof RegExp))throw TypeError("'pattern' should be a RegExp instance.");if(!e.flags.includes("g"))throw Error("'pattern' should contains 'g' flag.");e2.set(this,{pattern:new RegExp(e.source,e.flags),escaped:!!r})}*execAll(e){let{pattern:r,escaped:t}=e2.get(this),n=null,u=0;for(r.lastIndex=0;null!=(n=r.exec(e));)(t||!function(e,r){let t=!1;for(let n=r-1;n>=0&&92===e.charCodeAt(n);--n)t=!t;return t}(e,n.index))&&(u=r.lastIndex,yield n,r.lastIndex=u)}test(e){let r=this.execAll(e),t=r.next();return!t.done}[Symbol.replace](e,r){return"function"==typeof r?function(e,r,t){let n=[],u=0;for(let a of e.execAll(r))n.push(r.slice(u,a.index)),n.push(String(t(...a,a.index,a.input))),u=a.index+a[0].length;return n.push(r.slice(u)),n.join("")}(this,String(e),r):function(e,r,t){let n=[],u=0,a=null;function i(e){switch(e){case"$$":return"$";case"$&":return a[0];case"$`":return r.slice(0,a.index);case"$'":return r.slice(a.index+a[0].length);default:{let r=e.slice(1);if(r in a)return a[r];return e}}}for(a of e.execAll(r))n.push(r.slice(u,a.index)),n.push(t.replace(e1,i)),u=a.index+a[0].length;return n.push(r.slice(u)),n.join("")}(this,String(e),String(r))}}const e4=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,e5=Function.call.bind(Object.hasOwnProperty),e8=Symbol("read"),e6=Symbol("call"),e9=Symbol("construct"),e7=Symbol("esm"),re={require:{[e6]:!0}};function rr(e){return null==e||0!==e.defs.length||e.references.some(e=>e.isWrite())}let rt=class{constructor(e,{mode:r="strict",globalObjectNames:t=["global","globalThis","self","window"]}={}){this.variableStack=[],this.globalScope=e,this.mode=r,this.globalObjectNames=t.slice(0)}*iterateGlobalReferences(e){for(let r of Object.keys(e)){let t=e[r],n=[r],u=this.globalScope.set.get(r);rr(u)||(yield*this._iterateVariableReferences(u,n,t,!0))}for(let r of this.globalObjectNames){let t=[],n=this.globalScope.set.get(r);rr(n)||(yield*this._iterateVariableReferences(n,t,e,!1))}}*iterateCjsReferences(e){for(let{node:r}of this.iterateGlobalReferences(re)){let t=eZ(r.arguments[0]);if(null==t||!e5(e,t))continue;let n=e[t],u=[t];n[e8]&&(yield{node:r,path:u,type:e8,info:n[e8]}),yield*this._iteratePropertyReferences(r,u,n)}}*iterateEsmReferences(e){let r=this.globalScope.block;for(let t of r.body){if(!e4.test(t.type)||null==t.source)continue;let r=t.source.value;if(!e5(e,r))continue;let n=e[r],u=[r];if(n[e8]&&(yield{node:t,path:u,type:e8,info:n[e8]}),"ExportAllDeclaration"===t.type)for(let e of Object.keys(n)){let r=n[e];r[e8]&&(yield{node:t,path:u.concat(e),type:e8,info:r[e8]})}else for(let e of t.specifiers){let r=e5(n,e7),t=this._iterateImportReferences(e,u,r?n:"legacy"===this.mode?{default:n,...n}:{default:n});if(r)yield*t;else for(let e of t)e.path=e.path.filter(rn),(e.path.length>=2||e.type!==e8)&&(yield e)}}}*_iterateVariableReferences(e,r,t,n){if(!this.variableStack.includes(e)){this.variableStack.push(e);try{for(let u of e.references){if(!u.isRead())continue;let e=u.identifier;n&&t[e8]&&(yield{node:e,path:r,type:e8,info:t[e8]}),yield*this._iteratePropertyReferences(e,r,t)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(e,r,t){let n=e;for(;function(e){let r=e.parent;switch(r&&r.type){case"ConditionalExpression":return r.consequent===e||r.alternate===e;case"LogicalExpression":case"ChainExpression":return!0;case"SequenceExpression":return r.expressions[r.expressions.length-1]===e;default:return!1}}(n);)n=n.parent;let u=n.parent;if("MemberExpression"===u.type){if(u.object===n){let e=eG(u);if(null==e||!e5(t,e))return;r=r.concat(e);let n=t[e];n[e8]&&(yield{node:u,path:r,type:e8,info:n[e8]}),yield*this._iteratePropertyReferences(u,r,n)}return}if("CallExpression"===u.type){u.callee===n&&t[e6]&&(yield{node:u,path:r,type:e6,info:t[e6]});return}if("NewExpression"===u.type){u.callee===n&&t[e9]&&(yield{node:u,path:r,type:e9,info:t[e9]});return}if("AssignmentExpression"===u.type){u.right===n&&(yield*this._iterateLhsReferences(u.left,r,t),yield*this._iteratePropertyReferences(u,r,t));return}if("AssignmentPattern"===u.type){u.right===n&&(yield*this._iterateLhsReferences(u.left,r,t));return}"VariableDeclarator"===u.type&&u.init===n&&(yield*this._iterateLhsReferences(u.id,r,t))}*_iterateLhsReferences(e,r,t){if("Identifier"===e.type){let n=ed(this.globalScope,e);null!=n&&(yield*this._iterateVariableReferences(n,r,t,!1));return}if("ObjectPattern"===e.type){for(let n of e.properties){let e=eG(n);if(null==e||!e5(t,e))continue;let u=r.concat(e),a=t[e];a[e8]&&(yield{node:n,path:u,type:e8,info:a[e8]}),yield*this._iterateLhsReferences(n.value,u,a)}return}"AssignmentPattern"===e.type&&(yield*this._iterateLhsReferences(e.left,r,t))}*_iterateImportReferences(e,r,t){let n=e.type;if("ImportSpecifier"===n||"ImportDefaultSpecifier"===n){let u="ImportDefaultSpecifier"===n?"default":e.imported.name;if(!e5(t,u))return;r=r.concat(u);let a=t[u];a[e8]&&(yield{node:e,path:r,type:e8,info:a[e8]}),yield*this._iterateVariableReferences(ed(this.globalScope,e.local),r,a,!1);return}if("ImportNamespaceSpecifier"===n){yield*this._iterateVariableReferences(ed(this.globalScope,e.local),r,t,!1);return}if("ExportSpecifier"===n){let n=e.local.name;if(!e5(t,n))return;r=r.concat(n);let u=t[n];u[e8]&&(yield{node:e,path:r,type:e8,info:u[e8]})}}};function rn(e,r){return!(1===r&&"default"===e)}rt.READ=e8,rt.CALL=e6,rt.CONSTRUCT=e9,rt.ESM=e7;var ru=ee(Object.freeze({__proto__:null,CALL:e6,CONSTRUCT:e9,ESM:e7,PatternMatcher:e3,READ:e8,ReferenceTracker:rt,default:{CALL:e6,CONSTRUCT:e9,ESM:e7,findVariable:ed,getFunctionHeadLocation:eO,getFunctionNameWithKind:eH,getInnermostScope:es,getPropertyName:eG,getStaticValue:eV,getStringIfConstant:eZ,hasSideEffect:eQ,isArrowToken:ep,isClosingBraceToken:eA,isClosingBracketToken:ex,isClosingParenToken:eb,isColonToken:ey,isCommaToken:eg,isCommentToken:eD,isNotArrowToken:eC,isNotClosingBraceToken:ej,isNotClosingBracketToken:eP,isNotClosingParenToken:eT,isNotColonToken:ew,isNotCommaToken:eS,isNotCommentToken:eB,isNotOpeningBraceToken:eI,isNotOpeningBracketToken:ek,isNotOpeningParenToken:eF,isNotSemicolonToken:e_,isOpeningBraceToken:eE,isOpeningBracketToken:ev,isOpeningParenToken:eh,isParenthesized:e0,isSemicolonToken:em,PatternMatcher:e3,READ:e8,ReferenceTracker:rt},findVariable:ed,getFunctionHeadLocation:eO,getFunctionNameWithKind:eH,getInnermostScope:es,getPropertyName:eG,getStaticValue:eV,getStringIfConstant:eZ,hasSideEffect:eQ,isArrowToken:ep,isClosingBraceToken:eA,isClosingBracketToken:ex,isClosingParenToken:eb,isColonToken:ey,isCommaToken:eg,isCommentToken:eD,isNotArrowToken:eC,isNotClosingBraceToken:ej,isNotClosingBracketToken:eP,isNotClosingParenToken:eT,isNotColonToken:ew,isNotCommaToken:eS,isNotCommentToken:eB,isNotOpeningBraceToken:eI,isNotOpeningBracketToken:ek,isNotOpeningParenToken:eF,isNotSemicolonToken:e_,isOpeningBraceToken:eE,isOpeningBracketToken:ev,isOpeningParenToken:eh,isParenthesized:e0,isSemicolonToken:em}));const{isParenthesized:ra}=ru,ri="too-deep",ro="should-parenthesized";var rs=Q({create:e=>({ConditionalExpression(r){if([r.test,r.consequent,r.alternate].some(e=>"ConditionalExpression"===e.type))return;let{sourceCode:t}=e,n=t.getAncestors(r).reverse(),u=n.findIndex(e=>"ConditionalExpression"!==e.type);return 1!==u||ra(r,t)?u>1?{node:u>2?n[u-3]:r,messageId:ri}:void 0:{node:r,messageId:ro,fix:e=>[e.insertTextBefore(r,"("),e.insertTextAfter(r,")")]}}}),meta:{type:"suggestion",docs:{description:"Disallow nested ternary expressions."},fixable:"code",messages:{[ri]:"Do not nest ternary expressions.",[ro]:"Nest ternary expression should be parenthesized."}}});const rd="prefer-event-target";var rc=Q({create:()=>({Identifier(e){if("EventEmitter"===e.name&&(("ClassDeclaration"===e.parent.type||"ClassExpression"===e.parent.type)&&e.parent.superClass===e||"NewExpression"===e.parent.type&&e.parent.callee===e))return{node:e,messageId:rd}}}),meta:{type:"suggestion",docs:{description:"Prefer `EventTarget` over `EventEmitter`."},messages:{[rd]:"Prefer `EventTarget` over `EventEmitter`."}}});const rf={},rl=rf.hasOwnProperty,rp=(e,r)=>{for(let t in e)rl.call(e,t)&&r(t,e[t])},rg=(e,r)=>(r&&rp(r,(r,t)=>{e[r]=t}),e),rm=(e,r)=>{let t=e.length,n=-1;for(;++n<t;)r(e[n])},ry=e=>"\\u"+("0000"+e).slice(-4),rh=(e,r)=>{let t=e.toString(16);return r?t:t.toUpperCase()},rb=rf.toString,rv=Array.isArray,rx=e=>"function"==typeof Buffer&&Buffer.isBuffer(e),rE=e=>"[object Object]"==rb.call(e),rA=e=>"string"==typeof e||"[object String]"==rb.call(e),rD=e=>"number"==typeof e||"[object Number]"==rb.call(e),rC=e=>"function"==typeof e,rS=e=>"[object Map]"==rb.call(e),r_=e=>"[object Set]"==rb.call(e),rw={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},rF=/[\\\b\f\n\r\t]/,rT=/[0-9]/,rk=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,rP=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,rI=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,rj=(e,r)=>{let t;let n=()=>{c=d,++r.indentLevel,d=r.indent.repeat(r.indentLevel)},u={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},a=r&&r.json;a&&(u.quotes="double",u.wrap=!0),"single"!=(r=rg(u,r)).quotes&&"double"!=r.quotes&&"backtick"!=r.quotes&&(r.quotes="single");let i="double"==r.quotes?'"':"backtick"==r.quotes?"`":"'",o=r.compact,s=r.lowercaseHex,d=r.indent.repeat(r.indentLevel),c="",f=r.__inline1__,l=r.__inline2__,p=o?"":"\n",g=!0,m="binary"==r.numbers,y="octal"==r.numbers,h="decimal"==r.numbers,b="hexadecimal"==r.numbers;if(a&&e&&rC(e.toJSON)&&(e=e.toJSON()),!rA(e)){if(rS(e))return 0==e.size?"new Map()":(o||(r.__inline1__=!0,r.__inline2__=!1),"new Map("+rj(Array.from(e),r)+")");if(r_(e))return 0==e.size?"new Set()":"new Set("+rj(Array.from(e),r)+")";if(rx(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+rj(Array.from(e),r)+")";if(rv(e))return(t=[],r.wrap=!0,f&&(r.__inline1__=!1,r.__inline2__=!0),l||n(),rm(e,e=>{g=!1,l&&(r.__inline2__=!1),t.push((o||l?"":d)+rj(e,r))}),g)?"[]":l?"["+t.join(", ")+"]":"["+p+t.join(","+p)+p+(o?"":c)+"]";if(rD(e)){if(a)return JSON.stringify(e);if(h)return String(e);if(b){let r=e.toString(16);return s||(r=r.toUpperCase()),"0x"+r}if(m)return"0b"+e.toString(2);if(y)return"0o"+e.toString(8)}else if(rE(e))return(t=[],r.wrap=!0,n(),rp(e,(e,n)=>{g=!1,t.push((o?"":d)+rj(e,r)+":"+(o?"":" ")+rj(n,r))}),g)?"{}":"{"+p+t.join(","+p)+p+(o?"":c)+"}";else return a?JSON.stringify(e)||"null":String(e)}let v=r.escapeEverything?rP:rI;return t=e.replace(v,(e,t,n,u,o,d)=>{if(t){if(r.minimal)return t;let e=t.charCodeAt(0),n=t.charCodeAt(1);if(r.es6){let r=(e-55296)*1024+n-56320+65536,t=rh(r,s);return"\\u{"+t+"}"}return ry(rh(e,s))+ry(rh(n,s))}if(n)return ry(rh(n.charCodeAt(0),s));if("\x00"==e&&!a&&!rT.test(d.charAt(o+1)))return"\\0";if(u)return u==i||r.escapeEverything?"\\"+u:u;if(rF.test(e))return rw[e];if(r.minimal&&!rk.test(e))return e;let c=rh(e.charCodeAt(0),s);return a||c.length>2?ry(c):"\\x"+("00"+c).slice(-2)}),"`"==i&&(t=t.replace(/\$\{/g,"\\${")),r.isScriptContext&&(t=t.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,a?"\\u003C!--":"\\x3C!--")),r.wrap&&(t=i+t+i),t};rj.version="3.0.2";var rB=(e,r="'")=>{if("string"!=typeof e)throw TypeError("Unexpected string.");return rj(e,{quotes:'"'===r?"double":"single",wrap:!0,es6:!0,minimal:!0,lowercaseHex:!1})};function rO(e,r){return e?.type==="Literal"&&(null===r?"null"===e.raw:e.value===r)}var rR={isLiteral:rO,isStringLiteral:e=>e?.type==="Literal"&&"string"==typeof e.value,isNumberLiteral:e=>"Literal"===e.type&&"number"==typeof e.value,isBigIntLiteral:e=>"Literal"===e.type&&!!e.bigint,isNullLiteral:e=>rO(e,null),isRegexLiteral:e=>"Literal"===e.type&&!!e.regex};function rN(e,r,t){if(!t.includes(e?.type))return!1;"string"==typeof r&&(r={names:[r]}),Array.isArray(r)&&(r={names:r});let{name:n,names:u,argumentsLength:a,minimumArguments:i,maximumArguments:o,allowSpreadElement:s,optional:d}={minimumArguments:0,maximumArguments:Number.POSITIVE_INFINITY,allowSpreadElement:!1,...r};if(n&&(u=[n]),!0===d&&e.optional!==d||!1===d&&e.optional||"number"==typeof a&&e.arguments.length!==a||0!==i&&e.arguments.length<i||Number.isFinite(o)&&e.arguments.length>o)return!1;if(!s){let r=Number.isFinite(o)?o:a;if("number"==typeof r&&e.arguments.some((e,t)=>"SpreadElement"===e.type&&t<r))return!1}return!Array.isArray(u)||!(u.length>0)||"Identifier"===e.callee.type&&!!u.includes(e.callee.name)}var rL={isCallExpression:(e,r)=>rN(e,r,["CallExpression"]),isNewExpression:(e,r)=>{if("boolean"==typeof r?.optional)throw TypeError("Cannot check node.optional in `isNewExpression`.");return rN(e,r,["NewExpression"])},isCallOrNewExpression:(e,r)=>rN(e,r,["CallExpression","NewExpression"])},rM=["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"],r$=function(e,r){if(e?.type!=="MemberExpression")return!1;"string"==typeof r&&(r={properties:[r]}),Array.isArray(r)&&(r={properties:r});let{property:t,properties:n,object:u,objects:a,optional:i,computed:o}={property:"",properties:[],object:"",...r};if(t&&(n=[t]),u&&(a=[u]),!0===i&&e.optional!==i||!1===i&&e.optional)return!1;if(Array.isArray(n)&&n.length>0){if("Identifier"!==e.property.type||!n.includes(e.property.name))return!1;o??=!1}return!(!0===o&&e.computed!==o||!1===o&&e.computed||Array.isArray(a)&&a.length>0&&("Identifier"!==e.object.type||!a.includes(e.object.name)))},rz="object"==typeof global&&global&&global.Object===Object&&global,rU="object"==typeof self&&self&&self.Object===Object&&self,rW=rz||rU||Function("return this")(),rq=rW.Symbol,rV=Object.prototype,rZ=rV.hasOwnProperty,rG=rV.toString,rH=rq?rq.toStringTag:void 0,rK=Object.prototype.toString,rJ=rq?rq.toStringTag:void 0;function rX(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":rJ&&rJ in Object(e)?function(e){var r=rZ.call(e,rH),t=e[rH];try{e[rH]=void 0;var n=!0}catch(e){}var u=rG.call(e);return n&&(r?e[rH]=t:delete e[rH]),u}(e):rK.call(e)}function rY(e){return null!=e&&"object"==typeof e}function rQ(e){return"symbol"==typeof e||rY(e)&&"[object Symbol]"==rX(e)}var r0=0/0;function r1(e){return"number"==typeof e?e:rQ(e)?r0:+e}function r2(e,r){for(var t=-1,n=null==e?0:e.length,u=Array(n);++t<n;)u[t]=r(e[t],t,e);return u}var r3=Array.isArray,r4=1/0,r5=rq?rq.prototype:void 0,r8=r5?r5.toString:void 0;function r6(e){if("string"==typeof e)return e;if(r3(e))return r2(e,r6)+"";if(rQ(e))return r8?r8.call(e):"";var r=e+"";return"0"==r&&1/e==-r4?"-0":r}function r9(e,r){return function(t,n){var u;if(void 0===t&&void 0===n)return r;if(void 0!==t&&(u=t),void 0!==n){if(void 0===u)return n;"string"==typeof t||"string"==typeof n?(t=r6(t),n=r6(n)):(t=r1(t),n=r1(n)),u=e(t,n)}return u}}var r7=r9(function(e,r){return e+r},0),te=/\s/;function tr(e){for(var r=e.length;r--&&te.test(e.charAt(r)););return r}var tt=/^\s+/;function tn(e){return e?e.slice(0,tr(e)+1).replace(tt,""):e}function tu(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}var ta=0/0,ti=/^[-+]0x[0-9a-f]+$/i,to=/^0b[01]+$/i,ts=/^0o[0-7]+$/i,td=parseInt;function tc(e){if("number"==typeof e)return e;if(rQ(e))return ta;if(tu(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=tu(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=tn(e);var t=to.test(e);return t||ts.test(e)?td(e.slice(2),t?2:8):ti.test(e)?ta:+e}var tf=1/0;function tl(e){return e?(e=tc(e))===tf||e===-tf?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function tp(e){var r=tl(e),t=r%1;return r==r?t?r-t:r:0}function tg(e){return e}function tm(e){if(!tu(e))return!1;var r=rX(e);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var ty=rW["__core-js_shared__"],th=(e=/[^.]+$/.exec(ty&&ty.keys&&ty.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",tb=Function.prototype.toString;function tv(e){if(null!=e){try{return tb.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var tx=/^\[object .+?Constructor\]$/,tE=Object.prototype,tA=Function.prototype.toString,tD=tE.hasOwnProperty,tC=RegExp("^"+tA.call(tD).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tS(e){return!!tu(e)&&(!th||!(th in e))&&(tm(e)?tC:tx).test(tv(e))}function t_(e,r){var t=null==e?void 0:e[r];return tS(t)?t:void 0}var tw=t_(rW,"WeakMap"),tF=tw&&new tw,tT=tF?function(e,r){return tF.set(e,r),e}:tg,tk=Object.create,tP=function(){function e(){}return function(r){if(!tu(r))return{};if(tk)return tk(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function tI(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var t=tP(e.prototype),n=e.apply(t,r);return tu(n)?n:t}}function tj(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var tB=Math.max;function tO(e,r,t,n){for(var u=-1,a=e.length,i=t.length,o=-1,s=r.length,d=tB(a-i,0),c=Array(s+d),f=!n;++o<s;)c[o]=r[o];for(;++u<i;)(f||u<a)&&(c[t[u]]=e[u]);for(;d--;)c[o++]=e[u++];return c}var tR=Math.max;function tN(e,r,t,n){for(var u=-1,a=e.length,i=-1,o=t.length,s=-1,d=r.length,c=tR(a-o,0),f=Array(c+d),l=!n;++u<c;)f[u]=e[u];for(var p=u;++s<d;)f[p+s]=r[s];for(;++i<o;)(l||u<a)&&(f[p+t[i]]=e[u++]);return f}function tL(){}function tM(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function t$(){}tM.prototype=tP(tL.prototype),tM.prototype.constructor=tM;var tz=tF?function(e){return tF.get(e)}:t$,tU={},tW=Object.prototype.hasOwnProperty;function tq(e){for(var r=e.name+"",t=tU[r],n=tW.call(tU,r)?t.length:0;n--;){var u=t[n],a=u.func;if(null==a||a==e)return u.name}return r}function tV(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=void 0}function tZ(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}function tG(e){if(e instanceof tM)return e.clone();var r=new tV(e.__wrapped__,e.__chain__);return r.__actions__=tZ(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}tV.prototype=tP(tL.prototype),tV.prototype.constructor=tV;var tH=Object.prototype.hasOwnProperty;function tK(e){if(rY(e)&&!r3(e)&&!(e instanceof tM)){if(e instanceof tV)return e;if(tH.call(e,"__wrapped__"))return tG(e)}return new tV(e)}function tJ(e){var r=tq(e),t=tK[r];if("function"!=typeof t||!(r in tM.prototype))return!1;if(e===t)return!0;var n=tz(t);return!!n&&e===n[0]}tK.prototype=tL.prototype,tK.prototype.constructor=tK;var tX=Date.now;function tY(e){var r=0,t=0;return function(){var n=tX(),u=16-(n-t);if(t=n,u>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var tQ=tY(tT),t0=/\{\n\/\* \[wrapped with (.+)\] \*/,t1=/,? & /,t2=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function t3(e){return function(){return e}}var t4=function(){try{var e=t_(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),t5=tY(t4?function(e,r){return t4(e,"toString",{configurable:!0,enumerable:!1,value:t3(r),writable:!0})}:tg);function t8(e,r){for(var t=-1,n=null==e?0:e.length;++t<n&&!1!==r(e[t],t,e););return e}function t6(e,r,t,n){for(var u=e.length,a=t+(n?1:-1);n?a--:++a<u;)if(r(e[a],a,e))return a;return -1}function t9(e){return e!=e}function t7(e,r,t){return r==r?function(e,r,t){for(var n=t-1,u=e.length;++n<u;)if(e[n]===r)return n;return -1}(e,r,t):t6(e,t9,t)}function ne(e,r){return!!(null==e?0:e.length)&&t7(e,r,0)>-1}var nr=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function nt(e,r,t){var n,u,a=r+"";return t5(e,function(e,r){var t=r.length;if(!t)return e;var n=t-1;return r[n]=(t>1?"& ":"")+r[n],r=r.join(t>2?", ":" "),e.replace(t2,"{\n/* [wrapped with "+r+"] */\n")}(a,(u=(n=a.match(t0))?n[1].split(t1):[],t8(nr,function(e){var r="_."+e[0];t&e[1]&&!ne(u,r)&&u.push(r)}),u.sort())))}function nn(e,r,t,n,u,a,i,o,s,d){var c=8&r;r|=c?32:64,4&(r&=~(c?64:32))||(r&=-4);var f=[e,r,u,c?a:void 0,c?i:void 0,c?void 0:a,c?void 0:i,o,s,d],l=t.apply(void 0,f);return tJ(e)&&tQ(l,f),l.placeholder=n,nt(l,e,r)}function nu(e){return e.placeholder}var na=/^(?:0|[1-9]\d*)$/;function ni(e,r){var t=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==t||"symbol"!=t&&na.test(e))&&e>-1&&e%1==0&&e<r}var no=Math.min,ns="__lodash_placeholder__";function nd(e,r){for(var t=-1,n=e.length,u=0,a=[];++t<n;){var i=e[t];(i===r||i===ns)&&(e[t]=ns,a[u++]=t)}return a}function nc(e,r,t,n,u,a,i,o,s,d){var c=128&r,f=1&r,l=2&r,p=24&r,g=512&r,m=l?void 0:tI(e);return function y(){for(var h=arguments.length,b=Array(h),v=h;v--;)b[v]=arguments[v];if(p)var x=nu(y),E=function(e,r){for(var t=e.length,n=0;t--;)e[t]===r&&++n;return n}(b,x);if(n&&(b=tO(b,n,u,p)),a&&(b=tN(b,a,i,p)),h-=E,p&&h<d){var A=nd(b,x);return nn(e,r,nc,y.placeholder,t,b,A,o,s,d-h)}var D=f?t:this,C=l?D[e]:e;return h=b.length,o?b=function(e,r){for(var t=e.length,n=no(r.length,t),u=tZ(e);n--;){var a=r[n];e[n]=ni(a,t)?u[a]:void 0}return e}(b,o):g&&h>1&&b.reverse(),c&&s<h&&(b.length=s),this&&this!==rW&&this instanceof y&&(C=m||tI(C)),C.apply(D,b)}}var nf="__lodash_placeholder__",nl=Math.min,np=Math.max;function ng(e,r,t,n,u,a,i,o){var s=2&r;if(!s&&"function"!=typeof e)throw TypeError("Expected a function");var d=n?n.length:0;if(d||(r&=-97,n=u=void 0),i=void 0===i?i:np(tp(i),0),o=void 0===o?o:tp(o),d-=u?u.length:0,64&r){var c=n,f=u;n=u=void 0}var l=s?void 0:tz(e),p=[e,r,t,n,u,c,f,a,i,o];if(l&&function(e,r){var t=e[1],n=r[1],u=t|n,a=u<131,i=128==n&&8==t||128==n&&256==t&&e[7].length<=r[8]||384==n&&r[7].length<=r[8]&&8==t;if(a||i){1&n&&(e[2]=r[2],u|=1&t?0:4);var o=r[3];if(o){var s=e[3];e[3]=s?tO(s,o,r[4]):o,e[4]=s?nd(e[3],nf):r[4]}(o=r[5])&&(s=e[5],e[5]=s?tN(s,o,r[6]):o,e[6]=s?nd(e[5],nf):r[6]),(o=r[7])&&(e[7]=o),128&n&&(e[8]=null==e[8]?r[8]:nl(e[8],r[8])),null==e[9]&&(e[9]=r[9]),e[0]=r[0],e[1]=u}}(p,l),e=p[0],r=p[1],t=p[2],n=p[3],u=p[4],(o=p[9]=void 0===p[9]?s?0:e.length:np(p[9]-d,0))||!(24&r)||(r&=-25),r&&1!=r)8==r||16==r?(g=e,m=r,y=o,h=tI(g),T=function e(){for(var r=arguments.length,t=Array(r),n=r,u=nu(e);n--;)t[n]=arguments[n];var a=r<3&&t[0]!==u&&t[r-1]!==u?[]:nd(t,u);return(r-=a.length)<y?nn(g,m,nc,e.placeholder,void 0,t,a,void 0,void 0,y-r):tj(this&&this!==rW&&this instanceof e?h:g,this,t)}):32!=r&&33!=r||u.length?T=nc.apply(void 0,p):(b=e,v=r,x=t,E=n,A=1&v,D=tI(b),T=function e(){for(var r=-1,t=arguments.length,n=-1,u=E.length,a=Array(u+t),i=this&&this!==rW&&this instanceof e?D:b;++n<u;)a[n]=E[n];for(;t--;)a[n++]=arguments[++r];return tj(i,A?x:this,a)});else var g,m,y,h,b,v,x,E,A,D,C,S,_,w,F,T=(C=e,S=r,_=t,w=1&S,F=tI(C),function e(){return(this&&this!==rW&&this instanceof e?F:C).apply(w?_:this,arguments)});return nt((l?tT:tQ)(T,p),e,r)}function nm(e,r,t){return r=t?void 0:r,r=e&&null==r?e.length:r,ng(e,128,void 0,void 0,void 0,void 0,r)}function ny(e,r,t){"__proto__"==r&&t4?t4(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}function nh(e,r){return e===r||e!=e&&r!=r}var nb=Object.prototype.hasOwnProperty;function nv(e,r,t){var n=e[r];nb.call(e,r)&&nh(n,t)&&(void 0!==t||r in e)||ny(e,r,t)}function nx(e,r,t,n){var u=!t;t||(t={});for(var a=-1,i=r.length;++a<i;){var o=r[a],s=n?n(t[o],e[o],o,t,e):void 0;void 0===s&&(s=e[o]),u?ny(t,o,s):nv(t,o,s)}return t}var nE=Math.max;function nA(e,r,t){return r=nE(void 0===r?e.length-1:r,0),function(){for(var n=arguments,u=-1,a=nE(n.length-r,0),i=Array(a);++u<a;)i[u]=n[r+u];u=-1;for(var o=Array(r+1);++u<r;)o[u]=n[u];return o[r]=t(i),tj(e,this,o)}}function nD(e,r){return t5(nA(e,r,tg),e+"")}function nC(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function nS(e){return null!=e&&nC(e.length)&&!tm(e)}function n_(e,r,t){if(!tu(t))return!1;var n=typeof r;return("number"==n?!!(nS(t)&&ni(r,t.length)):"string"==n&&r in t)&&nh(t[r],e)}function nw(e){return nD(function(r,t){var n=-1,u=t.length,a=u>1?t[u-1]:void 0,i=u>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(u--,a):void 0,i&&n_(t[0],t[1],i)&&(a=u<3?void 0:a,u=1),r=Object(r);++n<u;){var o=t[n];o&&e(r,o,n,a)}return r})}var nF=Object.prototype;function nT(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||nF)}function nk(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}function nP(e){return rY(e)&&"[object Arguments]"==rX(e)}var nI=Object.prototype,nj=nI.hasOwnProperty,nB=nI.propertyIsEnumerable,nO=nP(function(){return arguments}())?nP:function(e){return rY(e)&&nj.call(e,"callee")&&!nB.call(e,"callee")};function nR(){return!1}var nN="object"==typeof exports&&exports&&!exports.nodeType&&exports,nL=nN&&"object"==typeof module&&module&&!module.nodeType&&module,nM=nL&&nL.exports===nN?rW.Buffer:void 0,n$=(nM?nM.isBuffer:void 0)||nR,nz={};function nU(e){return function(r){return e(r)}}nz["[object Float32Array]"]=nz["[object Float64Array]"]=nz["[object Int8Array]"]=nz["[object Int16Array]"]=nz["[object Int32Array]"]=nz["[object Uint8Array]"]=nz["[object Uint8ClampedArray]"]=nz["[object Uint16Array]"]=nz["[object Uint32Array]"]=!0,nz["[object Arguments]"]=nz["[object Array]"]=nz["[object ArrayBuffer]"]=nz["[object Boolean]"]=nz["[object DataView]"]=nz["[object Date]"]=nz["[object Error]"]=nz["[object Function]"]=nz["[object Map]"]=nz["[object Number]"]=nz["[object Object]"]=nz["[object RegExp]"]=nz["[object Set]"]=nz["[object String]"]=nz["[object WeakMap]"]=!1;var nW="object"==typeof exports&&exports&&!exports.nodeType&&exports,nq=nW&&"object"==typeof module&&module&&!module.nodeType&&module,nV=nq&&nq.exports===nW&&rz.process,nZ=function(){try{var e=nq&&nq.require&&nq.require("util").types;if(e)return e;return nV&&nV.binding&&nV.binding("util")}catch(e){}}(),nG=nZ&&nZ.isTypedArray,nH=nG?nU(nG):function(e){return rY(e)&&nC(e.length)&&!!nz[rX(e)]},nK=Object.prototype.hasOwnProperty;function nJ(e,r){var t=r3(e),n=!t&&nO(e),u=!t&&!n&&n$(e),a=!t&&!n&&!u&&nH(e),i=t||n||u||a,o=i?nk(e.length,String):[],s=o.length;for(var d in e)(r||nK.call(e,d))&&!(i&&("length"==d||u&&("offset"==d||"parent"==d)||a&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||ni(d,s)))&&o.push(d);return o}function nX(e,r){return function(t){return e(r(t))}}var nY=nX(Object.keys,Object),nQ=Object.prototype.hasOwnProperty;function n0(e){if(!nT(e))return nY(e);var r=[];for(var t in Object(e))nQ.call(e,t)&&"constructor"!=t&&r.push(t);return r}function n1(e){return nS(e)?nJ(e):n0(e)}var n2=Object.prototype.hasOwnProperty,n3=nw(function(e,r){if(nT(r)||nS(r)){nx(r,n1(r),e);return}for(var t in r)n2.call(r,t)&&nv(e,t,r[t])}),n4=Object.prototype.hasOwnProperty;function n5(e){return nS(e)?nJ(e,!0):function(e){if(!tu(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=nT(e),t=[];for(var n in e)"constructor"==n&&(r||!n4.call(e,n))||t.push(n);return t}(e)}var n8=nw(function(e,r){nx(r,n5(r),e)}),n6=nw(function(e,r,t,n){nx(r,n5(r),e,n)}),n9=nw(function(e,r,t,n){nx(r,n1(r),e,n)}),n7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ue=/^\w*$/;function ur(e,r){if(r3(e))return!1;var t=typeof e;return!!("number"==t||"symbol"==t||"boolean"==t||null==e||rQ(e))||ue.test(e)||!n7.test(e)||null!=r&&e in Object(r)}var ut=t_(Object,"create"),un=Object.prototype.hasOwnProperty,uu=Object.prototype.hasOwnProperty;function ua(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function ui(e,r){for(var t=e.length;t--;)if(nh(e[t][0],r))return t;return -1}ua.prototype.clear=function(){this.__data__=ut?ut(null):{},this.size=0},ua.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},ua.prototype.get=function(e){var r=this.__data__;if(ut){var t=r[e];return"__lodash_hash_undefined__"===t?void 0:t}return un.call(r,e)?r[e]:void 0},ua.prototype.has=function(e){var r=this.__data__;return ut?void 0!==r[e]:uu.call(r,e)},ua.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=ut&&void 0===r?"__lodash_hash_undefined__":r,this};var uo=Array.prototype.splice;function us(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}us.prototype.clear=function(){this.__data__=[],this.size=0},us.prototype.delete=function(e){var r=this.__data__,t=ui(r,e);return!(t<0)&&(t==r.length-1?r.pop():uo.call(r,t,1),--this.size,!0)},us.prototype.get=function(e){var r=this.__data__,t=ui(r,e);return t<0?void 0:r[t][1]},us.prototype.has=function(e){return ui(this.__data__,e)>-1},us.prototype.set=function(e,r){var t=this.__data__,n=ui(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this};var ud=t_(rW,"Map");function uc(e,r){var t,n=e.__data__;return("string"==(t=typeof r)||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==r:null===r)?n["string"==typeof r?"string":"hash"]:n.map}function uf(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function ul(e,r){if("function"!=typeof e||null!=r&&"function"!=typeof r)throw TypeError("Expected a function");var t=function(){var n=arguments,u=r?r.apply(this,n):n[0],a=t.cache;if(a.has(u))return a.get(u);var i=e.apply(this,n);return t.cache=a.set(u,i)||a,i};return t.cache=new(ul.Cache||uf),t}uf.prototype.clear=function(){this.size=0,this.__data__={hash:new ua,map:new(ud||us),string:new ua}},uf.prototype.delete=function(e){var r=uc(this,e).delete(e);return this.size-=r?1:0,r},uf.prototype.get=function(e){return uc(this,e).get(e)},uf.prototype.has=function(e){return uc(this,e).has(e)},uf.prototype.set=function(e,r){var t=uc(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this},ul.Cache=uf;var up=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ug=/\\(\\)?/g,um=(t=(r=ul(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(up,function(e,t,n,u){r.push(n?u.replace(ug,"$1"):t||e)}),r},function(e){return 500===t.size&&t.clear(),e})).cache,r);function uy(e){return null==e?"":r6(e)}function uh(e,r){return r3(e)?e:ur(e,r)?[e]:um(uy(e))}var ub=1/0;function uv(e){if("string"==typeof e||rQ(e))return e;var r=e+"";return"0"==r&&1/e==-ub?"-0":r}function ux(e,r){r=uh(r,e);for(var t=0,n=r.length;null!=e&&t<n;)e=e[uv(r[t++])];return t&&t==n?e:void 0}function uE(e,r,t){var n=null==e?void 0:ux(e,r);return void 0===n?t:n}function uA(e,r){for(var t=-1,n=r.length,u=Array(n),a=null==e;++t<n;)u[t]=a?void 0:uE(e,r[t]);return u}function uD(e,r){for(var t=-1,n=r.length,u=e.length;++t<n;)e[u+t]=r[t];return e}var uC=rq?rq.isConcatSpreadable:void 0;function uS(e){return r3(e)||nO(e)||!!(uC&&e&&e[uC])}function u_(e,r,t,n,u){var a=-1,i=e.length;for(t||(t=uS),u||(u=[]);++a<i;){var o=e[a];r>0&&t(o)?r>1?u_(o,r-1,t,n,u):uD(u,o):n||(u[u.length]=o)}return u}function uw(e){return(null==e?0:e.length)?u_(e,1):[]}function uF(e){return t5(nA(e,void 0,uw),e+"")}var uT=uF(uA),uk=nX(Object.getPrototypeOf,Object),uP=Object.prototype,uI=Function.prototype.toString,uj=uP.hasOwnProperty,uB=uI.call(Object);function uO(e){if(!rY(e)||"[object Object]"!=rX(e))return!1;var r=uk(e);if(null===r)return!0;var t=uj.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&uI.call(t)==uB}function uR(e){if(!rY(e))return!1;var r=rX(e);return"[object Error]"==r||"[object DOMException]"==r||"string"==typeof e.message&&"string"==typeof e.name&&!uO(e)}var uN=nD(function(e,r){try{return tj(e,void 0,r)}catch(e){return uR(e)?e:Error(e)}});function uL(e,r){var t;if("function"!=typeof r)throw TypeError("Expected a function");return e=tp(e),function(){return--e>0&&(t=r.apply(this,arguments)),e<=1&&(r=void 0),t}}var uM=nD(function(e,r,t){var n=1;if(t.length){var u=nd(t,nu(uM));n|=32}return ng(e,n,r,t,u)});uM.placeholder={};var u$=uF(function(e,r){return t8(r,function(r){ny(e,r=uv(r),uM(e[r],e))}),e}),uz=nD(function(e,r,t){var n=3;if(t.length){var u=nd(t,nu(uz));n|=32}return ng(r,n,e,t,u)});function uU(e,r,t){var n=-1,u=e.length;r<0&&(r=-r>u?0:u+r),(t=t>u?u:t)<0&&(t+=u),u=r>t?0:t-r>>>0,r>>>=0;for(var a=Array(u);++n<u;)a[n]=e[n+r];return a}function uW(e,r,t){var n=e.length;return t=void 0===t?n:t,!r&&t>=n?e:uU(e,r,t)}uz.placeholder={};var uq=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function uV(e){return uq.test(e)}var uZ="\ud800-\udfff",uG="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",uH="\ud83c[\udffb-\udfff]",uK="[^"+uZ+"]",uJ="(?:\ud83c[\udde6-\uddff]){2}",uX="[\ud800-\udbff][\udc00-\udfff]",uY="(?:"+uG+"|"+uH+")?",uQ="[\\ufe0e\\ufe0f]?",u0="(?:\\u200d(?:"+[uK,uJ,uX].join("|")+")"+uQ+uY+")*",u1=RegExp(uH+"(?="+uH+")|(?:"+[uK+uG+"?",uG,uJ,uX,"["+uZ+"]"].join("|")+")"+(uQ+uY+u0),"g");function u2(e){return uV(e)?e.match(u1)||[]:e.split("")}function u3(e){return function(r){var t=uV(r=uy(r))?u2(r):void 0,n=t?t[0]:r.charAt(0),u=t?uW(t,1).join(""):r.slice(1);return n[e]()+u}}var u4=u3("toUpperCase");function u5(e){return u4(uy(e).toLowerCase())}function u8(e,r,t,n){var u=-1,a=null==e?0:e.length;for(n&&a&&(t=e[++u]);++u<a;)t=r(t,e[u],u,e);return t}function u6(e){return function(r){return null==e?void 0:e[r]}}var u9=u6({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),u7=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ae=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function ar(e){return(e=uy(e))&&e.replace(u7,u9).replace(ae,"")}var at=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,an=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,au="\ud800-\udfff",aa="\\u2700-\\u27bf",ai="a-z\\xdf-\\xf6\\xf8-\\xff",ao="A-Z\\xc0-\\xd6\\xd8-\\xde",as="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ad="['’]",ac="["+as+"]",af="["+ai+"]",al="[^"+au+as+"\\d+"+aa+ai+ao+"]",ap="(?:\ud83c[\udde6-\uddff]){2}",ag="[\ud800-\udbff][\udc00-\udfff]",am="["+ao+"]",ay="(?:"+af+"|"+al+")",ah="(?:"+ad+"(?:d|ll|m|re|s|t|ve))?",ab="(?:"+ad+"(?:D|LL|M|RE|S|T|VE))?",av="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",ax="[\\ufe0e\\ufe0f]?",aE="(?:\\u200d(?:"+["[^"+au+"]",ap,ag].join("|")+")"+ax+av+")*",aA="(?:"+["["+aa+"]",ap,ag].join("|")+")"+(ax+av+aE),aD=RegExp([am+"?"+af+"+"+ah+"(?="+[ac,am,"$"].join("|")+")","(?:"+am+"|"+al+")+"+ab+"(?="+[ac,am+ay,"$"].join("|")+")",am+"?"+ay+"+"+ah,am+"+"+ab,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",aA].join("|"),"g");function aC(e,r,t){if(e=uy(e),void 0===(r=t?void 0:r)){var n;return(n=e,an.test(n))?e.match(aD)||[]:e.match(at)||[]}return e.match(r)||[]}var aS=RegExp("['’]","g");function a_(e){return function(r){return u8(aC(ar(r).replace(aS,"")),e,"")}}var aw=a_(function(e,r,t){return r=r.toLowerCase(),e+(t?u5(r):r)}),aF=rW.isFinite,aT=Math.min;function ak(e){var r=Math[e];return function(e,t){if(e=tc(e),(t=null==t?0:aT(tp(t),292))&&aF(e)){var n=(uy(e)+"e").split("e");return+((n=(uy(r(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))}return r(e)}}var aP=ak("ceil");function aI(e){var r=tK(e);return r.__chain__=!0,r}var aj=Math.ceil,aB=Math.max;function aO(e,r,t){return e==e&&(void 0!==t&&(e=e<=t?e:t),void 0!==r&&(e=e>=r?e:r)),e}function aR(e){var r=this.__data__=new us(e);this.size=r.size}function aN(e,r){return e&&nx(r,n1(r),e)}aR.prototype.clear=function(){this.__data__=new us,this.size=0},aR.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},aR.prototype.get=function(e){return this.__data__.get(e)},aR.prototype.has=function(e){return this.__data__.has(e)},aR.prototype.set=function(e,r){var t=this.__data__;if(t instanceof us){var n=t.__data__;if(!ud||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new uf(n)}return t.set(e,r),this.size=t.size,this};var aL="object"==typeof exports&&exports&&!exports.nodeType&&exports,aM=aL&&"object"==typeof module&&module&&!module.nodeType&&module,a$=aM&&aM.exports===aL?rW.Buffer:void 0,az=a$?a$.allocUnsafe:void 0;function aU(e,r){if(r)return e.slice();var t=e.length,n=az?az(t):new e.constructor(t);return e.copy(n),n}function aW(e,r){for(var t=-1,n=null==e?0:e.length,u=0,a=[];++t<n;){var i=e[t];r(i,t,e)&&(a[u++]=i)}return a}function aq(){return[]}var aV=Object.prototype.propertyIsEnumerable,aZ=Object.getOwnPropertySymbols,aG=aZ?function(e){return null==e?[]:aW(aZ(e=Object(e)),function(r){return aV.call(e,r)})}:aq,aH=Object.getOwnPropertySymbols?function(e){for(var r=[];e;)uD(r,aG(e)),e=uk(e);return r}:aq;function aK(e,r,t){var n=r(e);return r3(e)?n:uD(n,t(e))}function aJ(e){return aK(e,n1,aG)}function aX(e){return aK(e,n5,aH)}var aY=t_(rW,"DataView"),aQ=t_(rW,"Promise"),a0=t_(rW,"Set"),a1="[object Map]",a2="[object Promise]",a3="[object Set]",a4="[object WeakMap]",a5="[object DataView]",a8=tv(aY),a6=tv(ud),a9=tv(aQ),a7=tv(a0),ie=tv(tw),ir=rX;(aY&&ir(new aY(new ArrayBuffer(1)))!=a5||ud&&ir(new ud)!=a1||aQ&&ir(aQ.resolve())!=a2||a0&&ir(new a0)!=a3||tw&&ir(new tw)!=a4)&&(ir=function(e){var r=rX(e),t="[object Object]"==r?e.constructor:void 0,n=t?tv(t):"";if(n)switch(n){case a8:return a5;case a6:return a1;case a9:return a2;case a7:return a3;case ie:return a4}return r});var it=ir,iu=Object.prototype.hasOwnProperty,ia=rW.Uint8Array;function ii(e){var r=new e.constructor(e.byteLength);return new ia(r).set(new ia(e)),r}var io=/\w*$/,is=rq?rq.prototype:void 0,id=is?is.valueOf:void 0;function ic(e,r){var t=r?ii(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function il(e){return"function"!=typeof e.constructor||nT(e)?{}:tP(uk(e))}var ip=nZ&&nZ.isMap,ig=ip?nU(ip):function(e){return rY(e)&&"[object Map]"==it(e)},im=nZ&&nZ.isSet,iy=im?nU(im):function(e){return rY(e)&&"[object Set]"==it(e)},ih="[object Arguments]",ib="[object Function]",iv="[object Object]",ix={};function iE(e,r,t,n,u,a){var i,o=1&r,s=2&r,d=4&r;if(t&&(i=u?t(e,n,u,a):t(e)),void 0!==i)return i;if(!tu(e))return e;var c=r3(e);if(c){if(f=e.length,l=new e.constructor(f),f&&"string"==typeof e[0]&&iu.call(e,"index")&&(l.index=e.index,l.input=e.input),i=l,!o)return tZ(e,i)}else{var f,l,p,g,m,y=it(e),h=y==ib||"[object GeneratorFunction]"==y;if(n$(e))return aU(e,o);if(y==iv||y==ih||h&&!u){if(i=s||h?{}:il(e),!o)return s?(g=(p=i)&&nx(e,n5(e),p),nx(e,aH(e),g)):(m=aN(i,e),nx(e,aG(e),m))}else{if(!ix[y])return u?e:{};i=function(e,r,t){var n,u,a=e.constructor;switch(r){case"[object ArrayBuffer]":return ii(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return n=t?ii(e.buffer):e.buffer,new e.constructor(n,e.byteOffset,e.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ic(e,t);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(u=new e.constructor(e.source,io.exec(e))).lastIndex=e.lastIndex,u;case"[object Symbol]":return id?Object(id.call(e)):{}}}(e,y,o)}}a||(a=new aR);var b=a.get(e);if(b)return b;a.set(e,i),iy(e)?e.forEach(function(n){i.add(iE(n,r,t,n,e,a))}):ig(e)&&e.forEach(function(n,u){i.set(u,iE(n,r,t,u,e,a))});var v=d?s?aX:aJ:s?n5:n1,x=c?void 0:v(e);return t8(x||e,function(n,u){x&&(n=e[u=n]),nv(i,u,iE(n,r,t,u,e,a))}),i}function iA(){return new tV(this.value(),this.__chain__)}function iD(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new uf;++r<t;)this.add(e[r])}function iC(e,r){for(var t=-1,n=null==e?0:e.length;++t<n;)if(r(e[t],t,e))return!0;return!1}function iS(e,r){return e.has(r)}function i_(e,r,t,n,u,a){var i=1&t,o=e.length,s=r.length;if(o!=s&&!(i&&s>o))return!1;var d=a.get(e),c=a.get(r);if(d&&c)return d==r&&c==e;var f=-1,l=!0,p=2&t?new iD:void 0;for(a.set(e,r),a.set(r,e);++f<o;){var g=e[f],m=r[f];if(n)var y=i?n(m,g,f,r,e,a):n(g,m,f,e,r,a);if(void 0!==y){if(y)continue;l=!1;break}if(p){if(!iC(r,function(e,r){if(!iS(p,r)&&(g===e||u(g,e,t,n,a)))return p.push(r)})){l=!1;break}}else if(!(g===m||u(g,m,t,n,a))){l=!1;break}}return a.delete(e),a.delete(r),l}function iw(e){var r=-1,t=Array(e.size);return e.forEach(function(e,n){t[++r]=[n,e]}),t}function iF(e){var r=-1,t=Array(e.size);return e.forEach(function(e){t[++r]=e}),t}ix[ih]=ix["[object Array]"]=ix["[object ArrayBuffer]"]=ix["[object DataView]"]=ix["[object Boolean]"]=ix["[object Date]"]=ix["[object Float32Array]"]=ix["[object Float64Array]"]=ix["[object Int8Array]"]=ix["[object Int16Array]"]=ix["[object Int32Array]"]=ix["[object Map]"]=ix["[object Number]"]=ix[iv]=ix["[object RegExp]"]=ix["[object Set]"]=ix["[object String]"]=ix["[object Symbol]"]=ix["[object Uint8Array]"]=ix["[object Uint8ClampedArray]"]=ix["[object Uint16Array]"]=ix["[object Uint32Array]"]=!0,ix["[object Error]"]=ix[ib]=ix["[object WeakMap]"]=!1,iD.prototype.add=iD.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},iD.prototype.has=function(e){return this.__data__.has(e)};var iT=rq?rq.prototype:void 0,ik=iT?iT.valueOf:void 0,iP=Object.prototype.hasOwnProperty,iI="[object Arguments]",ij="[object Array]",iB="[object Object]",iO=Object.prototype.hasOwnProperty;function iR(e,r,t,n,u){return e===r||(null!=e&&null!=r&&(rY(e)||rY(r))?function(e,r,t,n,u,a){var i=r3(e),o=r3(r),s=i?ij:it(e),d=o?ij:it(r);s=s==iI?iB:s,d=d==iI?iB:d;var c=s==iB,f=d==iB,l=s==d;if(l&&n$(e)){if(!n$(r))return!1;i=!0,c=!1}if(l&&!c)return a||(a=new aR),i||nH(e)?i_(e,r,t,n,u,a):function(e,r,t,n,u,a,i){switch(t){case"[object DataView]":if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)break;e=e.buffer,r=r.buffer;case"[object ArrayBuffer]":if(e.byteLength!=r.byteLength||!a(new ia(e),new ia(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return nh(+e,+r);case"[object Error]":return e.name==r.name&&e.message==r.message;case"[object RegExp]":case"[object String]":return e==r+"";case"[object Map]":var o=iw;case"[object Set]":var s=1&n;if(o||(o=iF),e.size!=r.size&&!s)break;var d=i.get(e);if(d)return d==r;n|=2,i.set(e,r);var c=i_(o(e),o(r),n,u,a,i);return i.delete(e),c;case"[object Symbol]":if(ik)return ik.call(e)==ik.call(r)}return!1}(e,r,s,t,n,u,a);if(!(1&t)){var p=c&&iO.call(e,"__wrapped__"),g=f&&iO.call(r,"__wrapped__");if(p||g){var m=p?e.value():e,y=g?r.value():r;return a||(a=new aR),u(m,y,t,n,a)}}return!!l&&(a||(a=new aR),function(e,r,t,n,u,a){var i=1&t,o=aJ(e),s=o.length;if(s!=aJ(r).length&&!i)return!1;for(var d=s;d--;){var c=o[d];if(!(i?c in r:iP.call(r,c)))return!1}var f=a.get(e),l=a.get(r);if(f&&l)return f==r&&l==e;var p=!0;a.set(e,r),a.set(r,e);for(var g=i;++d<s;){var m=e[c=o[d]],y=r[c];if(n)var h=i?n(y,m,c,r,e,a):n(m,y,c,e,r,a);if(!(void 0===h?m===y||u(m,y,t,n,a):h)){p=!1;break}g||(g="constructor"==c)}if(p&&!g){var b=e.constructor,v=r.constructor;b!=v&&"constructor"in e&&"constructor"in r&&!("function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v)&&(p=!1)}return a.delete(e),a.delete(r),p}(e,r,t,n,u,a))}(e,r,t,n,iR,u):e!=e&&r!=r)}function iN(e,r,t,n){var u=t.length,a=u,i=!n;if(null==e)return!a;for(e=Object(e);u--;){var o=t[u];if(i&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++u<a;){var s=(o=t[u])[0],d=e[s],c=o[1];if(i&&o[2]){if(void 0===d&&!(s in e))return!1}else{var f=new aR;if(n)var l=n(d,c,s,e,r,f);if(!(void 0===l?iR(c,d,3,n,f):l))return!1}}return!0}function iL(e){for(var r=n1(e),t=r.length;t--;){var n=r[t],u=e[n];r[t]=[n,u,u==u&&!tu(u)]}return r}function iM(e,r){return function(t){return null!=t&&t[e]===r&&(void 0!==r||e in Object(t))}}function i$(e){var r=iL(e);return 1==r.length&&r[0][2]?iM(r[0][0],r[0][1]):function(t){return t===e||iN(t,e,r)}}function iz(e,r){return null!=e&&r in Object(e)}function iU(e,r,t){r=uh(r,e);for(var n=-1,u=r.length,a=!1;++n<u;){var i=uv(r[n]);if(!(a=null!=e&&t(e,i)))break;e=e[i]}return a||++n!=u?a:!!(u=null==e?0:e.length)&&nC(u)&&ni(i,u)&&(r3(e)||nO(e))}function iW(e,r){return null!=e&&iU(e,r,iz)}function iq(e,r){var t;return ur(e)&&(t=r)==t&&!tu(t)?iM(uv(e),r):function(t){var n=uE(t,e);return void 0===n&&n===r?iW(t,e):iR(r,n,3)}}function iV(e){return function(r){return null==r?void 0:r[e]}}function iZ(e){return ur(e)?iV(uv(e)):function(r){return ux(r,e)}}function iG(e){return"function"==typeof e?e:null==e?tg:"object"==typeof e?r3(e)?iq(e[0],e[1]):i$(e):iZ(e)}function iH(e,r,t){var n=t.length;if(null==e)return!n;for(e=Object(e);n--;){var u=t[n],a=r[u],i=e[u];if(void 0===i&&!(u in e)||!a(i))return!1}return!0}function iK(e,r,t,n){for(var u=-1,a=null==e?0:e.length;++u<a;){var i=e[u];r(n,i,t(i),e)}return n}function iJ(e){return function(r,t,n){for(var u=-1,a=Object(r),i=n(r),o=i.length;o--;){var s=i[e?o:++u];if(!1===t(a[s],s,a))break}return r}}var iX=iJ();function iY(e,r){return e&&iX(e,r,n1)}function iQ(e,r){return function(t,n){if(null==t)return t;if(!nS(t))return e(t,n);for(var u=t.length,a=r?u:-1,i=Object(t);(r?a--:++a<u)&&!1!==n(i[a],a,i););return t}}var i0=iQ(iY);function i1(e,r,t,n){return i0(e,function(e,u,a){r(n,e,t(e),a)}),n}function i2(e,r){return function(t,n){var u=r3(t)?iK:i1,a=r?r():{};return u(t,e,iG(n),a)}}var i3=Object.prototype.hasOwnProperty,i4=i2(function(e,r,t){i3.call(e,t)?++e[t]:ny(e,t,1)});function i5(e,r,t){var n=ng(e,8,void 0,void 0,void 0,void 0,void 0,r=t?void 0:r);return n.placeholder=i5.placeholder,n}function i8(e,r,t){var n=ng(e,16,void 0,void 0,void 0,void 0,void 0,r=t?void 0:r);return n.placeholder=i8.placeholder,n}i5.placeholder={},i8.placeholder={};var i6=function(){return rW.Date.now()},i9=Math.max,i7=Math.min;function oe(e,r,t){var n,u,a,i,o,s,d=0,c=!1,f=!1,l=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(r){var t=n,a=u;return n=u=void 0,d=r,i=e.apply(a,t)}function g(e){var t=e-s,n=e-d;return void 0===s||t>=r||t<0||f&&n>=a}function m(){var e,t,n,u=i6();if(g(u))return y(u);o=setTimeout(m,(e=u-s,t=u-d,n=r-e,f?i7(n,a-t):n))}function y(e){return(o=void 0,l&&n)?p(e):(n=u=void 0,i)}function h(){var e,t=i6(),a=g(t);if(n=arguments,u=this,s=t,a){if(void 0===o)return d=e=s,o=setTimeout(m,r),c?p(e):i;if(f)return clearTimeout(o),o=setTimeout(m,r),p(s)}return void 0===o&&(o=setTimeout(m,r)),i}return r=tc(r)||0,tu(t)&&(c=!!t.leading,a=(f="maxWait"in t)?i9(tc(t.maxWait)||0,r):a,l="trailing"in t?!!t.trailing:l),h.cancel=function(){void 0!==o&&clearTimeout(o),d=0,n=s=u=o=void 0},h.flush=function(){return void 0===o?i:y(i6())},h}var or=Object.prototype,ot=or.hasOwnProperty,on=nD(function(e,r){e=Object(e);var t=-1,n=r.length,u=n>2?r[2]:void 0;for(u&&n_(r[0],r[1],u)&&(n=1);++t<n;)for(var a=r[t],i=n5(a),o=-1,s=i.length;++o<s;){var d=i[o],c=e[d];(void 0===c||nh(c,or[d])&&!ot.call(e,d))&&(e[d]=a[d])}return e});function ou(e,r,t){(void 0===t||nh(e[r],t))&&(void 0!==t||r in e)||ny(e,r,t)}function oa(e){return rY(e)&&nS(e)}function oi(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}function oo(e){return nx(e,n5(e))}function os(e,r,t,n,u){e!==r&&iX(r,function(a,i){if(u||(u=new aR),tu(a))!function(e,r,t,n,u,a,i){var o=oi(e,t),s=oi(r,t),d=i.get(s);if(d){ou(e,t,d);return}var c=a?a(o,s,t+"",e,r,i):void 0,f=void 0===c;if(f){var l=r3(s),p=!l&&n$(s),g=!l&&!p&&nH(s);c=s,l||p||g?r3(o)?c=o:oa(o)?c=tZ(o):p?(f=!1,c=aU(s,!0)):g?(f=!1,c=ic(s,!0)):c=[]:uO(s)||nO(s)?(c=o,nO(o)?c=oo(o):(!tu(o)||tm(o))&&(c=il(s))):f=!1}f&&(i.set(s,c),u(c,s,n,a,i),i.delete(s)),ou(e,t,c)}(e,r,i,t,os,n,u);else{var o=n?n(oi(e,i),a,i+"",e,r,u):void 0;void 0===o&&(o=a),ou(e,i,o)}},n5)}function od(e,r,t,n,u,a){return tu(e)&&tu(r)&&(a.set(r,e),os(e,r,void 0,od,a),a.delete(r)),e}var oc=nw(function(e,r,t,n){os(e,r,t,n)}),of=nD(function(e){return e.push(void 0,od),tj(oc,void 0,e)});function ol(e,r,t){if("function"!=typeof e)throw TypeError("Expected a function");return setTimeout(function(){e.apply(void 0,t)},r)}var op=nD(function(e,r){return ol(e,1,r)}),og=nD(function(e,r,t){return ol(e,tc(r)||0,t)});function om(e,r,t){for(var n=-1,u=null==e?0:e.length;++n<u;)if(t(r,e[n]))return!0;return!1}function oy(e,r,t,n){var u=-1,a=ne,i=!0,o=e.length,s=[],d=r.length;if(!o)return s;t&&(r=r2(r,nU(t))),n?(a=om,i=!1):r.length>=200&&(a=iS,i=!1,r=new iD(r));e:for(;++u<o;){var c=e[u],f=null==t?c:t(c);if(c=n||0!==c?c:0,i&&f==f){for(var l=d;l--;)if(r[l]===f)continue e;s.push(c)}else a(r,f,n)||s.push(c)}return s}var oh=nD(function(e,r){return oa(e)?oy(e,u_(r,1,oa,!0)):[]});function ob(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}var ov=nD(function(e,r){var t=ob(r);return oa(t)&&(t=void 0),oa(e)?oy(e,u_(r,1,oa,!0),iG(t)):[]}),ox=nD(function(e,r){var t=ob(r);return oa(t)&&(t=void 0),oa(e)?oy(e,u_(r,1,oa,!0),void 0,t):[]}),oE=r9(function(e,r){return e/r},1);function oA(e,r,t,n){for(var u=e.length,a=n?u:-1;(n?a--:++a<u)&&r(e[a],a,e););return t?uU(e,n?0:a,n?a+1:u):uU(e,n?a+1:0,n?u:a)}function oD(e){return"function"==typeof e?e:tg}function oC(e,r){return(r3(e)?t8:i0)(e,oD(r))}var oS=iJ(!0);function o_(e,r){return e&&oS(e,r,n1)}var ow=iQ(o_,!0);function oF(e,r){return(r3(e)?function(e,r){for(var t=null==e?0:e.length;t--&&!1!==r(e[t],t,e););return e}:ow)(e,oD(r))}function oT(e){return function(r){var t,n,u=it(r);return"[object Map]"==u?iw(r):"[object Set]"==u?(t=-1,n=Array(r.size),r.forEach(function(e){n[++t]=[e,e]}),n):r2(e(r),function(e){return[e,r[e]]})}}var ok=oT(n1),oP=oT(n5),oI=u6({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),oj=/[&<>"']/g,oB=RegExp(oj.source);function oO(e){return(e=uy(e))&&oB.test(e)?e.replace(oj,oI):e}var oR=/[\\^$.*+?()[\]{}|]/g,oN=RegExp(oR.source);function oL(e,r){for(var t=-1,n=null==e?0:e.length;++t<n;)if(!r(e[t],t,e))return!1;return!0}function oM(e,r){var t=!0;return i0(e,function(e,n,u){return t=!!r(e,n,u)}),t}function o$(e){return e?aO(tp(e),0,4294967295):0}function oz(e,r){var t=[];return i0(e,function(e,n,u){r(e,n,u)&&t.push(e)}),t}function oU(e){return function(r,t,n){var u=Object(r);if(!nS(r)){var a=iG(t);r=n1(r),t=function(e){return a(u[e],e,u)}}var i=e(r,t,n);return i>-1?u[a?r[i]:i]:void 0}}var oW=Math.max;function oq(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=null==t?0:tp(t);return u<0&&(u=oW(n+u,0)),t6(e,iG(r),u)}var oV=oU(oq);function oZ(e,r,t){var n;return t(e,function(e,t,u){if(r(e,t,u))return n=t,!1}),n}var oG=Math.max,oH=Math.min;function oK(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=n-1;return void 0!==t&&(u=tp(t),u=t<0?oG(n+u,0):oH(u,n-1)),t6(e,iG(r),u,!0)}var oJ=oU(oK);function oX(e){return e&&e.length?e[0]:void 0}function oY(e,r){var t=-1,n=nS(e)?Array(e.length):[];return i0(e,function(e,u,a){n[++t]=r(e,u,a)}),n}function oQ(e,r){return(r3(e)?r2:oY)(e,iG(r))}var o0=1/0,o1=1/0,o2=ak("floor");function o3(e){return uF(function(r){var t=r.length,n=t,u=tV.prototype.thru;for(e&&r.reverse();n--;){var a=r[n];if("function"!=typeof a)throw TypeError("Expected a function");if(u&&!i&&"wrapper"==tq(a))var i=new tV([],!0)}for(n=i?n:t;++n<t;){var o=tq(a=r[n]),s="wrapper"==o?tz(a):void 0;i=s&&tJ(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?i[tq(s[0])].apply(i,s[3]):1==a.length&&tJ(a)?i[o]():i.thru(a)}return function(){var e=arguments,n=e[0];if(i&&1==e.length&&r3(n))return i.plant(n).value();for(var u=0,a=t?r[u].apply(this,e):n;++u<t;)a=r[u].call(this,a);return a}})}var o4=o3(),o5=o3(!0);function o8(e,r){return aW(r,function(r){return tm(e[r])})}var o6=Object.prototype.hasOwnProperty,o9=i2(function(e,r,t){o6.call(e,t)?e[t].push(r):ny(e,t,[r])});function o7(e,r){return e>r}function se(e){return function(r,t){return"string"==typeof r&&"string"==typeof t||(r=tc(r),t=tc(t)),e(r,t)}}var sr=se(o7),st=se(function(e,r){return e>=r}),sn=Object.prototype.hasOwnProperty;function su(e,r){return null!=e&&sn.call(e,r)}var sa=Math.max,si=Math.min;function so(e){return"string"==typeof e||!r3(e)&&rY(e)&&"[object String]"==rX(e)}function ss(e,r){return r2(r,function(r){return e[r]})}function sd(e){return null==e?[]:ss(e,n1(e))}var sc=Math.max,sf=Math.max,sl=Math.min;function sp(e,r,t){for(var n=t?om:ne,u=e[0].length,a=e.length,i=a,o=Array(a),s=1/0,d=[];i--;){var c=e[i];i&&r&&(c=r2(c,nU(r))),s=sl(c.length,s),o[i]=!t&&(r||u>=120&&c.length>=120)?new iD(i&&c):void 0}c=e[0];var f=-1,l=o[0];e:for(;++f<u&&d.length<s;){var p=c[f],g=r?r(p):p;if(p=t||0!==p?p:0,!(l?iS(l,g):n(d,g,t))){for(i=a;--i;){var m=o[i];if(!(m?iS(m,g):n(e[i],g,t)))continue e}l&&l.push(g),d.push(p)}}return d}function sg(e){return oa(e)?e:[]}var sm=nD(function(e){var r=r2(e,sg);return r.length&&r[0]===e[0]?sp(r):[]}),sy=nD(function(e){var r=ob(e),t=r2(e,sg);return r===ob(t)?r=void 0:t.pop(),t.length&&t[0]===e[0]?sp(t,iG(r)):[]}),sh=nD(function(e){var r=ob(e),t=r2(e,sg);return(r="function"==typeof r?r:void 0)&&t.pop(),t.length&&t[0]===e[0]?sp(t,void 0,r):[]});function sb(e,r){return function(t,n){var u,a;return u=r(n),a={},iY(t,function(r,t,n){e(a,u(r),t,n)}),a}}var sv=Object.prototype.toString,sx=sb(function(e,r,t){null!=r&&"function"!=typeof r.toString&&(r=sv.call(r)),e[r]=t},t3(tg)),sE=Object.prototype,sA=sE.hasOwnProperty,sD=sE.toString,sC=sb(function(e,r,t){null!=r&&"function"!=typeof r.toString&&(r=sD.call(r)),sA.call(e,r)?e[r].push(t):e[r]=[t]},iG);function sS(e,r){return r.length<2?e:ux(e,uU(r,0,-1))}function s_(e,r,t){r=uh(r,e);var n=null==(e=sS(e,r))?e:e[uv(ob(r))];return null==n?void 0:tj(n,e,t)}var sw=nD(s_),sF=nD(function(e,r,t){var n=-1,u="function"==typeof r,a=nS(e)?Array(e.length):[];return i0(e,function(e){a[++n]=u?tj(r,e,t):s_(e,r,t)}),a}),sT=nZ&&nZ.isArrayBuffer,sk=sT?nU(sT):function(e){return rY(e)&&"[object ArrayBuffer]"==rX(e)},sP=nZ&&nZ.isDate,sI=sP?nU(sP):function(e){return rY(e)&&"[object Date]"==rX(e)},sj=Object.prototype.hasOwnProperty,sB=rW.isFinite;function sO(e){return"number"==typeof e&&e==tp(e)}function sR(e){return"number"==typeof e||rY(e)&&"[object Number]"==rX(e)}var sN=ty?tm:nR,sL=nZ&&nZ.isRegExp,sM=sL?nU(sL):function(e){return rY(e)&&"[object RegExp]"==rX(e)},s$=Array.prototype.join,sz=a_(function(e,r,t){return e+(t?"-":"")+r.toLowerCase()}),sU=i2(function(e,r,t){ny(e,t,r)}),sW=Math.max,sq=Math.min,sV=a_(function(e,r,t){return e+(t?" ":"")+r.toLowerCase()}),sZ=u3("toLowerCase");function sG(e,r){return e<r}var sH=se(sG),sK=se(function(e,r){return e<=r});function sJ(e,r,t){for(var n=-1,u=e.length;++n<u;){var a=e[n],i=r(a);if(null!=i&&(void 0===o?i==i&&!rQ(i):t(i,o)))var o=i,s=a}return s}function sX(e,r){for(var t,n=-1,u=e.length;++n<u;){var a=r(e[n]);void 0!==a&&(t=void 0===t?a:t+a)}return t}var sY=0/0;function sQ(e,r){var t=null==e?0:e.length;return t?sX(e,r)/t:sY}var s0=nw(function(e,r,t){os(e,r,t)}),s1=nD(function(e,r){return function(t){return s_(t,e,r)}}),s2=nD(function(e,r){return function(t){return s_(e,t,r)}}),s3=r9(function(e,r){return e*r},1);function s4(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}var s5=rq?rq.iterator:void 0;function s8(e){if(!e)return[];if(nS(e))return so(e)?u2(e):tZ(e);if(s5&&e[s5])return function(e){for(var r,t=[];!(r=e.next()).done;)t.push(r.value);return t}(e[s5]());var r=it(e);return("[object Map]"==r?iw:"[object Set]"==r?iF:sd)(e)}function s6(){void 0===this.__values__&&(this.__values__=s8(this.value()));var e=this.__index__>=this.__values__.length,r=e?void 0:this.__values__[this.__index__++];return{done:e,value:r}}function s9(e,r){var t=e.length;if(t)return ni(r+=r<0?t:0,t)?e[r]:void 0}function s7(e,r){return r=uh(r,e),null==(e=sS(e,r))||delete e[uv(ob(r))]}function de(e){return uO(e)?void 0:e}var dr=uF(function(e,r){var t={};if(null==e)return t;var n=!1;r=r2(r,function(r){return r=uh(r,e),n||(n=r.length>1),r}),nx(e,aX(e),t),n&&(t=iE(t,7,de));for(var u=r.length;u--;)s7(t,r[u]);return t});function dt(e,r,t,n){if(!tu(e))return e;r=uh(r,e);for(var u=-1,a=r.length,i=a-1,o=e;null!=o&&++u<a;){var s=uv(r[u]),d=t;if("__proto__"===s||"constructor"===s||"prototype"===s)break;if(u!=i){var c=o[s];void 0===(d=n?n(c,s,o):void 0)&&(d=tu(c)?c:ni(r[u+1])?[]:{})}nv(o,s,d),o=o[s]}return e}function dn(e,r,t){for(var n=-1,u=r.length,a={};++n<u;){var i=r[n],o=ux(e,i);t(o,i)&&dt(a,uh(i,e),o)}return a}function du(e,r){if(null==e)return{};var t=r2(aX(e),function(e){return[e]});return r=iG(r),dn(e,t,function(e,t){return r(e,t[0])})}function da(e,r){if(e!==r){var t=void 0!==e,n=null===e,u=e==e,a=rQ(e),i=void 0!==r,o=null===r,s=r==r,d=rQ(r);if(!o&&!d&&!a&&e>r||a&&i&&s&&!o&&!d||n&&i&&s||!t&&s||!u)return 1;if(!n&&!a&&!d&&e<r||d&&t&&u&&!n&&!a||o&&t&&u||!i&&u||!s)return -1}return 0}function di(e,r,t){r=r.length?r2(r,function(e){return r3(e)?function(r){return ux(r,1===e.length?e[0]:e)}:e}):[tg];var n=-1;return r=r2(r,nU(iG)),function(e,r){var t=e.length;for(e.sort(r);t--;)e[t]=e[t].value;return e}(oY(e,function(e,t,u){return{criteria:r2(r,function(r){return r(e)}),index:++n,value:e}}),function(e,r){return function(e,r,t){for(var n=-1,u=e.criteria,a=r.criteria,i=u.length,o=t.length;++n<i;){var s=da(u[n],a[n]);if(s){if(n>=o)return s;return s*("desc"==t[n]?-1:1)}}return e.index-r.index}(e,r,t)})}function ds(e){return uF(function(r){return r=r2(r,nU(iG)),nD(function(t){var n=this;return e(r,function(e){return tj(e,n,t)})})})}var dd=ds(r2),dc=Math.min,df=nD(function(e,r){var t=(r=1==r.length&&r3(r[0])?r2(r[0],nU(iG)):r2(u_(r,1),nU(iG))).length;return nD(function(n){for(var u=-1,a=dc(n.length,t);++u<a;)n[u]=r[u].call(this,n[u]);return tj(e,this,n)})}),dl=ds(oL),dp=ds(iC),dg=Math.floor;function dm(e,r){var t="";if(!e||r<1||r>9007199254740991)return t;do r%2&&(t+=e),(r=dg(r/2))&&(e+=e);while(r);return t}var dy=iV("length"),dh="\ud800-\udfff",db="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",dv="\ud83c[\udffb-\udfff]",dx="[^"+dh+"]",dE="(?:\ud83c[\udde6-\uddff]){2}",dA="[\ud800-\udbff][\udc00-\udfff]",dD="(?:"+db+"|"+dv+")?",dC="[\\ufe0e\\ufe0f]?",dS="(?:\\u200d(?:"+[dx,dE,dA].join("|")+")"+dC+dD+")*",d_=RegExp(dv+"(?="+dv+")|(?:"+[dx+db+"?",db,dE,dA,"["+dh+"]"].join("|")+")"+(dC+dD+dS),"g");function dw(e){return uV(e)?function(e){for(var r=d_.lastIndex=0;d_.test(e);)++r;return r}(e):dy(e)}var dF=Math.ceil;function dT(e,r){var t=(r=void 0===r?" ":r6(r)).length;if(t<2)return t?dm(r,e):r;var n=dm(r,dF(e/dw(r)));return uV(r)?uW(u2(n),0,e).join(""):n.slice(0,e)}var dk=Math.ceil,dP=Math.floor,dI=/^\s+/,dj=rW.parseInt,dB=nD(function(e,r){var t=nd(r,nu(dB));return ng(e,32,void 0,r,t)});dB.placeholder={};var dO=nD(function(e,r){var t=nd(r,nu(dO));return ng(e,64,void 0,r,t)});dO.placeholder={};var dR=i2(function(e,r,t){e[t?0:1].push(r)},function(){return[[],[]]}),dN=uF(function(e,r){return null==e?{}:dn(e,r,function(r,t){return iW(e,t)})});function dL(e){for(var r,t=this;t instanceof tL;){var n=tG(t);n.__index__=0,n.__values__=void 0,r?u.__wrapped__=n:r=n;var u=n;t=t.__wrapped__}return u.__wrapped__=e,r}function dM(e,r,t,n){for(var u=t-1,a=e.length;++u<a;)if(n(e[u],r))return u;return -1}var d$=Array.prototype.splice;function dz(e,r,t,n){var u=n?dM:t7,a=-1,i=r.length,o=e;for(e===r&&(r=tZ(r)),t&&(o=r2(e,nU(t)));++a<i;)for(var s=0,d=r[a],c=t?t(d):d;(s=u(o,c,s,n))>-1;)o!==e&&d$.call(o,s,1),d$.call(e,s,1);return e}function dU(e,r){return e&&e.length&&r&&r.length?dz(e,r):e}var dW=nD(dU),dq=Array.prototype.splice;function dV(e,r){for(var t=e?r.length:0,n=t-1;t--;){var u=r[t];if(t==n||u!==a){var a=u;ni(u)?dq.call(e,u,1):s7(e,u)}}return e}var dZ=uF(function(e,r){var t=null==e?0:e.length,n=uA(e,r);return dV(e,r2(r,function(e){return ni(e,t)?+e:e}).sort(da)),n}),dG=Math.floor,dH=Math.random;function dK(e,r){return e+dG(dH()*(r-e+1))}var dJ=parseFloat,dX=Math.min,dY=Math.random,dQ=Math.ceil,d0=Math.max;function d1(e){return function(r,t,n){return n&&"number"!=typeof n&&n_(r,t,n)&&(t=n=void 0),r=tl(r),void 0===t?(t=r,r=0):t=tl(t),n=void 0===n?r<t?1:-1:tl(n),function(e,r,t,n){for(var u=-1,a=d0(dQ((r-e)/(t||1)),0),i=Array(a);a--;)i[n?a:++u]=e,e+=t;return i}(r,t,n,e)}}var d2=d1(),d3=d1(!0),d4=uF(function(e,r){return ng(e,256,void 0,void 0,void 0,r)});function d5(e,r,t,n,u){return u(e,function(e,u,a){t=n?(n=!1,e):r(t,e,u,a)}),t}function d8(e,r,t,n){var u=null==e?0:e.length;for(n&&u&&(t=e[--u]);u--;)t=r(t,e[u],u,e);return t}var d6=Array.prototype.reverse;function d9(e){return null==e?e:d6.call(e)}var d7=ak("round");function ce(e){var r=e.length;return r?e[dK(0,r-1)]:void 0}function cr(e,r){var t=-1,n=e.length,u=n-1;for(r=void 0===r?n:r;++t<r;){var a=dK(t,u),i=e[a];e[a]=e[t],e[t]=i}return e.length=r,e}var ct=a_(function(e,r,t){return e+(t?"_":"")+r.toLowerCase()});function cn(e,r){var t;return i0(e,function(e,n,u){return!(t=r(e,n,u))}),!!t}var cu=nD(function(e,r){if(null==e)return[];var t=r.length;return t>1&&n_(e,r[0],r[1])?r=[]:t>2&&n_(r[0],r[1],r[2])&&(r=[r[0]]),di(e,u_(r,1),[])}),ca=Math.floor,ci=Math.min;function co(e,r,t,n){var u=0,a=null==e?0:e.length;if(0===a)return 0;for(var i=(r=t(r))!=r,o=null===r,s=rQ(r),d=void 0===r;u<a;){var c=ca((u+a)/2),f=t(e[c]),l=void 0!==f,p=null===f,g=f==f,m=rQ(f);if(i)var y=n||g;else y=d?g&&(n||l):o?g&&l&&(n||!p):s?g&&l&&!p&&(n||!m):!p&&!m&&(n?f<=r:f<r);y?u=c+1:a=c}return ci(a,4294967294)}function cs(e,r,t){var n=0,u=null==e?n:e.length;if("number"==typeof r&&r==r&&u<=2147483647){for(;n<u;){var a=n+u>>>1,i=e[a];null!==i&&!rQ(i)&&(t?i<=r:i<r)?n=a+1:u=a}return u}return co(e,r,tg,t)}function cd(e,r){for(var t=-1,n=e.length,u=0,a=[];++t<n;){var i=e[t],o=r?r(i):i;if(!t||!nh(o,s)){var s=o;a[u++]=0===i?0:i}}return a}var cc=Math.max,cf=a_(function(e,r,t){return e+(t?" ":"")+u4(r)}),cl=r9(function(e,r){return e-r},0),cp=Object.prototype,cg=cp.hasOwnProperty;function cm(e,r,t,n){return void 0===e||nh(e,cp[t])&&!cg.call(n,t)?r:e}var cy={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function ch(e){return"\\"+cy[e]}var cb=/<%=([\s\S]+?)%>/g,cv={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:cb,variable:"",imports:{_:{escape:oO}}},cx=/\b__p \+= '';/g,cE=/\b(__p \+=) '' \+/g,cA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,cD=/[()=,{}\[\]\/\s]/,cC=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cS=/($^)/,c_=/['\n\r\u2028\u2029\\]/g,cw=Object.prototype.hasOwnProperty;function cF(e,r){return r(e)}var cT=Math.min;function ck(){return this}function cP(){var e,r,t;return e=this.__wrapped__,r=this.__actions__,(t=e)instanceof tM&&(t=t.value()),u8(r,function(e,r){return r.func.apply(r.thisArg,uD([e],r.args))},t)}function cI(e,r){for(var t=e.length;t--&&t7(r,e[t],0)>-1;);return t}function cj(e,r){for(var t=-1,n=e.length;++t<n&&t7(r,e[t],0)>-1;);return t}var cB=/^\s+/,cO=/\w*$/,cR=u6({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),cN=/&(?:amp|lt|gt|quot|#39);/g,cL=RegExp(cN.source),cM=a0&&1/iF(new a0([,-0]))[1]==1/0?function(e){return new a0(e)}:t$;function c$(e,r,t){var n=-1,u=ne,a=e.length,i=!0,o=[],s=o;if(t)i=!1,u=om;else if(a>=200){var d=r?null:cM(e);if(d)return iF(d);i=!1,u=iS,s=new iD}else s=r?[]:o;e:for(;++n<a;){var c=e[n],f=r?r(c):c;if(c=t||0!==c?c:0,i&&f==f){for(var l=s.length;l--;)if(s[l]===f)continue e;r&&s.push(f),o.push(c)}else u(s,f,t)||(s!==o&&s.push(f),o.push(c))}return o}var cz=nD(function(e){return c$(u_(e,1,oa,!0))}),cU=nD(function(e){var r=ob(e);return oa(r)&&(r=void 0),c$(u_(e,1,oa,!0),iG(r))}),cW=nD(function(e){var r=ob(e);return r="function"==typeof r?r:void 0,c$(u_(e,1,oa,!0),void 0,r)}),cq=0,cV=Math.max;function cZ(e){if(!(e&&e.length))return[];var r=0;return e=aW(e,function(e){if(oa(e))return r=cV(e.length,r),!0}),nk(r,function(r){return r2(e,iV(r))})}function cG(e,r){if(!(e&&e.length))return[];var t=cZ(e);return null==r?t:r2(t,function(e){return tj(r,void 0,e)})}function cH(e,r,t,n){return dt(e,r,t(ux(e,r)),n)}var cK=a_(function(e,r,t){return e+(t?" ":"")+r.toUpperCase()}),cJ=nD(function(e,r){return oa(e)?oy(e,r):[]}),cX=uF(function(e){var r=e.length,t=r?e[0]:0,n=this.__wrapped__,u=function(r){return uA(r,e)};return!(r>1)&&!this.__actions__.length&&n instanceof tM&&ni(t)?((n=n.slice(t,+t+(r?1:0))).__actions__.push({func:cF,args:[u],thisArg:void 0}),new tV(n,this.__chain__).thru(function(e){return r&&!e.length&&e.push(void 0),e})):this.thru(u)});function cY(e,r,t){var n=e.length;if(n<2)return n?c$(e[0]):[];for(var u=-1,a=Array(n);++u<n;)for(var i=e[u],o=-1;++o<n;)o!=u&&(a[u]=oy(a[u]||i,e[o],r,t));return c$(u_(a,1),r,t)}var cQ=nD(function(e){return cY(aW(e,oa))}),c0=nD(function(e){var r=ob(e);return oa(r)&&(r=void 0),cY(aW(e,oa),iG(r))}),c1=nD(function(e){var r=ob(e);return r="function"==typeof r?r:void 0,cY(aW(e,oa),void 0,r)}),c2=nD(cZ);function c3(e,r,t){for(var n=-1,u=e.length,a=r.length,i={};++n<u;){var o=n<a?r[n]:void 0;t(i,e[n],o)}return i}var c4=nD(function(e){var r=e.length,t=r>1?e[r-1]:void 0;return t="function"==typeof t?(e.pop(),t):void 0,cG(e,t)}),c5=ee(Object.freeze({__proto__:null,add:r7,after:function(e,r){if("function"!=typeof r)throw TypeError("Expected a function");return e=tp(e),function(){if(--e<1)return r.apply(this,arguments)}},ary:nm,assign:n3,assignIn:n8,assignInWith:n6,assignWith:n9,at:uT,attempt:uN,before:uL,bind:uM,bindAll:u$,bindKey:uz,camelCase:aw,capitalize:u5,castArray:function(){if(!arguments.length)return[];var e=arguments[0];return r3(e)?e:[e]},ceil:aP,chain:aI,chunk:function(e,r,t){r=(t?n_(e,r,t):void 0===r)?1:aB(tp(r),0);var n=null==e?0:e.length;if(!n||r<1)return[];for(var u=0,a=0,i=Array(aj(n/r));u<n;)i[a++]=uU(e,u,u+=r);return i},clamp:function(e,r,t){return void 0===t&&(t=r,r=void 0),void 0!==t&&(t=(t=tc(t))==t?t:0),void 0!==r&&(r=(r=tc(r))==r?r:0),aO(tc(e),r,t)},clone:function(e){return iE(e,4)},cloneDeep:function(e){return iE(e,5)},cloneDeepWith:function(e,r){return iE(e,5,r="function"==typeof r?r:void 0)},cloneWith:function(e,r){return iE(e,4,r="function"==typeof r?r:void 0)},commit:iA,compact:function(e){for(var r=-1,t=null==e?0:e.length,n=0,u=[];++r<t;){var a=e[r];a&&(u[n++]=a)}return u},concat:function(){var e=arguments.length;if(!e)return[];for(var r=Array(e-1),t=arguments[0],n=e;n--;)r[n-1]=arguments[n];return uD(r3(t)?tZ(t):[t],u_(r,1))},cond:function(e){var r=null==e?0:e.length;return e=r?r2(e,function(e){if("function"!=typeof e[1])throw TypeError("Expected a function");return[iG(e[0]),e[1]]}):[],nD(function(t){for(var n=-1;++n<r;){var u=e[n];if(tj(u[0],this,t))return tj(u[1],this,t)}})},conforms:function(e){var r,t;return t=n1(r=iE(e,1)),function(e){return iH(e,r,t)}},conformsTo:function(e,r){return null==r||iH(e,r,n1(r))},constant:t3,countBy:i4,create:function(e,r){var t=tP(e);return null==r?t:aN(t,r)},curry:i5,curryRight:i8,debounce:oe,deburr:ar,defaultTo:function(e,r){return null==e||e!=e?r:e},defaults:on,defaultsDeep:of,defer:op,delay:og,difference:oh,differenceBy:ov,differenceWith:ox,divide:oE,drop:function(e,r,t){var n=null==e?0:e.length;return n?uU(e,(r=t||void 0===r?1:tp(r))<0?0:r,n):[]},dropRight:function(e,r,t){var n=null==e?0:e.length;return n?uU(e,0,(r=n-(r=t||void 0===r?1:tp(r)))<0?0:r):[]},dropRightWhile:function(e,r){return e&&e.length?oA(e,iG(r),!0,!0):[]},dropWhile:function(e,r){return e&&e.length?oA(e,iG(r),!0):[]},each:oC,eachRight:oF,endsWith:function(e,r,t){e=uy(e),r=r6(r);var n=e.length,u=t=void 0===t?n:aO(tp(t),0,n);return(t-=r.length)>=0&&e.slice(t,u)==r},entries:ok,entriesIn:oP,eq:nh,escape:oO,escapeRegExp:function(e){return(e=uy(e))&&oN.test(e)?e.replace(oR,"\\$&"):e},every:function(e,r,t){var n=r3(e)?oL:oM;return t&&n_(e,r,t)&&(r=void 0),n(e,iG(r))},extend:n8,extendWith:n6,fill:function(e,r,t,n){var u=null==e?0:e.length;return u?(t&&"number"!=typeof t&&n_(e,r,t)&&(t=0,n=u),function(e,r,t,n){var u=e.length;for((t=tp(t))<0&&(t=-t>u?0:u+t),(n=void 0===n||n>u?u:tp(n))<0&&(n+=u),n=t>n?0:o$(n);t<n;)e[t++]=r;return e}(e,r,t,n)):[]},filter:function(e,r){return(r3(e)?aW:oz)(e,iG(r))},find:oV,findIndex:oq,findKey:function(e,r){return oZ(e,iG(r),iY)},findLast:oJ,findLastIndex:oK,findLastKey:function(e,r){return oZ(e,iG(r),o_)},first:oX,flatMap:function(e,r){return u_(oQ(e,r),1)},flatMapDeep:function(e,r){return u_(oQ(e,r),o0)},flatMapDepth:function(e,r,t){return t=void 0===t?1:tp(t),u_(oQ(e,r),t)},flatten:uw,flattenDeep:function(e){return(null==e?0:e.length)?u_(e,o1):[]},flattenDepth:function(e,r){return(null==e?0:e.length)?u_(e,r=void 0===r?1:tp(r)):[]},flip:function(e){return ng(e,512)},floor:o2,flow:o4,flowRight:o5,forEach:oC,forEachRight:oF,forIn:function(e,r){return null==e?e:iX(e,oD(r),n5)},forInRight:function(e,r){return null==e?e:oS(e,oD(r),n5)},forOwn:function(e,r){return e&&iY(e,oD(r))},forOwnRight:function(e,r){return e&&o_(e,oD(r))},fromPairs:function(e){for(var r=-1,t=null==e?0:e.length,n={};++r<t;){var u=e[r];n[u[0]]=u[1]}return n},functions:function(e){return null==e?[]:o8(e,n1(e))},functionsIn:function(e){return null==e?[]:o8(e,n5(e))},get:uE,groupBy:o9,gt:sr,gte:st,has:function(e,r){return null!=e&&iU(e,r,su)},hasIn:iW,head:oX,identity:tg,inRange:function(e,r,t){var n,u,a;return r=tl(r),void 0===t?(t=r,r=0):t=tl(t),(n=e=tc(e))>=si(u=r,a=t)&&n<sa(u,a)},includes:function(e,r,t,n){e=nS(e)?e:sd(e),t=t&&!n?tp(t):0;var u=e.length;return t<0&&(t=sc(u+t,0)),so(e)?t<=u&&e.indexOf(r,t)>-1:!!u&&t7(e,r,t)>-1},indexOf:function(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=null==t?0:tp(t);return u<0&&(u=sf(n+u,0)),t7(e,r,u)},initial:function(e){return(null==e?0:e.length)?uU(e,0,-1):[]},intersection:sm,intersectionBy:sy,intersectionWith:sh,invert:sx,invertBy:sC,invoke:sw,invokeMap:sF,isArguments:nO,isArray:r3,isArrayBuffer:sk,isArrayLike:nS,isArrayLikeObject:oa,isBoolean:function(e){return!0===e||!1===e||rY(e)&&"[object Boolean]"==rX(e)},isBuffer:n$,isDate:sI,isElement:function(e){return rY(e)&&1===e.nodeType&&!uO(e)},isEmpty:function(e){if(null==e)return!0;if(nS(e)&&(r3(e)||"string"==typeof e||"function"==typeof e.splice||n$(e)||nH(e)||nO(e)))return!e.length;var r=it(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(nT(e))return!n0(e).length;for(var t in e)if(sj.call(e,t))return!1;return!0},isEqual:function(e,r){return iR(e,r)},isEqualWith:function(e,r,t){var n=(t="function"==typeof t?t:void 0)?t(e,r):void 0;return void 0===n?iR(e,r,void 0,t):!!n},isError:uR,isFinite:function(e){return"number"==typeof e&&sB(e)},isFunction:tm,isInteger:sO,isLength:nC,isMap:ig,isMatch:function(e,r){return e===r||iN(e,r,iL(r))},isMatchWith:function(e,r,t){return t="function"==typeof t?t:void 0,iN(e,r,iL(r),t)},isNaN:function(e){return sR(e)&&e!=+e},isNative:function(e){if(sN(e))throw Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return tS(e)},isNil:function(e){return null==e},isNull:function(e){return null===e},isNumber:sR,isObject:tu,isObjectLike:rY,isPlainObject:uO,isRegExp:sM,isSafeInteger:function(e){return sO(e)&&e>=-9007199254740991&&e<=9007199254740991},isSet:iy,isString:so,isSymbol:rQ,isTypedArray:nH,isUndefined:function(e){return void 0===e},isWeakMap:function(e){return rY(e)&&"[object WeakMap]"==it(e)},isWeakSet:function(e){return rY(e)&&"[object WeakSet]"==rX(e)},iteratee:function(e){return iG("function"==typeof e?e:iE(e,1))},join:function(e,r){return null==e?"":s$.call(e,r)},kebabCase:sz,keyBy:sU,keys:n1,keysIn:n5,last:ob,lastIndexOf:function(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=n;return void 0!==t&&(u=(u=tp(t))<0?sW(n+u,0):sq(u,n-1)),r==r?function(e,r,t){for(var n=t+1;n--&&e[n]!==r;);return n}(e,r,u):t6(e,t9,u,!0)},lodash:tK,lowerCase:sV,lowerFirst:sZ,lt:sH,lte:sK,map:oQ,mapKeys:function(e,r){var t={};return r=iG(r),iY(e,function(e,n,u){ny(t,r(e,n,u),e)}),t},mapValues:function(e,r){var t={};return r=iG(r),iY(e,function(e,n,u){ny(t,n,r(e,n,u))}),t},matches:function(e){return i$(iE(e,1))},matchesProperty:function(e,r){return iq(e,iE(r,1))},max:function(e){return e&&e.length?sJ(e,tg,o7):void 0},maxBy:function(e,r){return e&&e.length?sJ(e,iG(r),o7):void 0},mean:function(e){return sQ(e,tg)},meanBy:function(e,r){return sQ(e,iG(r))},memoize:ul,merge:s0,mergeWith:oc,method:s1,methodOf:s2,min:function(e){return e&&e.length?sJ(e,tg,sG):void 0},minBy:function(e,r){return e&&e.length?sJ(e,iG(r),sG):void 0},mixin:function(e,r,t){var n=n1(r),u=o8(r,n),a=!(tu(t)&&"chain"in t)||!!t.chain,i=tm(e);return t8(u,function(t){var n=r[t];e[t]=n,i&&(e.prototype[t]=function(){var r=this.__chain__;if(a||r){var t=e(this.__wrapped__);return(t.__actions__=tZ(this.__actions__)).push({func:n,args:arguments,thisArg:e}),t.__chain__=r,t}return n.apply(e,uD([this.value()],arguments))})}),e},multiply:s3,negate:s4,next:s6,noop:t$,now:i6,nth:function(e,r){return e&&e.length?s9(e,tp(r)):void 0},nthArg:function(e){return e=tp(e),nD(function(r){return s9(r,e)})},omit:dr,omitBy:function(e,r){return du(e,s4(iG(r)))},once:function(e){return uL(2,e)},orderBy:function(e,r,t,n){return null==e?[]:(r3(r)||(r=null==r?[]:[r]),r3(t=n?void 0:t)||(t=null==t?[]:[t]),di(e,r,t))},over:dd,overArgs:df,overEvery:dl,overSome:dp,pad:function(e,r,t){e=uy(e);var n=(r=tp(r))?dw(e):0;if(!r||n>=r)return e;var u=(r-n)/2;return dT(dP(u),t)+e+dT(dk(u),t)},padEnd:function(e,r,t){e=uy(e);var n=(r=tp(r))?dw(e):0;return r&&n<r?e+dT(r-n,t):e},padStart:function(e,r,t){e=uy(e);var n=(r=tp(r))?dw(e):0;return r&&n<r?dT(r-n,t)+e:e},parseInt:function(e,r,t){return t||null==r?r=0:r&&(r=+r),dj(uy(e).replace(dI,""),r||0)},partial:dB,partialRight:dO,partition:dR,pick:dN,pickBy:du,plant:dL,property:iZ,propertyOf:function(e){return function(r){return null==e?void 0:ux(e,r)}},pull:dW,pullAll:dU,pullAllBy:function(e,r,t){return e&&e.length&&r&&r.length?dz(e,r,iG(t)):e},pullAllWith:function(e,r,t){return e&&e.length&&r&&r.length?dz(e,r,void 0,t):e},pullAt:dZ,random:function(e,r,t){if(t&&"boolean"!=typeof t&&n_(e,r,t)&&(r=t=void 0),void 0===t&&("boolean"==typeof r?(t=r,r=void 0):"boolean"==typeof e&&(t=e,e=void 0)),void 0===e&&void 0===r?(e=0,r=1):(e=tl(e),void 0===r?(r=e,e=0):r=tl(r)),e>r){var n=e;e=r,r=n}if(t||e%1||r%1){var u=dY();return dX(e+u*(r-e+dJ("1e-"+((u+"").length-1))),r)}return dK(e,r)},range:d2,rangeRight:d3,rearg:d4,reduce:function(e,r,t){var n=r3(e)?u8:d5,u=arguments.length<3;return n(e,iG(r),t,u,i0)},reduceRight:function(e,r,t){var n=r3(e)?d8:d5,u=arguments.length<3;return n(e,iG(r),t,u,ow)},reject:function(e,r){return(r3(e)?aW:oz)(e,s4(iG(r)))},remove:function(e,r){var t=[];if(!(e&&e.length))return t;var n=-1,u=[],a=e.length;for(r=iG(r);++n<a;){var i=e[n];r(i,n,e)&&(t.push(i),u.push(n))}return dV(e,u),t},repeat:function(e,r,t){return r=(t?n_(e,r,t):void 0===r)?1:tp(r),dm(uy(e),r)},replace:function(){var e=arguments,r=uy(e[0]);return e.length<3?r:r.replace(e[1],e[2])},rest:function(e,r){if("function"!=typeof e)throw TypeError("Expected a function");return nD(e,r=void 0===r?r:tp(r))},result:function(e,r,t){r=uh(r,e);var n=-1,u=r.length;for(u||(u=1,e=void 0);++n<u;){var a=null==e?void 0:e[uv(r[n])];void 0===a&&(n=u,a=t),e=tm(a)?a.call(e):a}return e},reverse:d9,round:d7,sample:function(e){return(r3(e)?ce:function(e){return ce(sd(e))})(e)},sampleSize:function(e,r,t){return r=(t?n_(e,r,t):void 0===r)?1:tp(r),(r3(e)?function(e,r){return cr(tZ(e),aO(r,0,e.length))}:function(e,r){var t=sd(e);return cr(t,aO(r,0,t.length))})(e,r)},set:function(e,r,t){return null==e?e:dt(e,r,t)},setWith:function(e,r,t,n){return n="function"==typeof n?n:void 0,null==e?e:dt(e,r,t,n)},shuffle:function(e){return(r3(e)?function(e){return cr(tZ(e))}:function(e){return cr(sd(e))})(e)},size:function(e){if(null==e)return 0;if(nS(e))return so(e)?dw(e):e.length;var r=it(e);return"[object Map]"==r||"[object Set]"==r?e.size:n0(e).length},slice:function(e,r,t){var n=null==e?0:e.length;return n?(t&&"number"!=typeof t&&n_(e,r,t)?(r=0,t=n):(r=null==r?0:tp(r),t=void 0===t?n:tp(t)),uU(e,r,t)):[]},snakeCase:ct,some:function(e,r,t){var n=r3(e)?iC:cn;return t&&n_(e,r,t)&&(r=void 0),n(e,iG(r))},sortBy:cu,sortedIndex:function(e,r){return cs(e,r)},sortedIndexBy:function(e,r,t){return co(e,r,iG(t))},sortedIndexOf:function(e,r){var t=null==e?0:e.length;if(t){var n=cs(e,r);if(n<t&&nh(e[n],r))return n}return -1},sortedLastIndex:function(e,r){return cs(e,r,!0)},sortedLastIndexBy:function(e,r,t){return co(e,r,iG(t),!0)},sortedLastIndexOf:function(e,r){if(null==e?0:e.length){var t=cs(e,r,!0)-1;if(nh(e[t],r))return t}return -1},sortedUniq:function(e){return e&&e.length?cd(e):[]},sortedUniqBy:function(e,r){return e&&e.length?cd(e,iG(r)):[]},split:function(e,r,t){return(t&&"number"!=typeof t&&n_(e,r,t)&&(r=t=void 0),t=void 0===t?4294967295:t>>>0)?(e=uy(e))&&("string"==typeof r||null!=r&&!sM(r))&&!(r=r6(r))&&uV(e)?uW(u2(e),0,t):e.split(r,t):[]},spread:function(e,r){if("function"!=typeof e)throw TypeError("Expected a function");return r=null==r?0:cc(tp(r),0),nD(function(t){var n=t[r],u=uW(t,0,r);return n&&uD(u,n),tj(e,this,u)})},startCase:cf,startsWith:function(e,r,t){return e=uy(e),t=null==t?0:aO(tp(t),0,e.length),r=r6(r),e.slice(t,t+r.length)==r},stubArray:aq,stubFalse:nR,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},subtract:cl,sum:function(e){return e&&e.length?sX(e,tg):0},sumBy:function(e,r){return e&&e.length?sX(e,iG(r)):0},tail:function(e){var r=null==e?0:e.length;return r?uU(e,1,r):[]},take:function(e,r,t){return e&&e.length?uU(e,0,(r=t||void 0===r?1:tp(r))<0?0:r):[]},takeRight:function(e,r,t){var n=null==e?0:e.length;return n?uU(e,(r=n-(r=t||void 0===r?1:tp(r)))<0?0:r,n):[]},takeRightWhile:function(e,r){return e&&e.length?oA(e,iG(r),!1,!0):[]},takeWhile:function(e,r){return e&&e.length?oA(e,iG(r)):[]},tap:function(e,r){return r(e),e},template:function(e,r,t){var n=cv.imports._.templateSettings||cv;t&&n_(e,r,t)&&(r=void 0),e=uy(e),r=n6({},r,n,cm);var u,a,i=n6({},r.imports,n.imports,cm),o=n1(i),s=ss(i,o),d=0,c=r.interpolate||cS,f="__p += '",l=RegExp((r.escape||cS).source+"|"+c.source+"|"+(c===cb?cC:cS).source+"|"+(r.evaluate||cS).source+"|$","g"),p=cw.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(l,function(r,t,n,i,o,s){return n||(n=i),f+=e.slice(d,s).replace(c_,ch),t&&(u=!0,f+="' +\n__e("+t+") +\n'"),o&&(a=!0,f+="';\n"+o+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),d=s+r.length,r}),f+="';\n";var g=cw.call(r,"variable")&&r.variable;if(g){if(cD.test(g))throw Error("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(cx,""):f).replace(cE,"$1").replace(cA,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=uN(function(){return Function(o,p+"return "+f).apply(void 0,s)});if(m.source=f,uR(m))throw m;return m},templateSettings:cv,throttle:function(e,r,t){var n=!0,u=!0;if("function"!=typeof e)throw TypeError("Expected a function");return tu(t)&&(n="leading"in t?!!t.leading:n,u="trailing"in t?!!t.trailing:u),oe(e,r,{leading:n,maxWait:r,trailing:u})},thru:cF,times:function(e,r){if((e=tp(e))<1||e>9007199254740991)return[];var t=4294967295,n=cT(e,4294967295);r=oD(r),e-=4294967295;for(var u=nk(n,r);++t<e;)r(t);return u},toArray:s8,toFinite:tl,toInteger:tp,toIterator:ck,toJSON:cP,toLength:o$,toLower:function(e){return uy(e).toLowerCase()},toNumber:tc,toPairs:ok,toPairsIn:oP,toPath:function(e){return r3(e)?r2(e,uv):rQ(e)?[e]:tZ(um(uy(e)))},toPlainObject:oo,toSafeInteger:function(e){return e?aO(tp(e),-9007199254740991,9007199254740991):0===e?e:0},toString:uy,toUpper:function(e){return uy(e).toUpperCase()},transform:function(e,r,t){var n=r3(e),u=n||n$(e)||nH(e);if(r=iG(r),null==t){var a=e&&e.constructor;t=u?n?new a:[]:tu(e)&&tm(a)?tP(uk(e)):{}}return(u?t8:iY)(e,function(e,n,u){return r(t,e,n,u)}),t},trim:function(e,r,t){if((e=uy(e))&&(t||void 0===r))return tn(e);if(!e||!(r=r6(r)))return e;var n=u2(e),u=u2(r),a=cj(n,u),i=cI(n,u)+1;return uW(n,a,i).join("")},trimEnd:function(e,r,t){if((e=uy(e))&&(t||void 0===r))return e.slice(0,tr(e)+1);if(!e||!(r=r6(r)))return e;var n=u2(e),u=cI(n,u2(r))+1;return uW(n,0,u).join("")},trimStart:function(e,r,t){if((e=uy(e))&&(t||void 0===r))return e.replace(cB,"");if(!e||!(r=r6(r)))return e;var n=u2(e),u=cj(n,u2(r));return uW(n,u).join("")},truncate:function(e,r){var t=30,n="...";if(tu(r)){var u="separator"in r?r.separator:u;t="length"in r?tp(r.length):t,n="omission"in r?r6(r.omission):n}var a=(e=uy(e)).length;if(uV(e)){var i=u2(e);a=i.length}if(t>=a)return e;var o=t-dw(n);if(o<1)return n;var s=i?uW(i,0,o).join(""):e.slice(0,o);if(void 0===u)return s+n;if(i&&(o+=s.length-o),sM(u)){if(e.slice(o).search(u)){var d,c=s;for(u.global||(u=RegExp(u.source,uy(cO.exec(u))+"g")),u.lastIndex=0;d=u.exec(c);)var f=d.index;s=s.slice(0,void 0===f?o:f)}}else if(e.indexOf(r6(u),o)!=o){var l=s.lastIndexOf(u);l>-1&&(s=s.slice(0,l))}return s+n},unary:function(e){return nm(e,1)},unescape:function(e){return(e=uy(e))&&cL.test(e)?e.replace(cN,cR):e},union:cz,unionBy:cU,unionWith:cW,uniq:function(e){return e&&e.length?c$(e):[]},uniqBy:function(e,r){return e&&e.length?c$(e,iG(r)):[]},uniqWith:function(e,r){return r="function"==typeof r?r:void 0,e&&e.length?c$(e,void 0,r):[]},uniqueId:function(e){var r=++cq;return uy(e)+r},unset:function(e,r){return null==e||s7(e,r)},unzip:cZ,unzipWith:cG,update:function(e,r,t){return null==e?e:cH(e,r,oD(t))},updateWith:function(e,r,t,n){return n="function"==typeof n?n:void 0,null==e?e:cH(e,r,oD(t),n)},upperCase:cK,upperFirst:u4,value:cP,valueOf:cP,values:sd,valuesIn:function(e){return null==e?[]:ss(e,n5(e))},without:cJ,words:aC,wrap:function(e,r){return dB(oD(r),e)},wrapperAt:cX,wrapperChain:function(){return aI(this)},wrapperCommit:iA,wrapperLodash:tK,wrapperNext:s6,wrapperPlant:dL,wrapperReverse:function(){var e=this.__wrapped__;if(e instanceof tM){var r=e;return this.__actions__.length&&(r=new tM(this)),(r=r.reverse()).__actions__.push({func:cF,args:[d9],thisArg:void 0}),new tV(r,this.__chain__)}return this.thru(d9)},wrapperToIterator:ck,wrapperValue:cP,xor:cQ,xorBy:c0,xorWith:c1,zip:c2,zipObject:function(e,r){return c3(e||[],r||[],nv)},zipObjectDeep:function(e,r){return c3(e||[],r||[],dt)},zipWith:c4}));const{pick:c8}=c5,{isCallExpression:c6}=rL,{isStringLiteral:c9}=rR,{isCallExpression:c7}=rL,{isLiteral:fe,isStringLiteral:fr,isNumberLiteral:ft,isBigIntLiteral:fn,isNullLiteral:fu,isRegexLiteral:fa}=rR,{isNewExpression:fi,isCallExpression:fo,isCallOrNewExpression:fs}=rL;var fd={isLiteral:fe,isStringLiteral:fr,isNumberLiteral:ft,isBigIntLiteral:fn,isNullLiteral:fu,isRegexLiteral:fa,isArrowFunctionBody:function(e){return"ArrowFunctionExpression"===e.parent.type&&e.parent.body===e},isCallExpression:fo,isCallOrNewExpression:fs,isEmptyNode:function e(r,t){let{type:n}=r;return"BlockStatement"===n?r.body.every(r=>e(r,t)):!!("EmptyStatement"===n||t?.(r))},isExpressionStatement:function(e){return"ExpressionStatement"===e.type||"ChainExpression"===e.type&&"ExpressionStatement"===e.parent.type},isFunction:function(e){return rM.includes(e.type)},isMemberExpression:r$,isMethodCall:function(e,r){"string"==typeof r&&(r={methods:[r]}),Array.isArray(r)&&(r={methods:r});let{optionalCall:t,optionalMember:n,method:u,methods:a}={method:"",methods:[],...r};return c6(e,{...c8(r,["argumentsLength","minimumArguments","maximumArguments","allowSpreadElement"]),optional:t})&&r$(e.callee,{...c8(r,["object","objects","computed"]),property:u,properties:a,optional:n})},isNewExpression:fi,isReferenceIdentifier:function(e,r=[]){if("Identifier"!==e.type)return!1;let t=Array.isArray(r)?r:[r];return(!(t.length>0)||!!t.includes(e.name))&&!function(e){let{parent:r}=e;switch(r.type){case"MemberExpression":return!r.computed&&r.property===e;case"FunctionDeclaration":case"FunctionExpression":return r.params.includes(e)||r.id===e;case"ArrowFunctionExpression":return r.params.includes(e);case"ClassDeclaration":case"ClassExpression":case"VariableDeclarator":case"TSDeclareFunction":case"TSEnumMember":return r.id===e;case"PropertyDefinition":case"MethodDefinition":return!r.computed&&r.key===e;case"Property":return!r.computed&&r.key===e&&("ObjectExpression"===r.parent.type||"ObjectPattern"===r.parent.type)&&r.parent.properties.includes(r)||r.value===e&&"ObjectPattern"===r.parent.type&&r.parent.properties.includes(r);case"ArrayPattern":return r.elements.includes(e);case"LabeledStatement":case"ContinueStatement":case"BreakStatement":return r.label===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":return r.local===e;case"ExportAllDeclaration":return r.exported===e;case"ImportSpecifier":return r.local===e||r.imported===e;case"ExportSpecifier":return r.local===e||r.exported===e;case"TSPropertySignature":return r.key===e}return!1}(e)},isStaticRequire:e=>c7(e,{name:"require",argumentsLength:1,optional:!1})&&c9(e.arguments[0]),isUndefined:function(e){return"Identifier"===e.type&&"undefined"===e.name},functionTypes:rM};const fc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",186:";",187:"=",188:",",189:"-",190:".",191:"/",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},{isNumberLiteral:ff}=fd,fl="prefer-keyboard-event-key",fp=new Set(["keyCode","charCode","which"]),fg=e=>e?.type==="CallExpression"&&"MemberExpression"===e.callee.type&&"addEventListener"===e.callee.property.name,fm=(e,r)=>{let t=fh(r,"CallExpression",fg),n=t?.arguments[1];switch(n?.type){case"ArrowFunctionExpression":case"FunctionExpression":{let r=e.sourceCode.getDeclaredVariables(n)[0],t=r?.references;return{event:n.params[0],references:t}}default:return{}}},fy=(e,r)=>e?.parent?.type==="MemberExpression"&&e.parent.object===r,fh=(e,r,t=()=>!0)=>{let n=e;for(;n;){if(n.type===r&&t(n))return n;n=n.parent}},fb=(e,r)=>{let t=e;for(;t&&r;)r--,t=t.parent;if(0===r)return t},fv=e=>r=>{let t=fb(e,3);if(!t||"IfStatement"!==t.type)return;let{type:n,operator:u,right:a}=t.test;if(!("BinaryExpression"===n&&("=="===u||"==="===u)&&ff(a)))return;let i=fc[a.value]||String.fromCodePoint(a.value);if(i)return[r.replaceText(e,"key"),r.replaceText(a,rB(i))]},fx=e=>({messageId:fl,data:{name:e.name},node:e,fix:fv(e)});var fE=Q({create:e=>({Identifier(r){if("keyCode"!==r.name&&"charCode"!==r.name&&"which"!==r.name)return;let{event:t,references:n}=fm(e,r);if(t&&n&&n.some(e=>fy(r,e.identifier)))return fx(r)},Property(r){let t=r.value.name;if(!fp.has(t))return;let{event:n,references:u}=fm(e,r);if(!n)return;let a=fh(r,"VariableDeclarator"),i=a?.init;if(u&&u.some(e=>e.identifier===i))return fx(r.value);let o="ObjectPattern"===n.type;if(o){for(let e of n.properties)if(e===r)return fx(r.value)}}}),meta:{type:"suggestion",docs:{description:"Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`."},fixable:"code",messages:{[fl]:"Use `.key` instead of `.{{name}}`."}}});const{isMemberExpression:fA}=fd,fD="error",fC="suggestion";var fS=Q({create:()=>({MemberExpression(e){if(!fA(e,{property:"innerText"}))return;let r=e.property;return{node:r,messageId:fD,suggest:[{messageId:fC,fix:e=>e.replaceText(r,"textContent")}]}},Identifier(e){if("innerText"===e.name&&"Property"===e.parent.type&&e.parent.key===e&&!e.parent.computed&&"init"===e.parent.kind&&"ObjectPattern"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent))return{node:e,messageId:fD,suggest:[{messageId:fC,fix:r=>r.replaceText(e,e.parent.shorthand?"textContent: innerText":"textContent")}]}}}),meta:{type:"suggestion",docs:{description:"Prefer `.textContent` over `.innerText`."},hasSuggestions:!0,messages:{[fD]:"Prefer `.textContent` over `.innerText`.",[fC]:"Switch to `.textContent`."}}}),f_=function*(e,r){yield e.insertTextBeforeRange(r,""),yield e.insertTextAfterRange(r,"")};const{isParenthesized:fw,isOpeningParenToken:fF,isClosingParenToken:fT}=ru;function fk(e,r){let t=0;for(;fw(t+1,e,r);)t++;return t}function fP(e,r){let t=fk(e,r);return 0===t?[]:[...r.getTokensBefore(e,{count:t,filter:fF}),...r.getTokensAfter(e,{count:t,filter:fT})]}function fI(e,r){let t=fP(e,r),[n]=(t[0]||e).range,[,u]=(t[t.length-1]||e).range;return[n,u]}var fj={isParenthesized:fw,getParenthesizedTimes:fk,getParentheses:fP,getParenthesizedRange:fI,getParenthesizedText:function(e,r){let[t,n]=fI(e,r);return r.text.slice(t,n)}};const{getParentheses:fB}=fj;var fO=function*(e,r,t){let n=fB(e,t);for(let e of n)yield r.remove(e)};const{isCommaToken:fR}=ru,{isCommaToken:fN}=ru,{getParentheses:fL}=fj,{getParenthesizedRange:fM}=fj,{isOpeningParenToken:f$,isClosingParenToken:fz}=ru;var fU=function(e,r){if(e.arguments.length>0)return!0;let[t,n]=r.getLastTokens(e,2);return f$(t)&&fz(n)&&e.callee.range[1]<e.range[1]},fW=function(e,r){return e.loc.start.line===r.loc.start.line};const{isSemicolonToken:fq}=ru;var fV=function*(e,r,t){if("ReturnStatement"!==r.type&&"ThrowStatement"!==r.type)return;let n=t.getFirstToken(r);yield e.insertTextAfter(n," (");let u=t.getLastToken(r);if(!fq(u)){yield e.insertTextAfter(r,")");return}yield e.insertTextBefore(u,")")},fZ=function(e,r,t){let n=e;"object"==typeof e&&Array.isArray(e.range)&&(n=e.range[1]);let u=r.text.slice(n),[a]=u.match(/^\s*/);return t.removeRange([n,n+a.length])};const{isParenthesized:fG}=fj;var fH=function*(e,r,t){let n=r.getFirstToken(e);yield t.remove(n),yield fZ(n,r,t),fU(e,r)||(yield t.insertTextAfter(e,"()")),fW(n,e.callee)||fG(e,r)||(yield*fV(t,e.parent,r))};const{isParenthesized:fK}=fj;var fJ=function*(e,r,t){var n;yield t.insertTextBefore(e,"new ");let{callee:u}=e;!fK(u,r)&&"MemberExpression"===(n=u).type&&function(e){let r=e.object,t=e.object.type;for(;"MemberExpression"===t;)t=(r=r.object).type;return"CallExpression"===t}(n)&&(yield t.insertTextBefore(u,"("),yield t.insertTextAfter(u,")"))};const{getParenthesizedRange:fX}=fj;var fY=function(e,r,t){let[,n]=fX(r.object,t),[,u]=r.range;return e.removeRange([n,u])};const{getParenthesizedRange:fQ}=fj;var f0=function*(e,r,t){let n=r.callee;yield fY(e,n,t);let[,u]=fQ(n,t),[,a]=r.range;yield e.removeRange([u,a])},f1=e=>"Property"===e.parent.type&&e.parent.shorthand&&e===e.parent.value,f2=(e,r)=>e&&r&&e.range[0]===r.range[0]&&e.range[1]===r.range[1];const f3=e=>"AssignmentPattern"===e.parent.type&&e.parent.left===e&&f1(e.parent),f4=e=>{let{type:r,local:t,imported:n}=e.parent;return"ImportSpecifier"===r&&f2(t,n)&&t===e},f5=e=>{let{type:r,local:t,exported:n}=e.parent;return"ExportSpecifier"===r&&f2(t,n)&&t===e};var f8=function(e,r,t){return f1(e)||f3(e)?t.replaceText(e,`${e.name}: ${r}`):f4(e)?t.replaceText(e,`${e.name} as ${r}`):f5(e)?t.replaceText(e,`${r} as ${e.name}`):e.typeAnnotation?t.replaceTextRange([e.range[0],e.typeAnnotation.range[0]],`${r}${e.optional?"?":""}`):t.replaceText(e,r)},f6=({identifiers:e,references:r})=>[...new Set([...e,...r.map(({identifier:e})=>e)])];const{getParentheses:f9}=fj;var f7=function* e(r,t,n,u,a=u){let i=f9(r,a);for(let r of i)yield*e(r,"",n,u,a);let[o,s]=r.range,d=u.text.slice(0,o),[c]=d.match(/\s*$/),[f]=c.match(/(?:\r?\n|\r){0,1}/);o-=c.length,yield n.replaceTextRange([o,s],`${f}${t}`)};const{getParenthesizedRange:le}=fj,lr=({type:e,value:r})=>"Keyword"===e&&/^[a-z]*$/.test(r)||"Identifier"===e&&"of"===r||"Identifier"===e&&"await"===r;var lt={extendFixRange:f_,removeParentheses:fO,appendArgument:function(e,r,t,n){if("CallExpression"!==r.type)throw Error(`Unexpected node "${r.type}".`);let[u,a]=n.getLastTokens(r,2);return r.arguments.length>0&&(t=fR(u)?` ${t},`:`, ${t}`),e.insertTextBefore(a,t)},removeArgument:function(e,r,t){let n=r.parent,u=n.arguments.indexOf(r),a=fL(r,t),i=a[0]||r,o=a[a.length-1]||r,[s]=i.range,[,d]=o.range;if(0!==u&&(s=t.getTokenBefore(i).range[0]),1===n.arguments.length){let e=t.getTokenBefore(o);fN(e)&&(d=e[1])}return e.replaceTextRange([s,d],"")},replaceArgument:function(e,r,t,n){return e.replaceTextRange(fM(r,n),t)},switchNewExpressionToCallExpression:fH,switchCallExpressionToNewExpression:fJ,removeMemberExpressionProperty:fY,removeMethodCall:f0,replaceTemplateElement:(e,r,t)=>{let{range:[n,u],tail:a}=r;return e.replaceTextRange([n+1,u-(a?1:2)],t)},replaceReferenceIdentifier:f8,renameVariable:(e,r,t)=>f6(e).map(e=>f8(e,r,t)),replaceNodeOrTokenAndSpacesBefore:f7,removeSpacesAfter:fZ,fixSpaceAroundKeyword:function*(e,r,t){let n=le(r,t),u=t.getTokenBefore({range:n},{includeComments:!0});u&&n[0]===u.range[1]&&lr(u)&&(yield e.insertTextAfter(u," "));let a=t.getTokenAfter({range:n},{includeComments:!0});a&&n[1]===a.range[0]&&lr(a)&&(yield e.insertTextBefore(a," "))},replaceStringLiteral:function(e,r,t,n,u){let a=r.range[0]+1,i=Number.isInteger(u)?n+a:a,o=Number.isInteger(u)?u+a:r.range[1]-1;return e.replaceTextRange([i,o],t)},addParenthesizesToReturnOrThrowExpression:fV};const{isMemberExpression:ln}=fd;function lu(e,r){let{object:t,property:n,properties:u}={property:"",properties:[],...r};if(!ln(e,{property:n,properties:u,optional:!1}))return;let a=e.object;return ln(a,{object:t,property:"prototype",optional:!1})||"Array"===t&&"ArrayExpression"===a.type&&0===a.elements.length||"Object"===t&&"ObjectExpression"===a.type&&0===a.properties.length}function la(e,r){let t=r.trim().split(".");for(let r=t.length-1;r>=0;r--){let n=t[r];if(!n)return!1;if(0===r)return"Identifier"===e.type&&e.name===n||"this"===n&&"ThisExpression"===e.type;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}}var li={isNodeMatchesNameOrPath:la,isNodeMatches:function(e,r){return r.some(r=>la(e,r))}},lo=e=>e?.type==="LogicalExpression"&&("&&"===e.operator||"||"===e.operator);const ls=e=>e?.type==="UnaryExpression"&&"!"===e.operator,ld=e=>ls(e.parent)&&e.parent.argument===e,lc=e=>lf(e.parent)&&e.parent.arguments[0]===e,lf=e=>e?.type==="CallExpression"&&"Identifier"===e.callee.type&&"Boolean"===e.callee.name&&1===e.arguments.length,ll=e=>e?.type==="VExpressionContainer"&&"VAttribute"===e.parent.type&&e.parent.directive&&e.parent.value===e&&"VDirectiveKey"===e.parent.key.type&&"VIdentifier"===e.parent.key.name.type&&("if"===e.parent.key.name.rawName||"else-if"===e.parent.key.name.rawName||"show"===e.parent.key.name.rawName);var lp={},lg={};Object.defineProperty(lg,"__esModule",{value:!0}),lg.isIdentifierChar=lD,lg.isIdentifierName=function(e){let r=!0;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if((64512&n)==55296&&t+1<e.length){let r=e.charCodeAt(++t);(64512&r)==56320&&(n=65536+((1023&n)<<10)+(1023&r))}if(r){if(r=!1,!lA(n))return!1}else if(!lD(n))return!1}return!r},lg.isIdentifierStart=lA;let lm="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ly="‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const lh=RegExp("["+lm+"]"),lb=RegExp("["+lm+ly+"]");lm=ly=null;const lv=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],lx=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function lE(e,r){let t=65536;for(let n=0,u=r.length;n<u&&!((t+=r[n])>e);n+=2)if((t+=r[n+1])>=e)return!0;return!1}function lA(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&lh.test(String.fromCharCode(e)):lE(e,lv)))}function lD(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&lb.test(String.fromCharCode(e)):lE(e,lv)||lE(e,lx))))}var lC={};Object.defineProperty(lC,"__esModule",{value:!0}),lC.isKeyword=function(e){return l_.has(e)},lC.isReservedWord=lT,lC.isStrictBindOnlyReservedWord=lP,lC.isStrictBindReservedWord=function(e,r){return lk(e,r)||lP(e)},lC.isStrictReservedWord=lk;const lS={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},l_=new Set(lS.keyword),lw=new Set(lS.strict),lF=new Set(lS.strictBind);function lT(e,r){return r&&"await"===e||"enum"===e}function lk(e,r){return lT(e,r)||lw.has(e)}function lP(e){return lF.has(e)}Object.defineProperty(lp,"__esModule",{value:!0}),Object.defineProperty(lp,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(lp,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(lp,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(lp,"isKeyword",{enumerable:!0,get:function(){return u.isKeyword}}),Object.defineProperty(lp,"isReservedWord",{enumerable:!0,get:function(){return u.isReservedWord}}),Object.defineProperty(lp,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return u.isStrictBindOnlyReservedWord}}),Object.defineProperty(lp,"isStrictBindReservedWord",{enumerable:!0,get:function(){return u.isStrictBindReservedWord}}),Object.defineProperty(lp,"isStrictReservedWord",{enumerable:!0,get:function(){return u.isStrictReservedWord}}),n=lg,u=lC;const lI=e=>[e,...e.childScopes.flatMap(e=>lI(e))];var lj=e=>[...new Set(lI(e).flatMap(({references:e})=>e))];const{isIdentifierName:lB,isStrictReservedWord:lO,isKeyword:lR}=lp,lN=(e,r)=>{for(;r;){let t=r.set.get(e);if(t)return t;r=r.upper}},lL=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with","as","implements","interface","let","package","private","protected","public","static","yield","any","boolean","constructor","declare","get","module","require","number","set","string","symbol","type","from","of"]),lM=e=>"string"==typeof e&&!lR(e)&&!lO(e,!0)&&lB(e)&&"arguments"!==e&&!lL.has(e),l$=(e,r)=>lj(r).some(({identifier:r,resolved:t})=>r?.name===e&&!t),lz=(e,r)=>!r.some(r=>lN(e,r)||l$(e,r)),lU=()=>!0;var lW=(e,r,t=lU)=>{if(lM(e)||lM(e+="_")){for(;!lz(e,r)||!t(e,r);)e+="_";return e}};const lq=e=>"MemberExpression"===e.type||"CallExpression"===e.type,{findVariable:lV}=ru,lZ=(e,r)=>{let{references:t=[]}=lV(e,r)||{};return t};var lG=e=>("AssignmentExpression"===e.parent.type||"AssignmentPattern"===e.parent.type)&&e.parent.left===e||"UpdateExpression"===e.parent.type&&e.parent.argument===e||"ArrayPattern"===e.parent.type&&e.parent.elements.includes(e)||"Property"===e.parent.type&&e.parent.value===e&&"ObjectPattern"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent)||"UnaryExpression"===e.parent.type&&"delete"===e.parent.operator&&e.parent.argument===e;const{isUndefined:lH}=fd,lK=new Set(["ArrayExpression","ArrowFunctionExpression","ClassExpression","FunctionExpression","Literal","ObjectExpression","TemplateLiteral"]),{isUndefined:lJ,isCallExpression:lX,isMethodCall:lY}=fd,lQ=new Set(["ArrayExpression","BinaryExpression","ClassExpression","Literal","ObjectExpression","TemplateLiteral","UnaryExpression","UpdateExpression"]),l0=new Set(["AssignmentExpression","AwaitExpression","LogicalExpression","NewExpression","TaggedTemplateExpression","ThisExpression"]),{getStaticValue:l1}=ru;function l2(e){let r;switch(e?.type){case"MemberExpression":r=e.property;break;case"ChainExpression":return l2(e.expression);case"Property":case"MethodDefinition":r=e.key}if(r){if("Identifier"===r.type&&!e.computed)return r.name;let t=l1(r);if(!t)return;return String(t.value)}}var l3=function e(r,t){if(r.type!==t.type)return"ChainExpression"===r.type?e(r.expression,t):"ChainExpression"===t.type&&e(r,t.expression);switch(r.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return r.name===t.name;case"Literal":return r.regex||t.regex?!!(r.regex&&t.regex&&r.regex.pattern===t.regex.pattern&&r.regex.flags===t.regex.flags):r.bigint||t.bigint?r.bigint===t.bigint:r.value===t.value;case"ChainExpression":return e(r.expression,t.expression);case"MemberExpression":{let n=l2(r);if(void 0!==n)return e(r.object,t.object)&&n===l2(t);return r.computed===t.computed&&e(r.object,t.object)&&e(r.property,t.property)}default:return!1}},l4=function(e,r){let t=function(e,r){let t=e.references.filter(e=>e.identifier===r);if(1===t.length)return t[0]}(e,r);return t?.resolved&&t.resolved.defs.length>0};const{isExpressionStatement:l5}=fd,l8=new Set(["String","Null","Boolean","Numeric","RegularExpression"]),l6=new Set(["[","(","/","`","+","-","*",",","."]);var l9=function(e,r,t){if(""===t||t&&!l6.has(t.charAt(0))||!e)return!1;let{type:n,value:u,range:a}=e,i=r.getNodeByRangeIndex(a[0]);if("Punctuator"===n){if(";"===u)return!1;if("]"===u)return!0;if(")"===u){switch(i.type){case"IfStatement":if(r.getTokenBefore(i.consequent)===e)return!1;break;case"ForStatement":case"ForInStatement":case"ForOfStatement":case"WhileStatement":case"DoWhileStatement":case"WithStatement":if(i.body&&r.getTokenBefore(i.body)===e)return!1}return!0}}return!!l8.has(n)||("Template"===n?u.endsWith("`"):"ObjectExpression"===i.type||"Identifier"===n&&("of"!==u||"ForOfStatement"!==i.type)&&("await"!==u||"AwaitExpression"!==i.type))};const{isNumberLiteral:l7,isBigIntLiteral:pe}=fd,pr=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,pt=e=>pr.test(e);var pn={isDecimalIntegerNode:e=>l7(e)&&pt(e.raw),isDecimalInteger:pt,isNumeric:e=>l7(e)||pe(e),isLegacyOctal:e=>l7(e)&&/^0\d+$/.test(e.raw),getPrefix:function(e){let r="",t=e;return/^0[box]/i.test(e)&&(r=e.slice(0,2),t=e.slice(2)),{prefix:r,data:t}},parseNumber:function(e){let{number:r,mark:t="",sign:n="",power:u=""}=e.match(/^(?<number>[\d._]*?)(?:(?<mark>[Ee])(?<sign>[+-])?(?<power>[\d_]+))?$/).groups;return{number:r,mark:t,sign:n,power:u}},parseFloatNumber:function(e){let r=e.split("."),[t,n=""]=r,u=2===r.length?".":"";return{integer:t,dot:u,fractional:n}}};const{isDecimalIntegerNode:pu}=pn;var pa=function(e,r){switch(e.type){case"Identifier":case"MemberExpression":case"CallExpression":case"ChainExpression":case"TemplateLiteral":case"ThisExpression":case"ArrayExpression":case"FunctionExpression":return!1;case"NewExpression":return!fU(e,r);case"Literal":if(pu(e))return!0;return!1;default:return!0}};const pi=new Set(["CallExpression","Identifier","Literal","MemberExpression","NewExpression","TemplateLiteral","ThisExpression"]);var po=e=>!pi.has(e.type),ps={exports:{}};ps.exports=function(){var e=[],r=[],t={},n={},u={};function a(e){return"string"==typeof e?RegExp("^"+e+"$","i"):e}function i(e,r){return e===r?r:e===e.toLowerCase()?r.toLowerCase():e===e.toUpperCase()?r.toUpperCase():e[0]===e[0].toUpperCase()?r.charAt(0).toUpperCase()+r.substr(1).toLowerCase():r.toLowerCase()}function o(e,r,n){if(!e.length||t.hasOwnProperty(e))return r;for(var u=n.length;u--;){var a=n[u];if(a[0].test(r))return function(e,r){return e.replace(r[0],function(t,n){var u,a,o=(u=r[1],a=arguments,u.replace(/\$(\d{1,2})/g,function(e,r){return a[r]||""}));return""===t?i(e[n-1],o):i(t,o)})}(r,a)}return r}function s(e,r,t){return function(n){var u=n.toLowerCase();return r.hasOwnProperty(u)?i(n,u):e.hasOwnProperty(u)?i(n,e[u]):o(u,n,t)}}function d(e,r,t,n){return function(n){var u=n.toLowerCase();return!!r.hasOwnProperty(u)||!e.hasOwnProperty(u)&&o(u,u,t)===u}}function c(e,r,t){var n=1===r?c.singular(e):c.plural(e);return(t?r+" ":"")+n}return c.plural=s(u,n,e),c.isPlural=d(u,n,e),c.singular=s(n,u,r),c.isSingular=d(n,u,r),c.addPluralRule=function(r,t){e.push([a(r),t])},c.addSingularRule=function(e,t){r.push([a(e),t])},c.addUncountableRule=function(e){if("string"==typeof e){t[e.toLowerCase()]=!0;return}c.addPluralRule(e,"$0"),c.addSingularRule(e,"$0")},c.addIrregularRule=function(e,r){r=r.toLowerCase(),u[e=e.toLowerCase()]=r,n[r]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return c.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return c.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return c.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(c.addUncountableRule),c}();var pd=ps.exports;const{singular:pc}=pd;var pf=function(e,r,t=0,n=0){let[u,a]=Array.isArray(e)?e:e.range;return{start:r.getLocFromIndex(u+t),end:r.getLocFromIndex(a+n)}};const{isParenthesized:pl,getParenthesizedTimes:pp,getParentheses:pg,getParenthesizedRange:pm,getParenthesizedText:py}=fj,{isArrayPrototypeProperty:ph,isObjectPrototypeProperty:pb}={isArrayPrototypeProperty:(e,r)=>lu(e,{...r,object:"Array"}),isObjectPrototypeProperty:(e,r)=>lu(e,{...r,object:"Object"})},{isNodeMatches:pv,isNodeMatchesNameOrPath:px}=li,{isBooleanNode:pE,getBooleanAncestor:pA}={isBooleanNode:function e(r){if(ls(r)||ld(r)||lf(r)||lc(r))return!0;let{parent:t}=r;return!!ll(t)||("IfStatement"===t.type||"ConditionalExpression"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"ForStatement"===t.type)&&t.test===r||!!lo(t)&&e(t)},getBooleanAncestor:function(e){let r=!1;for(;;)if(ld(e))r=!r,e=e.parent;else if(lc(e))e=e.parent;else break;return{node:e,isNegative:r}}};var pD={avoidCapture:lW,escapeString:rB,getBooleanAncestor:pA,getParentheses:pg,getParenthesizedRange:pm,getParenthesizedText:py,getParenthesizedTimes:pp,getReferences:lj,getScopes:lI,getVariableIdentifiers:f6,hasOptionalChainElement:function e(r){return!!lq(r)&&(!!r.optional||"MemberExpression"===r.type&&e(r.object))},isArrayPrototypeProperty:ph,isBooleanNode:pE,isFunctionSelfUsedInside:function(e,r){if(r.block!==e)throw Error('"functionScope" should be the scope of "functionNode".');let{type:t,id:n}=e;return"ArrowFunctionExpression"!==t&&(!!(r.thisFound||lZ(r,"arguments").some(({from:e})=>e===r))||!!n&&lZ(r,n).length>0)},isLeftHandSide:lG,isLogicalExpression:lo,isMethodNamed:(e,r)=>"CallExpression"===e.type&&"MemberExpression"===e.callee.type&&"Identifier"===e.callee.property.type&&e.callee.property.name===r,isNodeMatches:pv,isNodeMatchesNameOrPath:px,isNodeValueNotDomNode:e=>lK.has(e.type)||lH(e),isNodeValueNotFunction:e=>lQ.has(e.type)||l0.has(e.type)||lJ(e)||lX(e)&&!lY(e,{method:"bind",optionalCall:!1,optionalMember:!1}),isObjectPrototypeProperty:pb,isOnSameLine:fW,isParenthesized:pl,isSameIdentifier:(e,r)=>"Identifier"===e.type&&"Identifier"===r.type&&e.name===r.name,isSameReference:l3,isShadowed:l4,isValueNotUsable:e=>l5(e.parent),needsSemicolon:l9,shouldAddParenthesesToMemberExpressionObject:pa,shouldAddParenthesesToSpreadElementArgument:po,singular:e=>{let r=pc(e);if(r!==e)return r},toLocation:pf};const{appendArgument:pC}=lt,{isMethodCall:pS}=fd,{isArrayPrototypeProperty:p_}=pD,pw="require-array-join-separator";var pF=Q({create:e=>({CallExpression(r){if(!(pS(r,{method:"join",argumentsLength:0,optionalCall:!1})||pS(r,{method:"call",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&p_(r.callee.object,{property:"join"})))return;let{sourceCode:t}=e,[n,u]=t.getLastTokens(r,2),a=1===r.arguments.length;return{loc:{start:n.loc[a?"end":"start"],end:u.loc.end},messageId:pw,fix:e=>pC(e,r,"','",t)}}}),meta:{type:"suggestion",docs:{description:"Enforce using the separator argument with `Array#join()`."},fixable:"code",messages:{[pw]:"Missing the separator argument."}}});const{getStaticValue:pT,getPropertyName:pk}=ru,{isMethodCall:pP}=fd,pI="no-thenable-object",pj="no-thenable-export",pB="no-thenable-class",pO=(e,r)=>pT(e,r.sourceCode.getScope(e))?.value==="then",pR=[{selector:"ObjectExpression",*getNodes(e,r){for(let t of e.properties)"Property"===t.type&&"then"===pk(t,r.sourceCode.getScope(t))&&(yield t.key)},messageId:pI},{selectors:["PropertyDefinition","MethodDefinition"],*getNodes(e,r){"then"===pk(e,r.sourceCode.getScope(e))&&(yield e.key)},messageId:pB},{selector:"MemberExpression",*getNodes(e,r){"AssignmentExpression"===e.parent.type&&e.parent.left===e&&"then"===pk(e,r.sourceCode.getScope(e))&&(yield e.property)},messageId:pI},{selector:"CallExpression",*getNodes(e,r){if(!(pP(e,{objects:["Object","Reflect"],method:"defineProperty",minimumArguments:3,optionalCall:!1,optionalMember:!1})&&"SpreadElement"!==e.arguments[0].type))return;let[,t]=e.arguments;pO(t,r)&&(yield t)},messageId:pI},{selector:"CallExpression",*getNodes(e,r){if(pP(e,{object:"Object",method:"fromEntries",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&"ArrayExpression"===e.arguments[0].type){for(let t of e.arguments[0].elements)if(t?.type==="ArrayExpression"&&t.elements[0]&&"SpreadElement"!==t.elements[0].type){let[e]=t.elements;pO(e,r)&&(yield e)}}},messageId:pI},{selector:"Identifier",*getNodes(e){"then"===e.name&&"ExportSpecifier"===e.parent.type&&e.parent.exported===e&&(yield e)},messageId:pj},{selector:"Identifier",*getNodes(e){"then"===e.name&&("FunctionDeclaration"===e.parent.type||"ClassDeclaration"===e.parent.type)&&e.parent.id===e&&"ExportNamedDeclaration"===e.parent.parent.type&&e.parent.parent.declaration===e.parent&&(yield e)},messageId:pj},{selector:"VariableDeclaration",*getNodes(e,r){if("ExportNamedDeclaration"===e.parent.type&&e.parent.declaration===e)for(let t of r.sourceCode.getDeclaredVariables(e))"then"===t.name&&(yield*t.identifiers)},messageId:pj}];var pN=Q({create:e=>{for(let{selector:r,selectors:t,messageId:n,getNodes:u}of pR)e.on(r??t,function*(r){for(let t of u(r,e))yield{node:t,messageId:n}})},meta:{type:"problem",docs:{description:"Disallow `then` property."},messages:{[pI]:"Do not add `then` to an object.",[pj]:"Do not export `then`.",[pB]:"Do not add `then` to a class."}}});const{getFunctionHeadLocation:pL}=ru,{isMethodCall:pM}=fd,p$="no-invalid-remove-event-listener";var pz=Q({create:e=>({CallExpression(r){if(!(pM(r,{method:"removeEventListener",minimumArguments:2,optionalCall:!1,optionalMember:!1})&&"SpreadElement"!==r.arguments[0].type&&("FunctionExpression"===r.arguments[1].type||"ArrowFunctionExpression"===r.arguments[1].type||pM(r.arguments[1],{method:"bind",optionalCall:!1,optionalMember:!1}))))return;let[,t]=r.arguments;return["ArrowFunctionExpression","FunctionExpression"].includes(t.type)?{node:t,loc:pL(t,e.sourceCode),messageId:p$}:{node:t.callee.property,messageId:p$}}}),meta:{type:"problem",docs:{description:"Prevent calling `EventTarget#removeEventListener()` with the result of an expression."},messages:{[p$]:"The listener argument should be a function reference."}}});const{getFunctionHeadLocation:pU,getFunctionNameWithKind:pW}=ru,{getReferences:pq,isNodeMatches:pV}=pD,{functionTypes:pZ}=fd,pG="consistent-function-scoping",pH=(e,r)=>e&&r&&(e===r||e.block===r.block),pK=["useState","useEffect","useContext","useReducer","useCallback","useMemo","useRef","useImperativeHandle","useLayoutEffect","useDebugValue"].flatMap(e=>[e,`React.${e}`]),pJ=e=>e.block?.parent?.callee&&pV(e.block.parent.callee,pK),pX=e=>"function"===e.type&&e.block?.type==="ArrowFunctionExpression"&&(e.thisFound||e.childScopes.some(e=>pX(e))),pY=new Set(["FunctionExpression","ArrowFunctionExpression"]),pQ=e=>pY.has(e.type)&&"CallExpression"===e.parent.type&&e.parent.callee===e;var p0=Q({create:e=>{let{checkArrowFunctions:r}={checkArrowFunctions:!0,...e.options[0]},{sourceCode:t}=e,{scopeManager:n}=t,u=[];e.on(pZ,()=>{u.push(!1)}),e.on("JSXElement",()=>{u.length>0&&(u[u.length-1]=!0)}),e.onExit(pZ,e=>{let a=u.pop();if(!(a||"ArrowFunctionExpression"===e.type&&!r||function(e,r){let t=r.acquire(e);if(!t||pX(t))return!0;let n=e.parent;"VariableDeclarator"===n.type&&(n=n.parent),"VariableDeclaration"===n.type&&(n=n.parent),"BlockStatement"===n.type&&(n=n.parent);let u=r.acquire(n);return!!(!u||"global"===u.type||pJ(u)||pQ(n))||function(e,r,t){let n=e=>e.some(e=>{if(pH(r,e.from))return!0;let{resolved:t}=e,[n]=t.defs;return(n?.type!=="FunctionName"||t.name!==n.name.name)&&pH(r,t.scope)}),u=e=>e.some(e=>{let n=t.acquire(e.node);return pH(r,n)}),a=n=>n.some(n=>{if(!n.parent||"FunctionDeclaration"!==n.parent.type)return!1;let u=t.acquire(n);if(u)return!1;let a=t.acquire(n.parent);return!(!a||pH(e,a))&&pH(r,a.upper)});return pq(e).map(({resolved:e})=>e).filter(Boolean).some(e=>n(e.references)||u(e.defs)||a(e.identifiers))}(t,u,r)}(e,n)))return{node:e,loc:pU(e,t),messageId:pG,data:{functionNameWithKind:pW(e,t)}}})},meta:{type:"suggestion",docs:{description:"Move function definitions to the highest possible scope."},schema:[{type:"object",additionalProperties:!1,properties:{checkArrowFunctions:{type:"boolean",default:!0}}}],messages:{[pG]:"Move {{functionNameWithKind}} to the outer scope."}}});const{getStaticValue:p1}=ru,{isNumberLiteral:p2}=fd,p3=(e,r,t)=>"MemberExpression"===e.type&&!e.computed&&!e.optional&&"Identifier"===e.object.type&&e.object.name===r&&"Identifier"===e.property.type&&t.has(e.property.name),p4=(e,r)=>"CallExpression"===e.type&&!e.optional&&"Identifier"===e.callee.type&&e.callee.name===r,p5=new Set(["E","LN2","LN10","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"]),p8=e=>p3(e,"Math",p5),p6=new Set(["abs","acos","acosh","asin","asinh","atan","atanh","atan2","cbrt","ceil","clz32","cos","cosh","exp","expm1","floor","fround","hypot","imul","log","log1p","log10","log2","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc"]),p9=e=>"CallExpression"===e.type&&!e.optional&&p3(e.callee,"Math",p6),p7=e=>p4(e,"Number"),ge=new Set(["EPSILON","MAX_SAFE_INTEGER","MAX_VALUE","MIN_SAFE_INTEGER","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]),gr=e=>p3(e,"Number",ge),gt=new Set(["parseFloat","parseInt"]),gn=e=>"CallExpression"===e.type&&!e.optional&&p3(e.callee,"Number",gt),gu=e=>p4(e,"parseInt")||p4(e,"parseFloat"),ga=(e,r)=>"number"==typeof p1(e,r)?.value,gi=e=>"MemberExpression"===e.type&&!e.computed&&!e.optional&&"Identifier"===e.property.type&&"length"===e.property.name,go=new Set(["-","*","/","%","**","<<",">>","|","^","&"]);var gs=function e(r,t){if(p2(r)||p8(r)||p9(r)||p7(r)||gr(r)||gn(r)||gu(r)||gi(r))return!0;switch(r.type){case"AssignmentExpression":{let{operator:n}=r;if("="===n&&e(r.right,t))return!0}case"BinaryExpression":{let{operator:n}=r;if("AssignmentExpression"===r.type&&(n=n.slice(0,-1)),"+"===n&&e(r.left,t)&&e(r.right,t)||">>>"===n||go.has(n)&&(e(r.left,t)||e(r.right,t)))return!0;break}case"UnaryExpression":{let{operator:n}=r;if("+"===n||("-"===n||"~"===n)&&e(r.argument,t))return!0;break}case"UpdateExpression":if(e(r.argument,t))return!0;break;case"ConditionalExpression":{let n=e(r.consequent,t),u=e(r.alternate,t);if(n&&u)return!0;let a=p1(r.test,t);if(null!==a&&(a.value&&n||!a.value&&u))return!0;break}case"SequenceExpression":if(e(r.expressions[r.expressions.length-1],t))return!0}return ga(r,t)};const{getStaticValue:gd}=ru,{switchNewExpressionToCallExpression:gc}=lt,{isNewExpression:gf}=fd,gl="error",gp="error-unknown",gg="suggestion",gm=(e,r)=>{if(1!==e.length)return"from";let[t]=e;if("SpreadElement"===t.type)return;if("ArrayExpression"===t.type||"TemplateLiteral"===t.type)return"from";if(gs(t,r))return"alloc";let n=gd(t,r);if(n){let{value:e}=n;if("string"==typeof e||Array.isArray(e))return"from"}};function gy(e,r,t){return function*(n){yield n.insertTextAfter(e.callee,`.${t}`),yield*gc(e,r,n)}}var gh=Q({create:e=>{let{sourceCode:r}=e;return{NewExpression(e){if(!gf(e,{name:"Buffer"}))return;let t=gm(e.arguments,r.getScope(e));return t?{node:e,messageId:gl,data:{method:t},fix:gy(e,r,t)}:{node:e,messageId:gp,suggest:["from","alloc"].map(t=>({messageId:gg,data:{replacement:t},fix:gy(e,r,t)}))}}}},meta:{type:"problem",docs:{description:"Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`."},fixable:"code",hasSuggestions:!0,messages:{[gl]:"`new Buffer()` is deprecated, use `Buffer.{{method}}()` instead.",[gp]:"`new Buffer()` is deprecated, use `Buffer.alloc()` or `Buffer.from()` instead.",[gg]:"Switch to `Buffer.{{replacement}}()`."}}});const{isStringLiteral:gb,isMethodCall:gv}=fd,gx="no-console-spaces",gE=e=>e.length>1&&" "===e.charAt(0)&&" "!==e.charAt(1),gA=e=>e.length>1&&" "===e.charAt(e.length-1)&&" "!==e.charAt(e.length-2);var gD=Q({create:e=>{let{sourceCode:r}=e,t=(e,t,n)=>{let u="leading"===n?e.range[0]+1:e.range[1]-2,a=[u,u+1];return{loc:pf(a,r),messageId:gx,data:{method:t,position:n},fix:e=>e.removeRange(a)}};return{*CallExpression(e){if(!gv(e,{object:"console",methods:["log","debug","info","warn","error"],minimumArguments:1,optionalCall:!1,optionalMember:!1}))return;let n=e.callee.property.name,{arguments:u}=e,{length:a}=u;for(let[e,i]of u.entries()){if(!gb(i)&&"TemplateLiteral"!==i.type)continue;let u=r.getText(i).slice(1,-1);0!==e&&gE(u)&&(yield t(i,n,"leading")),e!==a-1&&gA(u)&&(yield t(i,n,"trailing"))}}}},meta:{type:"suggestion",docs:{description:"Do not use leading/trailing space between `console.log` parameters."},fixable:"code",messages:{[gx]:"Do not use {{position}} space between `console.{{method}}` parameters."}}});const{isEmptyNode:gC}=fd,gS="no-empty-file",g_=e=>"ExpressionStatement"===e.type&&"string"==typeof e.directive,gw=e=>gC(e,g_),gF=e=>"Line"===e.type&&e.value.startsWith("/"),gT=e=>e.some(e=>gF(e));var gk=Q({create:e=>{let r=e.physicalFilename;if(/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/i.test(r))return{Program(r){if(r.body.some(e=>!gw(e)))return;let{sourceCode:t}=e,n=t.getAllComments();if(!gT(n))return{node:r,messageId:gS}}}},meta:{type:"suggestion",docs:{description:"Disallow empty files."},messages:{[gS]:"Empty files are not allowed."}}});const{isParenthesized:gP,getParenthesizedRange:gI}=fj,{removeParentheses:gj}=lt,gB="no-useless-fallback-in-spread";var gO=Q({create:e=>({ObjectExpression(r){if(0===r.properties.length&&"LogicalExpression"===r.parent.type&&r.parent.right===r&&("||"===r.parent.operator||"??"===r.parent.operator)&&"SpreadElement"===r.parent.parent.type&&r.parent.parent.argument===r.parent&&"ObjectExpression"===r.parent.parent.parent.type&&r.parent.parent.parent.properties.includes(r.parent.parent))return{node:r,messageId:gB,*fix(t){let{sourceCode:n}=e,u=r.parent,{left:a}=u,i=gP(a,n),[,o]=i?gI(a,n):a.range,[,s]=u.range;yield t.removeRange([o,s]),(i||!po(a))&&(yield*gj(u,t,n))}}}}),meta:{type:"suggestion",docs:{description:"Disallow useless fallback when spreading in object literals."},fixable:"code",messages:{[gB]:"The empty object is useless."}}});const{isMethodCall:gR,isMemberExpression:gN}=fd,{getParenthesizedRange:gL,isSameReference:gM,isLogicalExpression:g$}=pD,gz=e=>"BinaryExpression"===e.type&&"Literal"===e.right.type&&"0"===e.right.raw&&gN(e.left,{property:"length",optional:!1})&&g$(e.parent);var gU=Q({create:e=>{let r=[],t=new Set,n=new Set,u=new Set,a=new Set;return{BinaryExpression(e){if(gz(e)){let{operator:r}=e;"==="===r?t.add(e):(">"===r||"!=="===r)&&n.add(e)}},CallExpression(e){gR(e,{optionalCall:!1,optionalMember:!1,computed:!1})&&"Identifier"===e.callee.property.type&&("some"===e.callee.property.name?u.add(e):"every"===e.callee.property.name&&a.add(e))},LogicalExpression(e){g$(e)&&r.push(e)},*"Program:exit"(){let i=new Set(r.flatMap(e=>(function(e){let{operator:r}=e;return(function e(r){return[r.left,r.right].flatMap(t=>"LogicalExpression"===t.type&&t.operator===r.operator?e(t):[t])})(e).filter((e,i,o)=>(function({node:e,operator:r,siblings:i}){return"||"===r&&t.has(e)&&i.some(r=>a.has(r)&&gM(e.left.object,r.callee.object))||"&&"===r&&n.has(e)&&i.some(r=>u.has(r)&&gM(e.left.object,r.callee.object))})({node:e,operator:r,siblings:[o[i-1],o[i+1]].filter(Boolean)}))})(e)));for(let r of i)yield{loc:{start:r.left.property.loc.start,end:r.loc.end},messageId:t.has(r)?"zero":"non-zero",fix(t){let{sourceCode:n}=e,{left:u,right:a}=r.parent,i=gL(u,n),o=gL(a,n),s=[];return u===r?(s[0]=i[0],s[1]=o[0]):(s[0]=i[1],s[1]=o[1]),t.removeRange(s)}}}}},meta:{type:"suggestion",docs:{description:"Disallow useless array length check."},fixable:"code",messages:{"non-zero":"The non-empty check is useless as `Array#some()` returns `false` for an empty array.",zero:"The empty check is useless as `Array#every()` returns `true` for an empty array."}}});const{getParenthesizedRange:gW}=pD,{isFunction:gq,isMethodCall:gV}=fd;var gZ=Q({create:e=>{let{sourceCode:r}=e;return{CallExpression(e){if(!(gV(e,{object:"Promise",methods:["resolve","reject"],optionalCall:!1,optionalMember:!1})&&("ArrowFunctionExpression"===e.parent.type&&e.parent.body===e||"ReturnStatement"===e.parent.type&&e.parent.argument===e||"YieldExpression"===e.parent.type&&!e.parent.delegate&&e.parent.argument===e)))return;let{functionNode:t,isInTryStatement:n}=function(e){let r,t=!1;for(;e;e=e.parent){if(gq(e)){r=e;break}"TryStatement"===e.type&&(t=!0)}return{functionNode:r,isInTryStatement:t}}(e);if(t&&(t.async||function(e){if("CallExpression"===e.parent.type&&"MemberExpression"===e.parent.callee.type&&!e.parent.callee.computed&&"Identifier"===e.parent.callee.property.type){let{callee:{property:r},arguments:t}=e.parent;if(1===t.length&&("then"===r.name||"catch"===r.name||"finally"===r.name)&&t[0]===e||2===t.length&&"then"===r.name&&(t[0]===e||"SpreadElement"!==t[0].type&&t[1]===e))return!0}return!1}(t)))return function(e,r){let{callee:t,parent:n}=e,u=t.property.name,a="YieldExpression"===n.type?"yield":"return";return{node:t,messageId:u,data:{type:a},fix:r}}(e,function(e,r,t){if(e.arguments.length>1)return;let{callee:n,parent:u,arguments:[a]}=e;if(a?.type==="SpreadElement")return;let i="reject"===n.property.name,o="YieldExpression"===u.type;if(!i||!r&&(!o||"ExpressionStatement"===u.parent.type))return function(r){let n="ArrowFunctionExpression"===u.type,s=a?t.getText(a):"";if(a?.type==="SequenceExpression"&&(s=`(${s})`),i){if(s=s||"undefined",s=`throw ${s}`,o)return r.replaceTextRange(gW(u,t),s);if(s+=";",n)return s=`{ ${s} }`,r.replaceTextRange(gW(e,t),s)}else o?s=`yield${s?" ":""}${s}`:"ReturnStatement"===u.type?s=`return${s?" ":""}${s};`:(a?.type==="ObjectExpression"&&(s=`(${s})`),s=s||"{}");return r.replaceText(n?e:u,s)}}(e,n,r))}}},meta:{type:"suggestion",docs:{description:"Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks"},fixable:"code",messages:{resolve:"Prefer `{{type}} value` over `{{type}} Promise.resolve(value)`.",reject:"Prefer `throw error` over `{{type}} Promise.reject(error)`."}}});const{isParenthesized:gG}=ru,{isDecimalInteger:gH}=pn,{fixSpaceAroundKeyword:gK}=lt,{isNumberLiteral:gJ}=fd,gX="zero-fraction",gY="dangling-dot";var gQ=Q({create:e=>({Literal(r){if(!gJ(r))return;let{raw:t}=r,n=t.match(/^(?<before>[\d_]*)(?<dotAndFractions>\.[\d_]*)(?<after>.*)$/);if(!n)return;let{before:u,dotAndFractions:a,after:i}=n.groups,o=a.replace(/[.0_]+$/g,""),s=(u+o||"0")+i;if(s===t)return;let d=r.range[0]+u.length+a.length,c=d-(t.length-s.length),{sourceCode:f}=e;return{loc:pf([c,d],f),messageId:"."===a?gY:gX,*fix(e){let t=s;"MemberExpression"===r.parent.type&&r.parent.object===r&&gH(s)&&!gG(r,f)&&(t=`(${t})`,l9(f.getTokenBefore(r),f,t)&&(t=`;${t}`)),yield e.replaceText(r,t),yield*gK(e,r,f)}}}}),meta:{type:"suggestion",docs:{description:"Disallow number literals with zero fractions or dangling dots."},fixable:"code",messages:{[gX]:"Don't use a zero fraction in the number.",[gY]:"Don't use a dangling dot in the number."}}});const{isCommaToken:g0,isOpeningBraceToken:g1,isClosingBraceToken:g2}=ru,{isStringLiteral:g3}=fd,g4="error",g5="suggestion",g8=Symbol.for("default"),g6=Symbol("NAMESPACE_SPECIFIER_NAME"),g9=e=>{switch(e.type){case"Identifier":return Symbol.for(e.name);case"Literal":return e.value}},g7=e=>"type"===e.exportKind||"type"===e.parent.exportKind,me=e=>"type"===e.importKind||"type"===e.parent.importKind;function*mr(e,r,t){switch(e.type){case"ImportSpecifier":case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":yield*function*(e,r,t){let{parent:n}=e,{specifiers:u}=n;if(1===u.length){yield*mr(n,r,t);return}switch(e.type){case"ImportSpecifier":{let n=u.some(r=>r!==e&&r.type===e.type);if(!n){let n=t.getTokenAfter(e,g2),u=t.getTokenBefore(e,g0);yield r.replaceTextRange([u.range[0],n.range[1]],"");return}}case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ImportDefaultSpecifier":{yield r.remove(e);let n=t.getTokenAfter(e);g0(n)&&(yield r.remove(n))}}}(e,r,t);return;case"ImportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":yield r.remove(e)}}function mt(e,r){let t=r.getTokenBefore(e.source,e=>"Identifier"===e.type&&"from"===e.value),[n]=t.range,[,u]=e.range;return r.text.slice(n,u)}var mn=Q({create:function(e){let{sourceCode:r}=e,{ignoreUsedVariables:t}={ignoreUsedVariables:!1,...e.options[0]},n=new Set,u=[];return{ImportDeclaration(e){e.specifiers.length>0&&n.add(e)},ExportNamedDeclaration(e){g3(e.source)&&u.push(e)},*"Program:exit"(e){for(let a of n){let n=r.getDeclaredVariables(a);if(n.some(e=>1!==e.defs.length||e.defs[0].parent!==a)||(n=n.map(e=>{let t=function(e,r){let t=e.defs[0].node,n={node:t,declaration:t.parent,variable:e,isTypeImport:me(t)};switch(t.type){case"ImportDefaultSpecifier":return{name:g8,text:"default",...n};case"ImportSpecifier":return{name:g9(t.imported),text:r.getText(t.imported),...n};case"ImportNamespaceSpecifier":return{name:g6,text:"*",...n}}}(e,r),n=function(e,r){let t=[];for(let{identifier:n}of e.variable.references){let u=function(e,r){let{parent:t}=e;switch(t.type){case"ExportDefaultDeclaration":return{node:t,name:g8,text:"default",isTypeExport:g7(t)};case"ExportSpecifier":return{node:t,name:g9(t.exported),text:r.getText(t.exported),isTypeExport:g7(t)};case"VariableDeclarator":if(t.init===e&&"Identifier"===t.id.type&&!t.id.typeAnnotation&&"VariableDeclaration"===t.parent.type&&"const"===t.parent.kind&&1===t.parent.declarations.length&&t.parent.declarations[0]===t&&"ExportNamedDeclaration"===t.parent.parent.type&&function(e,r){let t=r.getDeclaredVariables(e);if(1!==t.length)return!1;let[{identifiers:n,references:u}]=t;return 1===n.length&&n[0]===e.id&&1===u.length&&u[0].identifier===e.id}(t,r))return{node:t.parent.parent,name:Symbol.for(t.id.name),text:r.getText(t.id)}}}(n,r);u&&(e.name!==g6||u.name!==g8)&&t.push(u)}return t}(t,r);return{variable:e,imported:t,exports:n}}),t&&n.some(({variable:e,exports:r})=>e.references.length!==r.length)))continue;let i=t&&n.some(({variable:e})=>0===e.references.length);for(let{imported:t,exports:a}of n)for(let n of a){let a={node:n.node,messageId:g4,data:{exported:n.text}},o=function({sourceCode:e,imported:r,exported:t,exportDeclarations:n,program:u}){let a;let i=r.declaration,o=i.source,s=o.value,d=r.isTypeImport||t.isTypeExport;return d&&(a=n.find(({source:e,exportKind:r})=>e.value===s&&"type"===r)),a||(a=n.find(({source:e,exportKind:r})=>e.value===s&&"type"!==r)),function*(n){if(r.name===g6)yield n.insertTextAfter(u,`
1
+ "use strict";var e,r,t,n,u,a,i,o,s,d=require("node:path"),c=require("node:fs");function f(e){var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var l=f(d),p=f(c);function g(e,r){if("string"==typeof r){let e=r;r=r=>r.type===e}for(;e;){if(r(e))return e;e=e.parent}}function m(e){return e?.type==="Identifier"||e?.type==="PrivateIdentifier"}function y(e){return e?.type==="MemberExpression"}function h(e){return e?.type==="AwaitExpression"}function b(e,r){return!!m(e)&&("function"==typeof r?r(e.name):Array.isArray(r)?r.includes(e.name):e.name===r)}function v(e,r){return e?.type==="Literal"&&(Array.isArray(r)?r.includes(e.value):"string"==typeof e.value&&r instanceof RegExp?r.test(e.value):e.value===r)}function x(e){return!!e&&["ArrowFunctionExpression","FunctionDeclaration","FunctionExpression"].includes(e.type)}function E(e,r){return e?.type==="Identifier"&&r?.type===e.type&&e.name===r.name}function A({name:e,meta:r,create:t,resolveOptions:n}){return r?.docs&&(r.docs.url??=new URL(e,"https://dimensiondev.github.io/eslint-plugin/src/rules/").toString()),Object.freeze({name:e,meta:r,create(e){let r=n?.(...e.options)??e.options[0],u=Object.entries(t(e,r));return Object.fromEntries(u.filter(e=>e[1]))}})}var D=A({name:"array/no-unneeded-flat-map",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow `Array#flatMap((x) => x)` when simpler alternatives exist",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow simple `Array#flatMap()` in array"}},create:e=>({CallExpression(r){var t;if("MemberExpression"!==r.callee.type)return;let n=b(r.callee.property,"flatMap");if(!n||!(x(t=r.arguments[0])&&1===t.params.length&&"Identifier"===t.params[0].type&&t.body&&(E(t.params[0],t.body)||"BlockStatement"===t.body.type&&1===t.body.body.length&&"ReturnStatement"===t.body.body[0].type&&E(t.params[0],t.body.body[0].argument))))return;let{property:u}=r.callee;e.report({node:r,messageId:"invalid",*fix(e){yield e.replaceText(u,"flat"),yield*r.arguments.map(r=>e.remove(r))}})}})});const C=new Set(["href","pathname","search","hash","origin"]);var S=A({name:"browser/prefer-location-assign",meta:{type:"suggestion",fixable:"code",docs:{description:"Prefer `location.assign(...)` over `location.*`",recommended:"stylistic"},schema:[],messages:{instead:"Use `location.assign(...)` instead of `location.{{name}}`"}},create(e){let r=e.getSourceCode();return{AssignmentExpression(t){let n=function(e,r){if(b(e,r))return e;for(;y(e);){if(b(e.property,r))return e;e=e.object}}(t.left,"location");if(!n)return;let u=_(n.parent);e.report({node:t,messageId:"instead",data:{name:u},fix:function(e,r,t){let n=_(r.parent);if(C.has(n??"href"))return n=>n.replaceText(t,`${e.getText(r)}.assign(${e.getText(t.right)})`)}(r,n,t)})}}}});function _(e){if(y(e)&&m(e.property))return e.property.name}var w=A({name:"jsx/no-template-literal",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow use template-literal in JSX",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow use template-literal in JSX"}},create:e=>({JSXExpressionContainer(r){if("TemplateLiteral"!==r.expression.type||r.parent?.type==="JSXAttribute")return;let{expression:t}=r;e.report({node:r,messageId:"invalid",fix(n){let u=[...t.expressions,...t.quasis];u.sort((e,r)=>e.range[0]-r.range[0]);let a=e.getSourceCode(),i=u.map(e=>"TemplateElement"===e.type?e.value.cooked:"{"+a.getText(e)+"}");return n.replaceText(r,i.join(""))}})}})}),F=A({name:"jsx/no-unneeded-nested",meta:{type:"suggestion",fixable:"code",docs:{description:"Reduce unneeded JSXFragment nested",recommended:"stylistic"},schema:[],messages:{invalid:"Reduce unneeded JSXFragment nested"}},create(e){let r=e.getSourceCode();return{JSXFragment(t){if(1!==t.children.length)return;let n=t.children[0];e.report({node:t,messageId:"invalid",*fix(e){"JSXExpressionContainer"===n.type?"JSXEmptyExpression"!==n.expression.type&&(yield e.replaceText(t,r.getText(n.expression))):yield e.replaceText(t,r.getText(n))}})}}}});const T=/^toLocale(?<name>Upper|Lower)Case$/g;var k=A({name:"string/no-locale-case",meta:{type:"problem",fixable:"code",docs:{description:"Disallow use `String#toLocale{Upper,Lower}Case()`",recommended:"recommended"},schema:[],messages:{instead:"Use `.to{{name}}Case(...)` instead of `.toLocale{{name}}Case()`"}},create:e=>({CallExpression(r){if(r.arguments.length>0||!y(r.callee)||!m(r.callee.property))return;let{property:t}=r.callee,n=T.exec(t.name);n&&e.report({node:r,data:{name:n.groups?.name},messageId:"instead",fix:e=>e.replaceText(t,t.name.replaceAll("Locale",""))})}})});function P(e){return JSON.stringify(e)}var I=A({name:"string/no-simple-template-literal",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow simple template-literal",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow simple template-literal"}},create(e){let r=e.getSourceCode();return{TemplateLiteral(t){let n=t.parent?.type!=="TaggedTemplateExpression"&&1===t.quasis.length&&!function({loc:e}){return!!e&&e.start.line!==e.end.line}(t.quasis[0])&&0===t.expressions.length?e=>{let n=P(t.quasis[0].value.cooked),u=g(t,e=>"Property"===e.type&&e.key===t);return u?e.replaceText(u,`${n}: ${r.getText(u.value)}`):e.replaceText(t,n)}:2===t.quasis.length&&t.quasis.every(({value:e})=>""===e.cooked)&&1===t.expressions.length?e=>e.replaceText(t,r.getText(t.expressions[0])):void 0;n&&e.report({node:t,messageId:"invalid",fix:n})}}}});const B=["BigInt","Boolean","Function","Number","Object","String","Symbol","Array"];var j=A({name:"type/no-instanceof-wrapper",meta:{type:"problem",fixable:"code",docs:{description:"Disallow `instanceof` for wrapper objects",recommended:"recommended"},schema:[],messages:{primitive:'Unexpected `instanceof` operator. Use `typeof x === "{{typeName}}"` instead',array:"Unexpected `instanceof` operator. Use `Array.isArray` instead"},replacedBy:["unicorn/no-instanceof-array"]},create(e){let r=e.getSourceCode(),t=e.getScope(),n=B.flatMap(e=>{let r=t.set.get(e);return!r||r.defs.length>0?[]:r.references??[]});return{Program(){for(let{identifier:t}of n){let n=t.parent;if(n?.type==="BinaryExpression"&&"instanceof"===n.operator&&n.right===t){if("Array"===t.name)e.report({node:n,messageId:"array",fix:e=>e.replaceText(n,`Array.isArray(${r.getText(n.left)})`)});else{let u=t.name.toLowerCase();e.report({node:n,messageId:"primitive",data:{typeName:u},fix:e=>e.replaceText(n,`typeof ${r.getText(n.left)} === ${P(u)}`)})}}}}}}});const O=/\P{ASCII}/u;function R(e,r){return{Program(t){for(let n of t.tokens??[]){let t=function(e){switch(e.type){case"String":case"Template":return e.value.slice(1,-1);case"Identifier":if(e.value.startsWith("#"))return e.value.slice(1);return e.value;case"RegularExpression":return e.regex.pattern;case"JSXText":case"JSXIdentifier":return e.value}return!1}(n);!1!==t&&e.test(t)&&r(n,"code")}for(let n of t.comments??[])e.test(n.value)&&r(n,"comment")}}}function L(e,r){switch(e.type){case"String":case"Template":return t=>{let n=e.value.slice(0,1),u=e.value.slice(-1),a=N(e.value.slice(1,-1),r);return t.replaceText(e,`${n}${a}${u}`)};case"JSXText":return t=>{let n=e.value.replace(r,e=>`&#x${M(e.codePointAt(0))};`);return t.replaceText(e,n)};case"RegularExpression":return t=>{let n=new Set(e.regex.flags);n.add("u");let u=new RegExp(N(e.regex.pattern,r),[...n].join(""));return t.replaceText(e,u.toString())}}}function N(e,r){return e.replace(r,e=>{let r=e.codePointAt(0);return r>65535?`\\u{${M(r)}}`:`\\u${M(r)}`})}function M(e){return e.toString(16).padStart(4,"0").toUpperCase()}A({name:"unicode/specific-set",meta:{type:"problem",fixable:"code",docs:{description:"Limit the range of literal characters"},schema:[{type:"object",properties:{pattern:{type:"string"},flags:{type:"string"},only:{type:"string",enum:["code","comment"]}},additionalProperties:!1}],messages:{illegal:"Illegal character detected"}},resolveOptions(e){let r=e?.pattern?new RegExp(e.pattern,e.flags??"u"):O;return{pattern:r,only:e?.only}},create:(e,{pattern:r,only:t})=>R(r,(n,u)=>{if(t&&t!==u)return;let a=RegExp(r.source,"gu"),i=L(n,a);e.report({node:n,messageId:"illegal",fix:i})})});const $=/[\u061C\u202A-\u202E\u2066-\u2069]/;var z=A({name:"unicode/no-bidi",meta:{type:"problem",fixable:"code",docs:{description:"Detect and stop Trojan Source attacks",recommended:"recommended"},schema:[],messages:{detected:"Detected potential trojan source attack with unicode bidi introduced in this {{kind}}: {{text}}."}},create:e=>R($,(r,t)=>{let n=RegExp($.source,"gu"),u={kind:t,text:N(r.value,n)},a=L(r,n);e.report({node:r,data:u,messageId:"detected",fix:a})})});const U=function(){let e=[/\u00AD\u034F\u061C\u17B4\u17B5\uFEFF\uFFFC/,/\u180B-\u180E/,/\u200B-\u200F/,/\u202A-\u202E/,/\u2060-\u206F/,/\uFE00-\uFE0F/,/\uFFF0-\uFFF8/,/\u{1D173}-\u{1D17A}/u,/\u{E0000}-\u{E007F}/u,/\u{E0100}-\u{E01EF}/u].map(e=>"string"==typeof e?e:e.source).join("");return RegExp(`[${e}]`,"u")}(/\u00AD\u034F\u061C\u17B4\u17B5\uFEFF\uFFFC/,/\u180B-\u180E/,/\u200B-\u200F/,/\u202A-\u202E/,/\u2060-\u206F/,/\uFE00-\uFE0F/,/\uFFF0-\uFFF8/,/\u{1D173}-\u{1D17A}/u,/\u{E0000}-\u{E007F}/u,/\u{E0100}-\u{E01EF}/u);var W=A({name:"unicode/no-invisible",meta:{type:"problem",fixable:"code",docs:{description:"Disallow invisible characters",recommended:"recommended"},schema:[],messages:{illegal:"Illegal character detected"}},create:e=>R(U,r=>{let t=RegExp(U.source,"gu"),n=L(r,t);e.report({node:r,messageId:"illegal",fix:n})})}),q=A({name:"no-redundant-variable",meta:{type:"problem",fixable:"code",docs:{description:"Disallow redundant variable",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow Redundant Variable"}},create:e=>({BlockStatement({body:r}){var t;let n=r.find(V);if(!n)return;let u=r[r.indexOf(n)-1];u&&"VariableDeclaration"===u.type&&1===u.declarations.length&&u.declarations.some(({init:e,id:r})=>null!==e&&E(n.argument,r))&&e.report({node:n,messageId:"invalid",fix:(t=e.getSourceCode(),e=>{let{init:r,id:a}=u.declarations[0];if(!(r&&a&&n.argument))return null;let i=!h(r)||g(r,"TryStatement")?r:r.argument,o=(e=>{if(!a.typeAnnotation)return e;let n=t.getText(a.typeAnnotation.typeAnnotation);return`(${e}) as ${h(r)?`Promise<${n}>`:n}`})(t.getText(i));return[e.remove(u),e.replaceText(n.argument,o)]})})}})});function V(e){return"ReturnStatement"===e.type&&m(e.argument)}var Z=A({name:"no-single-return",meta:{type:"suggestion",docs:{description:"Disallow single-return",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow Single Return"}},create:e=>({BlockStatement({parent:r,body:t}){if(!x(r))return;let n=function(e,r){let t=r.find(G);if(!t)return;let n=r.find(e=>"VariableDeclaration"===e.type&&"const"!==e.kind&&e.declarations.some(({id:e})=>E(t.argument,e)));if(n)return e.getDeclaredVariables(n).find(({references:e})=>e.every(e=>e.isWriteOnly()||e.identifier.parent===t))}(e,t);for(let{identifier:r}of n?.references??[])r.parent&&e.report({node:r.parent,messageId:"invalid"})}})});function G(e){return"ReturnStatement"===e.type&&m(e.argument)}var H=A({name:"prefer-early-return",meta:{type:"problem",fixable:"code",docs:{description:"Prefer early returns over full-body conditional wrapping in function declarations",recommended:"stylistic"},schema:[{type:"object",properties:{maximumStatements:{type:"integer",minimum:0}},additionalProperties:!1}],messages:{prefer:"Prefer an early return to a conditionally-wrapped function body"}},resolveOptions:e=>e?.maximumStatements??1,create:(e,r)=>({BlockStatement:function({body:t,parent:n}){var u;if(!x(n))return;let a=1===t.length&&function(e,r){if(!("IfStatement"===e.type&&null===e.alternate))return!1;let{consequent:t}=e;return"ExpressionStatement"===t.type&&0===r||"BlockStatement"===t.type&&t.body.length>r}(t[0],r);if(!a)return;let i=(u=t[0],function*(r){var t;if("IfStatement"!==u.type)return;let n=e.getSourceCode(),{test:a,consequent:i}=u;yield r.insertTextBefore(a,"!("),yield r.insertTextAfter(a,")"),yield r.replaceText(i,"return;");let o=(t=n.getText(i),"BlockStatement"===i.type?t.slice(1,-1):t);yield r.insertTextAfter(u,o)});e.report({node:t[0],messageId:"prefer",fix:i})}})}),K=A({name:"prefer-fetch",meta:{type:"problem",docs:{description:"Enforce fetch",recommended:"stylistic"},schema:[],messages:{callee:"Should use 'fetch' instead"}},create:e=>({ImportDeclaration(r){let t=r.source.value;("axios"===t||"request"===t)&&e.report({node:r,messageId:"callee"})},NewExpression(r){let t=function({callee:e}){return b(e,"XMLHttpRequest")}(r)||b(r.callee,"ActiveXObject")&&v(r.arguments[0],/xmlhttp/i);t&&e.report({node:r,messageId:"callee"})},CallExpression(r){let t=function({callee:e}){let r="$http";return b(e,r)||y(e)&&b(e.object,r)}(r)||function({callee:e,parent:r}){let t=["$","jQuery"];return b(e,t)&&y(r)&&b(r.property,"load")||y(e)&&b(e.object,t)&&b(e.property,["ajax","get","post","getJSON","getScript"])}(r)||J(r,"axios")||J(r,"request");t&&e.report({node:r,messageId:"callee"})}})});function J(e,r){return b(e.callee,"require")&&v(e.arguments[0],r)}const X=new Set(["setTimeout","setInterval","requestAnimationFrame","requestIdleCallback"]);var Y=A({name:"prefer-timer-id",meta:{type:"problem",docs:{description:"Enforce best practice with timer function",recommended:"recommended"},schema:[],messages:{assign:"Timer id should assign to an identifier or member for cleaning up, `const timer = {{name}}(...);`",fix:"Assign timer id to a variable"},hasSuggestions:!0},create:e=>({CallExpression(r){if("Identifier"!==r.callee.type)return;let t=!X.has(r.callee.name)||function(e){if(!b(e.callee,"setTimeout"))return!1;let r=e.arguments[1];return!r||v(r,0)}(r)||r.parent?.type==="AssignmentExpression"&&r.parent.right===r||r.parent?.type==="VariableDeclarator"&&r.parent.init===r;t||e.report({node:r,messageId:"assign",data:{name:r.callee.name},suggest:[{messageId:"fix",fix:e=>e.insertTextBefore(r,"const timer = ")}]})}})});function Q(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ee(e){if(e.__esModule)return e;var r=e.default;if("function"==typeof r){var t=function e(){return this instanceof e?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var er=ee(l),et=e=>{let r=er.basename(e,".js");return`https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/${r}.md`},en=Q(et);const eu={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},ea=Object.keys(eu);for(const e of ea)Object.freeze(eu[e]);Object.freeze(eu);const ei=new Set(["parent","leadingComments","trailingComments"]);function eo(e){return!ei.has(e)&&"_"!==e[0]}function es(e,r){let t=r.range[0],n=e,u=!1;do for(let e of(u=!1,n.childScopes)){let r=e.block.range;if(r[0]<=t&&t<r[1]){n=e,u=!0;break}}while(u);return n}function ed(e,r){let t="",n=e;for("string"==typeof r?t=r:(t=r.name,n=es(n,r));null!=n;){let e=n.set.get(t);if(null!=e)return e;n=n.upper}return null}function ec(e){return!this(e)}function ef(e){return ec.bind(e)}function el(e,r){return"Punctuator"===e.type&&e.value===r}function ep(e){return el(e,"=>")}function eg(e){return el(e,",")}function em(e){return el(e,";")}function ey(e){return el(e,":")}function eh(e){return el(e,"(")}function eb(e){return el(e,")")}function ev(e){return el(e,"[")}function ex(e){return el(e,"]")}function eE(e){return el(e,"{")}function eA(e){return el(e,"}")}function eD(e){return["Block","Line","Shebang"].includes(e.type)}const eC=ef(ep),eS=ef(eg),e_=ef(em),ew=ef(ey),eF=ef(eh),eT=ef(eb),ek=ef(ev),eP=ef(ex),eI=ef(eE),eB=ef(eA),ej=ef(eD);function eO(e,r){let t=e.parent,n=null,u=null;if("ArrowFunctionExpression"===e.type){let t=r.getTokenBefore(e.body,ep);n=t.loc.start,u=t.loc.end}else n="Property"===t.type||"MethodDefinition"===t.type||"PropertyDefinition"===t.type?t.loc.start:e.loc.start,u=(e.id?r.getTokenAfter(e.id,eh):r.getFirstToken(e,eh)).loc.start;return{start:{...n},end:{...u}}}const eR="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},eL=Object.freeze(new Set(["Array","ArrayBuffer","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","isFinite","isNaN","isPrototypeOf","JSON","Map","Math","NaN","Number","Object","parseFloat","parseInt","Promise","Proxy","Reflect","RegExp","Set","String","Symbol","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","undefined","unescape","WeakMap","WeakSet"])),eN=new Set([Array.isArray,Array.of,Array.prototype.at,Array.prototype.concat,Array.prototype.entries,Array.prototype.every,Array.prototype.filter,Array.prototype.find,Array.prototype.findIndex,Array.prototype.flat,Array.prototype.includes,Array.prototype.indexOf,Array.prototype.join,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.slice,Array.prototype.some,Array.prototype.toString,Array.prototype.values,"function"==typeof BigInt?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,Map,Map.prototype.entries,Map.prototype.get,Map.prototype.has,Map.prototype.keys,Map.prototype.values,...Object.getOwnPropertyNames(Math).filter(e=>"random"!==e).map(e=>Math[e]).filter(e=>"function"==typeof e),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Number.prototype.toExponential,Number.prototype.toFixed,Number.prototype.toPrecision,Number.prototype.toString,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,Set,Set.prototype.entries,Set.prototype.has,Set.prototype.keys,Set.prototype.values,String,String.fromCharCode,String.fromCodePoint,String.raw,String.prototype.at,String.prototype.charAt,String.prototype.charCodeAt,String.prototype.codePointAt,String.prototype.concat,String.prototype.endsWith,String.prototype.includes,String.prototype.indexOf,String.prototype.lastIndexOf,String.prototype.normalize,String.prototype.padEnd,String.prototype.padStart,String.prototype.slice,String.prototype.startsWith,String.prototype.substr,String.prototype.substring,String.prototype.toLowerCase,String.prototype.toString,String.prototype.toUpperCase,String.prototype.trim,String.prototype.trimEnd,String.prototype.trimLeft,String.prototype.trimRight,String.prototype.trimStart,Symbol.for,Symbol.keyFor,unescape].filter(e=>"function"==typeof e)),eM=new Set([Object.freeze,Object.preventExtensions,Object.seal]),e$=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function ez(e,r){let t=[];for(let n=0;n<e.length;++n){let u=e[n];if(null==u)t.length=n+1;else if("SpreadElement"===u.type){let e=eW(u.argument,r);if(null==e)return null;t.push(...e.value)}else{let e=eW(u,r);if(null==e)return null;t.push(e.value)}}return t}const eU=Object.freeze({ArrayExpression(e,r){let t=ez(e.elements,r);return null!=t?{value:t}:null},AssignmentExpression:(e,r)=>"="===e.operator?eW(e.right,r):null,BinaryExpression(e,r){if("in"===e.operator||"instanceof"===e.operator)return null;let t=eW(e.left,r),n=eW(e.right,r);if(null!=t&&null!=n)switch(e.operator){case"==":return{value:t.value==n.value};case"!=":return{value:t.value!=n.value};case"===":return{value:t.value===n.value};case"!==":return{value:t.value!==n.value};case"<":return{value:t.value<n.value};case"<=":return{value:t.value<=n.value};case">":return{value:t.value>n.value};case">=":return{value:t.value>=n.value};case"<<":return{value:t.value<<n.value};case">>":return{value:t.value>>n.value};case">>>":return{value:t.value>>>n.value};case"+":return{value:t.value+n.value};case"-":return{value:t.value-n.value};case"*":return{value:t.value*n.value};case"/":return{value:t.value/n.value};case"%":return{value:t.value%n.value};case"**":return{value:t.value**n.value};case"|":return{value:t.value|n.value};case"^":return{value:t.value^n.value};case"&":return{value:t.value&n.value}}return null},CallExpression(e,r){let t=e.callee,n=ez(e.arguments,r);if(null!=n){if("MemberExpression"===t.type){if("PrivateIdentifier"===t.property.type)return null;let u=eW(t.object,r);if(null!=u){if(null==u.value&&(u.optional||e.optional))return{value:void 0,optional:!0};let a=eq(t,r);if(null!=a){let e=u.value,r=a.value;if(eN.has(e[r]))return{value:e[r](...n)};if(eM.has(e[r]))return{value:n[0]}}}}else{let u=eW(t,r);if(null!=u){if(null==u.value&&e.optional)return{value:void 0,optional:!0};let r=u.value;if(eN.has(r))return{value:r(...n)};if(eM.has(r))return{value:n[0]}}}}return null},ConditionalExpression(e,r){let t=eW(e.test,r);return null!=t?t.value?eW(e.consequent,r):eW(e.alternate,r):null},ExpressionStatement:(e,r)=>eW(e.expression,r),Identifier(e,r){if(null!=r){let t=ed(r,e);if(null!=t&&0===t.defs.length&&eL.has(t.name)&&t.name in eR)return{value:eR[t.name]};if(null!=t&&1===t.defs.length){let e=t.defs[0];if(e.parent&&"Variable"===e.type&&("const"===e.parent.kind||function(e){let r=e.references,t=r.filter(e=>e.init).length,n=r.filter(e=>e.isReadOnly()).length;return 1===t&&n+t===r.length}(t))&&"Identifier"===e.node.id.type)return eW(e.node.init,r)}}return null},Literal:e=>(null!=e.regex||null!=e.bigint)&&null==e.value?null:{value:e.value},LogicalExpression(e,r){let t=eW(e.left,r);if(null!=t){if("||"===e.operator&&!0==!!t.value||"&&"===e.operator&&!1==!!t.value||"??"===e.operator&&null!=t.value)return t;let n=eW(e.right,r);if(null!=n)return n}return null},MemberExpression(e,r){if("PrivateIdentifier"===e.property.type)return null;let t=eW(e.object,r);if(null!=t){if(null==t.value&&(t.optional||e.optional))return{value:void 0,optional:!0};let n=eq(e,r);if(null!=n){if(!function(e,r){let t=function(e,r){let t=e;for(;("object"==typeof t||"function"==typeof t)&&null!==t;){let e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}return null}(e,r);return null!=t&&null!=t.get}(t.value,n.value))return{value:t.value[n.value]};for(let[e,r]of e$)if(t.value instanceof e&&r.has(n.value))return{value:t.value[n.value]}}}return null},ChainExpression(e,r){let t=eW(e.expression,r);return null!=t?{value:t.value}:null},NewExpression(e,r){let t=eW(e.callee,r),n=ez(e.arguments,r);if(null!=t&&null!=n){let e=t.value;if(eN.has(e))return{value:new e(...n)}}return null},ObjectExpression(e,r){let t={};for(let n of e.properties)if("Property"===n.type){if("init"!==n.kind)return null;let e=eq(n,r),u=eW(n.value,r);if(null==e||null==u)return null;t[e.value]=u.value}else{if("SpreadElement"!==n.type&&"ExperimentalSpreadProperty"!==n.type)return null;let e=eW(n.argument,r);if(null==e)return null;Object.assign(t,e.value)}return{value:t}},SequenceExpression(e,r){let t=e.expressions[e.expressions.length-1];return eW(t,r)},TaggedTemplateExpression(e,r){let t=eW(e.tag,r),n=ez(e.quasi.expressions,r);if(null!=t&&null!=n){let r=t.value,u=e.quasi.quasis.map(e=>e.value.cooked);if(u.raw=e.quasi.quasis.map(e=>e.value.raw),r===String.raw)return{value:r(u,...n)}}return null},TemplateLiteral(e,r){let t=ez(e.expressions,r);if(null!=t){let r=e.quasis[0].value.cooked;for(let n=0;n<t.length;++n)r+=t[n]+e.quasis[n+1].value.cooked;return{value:r}}return null},UnaryExpression(e,r){if("delete"===e.operator)return null;if("void"===e.operator)return{value:void 0};let t=eW(e.argument,r);if(null!=t)switch(e.operator){case"-":return{value:-t.value};case"+":return{value:+t.value};case"!":return{value:!t.value};case"~":return{value:~t.value};case"typeof":return{value:typeof t.value}}return null}});function eW(e,r){return null!=e&&Object.hasOwnProperty.call(eU,e.type)?eU[e.type](e,r):null}function eq(e,r){let t="Property"===e.type?e.key:e.property;return e.computed?eW(t,r):"Identifier"===t.type?{value:t.name}:"Literal"===t.type?t.bigint?{value:t.bigint}:{value:String(t.value)}:null}function eV(e,r=null){try{return eW(e,r)}catch(e){return null}}function eZ(e,r=null){if(e&&"Literal"===e.type&&null===e.value){if(e.regex)return`/${e.regex.pattern}/${e.regex.flags}`;if(e.bigint)return e.bigint}let t=eV(e,r);return t&&String(t.value)}function eG(e,r){switch(e.type){case"MemberExpression":if(e.computed)return eZ(e.property,r);if("PrivateIdentifier"===e.property.type)break;return e.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":if(e.computed)return eZ(e.key,r);if("Literal"===e.key.type)return String(e.key.value);if("PrivateIdentifier"===e.key.type)break;return e.key.name}return null}function eH(e,r){let t=e.parent,n=[],u="Property"===t.type&&t.value===e,a="MethodDefinition"===t.type&&t.value===e,i="PropertyDefinition"===t.type&&t.value===e;if((a||i)&&(t.static&&n.push("static"),"PrivateIdentifier"===t.key.type&&n.push("private")),e.async&&n.push("async"),e.generator&&n.push("generator"),u||a){if("constructor"===t.kind)return"constructor";"get"===t.kind?n.push("getter"):"set"===t.kind?n.push("setter"):n.push("method")}else i?n.push("method"):("ArrowFunctionExpression"===e.type&&n.push("arrow"),n.push("function"));if(u||a||i){if("PrivateIdentifier"===t.key.type)n.push(`#${t.key.name}`);else{let e=eG(t);if(e)n.push(`'${e}'`);else if(r){let e=r.getText(t.key);e.includes("\n")||n.push(`[${e}]`)}}}else e.id?n.push(`'${e.id.name}'`):"VariableDeclarator"===t.type&&t.id&&"Identifier"===t.id.type?n.push(`'${t.id.name}'`):("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left&&"Identifier"===t.left.type?n.push(`'${t.left.name}'`):"ExportDefaultDeclaration"===t.type&&t.declaration===e&&n.push("'default'");return n.join(" ")}const eK=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),eJ=Object.freeze(new Set(["-","+","!","~"]));function eX(e){return null!==e&&"object"==typeof e&&"string"==typeof e.type}const eY=Object.freeze(Object.assign(Object.create(null),{$visit(e,r,t){let{type:n}=e;return"function"==typeof this[n]?this[n](e,r,t):this.$visitChildren(e,r,t)},$visitChildren(e,r,t){let{type:n}=e;for(let u of t[n]||Object.keys(e).filter(eo)){let n=e[u];if(Array.isArray(n)){for(let e of n)if(eX(e)&&this.$visit(e,r,t))return!0}else if(eX(n)&&this.$visit(n,r,t))return!0}return!1},ArrowFunctionExpression:()=>!1,AssignmentExpression:()=>!0,AwaitExpression:()=>!0,BinaryExpression(e,r,t){return!!(r.considerImplicitTypeConversion&&eK.has(e.operator))&&("Literal"!==e.left.type||"Literal"!==e.right.type)||this.$visitChildren(e,r,t)},CallExpression:()=>!0,FunctionExpression:()=>!1,ImportExpression:()=>!0,MemberExpression(e,r,t){return!!r.considerGetters||!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.property.type||this.$visitChildren(e,r,t)},MethodDefinition(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},NewExpression:()=>!0,Property(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},PropertyDefinition(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},UnaryExpression(e,r,t){return!!("delete"===e.operator||r.considerImplicitTypeConversion&&eJ.has(e.operator)&&"Literal"!==e.argument.type)||this.$visitChildren(e,r,t)},UpdateExpression:()=>!0,YieldExpression:()=>!0}));function eQ(e,r,{considerGetters:t=!1,considerImplicitTypeConversion:n=!1}={}){return eY.$visit(e,{considerGetters:t,considerImplicitTypeConversion:n},r.visitorKeys||eu)}function e0(e,r,t){let n,u,a,i,o;if("number"==typeof e){if(n=0|e,u=r,a=t,!(n>=1))throw TypeError("'times' should be a positive integer.")}else n=1,u=e,a=r;if(null==u||null==u.parent||"CatchClause"===u.parent.type&&u.parent.param===u)return!1;i=o=u;do i=a.getTokenBefore(i),o=a.getTokenAfter(o);while(null!=i&&null!=o&&eh(i)&&eb(o)&&i!==function(e,r){let t=e.parent;switch(t.type){case"CallExpression":case"NewExpression":if(1===t.arguments.length&&t.arguments[0]===e)return r.getTokenAfter(t.callee,eh);return null;case"DoWhileStatement":if(t.test===e)return r.getTokenAfter(t.body,eh);return null;case"IfStatement":case"WhileStatement":if(t.test===e)return r.getFirstToken(t,1);return null;case"ImportExpression":if(t.source===e)return r.getFirstToken(t,1);return null;case"SwitchStatement":if(t.discriminant===e)return r.getFirstToken(t,1);return null;case"WithStatement":if(t.object===e)return r.getFirstToken(t,1);return null;default:return null}}(u,a)&&--n>0);return 0===n}const e1=/\$(?:[$&`']|[1-9][0-9]?)/gu,e2=new WeakMap;class e3{constructor(e,{escaped:r=!1}={}){if(!(e instanceof RegExp))throw TypeError("'pattern' should be a RegExp instance.");if(!e.flags.includes("g"))throw Error("'pattern' should contains 'g' flag.");e2.set(this,{pattern:new RegExp(e.source,e.flags),escaped:!!r})}*execAll(e){let{pattern:r,escaped:t}=e2.get(this),n=null,u=0;for(r.lastIndex=0;null!=(n=r.exec(e));)(t||!function(e,r){let t=!1;for(let n=r-1;n>=0&&92===e.charCodeAt(n);--n)t=!t;return t}(e,n.index))&&(u=r.lastIndex,yield n,r.lastIndex=u)}test(e){let r=this.execAll(e),t=r.next();return!t.done}[Symbol.replace](e,r){return"function"==typeof r?function(e,r,t){let n=[],u=0;for(let a of e.execAll(r))n.push(r.slice(u,a.index)),n.push(String(t(...a,a.index,a.input))),u=a.index+a[0].length;return n.push(r.slice(u)),n.join("")}(this,String(e),r):function(e,r,t){let n=[],u=0,a=null;function i(e){switch(e){case"$$":return"$";case"$&":return a[0];case"$`":return r.slice(0,a.index);case"$'":return r.slice(a.index+a[0].length);default:{let r=e.slice(1);if(r in a)return a[r];return e}}}for(a of e.execAll(r))n.push(r.slice(u,a.index)),n.push(t.replace(e1,i)),u=a.index+a[0].length;return n.push(r.slice(u)),n.join("")}(this,String(e),String(r))}}const e4=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,e5=Function.call.bind(Object.hasOwnProperty),e8=Symbol("read"),e6=Symbol("call"),e9=Symbol("construct"),e7=Symbol("esm"),re={require:{[e6]:!0}};function rr(e){return null==e||0!==e.defs.length||e.references.some(e=>e.isWrite())}let rt=class{constructor(e,{mode:r="strict",globalObjectNames:t=["global","globalThis","self","window"]}={}){this.variableStack=[],this.globalScope=e,this.mode=r,this.globalObjectNames=t.slice(0)}*iterateGlobalReferences(e){for(let r of Object.keys(e)){let t=e[r],n=[r],u=this.globalScope.set.get(r);rr(u)||(yield*this._iterateVariableReferences(u,n,t,!0))}for(let r of this.globalObjectNames){let t=[],n=this.globalScope.set.get(r);rr(n)||(yield*this._iterateVariableReferences(n,t,e,!1))}}*iterateCjsReferences(e){for(let{node:r}of this.iterateGlobalReferences(re)){let t=eZ(r.arguments[0]);if(null==t||!e5(e,t))continue;let n=e[t],u=[t];n[e8]&&(yield{node:r,path:u,type:e8,info:n[e8]}),yield*this._iteratePropertyReferences(r,u,n)}}*iterateEsmReferences(e){let r=this.globalScope.block;for(let t of r.body){if(!e4.test(t.type)||null==t.source)continue;let r=t.source.value;if(!e5(e,r))continue;let n=e[r],u=[r];if(n[e8]&&(yield{node:t,path:u,type:e8,info:n[e8]}),"ExportAllDeclaration"===t.type)for(let e of Object.keys(n)){let r=n[e];r[e8]&&(yield{node:t,path:u.concat(e),type:e8,info:r[e8]})}else for(let e of t.specifiers){let r=e5(n,e7),t=this._iterateImportReferences(e,u,r?n:"legacy"===this.mode?{default:n,...n}:{default:n});if(r)yield*t;else for(let e of t)e.path=e.path.filter(rn),(e.path.length>=2||e.type!==e8)&&(yield e)}}}*_iterateVariableReferences(e,r,t,n){if(!this.variableStack.includes(e)){this.variableStack.push(e);try{for(let u of e.references){if(!u.isRead())continue;let e=u.identifier;n&&t[e8]&&(yield{node:e,path:r,type:e8,info:t[e8]}),yield*this._iteratePropertyReferences(e,r,t)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(e,r,t){let n=e;for(;function(e){let r=e.parent;switch(r&&r.type){case"ConditionalExpression":return r.consequent===e||r.alternate===e;case"LogicalExpression":case"ChainExpression":return!0;case"SequenceExpression":return r.expressions[r.expressions.length-1]===e;default:return!1}}(n);)n=n.parent;let u=n.parent;if("MemberExpression"===u.type){if(u.object===n){let e=eG(u);if(null==e||!e5(t,e))return;r=r.concat(e);let n=t[e];n[e8]&&(yield{node:u,path:r,type:e8,info:n[e8]}),yield*this._iteratePropertyReferences(u,r,n)}return}if("CallExpression"===u.type){u.callee===n&&t[e6]&&(yield{node:u,path:r,type:e6,info:t[e6]});return}if("NewExpression"===u.type){u.callee===n&&t[e9]&&(yield{node:u,path:r,type:e9,info:t[e9]});return}if("AssignmentExpression"===u.type){u.right===n&&(yield*this._iterateLhsReferences(u.left,r,t),yield*this._iteratePropertyReferences(u,r,t));return}if("AssignmentPattern"===u.type){u.right===n&&(yield*this._iterateLhsReferences(u.left,r,t));return}"VariableDeclarator"===u.type&&u.init===n&&(yield*this._iterateLhsReferences(u.id,r,t))}*_iterateLhsReferences(e,r,t){if("Identifier"===e.type){let n=ed(this.globalScope,e);null!=n&&(yield*this._iterateVariableReferences(n,r,t,!1));return}if("ObjectPattern"===e.type){for(let n of e.properties){let e=eG(n);if(null==e||!e5(t,e))continue;let u=r.concat(e),a=t[e];a[e8]&&(yield{node:n,path:u,type:e8,info:a[e8]}),yield*this._iterateLhsReferences(n.value,u,a)}return}"AssignmentPattern"===e.type&&(yield*this._iterateLhsReferences(e.left,r,t))}*_iterateImportReferences(e,r,t){let n=e.type;if("ImportSpecifier"===n||"ImportDefaultSpecifier"===n){let u="ImportDefaultSpecifier"===n?"default":e.imported.name;if(!e5(t,u))return;r=r.concat(u);let a=t[u];a[e8]&&(yield{node:e,path:r,type:e8,info:a[e8]}),yield*this._iterateVariableReferences(ed(this.globalScope,e.local),r,a,!1);return}if("ImportNamespaceSpecifier"===n){yield*this._iterateVariableReferences(ed(this.globalScope,e.local),r,t,!1);return}if("ExportSpecifier"===n){let n=e.local.name;if(!e5(t,n))return;r=r.concat(n);let u=t[n];u[e8]&&(yield{node:e,path:r,type:e8,info:u[e8]})}}};function rn(e,r){return!(1===r&&"default"===e)}rt.READ=e8,rt.CALL=e6,rt.CONSTRUCT=e9,rt.ESM=e7;var ru=ee(Object.freeze({__proto__:null,CALL:e6,CONSTRUCT:e9,ESM:e7,PatternMatcher:e3,READ:e8,ReferenceTracker:rt,default:{CALL:e6,CONSTRUCT:e9,ESM:e7,findVariable:ed,getFunctionHeadLocation:eO,getFunctionNameWithKind:eH,getInnermostScope:es,getPropertyName:eG,getStaticValue:eV,getStringIfConstant:eZ,hasSideEffect:eQ,isArrowToken:ep,isClosingBraceToken:eA,isClosingBracketToken:ex,isClosingParenToken:eb,isColonToken:ey,isCommaToken:eg,isCommentToken:eD,isNotArrowToken:eC,isNotClosingBraceToken:eB,isNotClosingBracketToken:eP,isNotClosingParenToken:eT,isNotColonToken:ew,isNotCommaToken:eS,isNotCommentToken:ej,isNotOpeningBraceToken:eI,isNotOpeningBracketToken:ek,isNotOpeningParenToken:eF,isNotSemicolonToken:e_,isOpeningBraceToken:eE,isOpeningBracketToken:ev,isOpeningParenToken:eh,isParenthesized:e0,isSemicolonToken:em,PatternMatcher:e3,READ:e8,ReferenceTracker:rt},findVariable:ed,getFunctionHeadLocation:eO,getFunctionNameWithKind:eH,getInnermostScope:es,getPropertyName:eG,getStaticValue:eV,getStringIfConstant:eZ,hasSideEffect:eQ,isArrowToken:ep,isClosingBraceToken:eA,isClosingBracketToken:ex,isClosingParenToken:eb,isColonToken:ey,isCommaToken:eg,isCommentToken:eD,isNotArrowToken:eC,isNotClosingBraceToken:eB,isNotClosingBracketToken:eP,isNotClosingParenToken:eT,isNotColonToken:ew,isNotCommaToken:eS,isNotCommentToken:ej,isNotOpeningBraceToken:eI,isNotOpeningBracketToken:ek,isNotOpeningParenToken:eF,isNotSemicolonToken:e_,isOpeningBraceToken:eE,isOpeningBracketToken:ev,isOpeningParenToken:eh,isParenthesized:e0,isSemicolonToken:em}));const{isParenthesized:ra}=ru,ri="too-deep",ro="should-parenthesized";var rs=Q({create:e=>({ConditionalExpression(r){if([r.test,r.consequent,r.alternate].some(e=>"ConditionalExpression"===e.type))return;let{sourceCode:t}=e,n=t.getAncestors(r).reverse(),u=n.findIndex(e=>"ConditionalExpression"!==e.type);return 1!==u||ra(r,t)?u>1?{node:u>2?n[u-3]:r,messageId:ri}:void 0:{node:r,messageId:ro,fix:e=>[e.insertTextBefore(r,"("),e.insertTextAfter(r,")")]}}}),meta:{type:"suggestion",docs:{description:"Disallow nested ternary expressions."},fixable:"code",messages:{[ri]:"Do not nest ternary expressions.",[ro]:"Nest ternary expression should be parenthesized."}}});const rd="prefer-event-target";var rc=Q({create:()=>({Identifier(e){if("EventEmitter"===e.name&&(("ClassDeclaration"===e.parent.type||"ClassExpression"===e.parent.type)&&e.parent.superClass===e||"NewExpression"===e.parent.type&&e.parent.callee===e))return{node:e,messageId:rd}}}),meta:{type:"suggestion",docs:{description:"Prefer `EventTarget` over `EventEmitter`."},messages:{[rd]:"Prefer `EventTarget` over `EventEmitter`."}}});const rf={},rl=rf.hasOwnProperty,rp=(e,r)=>{for(let t in e)rl.call(e,t)&&r(t,e[t])},rg=(e,r)=>(r&&rp(r,(r,t)=>{e[r]=t}),e),rm=(e,r)=>{let t=e.length,n=-1;for(;++n<t;)r(e[n])},ry=e=>"\\u"+("0000"+e).slice(-4),rh=(e,r)=>{let t=e.toString(16);return r?t:t.toUpperCase()},rb=rf.toString,rv=Array.isArray,rx=e=>"function"==typeof Buffer&&Buffer.isBuffer(e),rE=e=>"[object Object]"==rb.call(e),rA=e=>"string"==typeof e||"[object String]"==rb.call(e),rD=e=>"number"==typeof e||"[object Number]"==rb.call(e),rC=e=>"function"==typeof e,rS=e=>"[object Map]"==rb.call(e),r_=e=>"[object Set]"==rb.call(e),rw={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},rF=/[\\\b\f\n\r\t]/,rT=/[0-9]/,rk=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,rP=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,rI=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,rB=(e,r)=>{let t;let n=()=>{c=d,++r.indentLevel,d=r.indent.repeat(r.indentLevel)},u={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},a=r&&r.json;a&&(u.quotes="double",u.wrap=!0),"single"!=(r=rg(u,r)).quotes&&"double"!=r.quotes&&"backtick"!=r.quotes&&(r.quotes="single");let i="double"==r.quotes?'"':"backtick"==r.quotes?"`":"'",o=r.compact,s=r.lowercaseHex,d=r.indent.repeat(r.indentLevel),c="",f=r.__inline1__,l=r.__inline2__,p=o?"":"\n",g=!0,m="binary"==r.numbers,y="octal"==r.numbers,h="decimal"==r.numbers,b="hexadecimal"==r.numbers;if(a&&e&&rC(e.toJSON)&&(e=e.toJSON()),!rA(e)){if(rS(e))return 0==e.size?"new Map()":(o||(r.__inline1__=!0,r.__inline2__=!1),"new Map("+rB(Array.from(e),r)+")");if(r_(e))return 0==e.size?"new Set()":"new Set("+rB(Array.from(e),r)+")";if(rx(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+rB(Array.from(e),r)+")";if(rv(e))return(t=[],r.wrap=!0,f&&(r.__inline1__=!1,r.__inline2__=!0),l||n(),rm(e,e=>{g=!1,l&&(r.__inline2__=!1),t.push((o||l?"":d)+rB(e,r))}),g)?"[]":l?"["+t.join(", ")+"]":"["+p+t.join(","+p)+p+(o?"":c)+"]";if(rD(e)){if(a)return JSON.stringify(e);if(h)return String(e);if(b){let r=e.toString(16);return s||(r=r.toUpperCase()),"0x"+r}if(m)return"0b"+e.toString(2);if(y)return"0o"+e.toString(8)}else if(rE(e))return(t=[],r.wrap=!0,n(),rp(e,(e,n)=>{g=!1,t.push((o?"":d)+rB(e,r)+":"+(o?"":" ")+rB(n,r))}),g)?"{}":"{"+p+t.join(","+p)+p+(o?"":c)+"}";else return a?JSON.stringify(e)||"null":String(e)}let v=r.escapeEverything?rP:rI;return t=e.replace(v,(e,t,n,u,o,d)=>{if(t){if(r.minimal)return t;let e=t.charCodeAt(0),n=t.charCodeAt(1);if(r.es6){let r=(e-55296)*1024+n-56320+65536,t=rh(r,s);return"\\u{"+t+"}"}return ry(rh(e,s))+ry(rh(n,s))}if(n)return ry(rh(n.charCodeAt(0),s));if("\x00"==e&&!a&&!rT.test(d.charAt(o+1)))return"\\0";if(u)return u==i||r.escapeEverything?"\\"+u:u;if(rF.test(e))return rw[e];if(r.minimal&&!rk.test(e))return e;let c=rh(e.charCodeAt(0),s);return a||c.length>2?ry(c):"\\x"+("00"+c).slice(-2)}),"`"==i&&(t=t.replace(/\$\{/g,"\\${")),r.isScriptContext&&(t=t.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,a?"\\u003C!--":"\\x3C!--")),r.wrap&&(t=i+t+i),t};rB.version="3.0.2";var rj=(e,r="'")=>{if("string"!=typeof e)throw TypeError("Unexpected string.");return rB(e,{quotes:'"'===r?"double":"single",wrap:!0,es6:!0,minimal:!0,lowercaseHex:!1})};function rO(e,r){return e?.type==="Literal"&&(null===r?"null"===e.raw:e.value===r)}var rR={isLiteral:rO,isStringLiteral:e=>e?.type==="Literal"&&"string"==typeof e.value,isNumberLiteral:e=>"Literal"===e.type&&"number"==typeof e.value,isBigIntLiteral:e=>"Literal"===e.type&&!!e.bigint,isNullLiteral:e=>rO(e,null),isRegexLiteral:e=>"Literal"===e.type&&!!e.regex};function rL(e,r,t){if(!t.includes(e?.type))return!1;"string"==typeof r&&(r={names:[r]}),Array.isArray(r)&&(r={names:r});let{name:n,names:u,argumentsLength:a,minimumArguments:i,maximumArguments:o,allowSpreadElement:s,optional:d}={minimumArguments:0,maximumArguments:Number.POSITIVE_INFINITY,allowSpreadElement:!1,...r};if(n&&(u=[n]),!0===d&&e.optional!==d||!1===d&&e.optional||"number"==typeof a&&e.arguments.length!==a||0!==i&&e.arguments.length<i||Number.isFinite(o)&&e.arguments.length>o)return!1;if(!s){let r=Number.isFinite(o)?o:a;if("number"==typeof r&&e.arguments.some((e,t)=>"SpreadElement"===e.type&&t<r))return!1}return!Array.isArray(u)||!(u.length>0)||"Identifier"===e.callee.type&&!!u.includes(e.callee.name)}var rN={isCallExpression:(e,r)=>rL(e,r,["CallExpression"]),isNewExpression:(e,r)=>{if("boolean"==typeof r?.optional)throw TypeError("Cannot check node.optional in `isNewExpression`.");return rL(e,r,["NewExpression"])},isCallOrNewExpression:(e,r)=>rL(e,r,["CallExpression","NewExpression"])},rM=["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"],r$=function(e,r){if(e?.type!=="MemberExpression")return!1;"string"==typeof r&&(r={properties:[r]}),Array.isArray(r)&&(r={properties:r});let{property:t,properties:n,object:u,objects:a,optional:i,computed:o}={property:"",properties:[],object:"",...r};if(t&&(n=[t]),u&&(a=[u]),!0===i&&e.optional!==i||!1===i&&e.optional)return!1;if(Array.isArray(n)&&n.length>0){if("Identifier"!==e.property.type||!n.includes(e.property.name))return!1;o??=!1}return!(!0===o&&e.computed!==o||!1===o&&e.computed||Array.isArray(a)&&a.length>0&&("Identifier"!==e.object.type||!a.includes(e.object.name)))},rz="object"==typeof global&&global&&global.Object===Object&&global,rU="object"==typeof self&&self&&self.Object===Object&&self,rW=rz||rU||Function("return this")(),rq=rW.Symbol,rV=Object.prototype,rZ=rV.hasOwnProperty,rG=rV.toString,rH=rq?rq.toStringTag:void 0,rK=Object.prototype.toString,rJ=rq?rq.toStringTag:void 0;function rX(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":rJ&&rJ in Object(e)?function(e){var r=rZ.call(e,rH),t=e[rH];try{e[rH]=void 0;var n=!0}catch(e){}var u=rG.call(e);return n&&(r?e[rH]=t:delete e[rH]),u}(e):rK.call(e)}function rY(e){return null!=e&&"object"==typeof e}function rQ(e){return"symbol"==typeof e||rY(e)&&"[object Symbol]"==rX(e)}var r0=0/0;function r1(e){return"number"==typeof e?e:rQ(e)?r0:+e}function r2(e,r){for(var t=-1,n=null==e?0:e.length,u=Array(n);++t<n;)u[t]=r(e[t],t,e);return u}var r3=Array.isArray,r4=1/0,r5=rq?rq.prototype:void 0,r8=r5?r5.toString:void 0;function r6(e){if("string"==typeof e)return e;if(r3(e))return r2(e,r6)+"";if(rQ(e))return r8?r8.call(e):"";var r=e+"";return"0"==r&&1/e==-r4?"-0":r}function r9(e,r){return function(t,n){var u;if(void 0===t&&void 0===n)return r;if(void 0!==t&&(u=t),void 0!==n){if(void 0===u)return n;"string"==typeof t||"string"==typeof n?(t=r6(t),n=r6(n)):(t=r1(t),n=r1(n)),u=e(t,n)}return u}}var r7=r9(function(e,r){return e+r},0),te=/\s/;function tr(e){for(var r=e.length;r--&&te.test(e.charAt(r)););return r}var tt=/^\s+/;function tn(e){return e?e.slice(0,tr(e)+1).replace(tt,""):e}function tu(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}var ta=0/0,ti=/^[-+]0x[0-9a-f]+$/i,to=/^0b[01]+$/i,ts=/^0o[0-7]+$/i,td=parseInt;function tc(e){if("number"==typeof e)return e;if(rQ(e))return ta;if(tu(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=tu(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=tn(e);var t=to.test(e);return t||ts.test(e)?td(e.slice(2),t?2:8):ti.test(e)?ta:+e}var tf=1/0;function tl(e){return e?(e=tc(e))===tf||e===-tf?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function tp(e){var r=tl(e),t=r%1;return r==r?t?r-t:r:0}function tg(e){return e}function tm(e){if(!tu(e))return!1;var r=rX(e);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var ty=rW["__core-js_shared__"],th=(e=/[^.]+$/.exec(ty&&ty.keys&&ty.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",tb=Function.prototype.toString;function tv(e){if(null!=e){try{return tb.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var tx=/^\[object .+?Constructor\]$/,tE=Object.prototype,tA=Function.prototype.toString,tD=tE.hasOwnProperty,tC=RegExp("^"+tA.call(tD).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tS(e){return!!tu(e)&&(!th||!(th in e))&&(tm(e)?tC:tx).test(tv(e))}function t_(e,r){var t=null==e?void 0:e[r];return tS(t)?t:void 0}var tw=t_(rW,"WeakMap"),tF=tw&&new tw,tT=tF?function(e,r){return tF.set(e,r),e}:tg,tk=Object.create,tP=function(){function e(){}return function(r){if(!tu(r))return{};if(tk)return tk(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function tI(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var t=tP(e.prototype),n=e.apply(t,r);return tu(n)?n:t}}function tB(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var tj=Math.max;function tO(e,r,t,n){for(var u=-1,a=e.length,i=t.length,o=-1,s=r.length,d=tj(a-i,0),c=Array(s+d),f=!n;++o<s;)c[o]=r[o];for(;++u<i;)(f||u<a)&&(c[t[u]]=e[u]);for(;d--;)c[o++]=e[u++];return c}var tR=Math.max;function tL(e,r,t,n){for(var u=-1,a=e.length,i=-1,o=t.length,s=-1,d=r.length,c=tR(a-o,0),f=Array(c+d),l=!n;++u<c;)f[u]=e[u];for(var p=u;++s<d;)f[p+s]=r[s];for(;++i<o;)(l||u<a)&&(f[p+t[i]]=e[u++]);return f}function tN(){}function tM(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function t$(){}tM.prototype=tP(tN.prototype),tM.prototype.constructor=tM;var tz=tF?function(e){return tF.get(e)}:t$,tU={},tW=Object.prototype.hasOwnProperty;function tq(e){for(var r=e.name+"",t=tU[r],n=tW.call(tU,r)?t.length:0;n--;){var u=t[n],a=u.func;if(null==a||a==e)return u.name}return r}function tV(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=void 0}function tZ(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}function tG(e){if(e instanceof tM)return e.clone();var r=new tV(e.__wrapped__,e.__chain__);return r.__actions__=tZ(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}tV.prototype=tP(tN.prototype),tV.prototype.constructor=tV;var tH=Object.prototype.hasOwnProperty;function tK(e){if(rY(e)&&!r3(e)&&!(e instanceof tM)){if(e instanceof tV)return e;if(tH.call(e,"__wrapped__"))return tG(e)}return new tV(e)}function tJ(e){var r=tq(e),t=tK[r];if("function"!=typeof t||!(r in tM.prototype))return!1;if(e===t)return!0;var n=tz(t);return!!n&&e===n[0]}tK.prototype=tN.prototype,tK.prototype.constructor=tK;var tX=Date.now;function tY(e){var r=0,t=0;return function(){var n=tX(),u=16-(n-t);if(t=n,u>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var tQ=tY(tT),t0=/\{\n\/\* \[wrapped with (.+)\] \*/,t1=/,? & /,t2=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function t3(e){return function(){return e}}var t4=function(){try{var e=t_(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),t5=tY(t4?function(e,r){return t4(e,"toString",{configurable:!0,enumerable:!1,value:t3(r),writable:!0})}:tg);function t8(e,r){for(var t=-1,n=null==e?0:e.length;++t<n&&!1!==r(e[t],t,e););return e}function t6(e,r,t,n){for(var u=e.length,a=t+(n?1:-1);n?a--:++a<u;)if(r(e[a],a,e))return a;return -1}function t9(e){return e!=e}function t7(e,r,t){return r==r?function(e,r,t){for(var n=t-1,u=e.length;++n<u;)if(e[n]===r)return n;return -1}(e,r,t):t6(e,t9,t)}function ne(e,r){return!!(null==e?0:e.length)&&t7(e,r,0)>-1}var nr=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function nt(e,r,t){var n,u,a=r+"";return t5(e,function(e,r){var t=r.length;if(!t)return e;var n=t-1;return r[n]=(t>1?"& ":"")+r[n],r=r.join(t>2?", ":" "),e.replace(t2,"{\n/* [wrapped with "+r+"] */\n")}(a,(u=(n=a.match(t0))?n[1].split(t1):[],t8(nr,function(e){var r="_."+e[0];t&e[1]&&!ne(u,r)&&u.push(r)}),u.sort())))}function nn(e,r,t,n,u,a,i,o,s,d){var c=8&r;r|=c?32:64,4&(r&=~(c?64:32))||(r&=-4);var f=[e,r,u,c?a:void 0,c?i:void 0,c?void 0:a,c?void 0:i,o,s,d],l=t.apply(void 0,f);return tJ(e)&&tQ(l,f),l.placeholder=n,nt(l,e,r)}function nu(e){return e.placeholder}var na=/^(?:0|[1-9]\d*)$/;function ni(e,r){var t=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==t||"symbol"!=t&&na.test(e))&&e>-1&&e%1==0&&e<r}var no=Math.min,ns="__lodash_placeholder__";function nd(e,r){for(var t=-1,n=e.length,u=0,a=[];++t<n;){var i=e[t];(i===r||i===ns)&&(e[t]=ns,a[u++]=t)}return a}function nc(e,r,t,n,u,a,i,o,s,d){var c=128&r,f=1&r,l=2&r,p=24&r,g=512&r,m=l?void 0:tI(e);return function y(){for(var h=arguments.length,b=Array(h),v=h;v--;)b[v]=arguments[v];if(p)var x=nu(y),E=function(e,r){for(var t=e.length,n=0;t--;)e[t]===r&&++n;return n}(b,x);if(n&&(b=tO(b,n,u,p)),a&&(b=tL(b,a,i,p)),h-=E,p&&h<d){var A=nd(b,x);return nn(e,r,nc,y.placeholder,t,b,A,o,s,d-h)}var D=f?t:this,C=l?D[e]:e;return h=b.length,o?b=function(e,r){for(var t=e.length,n=no(r.length,t),u=tZ(e);n--;){var a=r[n];e[n]=ni(a,t)?u[a]:void 0}return e}(b,o):g&&h>1&&b.reverse(),c&&s<h&&(b.length=s),this&&this!==rW&&this instanceof y&&(C=m||tI(C)),C.apply(D,b)}}var nf="__lodash_placeholder__",nl=Math.min,np=Math.max;function ng(e,r,t,n,u,a,i,o){var s=2&r;if(!s&&"function"!=typeof e)throw TypeError("Expected a function");var d=n?n.length:0;if(d||(r&=-97,n=u=void 0),i=void 0===i?i:np(tp(i),0),o=void 0===o?o:tp(o),d-=u?u.length:0,64&r){var c=n,f=u;n=u=void 0}var l=s?void 0:tz(e),p=[e,r,t,n,u,c,f,a,i,o];if(l&&function(e,r){var t=e[1],n=r[1],u=t|n,a=u<131,i=128==n&&8==t||128==n&&256==t&&e[7].length<=r[8]||384==n&&r[7].length<=r[8]&&8==t;if(a||i){1&n&&(e[2]=r[2],u|=1&t?0:4);var o=r[3];if(o){var s=e[3];e[3]=s?tO(s,o,r[4]):o,e[4]=s?nd(e[3],nf):r[4]}(o=r[5])&&(s=e[5],e[5]=s?tL(s,o,r[6]):o,e[6]=s?nd(e[5],nf):r[6]),(o=r[7])&&(e[7]=o),128&n&&(e[8]=null==e[8]?r[8]:nl(e[8],r[8])),null==e[9]&&(e[9]=r[9]),e[0]=r[0],e[1]=u}}(p,l),e=p[0],r=p[1],t=p[2],n=p[3],u=p[4],(o=p[9]=void 0===p[9]?s?0:e.length:np(p[9]-d,0))||!(24&r)||(r&=-25),r&&1!=r)8==r||16==r?(g=e,m=r,y=o,h=tI(g),T=function e(){for(var r=arguments.length,t=Array(r),n=r,u=nu(e);n--;)t[n]=arguments[n];var a=r<3&&t[0]!==u&&t[r-1]!==u?[]:nd(t,u);return(r-=a.length)<y?nn(g,m,nc,e.placeholder,void 0,t,a,void 0,void 0,y-r):tB(this&&this!==rW&&this instanceof e?h:g,this,t)}):32!=r&&33!=r||u.length?T=nc.apply(void 0,p):(b=e,v=r,x=t,E=n,A=1&v,D=tI(b),T=function e(){for(var r=-1,t=arguments.length,n=-1,u=E.length,a=Array(u+t),i=this&&this!==rW&&this instanceof e?D:b;++n<u;)a[n]=E[n];for(;t--;)a[n++]=arguments[++r];return tB(i,A?x:this,a)});else var g,m,y,h,b,v,x,E,A,D,C,S,_,w,F,T=(C=e,S=r,_=t,w=1&S,F=tI(C),function e(){return(this&&this!==rW&&this instanceof e?F:C).apply(w?_:this,arguments)});return nt((l?tT:tQ)(T,p),e,r)}function nm(e,r,t){return r=t?void 0:r,r=e&&null==r?e.length:r,ng(e,128,void 0,void 0,void 0,void 0,r)}function ny(e,r,t){"__proto__"==r&&t4?t4(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}function nh(e,r){return e===r||e!=e&&r!=r}var nb=Object.prototype.hasOwnProperty;function nv(e,r,t){var n=e[r];nb.call(e,r)&&nh(n,t)&&(void 0!==t||r in e)||ny(e,r,t)}function nx(e,r,t,n){var u=!t;t||(t={});for(var a=-1,i=r.length;++a<i;){var o=r[a],s=n?n(t[o],e[o],o,t,e):void 0;void 0===s&&(s=e[o]),u?ny(t,o,s):nv(t,o,s)}return t}var nE=Math.max;function nA(e,r,t){return r=nE(void 0===r?e.length-1:r,0),function(){for(var n=arguments,u=-1,a=nE(n.length-r,0),i=Array(a);++u<a;)i[u]=n[r+u];u=-1;for(var o=Array(r+1);++u<r;)o[u]=n[u];return o[r]=t(i),tB(e,this,o)}}function nD(e,r){return t5(nA(e,r,tg),e+"")}function nC(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function nS(e){return null!=e&&nC(e.length)&&!tm(e)}function n_(e,r,t){if(!tu(t))return!1;var n=typeof r;return("number"==n?!!(nS(t)&&ni(r,t.length)):"string"==n&&r in t)&&nh(t[r],e)}function nw(e){return nD(function(r,t){var n=-1,u=t.length,a=u>1?t[u-1]:void 0,i=u>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(u--,a):void 0,i&&n_(t[0],t[1],i)&&(a=u<3?void 0:a,u=1),r=Object(r);++n<u;){var o=t[n];o&&e(r,o,n,a)}return r})}var nF=Object.prototype;function nT(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||nF)}function nk(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}function nP(e){return rY(e)&&"[object Arguments]"==rX(e)}var nI=Object.prototype,nB=nI.hasOwnProperty,nj=nI.propertyIsEnumerable,nO=nP(function(){return arguments}())?nP:function(e){return rY(e)&&nB.call(e,"callee")&&!nj.call(e,"callee")};function nR(){return!1}var nL="object"==typeof exports&&exports&&!exports.nodeType&&exports,nN=nL&&"object"==typeof module&&module&&!module.nodeType&&module,nM=nN&&nN.exports===nL?rW.Buffer:void 0,n$=(nM?nM.isBuffer:void 0)||nR,nz={};function nU(e){return function(r){return e(r)}}nz["[object Float32Array]"]=nz["[object Float64Array]"]=nz["[object Int8Array]"]=nz["[object Int16Array]"]=nz["[object Int32Array]"]=nz["[object Uint8Array]"]=nz["[object Uint8ClampedArray]"]=nz["[object Uint16Array]"]=nz["[object Uint32Array]"]=!0,nz["[object Arguments]"]=nz["[object Array]"]=nz["[object ArrayBuffer]"]=nz["[object Boolean]"]=nz["[object DataView]"]=nz["[object Date]"]=nz["[object Error]"]=nz["[object Function]"]=nz["[object Map]"]=nz["[object Number]"]=nz["[object Object]"]=nz["[object RegExp]"]=nz["[object Set]"]=nz["[object String]"]=nz["[object WeakMap]"]=!1;var nW="object"==typeof exports&&exports&&!exports.nodeType&&exports,nq=nW&&"object"==typeof module&&module&&!module.nodeType&&module,nV=nq&&nq.exports===nW&&rz.process,nZ=function(){try{var e=nq&&nq.require&&nq.require("util").types;if(e)return e;return nV&&nV.binding&&nV.binding("util")}catch(e){}}(),nG=nZ&&nZ.isTypedArray,nH=nG?nU(nG):function(e){return rY(e)&&nC(e.length)&&!!nz[rX(e)]},nK=Object.prototype.hasOwnProperty;function nJ(e,r){var t=r3(e),n=!t&&nO(e),u=!t&&!n&&n$(e),a=!t&&!n&&!u&&nH(e),i=t||n||u||a,o=i?nk(e.length,String):[],s=o.length;for(var d in e)(r||nK.call(e,d))&&!(i&&("length"==d||u&&("offset"==d||"parent"==d)||a&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||ni(d,s)))&&o.push(d);return o}function nX(e,r){return function(t){return e(r(t))}}var nY=nX(Object.keys,Object),nQ=Object.prototype.hasOwnProperty;function n0(e){if(!nT(e))return nY(e);var r=[];for(var t in Object(e))nQ.call(e,t)&&"constructor"!=t&&r.push(t);return r}function n1(e){return nS(e)?nJ(e):n0(e)}var n2=Object.prototype.hasOwnProperty,n3=nw(function(e,r){if(nT(r)||nS(r)){nx(r,n1(r),e);return}for(var t in r)n2.call(r,t)&&nv(e,t,r[t])}),n4=Object.prototype.hasOwnProperty;function n5(e){return nS(e)?nJ(e,!0):function(e){if(!tu(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=nT(e),t=[];for(var n in e)"constructor"==n&&(r||!n4.call(e,n))||t.push(n);return t}(e)}var n8=nw(function(e,r){nx(r,n5(r),e)}),n6=nw(function(e,r,t,n){nx(r,n5(r),e,n)}),n9=nw(function(e,r,t,n){nx(r,n1(r),e,n)}),n7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ue=/^\w*$/;function ur(e,r){if(r3(e))return!1;var t=typeof e;return!!("number"==t||"symbol"==t||"boolean"==t||null==e||rQ(e))||ue.test(e)||!n7.test(e)||null!=r&&e in Object(r)}var ut=t_(Object,"create"),un=Object.prototype.hasOwnProperty,uu=Object.prototype.hasOwnProperty;function ua(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function ui(e,r){for(var t=e.length;t--;)if(nh(e[t][0],r))return t;return -1}ua.prototype.clear=function(){this.__data__=ut?ut(null):{},this.size=0},ua.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},ua.prototype.get=function(e){var r=this.__data__;if(ut){var t=r[e];return"__lodash_hash_undefined__"===t?void 0:t}return un.call(r,e)?r[e]:void 0},ua.prototype.has=function(e){var r=this.__data__;return ut?void 0!==r[e]:uu.call(r,e)},ua.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=ut&&void 0===r?"__lodash_hash_undefined__":r,this};var uo=Array.prototype.splice;function us(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}us.prototype.clear=function(){this.__data__=[],this.size=0},us.prototype.delete=function(e){var r=this.__data__,t=ui(r,e);return!(t<0)&&(t==r.length-1?r.pop():uo.call(r,t,1),--this.size,!0)},us.prototype.get=function(e){var r=this.__data__,t=ui(r,e);return t<0?void 0:r[t][1]},us.prototype.has=function(e){return ui(this.__data__,e)>-1},us.prototype.set=function(e,r){var t=this.__data__,n=ui(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this};var ud=t_(rW,"Map");function uc(e,r){var t,n=e.__data__;return("string"==(t=typeof r)||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==r:null===r)?n["string"==typeof r?"string":"hash"]:n.map}function uf(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function ul(e,r){if("function"!=typeof e||null!=r&&"function"!=typeof r)throw TypeError("Expected a function");var t=function(){var n=arguments,u=r?r.apply(this,n):n[0],a=t.cache;if(a.has(u))return a.get(u);var i=e.apply(this,n);return t.cache=a.set(u,i)||a,i};return t.cache=new(ul.Cache||uf),t}uf.prototype.clear=function(){this.size=0,this.__data__={hash:new ua,map:new(ud||us),string:new ua}},uf.prototype.delete=function(e){var r=uc(this,e).delete(e);return this.size-=r?1:0,r},uf.prototype.get=function(e){return uc(this,e).get(e)},uf.prototype.has=function(e){return uc(this,e).has(e)},uf.prototype.set=function(e,r){var t=uc(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this},ul.Cache=uf;var up=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ug=/\\(\\)?/g,um=(t=(r=ul(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(up,function(e,t,n,u){r.push(n?u.replace(ug,"$1"):t||e)}),r},function(e){return 500===t.size&&t.clear(),e})).cache,r);function uy(e){return null==e?"":r6(e)}function uh(e,r){return r3(e)?e:ur(e,r)?[e]:um(uy(e))}var ub=1/0;function uv(e){if("string"==typeof e||rQ(e))return e;var r=e+"";return"0"==r&&1/e==-ub?"-0":r}function ux(e,r){r=uh(r,e);for(var t=0,n=r.length;null!=e&&t<n;)e=e[uv(r[t++])];return t&&t==n?e:void 0}function uE(e,r,t){var n=null==e?void 0:ux(e,r);return void 0===n?t:n}function uA(e,r){for(var t=-1,n=r.length,u=Array(n),a=null==e;++t<n;)u[t]=a?void 0:uE(e,r[t]);return u}function uD(e,r){for(var t=-1,n=r.length,u=e.length;++t<n;)e[u+t]=r[t];return e}var uC=rq?rq.isConcatSpreadable:void 0;function uS(e){return r3(e)||nO(e)||!!(uC&&e&&e[uC])}function u_(e,r,t,n,u){var a=-1,i=e.length;for(t||(t=uS),u||(u=[]);++a<i;){var o=e[a];r>0&&t(o)?r>1?u_(o,r-1,t,n,u):uD(u,o):n||(u[u.length]=o)}return u}function uw(e){return(null==e?0:e.length)?u_(e,1):[]}function uF(e){return t5(nA(e,void 0,uw),e+"")}var uT=uF(uA),uk=nX(Object.getPrototypeOf,Object),uP=Object.prototype,uI=Function.prototype.toString,uB=uP.hasOwnProperty,uj=uI.call(Object);function uO(e){if(!rY(e)||"[object Object]"!=rX(e))return!1;var r=uk(e);if(null===r)return!0;var t=uB.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&uI.call(t)==uj}function uR(e){if(!rY(e))return!1;var r=rX(e);return"[object Error]"==r||"[object DOMException]"==r||"string"==typeof e.message&&"string"==typeof e.name&&!uO(e)}var uL=nD(function(e,r){try{return tB(e,void 0,r)}catch(e){return uR(e)?e:Error(e)}});function uN(e,r){var t;if("function"!=typeof r)throw TypeError("Expected a function");return e=tp(e),function(){return--e>0&&(t=r.apply(this,arguments)),e<=1&&(r=void 0),t}}var uM=nD(function(e,r,t){var n=1;if(t.length){var u=nd(t,nu(uM));n|=32}return ng(e,n,r,t,u)});uM.placeholder={};var u$=uF(function(e,r){return t8(r,function(r){ny(e,r=uv(r),uM(e[r],e))}),e}),uz=nD(function(e,r,t){var n=3;if(t.length){var u=nd(t,nu(uz));n|=32}return ng(r,n,e,t,u)});function uU(e,r,t){var n=-1,u=e.length;r<0&&(r=-r>u?0:u+r),(t=t>u?u:t)<0&&(t+=u),u=r>t?0:t-r>>>0,r>>>=0;for(var a=Array(u);++n<u;)a[n]=e[n+r];return a}function uW(e,r,t){var n=e.length;return t=void 0===t?n:t,!r&&t>=n?e:uU(e,r,t)}uz.placeholder={};var uq=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function uV(e){return uq.test(e)}var uZ="\ud800-\udfff",uG="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",uH="\ud83c[\udffb-\udfff]",uK="[^"+uZ+"]",uJ="(?:\ud83c[\udde6-\uddff]){2}",uX="[\ud800-\udbff][\udc00-\udfff]",uY="(?:"+uG+"|"+uH+")?",uQ="[\\ufe0e\\ufe0f]?",u0="(?:\\u200d(?:"+[uK,uJ,uX].join("|")+")"+uQ+uY+")*",u1=RegExp(uH+"(?="+uH+")|(?:"+[uK+uG+"?",uG,uJ,uX,"["+uZ+"]"].join("|")+")"+(uQ+uY+u0),"g");function u2(e){return uV(e)?e.match(u1)||[]:e.split("")}function u3(e){return function(r){var t=uV(r=uy(r))?u2(r):void 0,n=t?t[0]:r.charAt(0),u=t?uW(t,1).join(""):r.slice(1);return n[e]()+u}}var u4=u3("toUpperCase");function u5(e){return u4(uy(e).toLowerCase())}function u8(e,r,t,n){var u=-1,a=null==e?0:e.length;for(n&&a&&(t=e[++u]);++u<a;)t=r(t,e[u],u,e);return t}function u6(e){return function(r){return null==e?void 0:e[r]}}var u9=u6({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),u7=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ae=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function ar(e){return(e=uy(e))&&e.replace(u7,u9).replace(ae,"")}var at=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,an=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,au="\ud800-\udfff",aa="\\u2700-\\u27bf",ai="a-z\\xdf-\\xf6\\xf8-\\xff",ao="A-Z\\xc0-\\xd6\\xd8-\\xde",as="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ad="['’]",ac="["+as+"]",af="["+ai+"]",al="[^"+au+as+"\\d+"+aa+ai+ao+"]",ap="(?:\ud83c[\udde6-\uddff]){2}",ag="[\ud800-\udbff][\udc00-\udfff]",am="["+ao+"]",ay="(?:"+af+"|"+al+")",ah="(?:"+ad+"(?:d|ll|m|re|s|t|ve))?",ab="(?:"+ad+"(?:D|LL|M|RE|S|T|VE))?",av="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",ax="[\\ufe0e\\ufe0f]?",aE="(?:\\u200d(?:"+["[^"+au+"]",ap,ag].join("|")+")"+ax+av+")*",aA="(?:"+["["+aa+"]",ap,ag].join("|")+")"+(ax+av+aE),aD=RegExp([am+"?"+af+"+"+ah+"(?="+[ac,am,"$"].join("|")+")","(?:"+am+"|"+al+")+"+ab+"(?="+[ac,am+ay,"$"].join("|")+")",am+"?"+ay+"+"+ah,am+"+"+ab,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",aA].join("|"),"g");function aC(e,r,t){if(e=uy(e),void 0===(r=t?void 0:r)){var n;return(n=e,an.test(n))?e.match(aD)||[]:e.match(at)||[]}return e.match(r)||[]}var aS=RegExp("['’]","g");function a_(e){return function(r){return u8(aC(ar(r).replace(aS,"")),e,"")}}var aw=a_(function(e,r,t){return r=r.toLowerCase(),e+(t?u5(r):r)}),aF=rW.isFinite,aT=Math.min;function ak(e){var r=Math[e];return function(e,t){if(e=tc(e),(t=null==t?0:aT(tp(t),292))&&aF(e)){var n=(uy(e)+"e").split("e");return+((n=(uy(r(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))}return r(e)}}var aP=ak("ceil");function aI(e){var r=tK(e);return r.__chain__=!0,r}var aB=Math.ceil,aj=Math.max;function aO(e,r,t){return e==e&&(void 0!==t&&(e=e<=t?e:t),void 0!==r&&(e=e>=r?e:r)),e}function aR(e){var r=this.__data__=new us(e);this.size=r.size}function aL(e,r){return e&&nx(r,n1(r),e)}aR.prototype.clear=function(){this.__data__=new us,this.size=0},aR.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},aR.prototype.get=function(e){return this.__data__.get(e)},aR.prototype.has=function(e){return this.__data__.has(e)},aR.prototype.set=function(e,r){var t=this.__data__;if(t instanceof us){var n=t.__data__;if(!ud||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new uf(n)}return t.set(e,r),this.size=t.size,this};var aN="object"==typeof exports&&exports&&!exports.nodeType&&exports,aM=aN&&"object"==typeof module&&module&&!module.nodeType&&module,a$=aM&&aM.exports===aN?rW.Buffer:void 0,az=a$?a$.allocUnsafe:void 0;function aU(e,r){if(r)return e.slice();var t=e.length,n=az?az(t):new e.constructor(t);return e.copy(n),n}function aW(e,r){for(var t=-1,n=null==e?0:e.length,u=0,a=[];++t<n;){var i=e[t];r(i,t,e)&&(a[u++]=i)}return a}function aq(){return[]}var aV=Object.prototype.propertyIsEnumerable,aZ=Object.getOwnPropertySymbols,aG=aZ?function(e){return null==e?[]:aW(aZ(e=Object(e)),function(r){return aV.call(e,r)})}:aq,aH=Object.getOwnPropertySymbols?function(e){for(var r=[];e;)uD(r,aG(e)),e=uk(e);return r}:aq;function aK(e,r,t){var n=r(e);return r3(e)?n:uD(n,t(e))}function aJ(e){return aK(e,n1,aG)}function aX(e){return aK(e,n5,aH)}var aY=t_(rW,"DataView"),aQ=t_(rW,"Promise"),a0=t_(rW,"Set"),a1="[object Map]",a2="[object Promise]",a3="[object Set]",a4="[object WeakMap]",a5="[object DataView]",a8=tv(aY),a6=tv(ud),a9=tv(aQ),a7=tv(a0),ie=tv(tw),ir=rX;(aY&&ir(new aY(new ArrayBuffer(1)))!=a5||ud&&ir(new ud)!=a1||aQ&&ir(aQ.resolve())!=a2||a0&&ir(new a0)!=a3||tw&&ir(new tw)!=a4)&&(ir=function(e){var r=rX(e),t="[object Object]"==r?e.constructor:void 0,n=t?tv(t):"";if(n)switch(n){case a8:return a5;case a6:return a1;case a9:return a2;case a7:return a3;case ie:return a4}return r});var it=ir,iu=Object.prototype.hasOwnProperty,ia=rW.Uint8Array;function ii(e){var r=new e.constructor(e.byteLength);return new ia(r).set(new ia(e)),r}var io=/\w*$/,is=rq?rq.prototype:void 0,id=is?is.valueOf:void 0;function ic(e,r){var t=r?ii(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function il(e){return"function"!=typeof e.constructor||nT(e)?{}:tP(uk(e))}var ip=nZ&&nZ.isMap,ig=ip?nU(ip):function(e){return rY(e)&&"[object Map]"==it(e)},im=nZ&&nZ.isSet,iy=im?nU(im):function(e){return rY(e)&&"[object Set]"==it(e)},ih="[object Arguments]",ib="[object Function]",iv="[object Object]",ix={};function iE(e,r,t,n,u,a){var i,o=1&r,s=2&r,d=4&r;if(t&&(i=u?t(e,n,u,a):t(e)),void 0!==i)return i;if(!tu(e))return e;var c=r3(e);if(c){if(f=e.length,l=new e.constructor(f),f&&"string"==typeof e[0]&&iu.call(e,"index")&&(l.index=e.index,l.input=e.input),i=l,!o)return tZ(e,i)}else{var f,l,p,g,m,y=it(e),h=y==ib||"[object GeneratorFunction]"==y;if(n$(e))return aU(e,o);if(y==iv||y==ih||h&&!u){if(i=s||h?{}:il(e),!o)return s?(g=(p=i)&&nx(e,n5(e),p),nx(e,aH(e),g)):(m=aL(i,e),nx(e,aG(e),m))}else{if(!ix[y])return u?e:{};i=function(e,r,t){var n,u,a=e.constructor;switch(r){case"[object ArrayBuffer]":return ii(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return n=t?ii(e.buffer):e.buffer,new e.constructor(n,e.byteOffset,e.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ic(e,t);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(u=new e.constructor(e.source,io.exec(e))).lastIndex=e.lastIndex,u;case"[object Symbol]":return id?Object(id.call(e)):{}}}(e,y,o)}}a||(a=new aR);var b=a.get(e);if(b)return b;a.set(e,i),iy(e)?e.forEach(function(n){i.add(iE(n,r,t,n,e,a))}):ig(e)&&e.forEach(function(n,u){i.set(u,iE(n,r,t,u,e,a))});var v=d?s?aX:aJ:s?n5:n1,x=c?void 0:v(e);return t8(x||e,function(n,u){x&&(n=e[u=n]),nv(i,u,iE(n,r,t,u,e,a))}),i}function iA(){return new tV(this.value(),this.__chain__)}function iD(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new uf;++r<t;)this.add(e[r])}function iC(e,r){for(var t=-1,n=null==e?0:e.length;++t<n;)if(r(e[t],t,e))return!0;return!1}function iS(e,r){return e.has(r)}function i_(e,r,t,n,u,a){var i=1&t,o=e.length,s=r.length;if(o!=s&&!(i&&s>o))return!1;var d=a.get(e),c=a.get(r);if(d&&c)return d==r&&c==e;var f=-1,l=!0,p=2&t?new iD:void 0;for(a.set(e,r),a.set(r,e);++f<o;){var g=e[f],m=r[f];if(n)var y=i?n(m,g,f,r,e,a):n(g,m,f,e,r,a);if(void 0!==y){if(y)continue;l=!1;break}if(p){if(!iC(r,function(e,r){if(!iS(p,r)&&(g===e||u(g,e,t,n,a)))return p.push(r)})){l=!1;break}}else if(!(g===m||u(g,m,t,n,a))){l=!1;break}}return a.delete(e),a.delete(r),l}function iw(e){var r=-1,t=Array(e.size);return e.forEach(function(e,n){t[++r]=[n,e]}),t}function iF(e){var r=-1,t=Array(e.size);return e.forEach(function(e){t[++r]=e}),t}ix[ih]=ix["[object Array]"]=ix["[object ArrayBuffer]"]=ix["[object DataView]"]=ix["[object Boolean]"]=ix["[object Date]"]=ix["[object Float32Array]"]=ix["[object Float64Array]"]=ix["[object Int8Array]"]=ix["[object Int16Array]"]=ix["[object Int32Array]"]=ix["[object Map]"]=ix["[object Number]"]=ix[iv]=ix["[object RegExp]"]=ix["[object Set]"]=ix["[object String]"]=ix["[object Symbol]"]=ix["[object Uint8Array]"]=ix["[object Uint8ClampedArray]"]=ix["[object Uint16Array]"]=ix["[object Uint32Array]"]=!0,ix["[object Error]"]=ix[ib]=ix["[object WeakMap]"]=!1,iD.prototype.add=iD.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},iD.prototype.has=function(e){return this.__data__.has(e)};var iT=rq?rq.prototype:void 0,ik=iT?iT.valueOf:void 0,iP=Object.prototype.hasOwnProperty,iI="[object Arguments]",iB="[object Array]",ij="[object Object]",iO=Object.prototype.hasOwnProperty;function iR(e,r,t,n,u){return e===r||(null!=e&&null!=r&&(rY(e)||rY(r))?function(e,r,t,n,u,a){var i=r3(e),o=r3(r),s=i?iB:it(e),d=o?iB:it(r);s=s==iI?ij:s,d=d==iI?ij:d;var c=s==ij,f=d==ij,l=s==d;if(l&&n$(e)){if(!n$(r))return!1;i=!0,c=!1}if(l&&!c)return a||(a=new aR),i||nH(e)?i_(e,r,t,n,u,a):function(e,r,t,n,u,a,i){switch(t){case"[object DataView]":if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)break;e=e.buffer,r=r.buffer;case"[object ArrayBuffer]":if(e.byteLength!=r.byteLength||!a(new ia(e),new ia(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return nh(+e,+r);case"[object Error]":return e.name==r.name&&e.message==r.message;case"[object RegExp]":case"[object String]":return e==r+"";case"[object Map]":var o=iw;case"[object Set]":var s=1&n;if(o||(o=iF),e.size!=r.size&&!s)break;var d=i.get(e);if(d)return d==r;n|=2,i.set(e,r);var c=i_(o(e),o(r),n,u,a,i);return i.delete(e),c;case"[object Symbol]":if(ik)return ik.call(e)==ik.call(r)}return!1}(e,r,s,t,n,u,a);if(!(1&t)){var p=c&&iO.call(e,"__wrapped__"),g=f&&iO.call(r,"__wrapped__");if(p||g){var m=p?e.value():e,y=g?r.value():r;return a||(a=new aR),u(m,y,t,n,a)}}return!!l&&(a||(a=new aR),function(e,r,t,n,u,a){var i=1&t,o=aJ(e),s=o.length;if(s!=aJ(r).length&&!i)return!1;for(var d=s;d--;){var c=o[d];if(!(i?c in r:iP.call(r,c)))return!1}var f=a.get(e),l=a.get(r);if(f&&l)return f==r&&l==e;var p=!0;a.set(e,r),a.set(r,e);for(var g=i;++d<s;){var m=e[c=o[d]],y=r[c];if(n)var h=i?n(y,m,c,r,e,a):n(m,y,c,e,r,a);if(!(void 0===h?m===y||u(m,y,t,n,a):h)){p=!1;break}g||(g="constructor"==c)}if(p&&!g){var b=e.constructor,v=r.constructor;b!=v&&"constructor"in e&&"constructor"in r&&!("function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v)&&(p=!1)}return a.delete(e),a.delete(r),p}(e,r,t,n,u,a))}(e,r,t,n,iR,u):e!=e&&r!=r)}function iL(e,r,t,n){var u=t.length,a=u,i=!n;if(null==e)return!a;for(e=Object(e);u--;){var o=t[u];if(i&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++u<a;){var s=(o=t[u])[0],d=e[s],c=o[1];if(i&&o[2]){if(void 0===d&&!(s in e))return!1}else{var f=new aR;if(n)var l=n(d,c,s,e,r,f);if(!(void 0===l?iR(c,d,3,n,f):l))return!1}}return!0}function iN(e){for(var r=n1(e),t=r.length;t--;){var n=r[t],u=e[n];r[t]=[n,u,u==u&&!tu(u)]}return r}function iM(e,r){return function(t){return null!=t&&t[e]===r&&(void 0!==r||e in Object(t))}}function i$(e){var r=iN(e);return 1==r.length&&r[0][2]?iM(r[0][0],r[0][1]):function(t){return t===e||iL(t,e,r)}}function iz(e,r){return null!=e&&r in Object(e)}function iU(e,r,t){r=uh(r,e);for(var n=-1,u=r.length,a=!1;++n<u;){var i=uv(r[n]);if(!(a=null!=e&&t(e,i)))break;e=e[i]}return a||++n!=u?a:!!(u=null==e?0:e.length)&&nC(u)&&ni(i,u)&&(r3(e)||nO(e))}function iW(e,r){return null!=e&&iU(e,r,iz)}function iq(e,r){var t;return ur(e)&&(t=r)==t&&!tu(t)?iM(uv(e),r):function(t){var n=uE(t,e);return void 0===n&&n===r?iW(t,e):iR(r,n,3)}}function iV(e){return function(r){return null==r?void 0:r[e]}}function iZ(e){return ur(e)?iV(uv(e)):function(r){return ux(r,e)}}function iG(e){return"function"==typeof e?e:null==e?tg:"object"==typeof e?r3(e)?iq(e[0],e[1]):i$(e):iZ(e)}function iH(e,r,t){var n=t.length;if(null==e)return!n;for(e=Object(e);n--;){var u=t[n],a=r[u],i=e[u];if(void 0===i&&!(u in e)||!a(i))return!1}return!0}function iK(e,r,t,n){for(var u=-1,a=null==e?0:e.length;++u<a;){var i=e[u];r(n,i,t(i),e)}return n}function iJ(e){return function(r,t,n){for(var u=-1,a=Object(r),i=n(r),o=i.length;o--;){var s=i[e?o:++u];if(!1===t(a[s],s,a))break}return r}}var iX=iJ();function iY(e,r){return e&&iX(e,r,n1)}function iQ(e,r){return function(t,n){if(null==t)return t;if(!nS(t))return e(t,n);for(var u=t.length,a=r?u:-1,i=Object(t);(r?a--:++a<u)&&!1!==n(i[a],a,i););return t}}var i0=iQ(iY);function i1(e,r,t,n){return i0(e,function(e,u,a){r(n,e,t(e),a)}),n}function i2(e,r){return function(t,n){var u=r3(t)?iK:i1,a=r?r():{};return u(t,e,iG(n),a)}}var i3=Object.prototype.hasOwnProperty,i4=i2(function(e,r,t){i3.call(e,t)?++e[t]:ny(e,t,1)});function i5(e,r,t){var n=ng(e,8,void 0,void 0,void 0,void 0,void 0,r=t?void 0:r);return n.placeholder=i5.placeholder,n}function i8(e,r,t){var n=ng(e,16,void 0,void 0,void 0,void 0,void 0,r=t?void 0:r);return n.placeholder=i8.placeholder,n}i5.placeholder={},i8.placeholder={};var i6=function(){return rW.Date.now()},i9=Math.max,i7=Math.min;function oe(e,r,t){var n,u,a,i,o,s,d=0,c=!1,f=!1,l=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(r){var t=n,a=u;return n=u=void 0,d=r,i=e.apply(a,t)}function g(e){var t=e-s,n=e-d;return void 0===s||t>=r||t<0||f&&n>=a}function m(){var e,t,n,u=i6();if(g(u))return y(u);o=setTimeout(m,(e=u-s,t=u-d,n=r-e,f?i7(n,a-t):n))}function y(e){return(o=void 0,l&&n)?p(e):(n=u=void 0,i)}function h(){var e,t=i6(),a=g(t);if(n=arguments,u=this,s=t,a){if(void 0===o)return d=e=s,o=setTimeout(m,r),c?p(e):i;if(f)return clearTimeout(o),o=setTimeout(m,r),p(s)}return void 0===o&&(o=setTimeout(m,r)),i}return r=tc(r)||0,tu(t)&&(c=!!t.leading,a=(f="maxWait"in t)?i9(tc(t.maxWait)||0,r):a,l="trailing"in t?!!t.trailing:l),h.cancel=function(){void 0!==o&&clearTimeout(o),d=0,n=s=u=o=void 0},h.flush=function(){return void 0===o?i:y(i6())},h}var or=Object.prototype,ot=or.hasOwnProperty,on=nD(function(e,r){e=Object(e);var t=-1,n=r.length,u=n>2?r[2]:void 0;for(u&&n_(r[0],r[1],u)&&(n=1);++t<n;)for(var a=r[t],i=n5(a),o=-1,s=i.length;++o<s;){var d=i[o],c=e[d];(void 0===c||nh(c,or[d])&&!ot.call(e,d))&&(e[d]=a[d])}return e});function ou(e,r,t){(void 0===t||nh(e[r],t))&&(void 0!==t||r in e)||ny(e,r,t)}function oa(e){return rY(e)&&nS(e)}function oi(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}function oo(e){return nx(e,n5(e))}function os(e,r,t,n,u){e!==r&&iX(r,function(a,i){if(u||(u=new aR),tu(a))!function(e,r,t,n,u,a,i){var o=oi(e,t),s=oi(r,t),d=i.get(s);if(d){ou(e,t,d);return}var c=a?a(o,s,t+"",e,r,i):void 0,f=void 0===c;if(f){var l=r3(s),p=!l&&n$(s),g=!l&&!p&&nH(s);c=s,l||p||g?r3(o)?c=o:oa(o)?c=tZ(o):p?(f=!1,c=aU(s,!0)):g?(f=!1,c=ic(s,!0)):c=[]:uO(s)||nO(s)?(c=o,nO(o)?c=oo(o):(!tu(o)||tm(o))&&(c=il(s))):f=!1}f&&(i.set(s,c),u(c,s,n,a,i),i.delete(s)),ou(e,t,c)}(e,r,i,t,os,n,u);else{var o=n?n(oi(e,i),a,i+"",e,r,u):void 0;void 0===o&&(o=a),ou(e,i,o)}},n5)}function od(e,r,t,n,u,a){return tu(e)&&tu(r)&&(a.set(r,e),os(e,r,void 0,od,a),a.delete(r)),e}var oc=nw(function(e,r,t,n){os(e,r,t,n)}),of=nD(function(e){return e.push(void 0,od),tB(oc,void 0,e)});function ol(e,r,t){if("function"!=typeof e)throw TypeError("Expected a function");return setTimeout(function(){e.apply(void 0,t)},r)}var op=nD(function(e,r){return ol(e,1,r)}),og=nD(function(e,r,t){return ol(e,tc(r)||0,t)});function om(e,r,t){for(var n=-1,u=null==e?0:e.length;++n<u;)if(t(r,e[n]))return!0;return!1}function oy(e,r,t,n){var u=-1,a=ne,i=!0,o=e.length,s=[],d=r.length;if(!o)return s;t&&(r=r2(r,nU(t))),n?(a=om,i=!1):r.length>=200&&(a=iS,i=!1,r=new iD(r));e:for(;++u<o;){var c=e[u],f=null==t?c:t(c);if(c=n||0!==c?c:0,i&&f==f){for(var l=d;l--;)if(r[l]===f)continue e;s.push(c)}else a(r,f,n)||s.push(c)}return s}var oh=nD(function(e,r){return oa(e)?oy(e,u_(r,1,oa,!0)):[]});function ob(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}var ov=nD(function(e,r){var t=ob(r);return oa(t)&&(t=void 0),oa(e)?oy(e,u_(r,1,oa,!0),iG(t)):[]}),ox=nD(function(e,r){var t=ob(r);return oa(t)&&(t=void 0),oa(e)?oy(e,u_(r,1,oa,!0),void 0,t):[]}),oE=r9(function(e,r){return e/r},1);function oA(e,r,t,n){for(var u=e.length,a=n?u:-1;(n?a--:++a<u)&&r(e[a],a,e););return t?uU(e,n?0:a,n?a+1:u):uU(e,n?a+1:0,n?u:a)}function oD(e){return"function"==typeof e?e:tg}function oC(e,r){return(r3(e)?t8:i0)(e,oD(r))}var oS=iJ(!0);function o_(e,r){return e&&oS(e,r,n1)}var ow=iQ(o_,!0);function oF(e,r){return(r3(e)?function(e,r){for(var t=null==e?0:e.length;t--&&!1!==r(e[t],t,e););return e}:ow)(e,oD(r))}function oT(e){return function(r){var t,n,u=it(r);return"[object Map]"==u?iw(r):"[object Set]"==u?(t=-1,n=Array(r.size),r.forEach(function(e){n[++t]=[e,e]}),n):r2(e(r),function(e){return[e,r[e]]})}}var ok=oT(n1),oP=oT(n5),oI=u6({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),oB=/[&<>"']/g,oj=RegExp(oB.source);function oO(e){return(e=uy(e))&&oj.test(e)?e.replace(oB,oI):e}var oR=/[\\^$.*+?()[\]{}|]/g,oL=RegExp(oR.source);function oN(e,r){for(var t=-1,n=null==e?0:e.length;++t<n;)if(!r(e[t],t,e))return!1;return!0}function oM(e,r){var t=!0;return i0(e,function(e,n,u){return t=!!r(e,n,u)}),t}function o$(e){return e?aO(tp(e),0,4294967295):0}function oz(e,r){var t=[];return i0(e,function(e,n,u){r(e,n,u)&&t.push(e)}),t}function oU(e){return function(r,t,n){var u=Object(r);if(!nS(r)){var a=iG(t);r=n1(r),t=function(e){return a(u[e],e,u)}}var i=e(r,t,n);return i>-1?u[a?r[i]:i]:void 0}}var oW=Math.max;function oq(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=null==t?0:tp(t);return u<0&&(u=oW(n+u,0)),t6(e,iG(r),u)}var oV=oU(oq);function oZ(e,r,t){var n;return t(e,function(e,t,u){if(r(e,t,u))return n=t,!1}),n}var oG=Math.max,oH=Math.min;function oK(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=n-1;return void 0!==t&&(u=tp(t),u=t<0?oG(n+u,0):oH(u,n-1)),t6(e,iG(r),u,!0)}var oJ=oU(oK);function oX(e){return e&&e.length?e[0]:void 0}function oY(e,r){var t=-1,n=nS(e)?Array(e.length):[];return i0(e,function(e,u,a){n[++t]=r(e,u,a)}),n}function oQ(e,r){return(r3(e)?r2:oY)(e,iG(r))}var o0=1/0,o1=1/0,o2=ak("floor");function o3(e){return uF(function(r){var t=r.length,n=t,u=tV.prototype.thru;for(e&&r.reverse();n--;){var a=r[n];if("function"!=typeof a)throw TypeError("Expected a function");if(u&&!i&&"wrapper"==tq(a))var i=new tV([],!0)}for(n=i?n:t;++n<t;){var o=tq(a=r[n]),s="wrapper"==o?tz(a):void 0;i=s&&tJ(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?i[tq(s[0])].apply(i,s[3]):1==a.length&&tJ(a)?i[o]():i.thru(a)}return function(){var e=arguments,n=e[0];if(i&&1==e.length&&r3(n))return i.plant(n).value();for(var u=0,a=t?r[u].apply(this,e):n;++u<t;)a=r[u].call(this,a);return a}})}var o4=o3(),o5=o3(!0);function o8(e,r){return aW(r,function(r){return tm(e[r])})}var o6=Object.prototype.hasOwnProperty,o9=i2(function(e,r,t){o6.call(e,t)?e[t].push(r):ny(e,t,[r])});function o7(e,r){return e>r}function se(e){return function(r,t){return"string"==typeof r&&"string"==typeof t||(r=tc(r),t=tc(t)),e(r,t)}}var sr=se(o7),st=se(function(e,r){return e>=r}),sn=Object.prototype.hasOwnProperty;function su(e,r){return null!=e&&sn.call(e,r)}var sa=Math.max,si=Math.min;function so(e){return"string"==typeof e||!r3(e)&&rY(e)&&"[object String]"==rX(e)}function ss(e,r){return r2(r,function(r){return e[r]})}function sd(e){return null==e?[]:ss(e,n1(e))}var sc=Math.max,sf=Math.max,sl=Math.min;function sp(e,r,t){for(var n=t?om:ne,u=e[0].length,a=e.length,i=a,o=Array(a),s=1/0,d=[];i--;){var c=e[i];i&&r&&(c=r2(c,nU(r))),s=sl(c.length,s),o[i]=!t&&(r||u>=120&&c.length>=120)?new iD(i&&c):void 0}c=e[0];var f=-1,l=o[0];e:for(;++f<u&&d.length<s;){var p=c[f],g=r?r(p):p;if(p=t||0!==p?p:0,!(l?iS(l,g):n(d,g,t))){for(i=a;--i;){var m=o[i];if(!(m?iS(m,g):n(e[i],g,t)))continue e}l&&l.push(g),d.push(p)}}return d}function sg(e){return oa(e)?e:[]}var sm=nD(function(e){var r=r2(e,sg);return r.length&&r[0]===e[0]?sp(r):[]}),sy=nD(function(e){var r=ob(e),t=r2(e,sg);return r===ob(t)?r=void 0:t.pop(),t.length&&t[0]===e[0]?sp(t,iG(r)):[]}),sh=nD(function(e){var r=ob(e),t=r2(e,sg);return(r="function"==typeof r?r:void 0)&&t.pop(),t.length&&t[0]===e[0]?sp(t,void 0,r):[]});function sb(e,r){return function(t,n){var u,a;return u=r(n),a={},iY(t,function(r,t,n){e(a,u(r),t,n)}),a}}var sv=Object.prototype.toString,sx=sb(function(e,r,t){null!=r&&"function"!=typeof r.toString&&(r=sv.call(r)),e[r]=t},t3(tg)),sE=Object.prototype,sA=sE.hasOwnProperty,sD=sE.toString,sC=sb(function(e,r,t){null!=r&&"function"!=typeof r.toString&&(r=sD.call(r)),sA.call(e,r)?e[r].push(t):e[r]=[t]},iG);function sS(e,r){return r.length<2?e:ux(e,uU(r,0,-1))}function s_(e,r,t){r=uh(r,e);var n=null==(e=sS(e,r))?e:e[uv(ob(r))];return null==n?void 0:tB(n,e,t)}var sw=nD(s_),sF=nD(function(e,r,t){var n=-1,u="function"==typeof r,a=nS(e)?Array(e.length):[];return i0(e,function(e){a[++n]=u?tB(r,e,t):s_(e,r,t)}),a}),sT=nZ&&nZ.isArrayBuffer,sk=sT?nU(sT):function(e){return rY(e)&&"[object ArrayBuffer]"==rX(e)},sP=nZ&&nZ.isDate,sI=sP?nU(sP):function(e){return rY(e)&&"[object Date]"==rX(e)},sB=Object.prototype.hasOwnProperty,sj=rW.isFinite;function sO(e){return"number"==typeof e&&e==tp(e)}function sR(e){return"number"==typeof e||rY(e)&&"[object Number]"==rX(e)}var sL=ty?tm:nR,sN=nZ&&nZ.isRegExp,sM=sN?nU(sN):function(e){return rY(e)&&"[object RegExp]"==rX(e)},s$=Array.prototype.join,sz=a_(function(e,r,t){return e+(t?"-":"")+r.toLowerCase()}),sU=i2(function(e,r,t){ny(e,t,r)}),sW=Math.max,sq=Math.min,sV=a_(function(e,r,t){return e+(t?" ":"")+r.toLowerCase()}),sZ=u3("toLowerCase");function sG(e,r){return e<r}var sH=se(sG),sK=se(function(e,r){return e<=r});function sJ(e,r,t){for(var n=-1,u=e.length;++n<u;){var a=e[n],i=r(a);if(null!=i&&(void 0===o?i==i&&!rQ(i):t(i,o)))var o=i,s=a}return s}function sX(e,r){for(var t,n=-1,u=e.length;++n<u;){var a=r(e[n]);void 0!==a&&(t=void 0===t?a:t+a)}return t}var sY=0/0;function sQ(e,r){var t=null==e?0:e.length;return t?sX(e,r)/t:sY}var s0=nw(function(e,r,t){os(e,r,t)}),s1=nD(function(e,r){return function(t){return s_(t,e,r)}}),s2=nD(function(e,r){return function(t){return s_(e,t,r)}}),s3=r9(function(e,r){return e*r},1);function s4(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}var s5=rq?rq.iterator:void 0;function s8(e){if(!e)return[];if(nS(e))return so(e)?u2(e):tZ(e);if(s5&&e[s5])return function(e){for(var r,t=[];!(r=e.next()).done;)t.push(r.value);return t}(e[s5]());var r=it(e);return("[object Map]"==r?iw:"[object Set]"==r?iF:sd)(e)}function s6(){void 0===this.__values__&&(this.__values__=s8(this.value()));var e=this.__index__>=this.__values__.length,r=e?void 0:this.__values__[this.__index__++];return{done:e,value:r}}function s9(e,r){var t=e.length;if(t)return ni(r+=r<0?t:0,t)?e[r]:void 0}function s7(e,r){return r=uh(r,e),null==(e=sS(e,r))||delete e[uv(ob(r))]}function de(e){return uO(e)?void 0:e}var dr=uF(function(e,r){var t={};if(null==e)return t;var n=!1;r=r2(r,function(r){return r=uh(r,e),n||(n=r.length>1),r}),nx(e,aX(e),t),n&&(t=iE(t,7,de));for(var u=r.length;u--;)s7(t,r[u]);return t});function dt(e,r,t,n){if(!tu(e))return e;r=uh(r,e);for(var u=-1,a=r.length,i=a-1,o=e;null!=o&&++u<a;){var s=uv(r[u]),d=t;if("__proto__"===s||"constructor"===s||"prototype"===s)break;if(u!=i){var c=o[s];void 0===(d=n?n(c,s,o):void 0)&&(d=tu(c)?c:ni(r[u+1])?[]:{})}nv(o,s,d),o=o[s]}return e}function dn(e,r,t){for(var n=-1,u=r.length,a={};++n<u;){var i=r[n],o=ux(e,i);t(o,i)&&dt(a,uh(i,e),o)}return a}function du(e,r){if(null==e)return{};var t=r2(aX(e),function(e){return[e]});return r=iG(r),dn(e,t,function(e,t){return r(e,t[0])})}function da(e,r){if(e!==r){var t=void 0!==e,n=null===e,u=e==e,a=rQ(e),i=void 0!==r,o=null===r,s=r==r,d=rQ(r);if(!o&&!d&&!a&&e>r||a&&i&&s&&!o&&!d||n&&i&&s||!t&&s||!u)return 1;if(!n&&!a&&!d&&e<r||d&&t&&u&&!n&&!a||o&&t&&u||!i&&u||!s)return -1}return 0}function di(e,r,t){r=r.length?r2(r,function(e){return r3(e)?function(r){return ux(r,1===e.length?e[0]:e)}:e}):[tg];var n=-1;return r=r2(r,nU(iG)),function(e,r){var t=e.length;for(e.sort(r);t--;)e[t]=e[t].value;return e}(oY(e,function(e,t,u){return{criteria:r2(r,function(r){return r(e)}),index:++n,value:e}}),function(e,r){return function(e,r,t){for(var n=-1,u=e.criteria,a=r.criteria,i=u.length,o=t.length;++n<i;){var s=da(u[n],a[n]);if(s){if(n>=o)return s;return s*("desc"==t[n]?-1:1)}}return e.index-r.index}(e,r,t)})}function ds(e){return uF(function(r){return r=r2(r,nU(iG)),nD(function(t){var n=this;return e(r,function(e){return tB(e,n,t)})})})}var dd=ds(r2),dc=Math.min,df=nD(function(e,r){var t=(r=1==r.length&&r3(r[0])?r2(r[0],nU(iG)):r2(u_(r,1),nU(iG))).length;return nD(function(n){for(var u=-1,a=dc(n.length,t);++u<a;)n[u]=r[u].call(this,n[u]);return tB(e,this,n)})}),dl=ds(oN),dp=ds(iC),dg=Math.floor;function dm(e,r){var t="";if(!e||r<1||r>9007199254740991)return t;do r%2&&(t+=e),(r=dg(r/2))&&(e+=e);while(r);return t}var dy=iV("length"),dh="\ud800-\udfff",db="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",dv="\ud83c[\udffb-\udfff]",dx="[^"+dh+"]",dE="(?:\ud83c[\udde6-\uddff]){2}",dA="[\ud800-\udbff][\udc00-\udfff]",dD="(?:"+db+"|"+dv+")?",dC="[\\ufe0e\\ufe0f]?",dS="(?:\\u200d(?:"+[dx,dE,dA].join("|")+")"+dC+dD+")*",d_=RegExp(dv+"(?="+dv+")|(?:"+[dx+db+"?",db,dE,dA,"["+dh+"]"].join("|")+")"+(dC+dD+dS),"g");function dw(e){return uV(e)?function(e){for(var r=d_.lastIndex=0;d_.test(e);)++r;return r}(e):dy(e)}var dF=Math.ceil;function dT(e,r){var t=(r=void 0===r?" ":r6(r)).length;if(t<2)return t?dm(r,e):r;var n=dm(r,dF(e/dw(r)));return uV(r)?uW(u2(n),0,e).join(""):n.slice(0,e)}var dk=Math.ceil,dP=Math.floor,dI=/^\s+/,dB=rW.parseInt,dj=nD(function(e,r){var t=nd(r,nu(dj));return ng(e,32,void 0,r,t)});dj.placeholder={};var dO=nD(function(e,r){var t=nd(r,nu(dO));return ng(e,64,void 0,r,t)});dO.placeholder={};var dR=i2(function(e,r,t){e[t?0:1].push(r)},function(){return[[],[]]}),dL=uF(function(e,r){return null==e?{}:dn(e,r,function(r,t){return iW(e,t)})});function dN(e){for(var r,t=this;t instanceof tN;){var n=tG(t);n.__index__=0,n.__values__=void 0,r?u.__wrapped__=n:r=n;var u=n;t=t.__wrapped__}return u.__wrapped__=e,r}function dM(e,r,t,n){for(var u=t-1,a=e.length;++u<a;)if(n(e[u],r))return u;return -1}var d$=Array.prototype.splice;function dz(e,r,t,n){var u=n?dM:t7,a=-1,i=r.length,o=e;for(e===r&&(r=tZ(r)),t&&(o=r2(e,nU(t)));++a<i;)for(var s=0,d=r[a],c=t?t(d):d;(s=u(o,c,s,n))>-1;)o!==e&&d$.call(o,s,1),d$.call(e,s,1);return e}function dU(e,r){return e&&e.length&&r&&r.length?dz(e,r):e}var dW=nD(dU),dq=Array.prototype.splice;function dV(e,r){for(var t=e?r.length:0,n=t-1;t--;){var u=r[t];if(t==n||u!==a){var a=u;ni(u)?dq.call(e,u,1):s7(e,u)}}return e}var dZ=uF(function(e,r){var t=null==e?0:e.length,n=uA(e,r);return dV(e,r2(r,function(e){return ni(e,t)?+e:e}).sort(da)),n}),dG=Math.floor,dH=Math.random;function dK(e,r){return e+dG(dH()*(r-e+1))}var dJ=parseFloat,dX=Math.min,dY=Math.random,dQ=Math.ceil,d0=Math.max;function d1(e){return function(r,t,n){return n&&"number"!=typeof n&&n_(r,t,n)&&(t=n=void 0),r=tl(r),void 0===t?(t=r,r=0):t=tl(t),n=void 0===n?r<t?1:-1:tl(n),function(e,r,t,n){for(var u=-1,a=d0(dQ((r-e)/(t||1)),0),i=Array(a);a--;)i[n?a:++u]=e,e+=t;return i}(r,t,n,e)}}var d2=d1(),d3=d1(!0),d4=uF(function(e,r){return ng(e,256,void 0,void 0,void 0,r)});function d5(e,r,t,n,u){return u(e,function(e,u,a){t=n?(n=!1,e):r(t,e,u,a)}),t}function d8(e,r,t,n){var u=null==e?0:e.length;for(n&&u&&(t=e[--u]);u--;)t=r(t,e[u],u,e);return t}var d6=Array.prototype.reverse;function d9(e){return null==e?e:d6.call(e)}var d7=ak("round");function ce(e){var r=e.length;return r?e[dK(0,r-1)]:void 0}function cr(e,r){var t=-1,n=e.length,u=n-1;for(r=void 0===r?n:r;++t<r;){var a=dK(t,u),i=e[a];e[a]=e[t],e[t]=i}return e.length=r,e}var ct=a_(function(e,r,t){return e+(t?"_":"")+r.toLowerCase()});function cn(e,r){var t;return i0(e,function(e,n,u){return!(t=r(e,n,u))}),!!t}var cu=nD(function(e,r){if(null==e)return[];var t=r.length;return t>1&&n_(e,r[0],r[1])?r=[]:t>2&&n_(r[0],r[1],r[2])&&(r=[r[0]]),di(e,u_(r,1),[])}),ca=Math.floor,ci=Math.min;function co(e,r,t,n){var u=0,a=null==e?0:e.length;if(0===a)return 0;for(var i=(r=t(r))!=r,o=null===r,s=rQ(r),d=void 0===r;u<a;){var c=ca((u+a)/2),f=t(e[c]),l=void 0!==f,p=null===f,g=f==f,m=rQ(f);if(i)var y=n||g;else y=d?g&&(n||l):o?g&&l&&(n||!p):s?g&&l&&!p&&(n||!m):!p&&!m&&(n?f<=r:f<r);y?u=c+1:a=c}return ci(a,4294967294)}function cs(e,r,t){var n=0,u=null==e?n:e.length;if("number"==typeof r&&r==r&&u<=2147483647){for(;n<u;){var a=n+u>>>1,i=e[a];null!==i&&!rQ(i)&&(t?i<=r:i<r)?n=a+1:u=a}return u}return co(e,r,tg,t)}function cd(e,r){for(var t=-1,n=e.length,u=0,a=[];++t<n;){var i=e[t],o=r?r(i):i;if(!t||!nh(o,s)){var s=o;a[u++]=0===i?0:i}}return a}var cc=Math.max,cf=a_(function(e,r,t){return e+(t?" ":"")+u4(r)}),cl=r9(function(e,r){return e-r},0),cp=Object.prototype,cg=cp.hasOwnProperty;function cm(e,r,t,n){return void 0===e||nh(e,cp[t])&&!cg.call(n,t)?r:e}var cy={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function ch(e){return"\\"+cy[e]}var cb=/<%=([\s\S]+?)%>/g,cv={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:cb,variable:"",imports:{_:{escape:oO}}},cx=/\b__p \+= '';/g,cE=/\b(__p \+=) '' \+/g,cA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,cD=/[()=,{}\[\]\/\s]/,cC=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cS=/($^)/,c_=/['\n\r\u2028\u2029\\]/g,cw=Object.prototype.hasOwnProperty;function cF(e,r){return r(e)}var cT=Math.min;function ck(){return this}function cP(){var e,r,t;return e=this.__wrapped__,r=this.__actions__,(t=e)instanceof tM&&(t=t.value()),u8(r,function(e,r){return r.func.apply(r.thisArg,uD([e],r.args))},t)}function cI(e,r){for(var t=e.length;t--&&t7(r,e[t],0)>-1;);return t}function cB(e,r){for(var t=-1,n=e.length;++t<n&&t7(r,e[t],0)>-1;);return t}var cj=/^\s+/,cO=/\w*$/,cR=u6({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),cL=/&(?:amp|lt|gt|quot|#39);/g,cN=RegExp(cL.source),cM=a0&&1/iF(new a0([,-0]))[1]==1/0?function(e){return new a0(e)}:t$;function c$(e,r,t){var n=-1,u=ne,a=e.length,i=!0,o=[],s=o;if(t)i=!1,u=om;else if(a>=200){var d=r?null:cM(e);if(d)return iF(d);i=!1,u=iS,s=new iD}else s=r?[]:o;e:for(;++n<a;){var c=e[n],f=r?r(c):c;if(c=t||0!==c?c:0,i&&f==f){for(var l=s.length;l--;)if(s[l]===f)continue e;r&&s.push(f),o.push(c)}else u(s,f,t)||(s!==o&&s.push(f),o.push(c))}return o}var cz=nD(function(e){return c$(u_(e,1,oa,!0))}),cU=nD(function(e){var r=ob(e);return oa(r)&&(r=void 0),c$(u_(e,1,oa,!0),iG(r))}),cW=nD(function(e){var r=ob(e);return r="function"==typeof r?r:void 0,c$(u_(e,1,oa,!0),void 0,r)}),cq=0,cV=Math.max;function cZ(e){if(!(e&&e.length))return[];var r=0;return e=aW(e,function(e){if(oa(e))return r=cV(e.length,r),!0}),nk(r,function(r){return r2(e,iV(r))})}function cG(e,r){if(!(e&&e.length))return[];var t=cZ(e);return null==r?t:r2(t,function(e){return tB(r,void 0,e)})}function cH(e,r,t,n){return dt(e,r,t(ux(e,r)),n)}var cK=a_(function(e,r,t){return e+(t?" ":"")+r.toUpperCase()}),cJ=nD(function(e,r){return oa(e)?oy(e,r):[]}),cX=uF(function(e){var r=e.length,t=r?e[0]:0,n=this.__wrapped__,u=function(r){return uA(r,e)};return!(r>1)&&!this.__actions__.length&&n instanceof tM&&ni(t)?((n=n.slice(t,+t+(r?1:0))).__actions__.push({func:cF,args:[u],thisArg:void 0}),new tV(n,this.__chain__).thru(function(e){return r&&!e.length&&e.push(void 0),e})):this.thru(u)});function cY(e,r,t){var n=e.length;if(n<2)return n?c$(e[0]):[];for(var u=-1,a=Array(n);++u<n;)for(var i=e[u],o=-1;++o<n;)o!=u&&(a[u]=oy(a[u]||i,e[o],r,t));return c$(u_(a,1),r,t)}var cQ=nD(function(e){return cY(aW(e,oa))}),c0=nD(function(e){var r=ob(e);return oa(r)&&(r=void 0),cY(aW(e,oa),iG(r))}),c1=nD(function(e){var r=ob(e);return r="function"==typeof r?r:void 0,cY(aW(e,oa),void 0,r)}),c2=nD(cZ);function c3(e,r,t){for(var n=-1,u=e.length,a=r.length,i={};++n<u;){var o=n<a?r[n]:void 0;t(i,e[n],o)}return i}var c4=nD(function(e){var r=e.length,t=r>1?e[r-1]:void 0;return t="function"==typeof t?(e.pop(),t):void 0,cG(e,t)}),c5=ee(Object.freeze({__proto__:null,add:r7,after:function(e,r){if("function"!=typeof r)throw TypeError("Expected a function");return e=tp(e),function(){if(--e<1)return r.apply(this,arguments)}},ary:nm,assign:n3,assignIn:n8,assignInWith:n6,assignWith:n9,at:uT,attempt:uL,before:uN,bind:uM,bindAll:u$,bindKey:uz,camelCase:aw,capitalize:u5,castArray:function(){if(!arguments.length)return[];var e=arguments[0];return r3(e)?e:[e]},ceil:aP,chain:aI,chunk:function(e,r,t){r=(t?n_(e,r,t):void 0===r)?1:aj(tp(r),0);var n=null==e?0:e.length;if(!n||r<1)return[];for(var u=0,a=0,i=Array(aB(n/r));u<n;)i[a++]=uU(e,u,u+=r);return i},clamp:function(e,r,t){return void 0===t&&(t=r,r=void 0),void 0!==t&&(t=(t=tc(t))==t?t:0),void 0!==r&&(r=(r=tc(r))==r?r:0),aO(tc(e),r,t)},clone:function(e){return iE(e,4)},cloneDeep:function(e){return iE(e,5)},cloneDeepWith:function(e,r){return iE(e,5,r="function"==typeof r?r:void 0)},cloneWith:function(e,r){return iE(e,4,r="function"==typeof r?r:void 0)},commit:iA,compact:function(e){for(var r=-1,t=null==e?0:e.length,n=0,u=[];++r<t;){var a=e[r];a&&(u[n++]=a)}return u},concat:function(){var e=arguments.length;if(!e)return[];for(var r=Array(e-1),t=arguments[0],n=e;n--;)r[n-1]=arguments[n];return uD(r3(t)?tZ(t):[t],u_(r,1))},cond:function(e){var r=null==e?0:e.length;return e=r?r2(e,function(e){if("function"!=typeof e[1])throw TypeError("Expected a function");return[iG(e[0]),e[1]]}):[],nD(function(t){for(var n=-1;++n<r;){var u=e[n];if(tB(u[0],this,t))return tB(u[1],this,t)}})},conforms:function(e){var r,t;return t=n1(r=iE(e,1)),function(e){return iH(e,r,t)}},conformsTo:function(e,r){return null==r||iH(e,r,n1(r))},constant:t3,countBy:i4,create:function(e,r){var t=tP(e);return null==r?t:aL(t,r)},curry:i5,curryRight:i8,debounce:oe,deburr:ar,defaultTo:function(e,r){return null==e||e!=e?r:e},defaults:on,defaultsDeep:of,defer:op,delay:og,difference:oh,differenceBy:ov,differenceWith:ox,divide:oE,drop:function(e,r,t){var n=null==e?0:e.length;return n?uU(e,(r=t||void 0===r?1:tp(r))<0?0:r,n):[]},dropRight:function(e,r,t){var n=null==e?0:e.length;return n?uU(e,0,(r=n-(r=t||void 0===r?1:tp(r)))<0?0:r):[]},dropRightWhile:function(e,r){return e&&e.length?oA(e,iG(r),!0,!0):[]},dropWhile:function(e,r){return e&&e.length?oA(e,iG(r),!0):[]},each:oC,eachRight:oF,endsWith:function(e,r,t){e=uy(e),r=r6(r);var n=e.length,u=t=void 0===t?n:aO(tp(t),0,n);return(t-=r.length)>=0&&e.slice(t,u)==r},entries:ok,entriesIn:oP,eq:nh,escape:oO,escapeRegExp:function(e){return(e=uy(e))&&oL.test(e)?e.replace(oR,"\\$&"):e},every:function(e,r,t){var n=r3(e)?oN:oM;return t&&n_(e,r,t)&&(r=void 0),n(e,iG(r))},extend:n8,extendWith:n6,fill:function(e,r,t,n){var u=null==e?0:e.length;return u?(t&&"number"!=typeof t&&n_(e,r,t)&&(t=0,n=u),function(e,r,t,n){var u=e.length;for((t=tp(t))<0&&(t=-t>u?0:u+t),(n=void 0===n||n>u?u:tp(n))<0&&(n+=u),n=t>n?0:o$(n);t<n;)e[t++]=r;return e}(e,r,t,n)):[]},filter:function(e,r){return(r3(e)?aW:oz)(e,iG(r))},find:oV,findIndex:oq,findKey:function(e,r){return oZ(e,iG(r),iY)},findLast:oJ,findLastIndex:oK,findLastKey:function(e,r){return oZ(e,iG(r),o_)},first:oX,flatMap:function(e,r){return u_(oQ(e,r),1)},flatMapDeep:function(e,r){return u_(oQ(e,r),o0)},flatMapDepth:function(e,r,t){return t=void 0===t?1:tp(t),u_(oQ(e,r),t)},flatten:uw,flattenDeep:function(e){return(null==e?0:e.length)?u_(e,o1):[]},flattenDepth:function(e,r){return(null==e?0:e.length)?u_(e,r=void 0===r?1:tp(r)):[]},flip:function(e){return ng(e,512)},floor:o2,flow:o4,flowRight:o5,forEach:oC,forEachRight:oF,forIn:function(e,r){return null==e?e:iX(e,oD(r),n5)},forInRight:function(e,r){return null==e?e:oS(e,oD(r),n5)},forOwn:function(e,r){return e&&iY(e,oD(r))},forOwnRight:function(e,r){return e&&o_(e,oD(r))},fromPairs:function(e){for(var r=-1,t=null==e?0:e.length,n={};++r<t;){var u=e[r];n[u[0]]=u[1]}return n},functions:function(e){return null==e?[]:o8(e,n1(e))},functionsIn:function(e){return null==e?[]:o8(e,n5(e))},get:uE,groupBy:o9,gt:sr,gte:st,has:function(e,r){return null!=e&&iU(e,r,su)},hasIn:iW,head:oX,identity:tg,inRange:function(e,r,t){var n,u,a;return r=tl(r),void 0===t?(t=r,r=0):t=tl(t),(n=e=tc(e))>=si(u=r,a=t)&&n<sa(u,a)},includes:function(e,r,t,n){e=nS(e)?e:sd(e),t=t&&!n?tp(t):0;var u=e.length;return t<0&&(t=sc(u+t,0)),so(e)?t<=u&&e.indexOf(r,t)>-1:!!u&&t7(e,r,t)>-1},indexOf:function(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=null==t?0:tp(t);return u<0&&(u=sf(n+u,0)),t7(e,r,u)},initial:function(e){return(null==e?0:e.length)?uU(e,0,-1):[]},intersection:sm,intersectionBy:sy,intersectionWith:sh,invert:sx,invertBy:sC,invoke:sw,invokeMap:sF,isArguments:nO,isArray:r3,isArrayBuffer:sk,isArrayLike:nS,isArrayLikeObject:oa,isBoolean:function(e){return!0===e||!1===e||rY(e)&&"[object Boolean]"==rX(e)},isBuffer:n$,isDate:sI,isElement:function(e){return rY(e)&&1===e.nodeType&&!uO(e)},isEmpty:function(e){if(null==e)return!0;if(nS(e)&&(r3(e)||"string"==typeof e||"function"==typeof e.splice||n$(e)||nH(e)||nO(e)))return!e.length;var r=it(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(nT(e))return!n0(e).length;for(var t in e)if(sB.call(e,t))return!1;return!0},isEqual:function(e,r){return iR(e,r)},isEqualWith:function(e,r,t){var n=(t="function"==typeof t?t:void 0)?t(e,r):void 0;return void 0===n?iR(e,r,void 0,t):!!n},isError:uR,isFinite:function(e){return"number"==typeof e&&sj(e)},isFunction:tm,isInteger:sO,isLength:nC,isMap:ig,isMatch:function(e,r){return e===r||iL(e,r,iN(r))},isMatchWith:function(e,r,t){return t="function"==typeof t?t:void 0,iL(e,r,iN(r),t)},isNaN:function(e){return sR(e)&&e!=+e},isNative:function(e){if(sL(e))throw Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return tS(e)},isNil:function(e){return null==e},isNull:function(e){return null===e},isNumber:sR,isObject:tu,isObjectLike:rY,isPlainObject:uO,isRegExp:sM,isSafeInteger:function(e){return sO(e)&&e>=-9007199254740991&&e<=9007199254740991},isSet:iy,isString:so,isSymbol:rQ,isTypedArray:nH,isUndefined:function(e){return void 0===e},isWeakMap:function(e){return rY(e)&&"[object WeakMap]"==it(e)},isWeakSet:function(e){return rY(e)&&"[object WeakSet]"==rX(e)},iteratee:function(e){return iG("function"==typeof e?e:iE(e,1))},join:function(e,r){return null==e?"":s$.call(e,r)},kebabCase:sz,keyBy:sU,keys:n1,keysIn:n5,last:ob,lastIndexOf:function(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=n;return void 0!==t&&(u=(u=tp(t))<0?sW(n+u,0):sq(u,n-1)),r==r?function(e,r,t){for(var n=t+1;n--&&e[n]!==r;);return n}(e,r,u):t6(e,t9,u,!0)},lodash:tK,lowerCase:sV,lowerFirst:sZ,lt:sH,lte:sK,map:oQ,mapKeys:function(e,r){var t={};return r=iG(r),iY(e,function(e,n,u){ny(t,r(e,n,u),e)}),t},mapValues:function(e,r){var t={};return r=iG(r),iY(e,function(e,n,u){ny(t,n,r(e,n,u))}),t},matches:function(e){return i$(iE(e,1))},matchesProperty:function(e,r){return iq(e,iE(r,1))},max:function(e){return e&&e.length?sJ(e,tg,o7):void 0},maxBy:function(e,r){return e&&e.length?sJ(e,iG(r),o7):void 0},mean:function(e){return sQ(e,tg)},meanBy:function(e,r){return sQ(e,iG(r))},memoize:ul,merge:s0,mergeWith:oc,method:s1,methodOf:s2,min:function(e){return e&&e.length?sJ(e,tg,sG):void 0},minBy:function(e,r){return e&&e.length?sJ(e,iG(r),sG):void 0},mixin:function(e,r,t){var n=n1(r),u=o8(r,n),a=!(tu(t)&&"chain"in t)||!!t.chain,i=tm(e);return t8(u,function(t){var n=r[t];e[t]=n,i&&(e.prototype[t]=function(){var r=this.__chain__;if(a||r){var t=e(this.__wrapped__);return(t.__actions__=tZ(this.__actions__)).push({func:n,args:arguments,thisArg:e}),t.__chain__=r,t}return n.apply(e,uD([this.value()],arguments))})}),e},multiply:s3,negate:s4,next:s6,noop:t$,now:i6,nth:function(e,r){return e&&e.length?s9(e,tp(r)):void 0},nthArg:function(e){return e=tp(e),nD(function(r){return s9(r,e)})},omit:dr,omitBy:function(e,r){return du(e,s4(iG(r)))},once:function(e){return uN(2,e)},orderBy:function(e,r,t,n){return null==e?[]:(r3(r)||(r=null==r?[]:[r]),r3(t=n?void 0:t)||(t=null==t?[]:[t]),di(e,r,t))},over:dd,overArgs:df,overEvery:dl,overSome:dp,pad:function(e,r,t){e=uy(e);var n=(r=tp(r))?dw(e):0;if(!r||n>=r)return e;var u=(r-n)/2;return dT(dP(u),t)+e+dT(dk(u),t)},padEnd:function(e,r,t){e=uy(e);var n=(r=tp(r))?dw(e):0;return r&&n<r?e+dT(r-n,t):e},padStart:function(e,r,t){e=uy(e);var n=(r=tp(r))?dw(e):0;return r&&n<r?dT(r-n,t)+e:e},parseInt:function(e,r,t){return t||null==r?r=0:r&&(r=+r),dB(uy(e).replace(dI,""),r||0)},partial:dj,partialRight:dO,partition:dR,pick:dL,pickBy:du,plant:dN,property:iZ,propertyOf:function(e){return function(r){return null==e?void 0:ux(e,r)}},pull:dW,pullAll:dU,pullAllBy:function(e,r,t){return e&&e.length&&r&&r.length?dz(e,r,iG(t)):e},pullAllWith:function(e,r,t){return e&&e.length&&r&&r.length?dz(e,r,void 0,t):e},pullAt:dZ,random:function(e,r,t){if(t&&"boolean"!=typeof t&&n_(e,r,t)&&(r=t=void 0),void 0===t&&("boolean"==typeof r?(t=r,r=void 0):"boolean"==typeof e&&(t=e,e=void 0)),void 0===e&&void 0===r?(e=0,r=1):(e=tl(e),void 0===r?(r=e,e=0):r=tl(r)),e>r){var n=e;e=r,r=n}if(t||e%1||r%1){var u=dY();return dX(e+u*(r-e+dJ("1e-"+((u+"").length-1))),r)}return dK(e,r)},range:d2,rangeRight:d3,rearg:d4,reduce:function(e,r,t){var n=r3(e)?u8:d5,u=arguments.length<3;return n(e,iG(r),t,u,i0)},reduceRight:function(e,r,t){var n=r3(e)?d8:d5,u=arguments.length<3;return n(e,iG(r),t,u,ow)},reject:function(e,r){return(r3(e)?aW:oz)(e,s4(iG(r)))},remove:function(e,r){var t=[];if(!(e&&e.length))return t;var n=-1,u=[],a=e.length;for(r=iG(r);++n<a;){var i=e[n];r(i,n,e)&&(t.push(i),u.push(n))}return dV(e,u),t},repeat:function(e,r,t){return r=(t?n_(e,r,t):void 0===r)?1:tp(r),dm(uy(e),r)},replace:function(){var e=arguments,r=uy(e[0]);return e.length<3?r:r.replace(e[1],e[2])},rest:function(e,r){if("function"!=typeof e)throw TypeError("Expected a function");return nD(e,r=void 0===r?r:tp(r))},result:function(e,r,t){r=uh(r,e);var n=-1,u=r.length;for(u||(u=1,e=void 0);++n<u;){var a=null==e?void 0:e[uv(r[n])];void 0===a&&(n=u,a=t),e=tm(a)?a.call(e):a}return e},reverse:d9,round:d7,sample:function(e){return(r3(e)?ce:function(e){return ce(sd(e))})(e)},sampleSize:function(e,r,t){return r=(t?n_(e,r,t):void 0===r)?1:tp(r),(r3(e)?function(e,r){return cr(tZ(e),aO(r,0,e.length))}:function(e,r){var t=sd(e);return cr(t,aO(r,0,t.length))})(e,r)},set:function(e,r,t){return null==e?e:dt(e,r,t)},setWith:function(e,r,t,n){return n="function"==typeof n?n:void 0,null==e?e:dt(e,r,t,n)},shuffle:function(e){return(r3(e)?function(e){return cr(tZ(e))}:function(e){return cr(sd(e))})(e)},size:function(e){if(null==e)return 0;if(nS(e))return so(e)?dw(e):e.length;var r=it(e);return"[object Map]"==r||"[object Set]"==r?e.size:n0(e).length},slice:function(e,r,t){var n=null==e?0:e.length;return n?(t&&"number"!=typeof t&&n_(e,r,t)?(r=0,t=n):(r=null==r?0:tp(r),t=void 0===t?n:tp(t)),uU(e,r,t)):[]},snakeCase:ct,some:function(e,r,t){var n=r3(e)?iC:cn;return t&&n_(e,r,t)&&(r=void 0),n(e,iG(r))},sortBy:cu,sortedIndex:function(e,r){return cs(e,r)},sortedIndexBy:function(e,r,t){return co(e,r,iG(t))},sortedIndexOf:function(e,r){var t=null==e?0:e.length;if(t){var n=cs(e,r);if(n<t&&nh(e[n],r))return n}return -1},sortedLastIndex:function(e,r){return cs(e,r,!0)},sortedLastIndexBy:function(e,r,t){return co(e,r,iG(t),!0)},sortedLastIndexOf:function(e,r){if(null==e?0:e.length){var t=cs(e,r,!0)-1;if(nh(e[t],r))return t}return -1},sortedUniq:function(e){return e&&e.length?cd(e):[]},sortedUniqBy:function(e,r){return e&&e.length?cd(e,iG(r)):[]},split:function(e,r,t){return(t&&"number"!=typeof t&&n_(e,r,t)&&(r=t=void 0),t=void 0===t?4294967295:t>>>0)?(e=uy(e))&&("string"==typeof r||null!=r&&!sM(r))&&!(r=r6(r))&&uV(e)?uW(u2(e),0,t):e.split(r,t):[]},spread:function(e,r){if("function"!=typeof e)throw TypeError("Expected a function");return r=null==r?0:cc(tp(r),0),nD(function(t){var n=t[r],u=uW(t,0,r);return n&&uD(u,n),tB(e,this,u)})},startCase:cf,startsWith:function(e,r,t){return e=uy(e),t=null==t?0:aO(tp(t),0,e.length),r=r6(r),e.slice(t,t+r.length)==r},stubArray:aq,stubFalse:nR,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},subtract:cl,sum:function(e){return e&&e.length?sX(e,tg):0},sumBy:function(e,r){return e&&e.length?sX(e,iG(r)):0},tail:function(e){var r=null==e?0:e.length;return r?uU(e,1,r):[]},take:function(e,r,t){return e&&e.length?uU(e,0,(r=t||void 0===r?1:tp(r))<0?0:r):[]},takeRight:function(e,r,t){var n=null==e?0:e.length;return n?uU(e,(r=n-(r=t||void 0===r?1:tp(r)))<0?0:r,n):[]},takeRightWhile:function(e,r){return e&&e.length?oA(e,iG(r),!1,!0):[]},takeWhile:function(e,r){return e&&e.length?oA(e,iG(r)):[]},tap:function(e,r){return r(e),e},template:function(e,r,t){var n=cv.imports._.templateSettings||cv;t&&n_(e,r,t)&&(r=void 0),e=uy(e),r=n6({},r,n,cm);var u,a,i=n6({},r.imports,n.imports,cm),o=n1(i),s=ss(i,o),d=0,c=r.interpolate||cS,f="__p += '",l=RegExp((r.escape||cS).source+"|"+c.source+"|"+(c===cb?cC:cS).source+"|"+(r.evaluate||cS).source+"|$","g"),p=cw.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(l,function(r,t,n,i,o,s){return n||(n=i),f+=e.slice(d,s).replace(c_,ch),t&&(u=!0,f+="' +\n__e("+t+") +\n'"),o&&(a=!0,f+="';\n"+o+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),d=s+r.length,r}),f+="';\n";var g=cw.call(r,"variable")&&r.variable;if(g){if(cD.test(g))throw Error("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(cx,""):f).replace(cE,"$1").replace(cA,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=uL(function(){return Function(o,p+"return "+f).apply(void 0,s)});if(m.source=f,uR(m))throw m;return m},templateSettings:cv,throttle:function(e,r,t){var n=!0,u=!0;if("function"!=typeof e)throw TypeError("Expected a function");return tu(t)&&(n="leading"in t?!!t.leading:n,u="trailing"in t?!!t.trailing:u),oe(e,r,{leading:n,maxWait:r,trailing:u})},thru:cF,times:function(e,r){if((e=tp(e))<1||e>9007199254740991)return[];var t=4294967295,n=cT(e,4294967295);r=oD(r),e-=4294967295;for(var u=nk(n,r);++t<e;)r(t);return u},toArray:s8,toFinite:tl,toInteger:tp,toIterator:ck,toJSON:cP,toLength:o$,toLower:function(e){return uy(e).toLowerCase()},toNumber:tc,toPairs:ok,toPairsIn:oP,toPath:function(e){return r3(e)?r2(e,uv):rQ(e)?[e]:tZ(um(uy(e)))},toPlainObject:oo,toSafeInteger:function(e){return e?aO(tp(e),-9007199254740991,9007199254740991):0===e?e:0},toString:uy,toUpper:function(e){return uy(e).toUpperCase()},transform:function(e,r,t){var n=r3(e),u=n||n$(e)||nH(e);if(r=iG(r),null==t){var a=e&&e.constructor;t=u?n?new a:[]:tu(e)&&tm(a)?tP(uk(e)):{}}return(u?t8:iY)(e,function(e,n,u){return r(t,e,n,u)}),t},trim:function(e,r,t){if((e=uy(e))&&(t||void 0===r))return tn(e);if(!e||!(r=r6(r)))return e;var n=u2(e),u=u2(r),a=cB(n,u),i=cI(n,u)+1;return uW(n,a,i).join("")},trimEnd:function(e,r,t){if((e=uy(e))&&(t||void 0===r))return e.slice(0,tr(e)+1);if(!e||!(r=r6(r)))return e;var n=u2(e),u=cI(n,u2(r))+1;return uW(n,0,u).join("")},trimStart:function(e,r,t){if((e=uy(e))&&(t||void 0===r))return e.replace(cj,"");if(!e||!(r=r6(r)))return e;var n=u2(e),u=cB(n,u2(r));return uW(n,u).join("")},truncate:function(e,r){var t=30,n="...";if(tu(r)){var u="separator"in r?r.separator:u;t="length"in r?tp(r.length):t,n="omission"in r?r6(r.omission):n}var a=(e=uy(e)).length;if(uV(e)){var i=u2(e);a=i.length}if(t>=a)return e;var o=t-dw(n);if(o<1)return n;var s=i?uW(i,0,o).join(""):e.slice(0,o);if(void 0===u)return s+n;if(i&&(o+=s.length-o),sM(u)){if(e.slice(o).search(u)){var d,c=s;for(u.global||(u=RegExp(u.source,uy(cO.exec(u))+"g")),u.lastIndex=0;d=u.exec(c);)var f=d.index;s=s.slice(0,void 0===f?o:f)}}else if(e.indexOf(r6(u),o)!=o){var l=s.lastIndexOf(u);l>-1&&(s=s.slice(0,l))}return s+n},unary:function(e){return nm(e,1)},unescape:function(e){return(e=uy(e))&&cN.test(e)?e.replace(cL,cR):e},union:cz,unionBy:cU,unionWith:cW,uniq:function(e){return e&&e.length?c$(e):[]},uniqBy:function(e,r){return e&&e.length?c$(e,iG(r)):[]},uniqWith:function(e,r){return r="function"==typeof r?r:void 0,e&&e.length?c$(e,void 0,r):[]},uniqueId:function(e){var r=++cq;return uy(e)+r},unset:function(e,r){return null==e||s7(e,r)},unzip:cZ,unzipWith:cG,update:function(e,r,t){return null==e?e:cH(e,r,oD(t))},updateWith:function(e,r,t,n){return n="function"==typeof n?n:void 0,null==e?e:cH(e,r,oD(t),n)},upperCase:cK,upperFirst:u4,value:cP,valueOf:cP,values:sd,valuesIn:function(e){return null==e?[]:ss(e,n5(e))},without:cJ,words:aC,wrap:function(e,r){return dj(oD(r),e)},wrapperAt:cX,wrapperChain:function(){return aI(this)},wrapperCommit:iA,wrapperLodash:tK,wrapperNext:s6,wrapperPlant:dN,wrapperReverse:function(){var e=this.__wrapped__;if(e instanceof tM){var r=e;return this.__actions__.length&&(r=new tM(this)),(r=r.reverse()).__actions__.push({func:cF,args:[d9],thisArg:void 0}),new tV(r,this.__chain__)}return this.thru(d9)},wrapperToIterator:ck,wrapperValue:cP,xor:cQ,xorBy:c0,xorWith:c1,zip:c2,zipObject:function(e,r){return c3(e||[],r||[],nv)},zipObjectDeep:function(e,r){return c3(e||[],r||[],dt)},zipWith:c4}));const{pick:c8}=c5,{isCallExpression:c6}=rN,{isStringLiteral:c9}=rR,{isCallExpression:c7}=rN,{isLiteral:fe,isStringLiteral:fr,isNumberLiteral:ft,isBigIntLiteral:fn,isNullLiteral:fu,isRegexLiteral:fa}=rR,{isNewExpression:fi,isCallExpression:fo,isCallOrNewExpression:fs}=rN;var fd={isLiteral:fe,isStringLiteral:fr,isNumberLiteral:ft,isBigIntLiteral:fn,isNullLiteral:fu,isRegexLiteral:fa,isArrowFunctionBody:function(e){return"ArrowFunctionExpression"===e.parent.type&&e.parent.body===e},isCallExpression:fo,isCallOrNewExpression:fs,isEmptyNode:function e(r,t){let{type:n}=r;return"BlockStatement"===n?r.body.every(r=>e(r,t)):!!("EmptyStatement"===n||t?.(r))},isExpressionStatement:function(e){return"ExpressionStatement"===e.type||"ChainExpression"===e.type&&"ExpressionStatement"===e.parent.type},isFunction:function(e){return rM.includes(e.type)},isMemberExpression:r$,isMethodCall:function(e,r){"string"==typeof r&&(r={methods:[r]}),Array.isArray(r)&&(r={methods:r});let{optionalCall:t,optionalMember:n,method:u,methods:a}={method:"",methods:[],...r};return c6(e,{...c8(r,["argumentsLength","minimumArguments","maximumArguments","allowSpreadElement"]),optional:t})&&r$(e.callee,{...c8(r,["object","objects","computed"]),property:u,properties:a,optional:n})},isNewExpression:fi,isReferenceIdentifier:function(e,r=[]){if("Identifier"!==e.type)return!1;let t=Array.isArray(r)?r:[r];return(!(t.length>0)||!!t.includes(e.name))&&!function(e){let{parent:r}=e;switch(r.type){case"MemberExpression":return!r.computed&&r.property===e;case"FunctionDeclaration":case"FunctionExpression":return r.params.includes(e)||r.id===e;case"ArrowFunctionExpression":return r.params.includes(e);case"ClassDeclaration":case"ClassExpression":case"VariableDeclarator":case"TSDeclareFunction":case"TSEnumMember":return r.id===e;case"PropertyDefinition":case"MethodDefinition":return!r.computed&&r.key===e;case"Property":return!r.computed&&r.key===e&&("ObjectExpression"===r.parent.type||"ObjectPattern"===r.parent.type)&&r.parent.properties.includes(r)||r.value===e&&"ObjectPattern"===r.parent.type&&r.parent.properties.includes(r);case"ArrayPattern":return r.elements.includes(e);case"LabeledStatement":case"ContinueStatement":case"BreakStatement":return r.label===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":return r.local===e;case"ExportAllDeclaration":return r.exported===e;case"ImportSpecifier":return r.local===e||r.imported===e;case"ExportSpecifier":return r.local===e||r.exported===e;case"TSPropertySignature":return r.key===e}return!1}(e)},isStaticRequire:e=>c7(e,{name:"require",argumentsLength:1,optional:!1})&&c9(e.arguments[0]),isUndefined:function(e){return"Identifier"===e.type&&"undefined"===e.name},functionTypes:rM};const fc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",186:";",187:"=",188:",",189:"-",190:".",191:"/",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},{isNumberLiteral:ff}=fd,fl="prefer-keyboard-event-key",fp=new Set(["keyCode","charCode","which"]),fg=e=>e?.type==="CallExpression"&&"MemberExpression"===e.callee.type&&"addEventListener"===e.callee.property.name,fm=(e,r)=>{let t=fh(r,"CallExpression",fg),n=t?.arguments[1];switch(n?.type){case"ArrowFunctionExpression":case"FunctionExpression":{let r=e.sourceCode.getDeclaredVariables(n)[0],t=r?.references;return{event:n.params[0],references:t}}default:return{}}},fy=(e,r)=>e?.parent?.type==="MemberExpression"&&e.parent.object===r,fh=(e,r,t=()=>!0)=>{let n=e;for(;n;){if(n.type===r&&t(n))return n;n=n.parent}},fb=(e,r)=>{let t=e;for(;t&&r;)r--,t=t.parent;if(0===r)return t},fv=e=>r=>{let t=fb(e,3);if(!t||"IfStatement"!==t.type)return;let{type:n,operator:u,right:a}=t.test;if(!("BinaryExpression"===n&&("=="===u||"==="===u)&&ff(a)))return;let i=fc[a.value]||String.fromCodePoint(a.value);if(i)return[r.replaceText(e,"key"),r.replaceText(a,rj(i))]},fx=e=>({messageId:fl,data:{name:e.name},node:e,fix:fv(e)});var fE=Q({create:e=>({Identifier(r){if("keyCode"!==r.name&&"charCode"!==r.name&&"which"!==r.name)return;let{event:t,references:n}=fm(e,r);if(t&&n&&n.some(e=>fy(r,e.identifier)))return fx(r)},Property(r){let t=r.value.name;if(!fp.has(t))return;let{event:n,references:u}=fm(e,r);if(!n)return;let a=fh(r,"VariableDeclarator"),i=a?.init;if(u&&u.some(e=>e.identifier===i))return fx(r.value);let o="ObjectPattern"===n.type;if(o){for(let e of n.properties)if(e===r)return fx(r.value)}}}),meta:{type:"suggestion",docs:{description:"Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`."},fixable:"code",messages:{[fl]:"Use `.key` instead of `.{{name}}`."}}});const{isMemberExpression:fA}=fd,fD="error",fC="suggestion";var fS=Q({create:()=>({MemberExpression(e){if(!fA(e,{property:"innerText"}))return;let r=e.property;return{node:r,messageId:fD,suggest:[{messageId:fC,fix:e=>e.replaceText(r,"textContent")}]}},Identifier(e){if("innerText"===e.name&&"Property"===e.parent.type&&e.parent.key===e&&!e.parent.computed&&"init"===e.parent.kind&&"ObjectPattern"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent))return{node:e,messageId:fD,suggest:[{messageId:fC,fix:r=>r.replaceText(e,e.parent.shorthand?"textContent: innerText":"textContent")}]}}}),meta:{type:"suggestion",docs:{description:"Prefer `.textContent` over `.innerText`."},hasSuggestions:!0,messages:{[fD]:"Prefer `.textContent` over `.innerText`.",[fC]:"Switch to `.textContent`."}}}),f_=function*(e,r){yield e.insertTextBeforeRange(r,""),yield e.insertTextAfterRange(r,"")};const{isParenthesized:fw,isOpeningParenToken:fF,isClosingParenToken:fT}=ru;function fk(e,r){let t=0;for(;fw(t+1,e,r);)t++;return t}function fP(e,r){let t=fk(e,r);return 0===t?[]:[...r.getTokensBefore(e,{count:t,filter:fF}),...r.getTokensAfter(e,{count:t,filter:fT})]}function fI(e,r){let t=fP(e,r),[n]=(t[0]||e).range,[,u]=(t[t.length-1]||e).range;return[n,u]}var fB={isParenthesized:fw,getParenthesizedTimes:fk,getParentheses:fP,getParenthesizedRange:fI,getParenthesizedText:function(e,r){let[t,n]=fI(e,r);return r.text.slice(t,n)}};const{getParentheses:fj}=fB;var fO=function*(e,r,t){let n=fj(e,t);for(let e of n)yield r.remove(e)};const{isCommaToken:fR}=ru,{isCommaToken:fL}=ru,{getParentheses:fN}=fB,{getParenthesizedRange:fM}=fB,{isOpeningParenToken:f$,isClosingParenToken:fz}=ru;var fU=function(e,r){if(e.arguments.length>0)return!0;let[t,n]=r.getLastTokens(e,2);return f$(t)&&fz(n)&&e.callee.range[1]<e.range[1]},fW=function(e,r){return e.loc.start.line===r.loc.start.line};const{isSemicolonToken:fq}=ru;var fV=function*(e,r,t){if("ReturnStatement"!==r.type&&"ThrowStatement"!==r.type)return;let n=t.getFirstToken(r);yield e.insertTextAfter(n," (");let u=t.getLastToken(r);if(!fq(u)){yield e.insertTextAfter(r,")");return}yield e.insertTextBefore(u,")")},fZ=function(e,r,t){let n=e;"object"==typeof e&&Array.isArray(e.range)&&(n=e.range[1]);let u=r.text.slice(n),[a]=u.match(/^\s*/);return t.removeRange([n,n+a.length])};const{isParenthesized:fG}=fB;var fH=function*(e,r,t){let n=r.getFirstToken(e);yield t.remove(n),yield fZ(n,r,t),fU(e,r)||(yield t.insertTextAfter(e,"()")),fW(n,e.callee)||fG(e,r)||(yield*fV(t,e.parent,r))};const{isParenthesized:fK}=fB;var fJ=function*(e,r,t){var n;yield t.insertTextBefore(e,"new ");let{callee:u}=e;!fK(u,r)&&"MemberExpression"===(n=u).type&&function(e){let r=e.object,t=e.object.type;for(;"MemberExpression"===t;)t=(r=r.object).type;return"CallExpression"===t}(n)&&(yield t.insertTextBefore(u,"("),yield t.insertTextAfter(u,")"))};const{getParenthesizedRange:fX}=fB;var fY=function(e,r,t){let[,n]=fX(r.object,t),[,u]=r.range;return e.removeRange([n,u])};const{getParenthesizedRange:fQ}=fB;var f0=function*(e,r,t){let n=r.callee;yield fY(e,n,t);let[,u]=fQ(n,t),[,a]=r.range;yield e.removeRange([u,a])},f1=e=>"Property"===e.parent.type&&e.parent.shorthand&&e===e.parent.value,f2=(e,r)=>e&&r&&e.range[0]===r.range[0]&&e.range[1]===r.range[1];const f3=e=>"AssignmentPattern"===e.parent.type&&e.parent.left===e&&f1(e.parent),f4=e=>{let{type:r,local:t,imported:n}=e.parent;return"ImportSpecifier"===r&&f2(t,n)&&t===e},f5=e=>{let{type:r,local:t,exported:n}=e.parent;return"ExportSpecifier"===r&&f2(t,n)&&t===e};var f8=function(e,r,t){return f1(e)||f3(e)?t.replaceText(e,`${e.name}: ${r}`):f4(e)?t.replaceText(e,`${e.name} as ${r}`):f5(e)?t.replaceText(e,`${r} as ${e.name}`):e.typeAnnotation?t.replaceTextRange([e.range[0],e.typeAnnotation.range[0]],`${r}${e.optional?"?":""}`):t.replaceText(e,r)},f6=({identifiers:e,references:r})=>[...new Set([...e,...r.map(({identifier:e})=>e)])];const{getParentheses:f9}=fB;var f7=function* e(r,t,n,u,a=u){let i=f9(r,a);for(let r of i)yield*e(r,"",n,u,a);let[o,s]=r.range,d=u.text.slice(0,o),[c]=d.match(/\s*$/),[f]=c.match(/(?:\r?\n|\r){0,1}/);o-=c.length,yield n.replaceTextRange([o,s],`${f}${t}`)};const{getParenthesizedRange:le}=fB,lr=({type:e,value:r})=>"Keyword"===e&&/^[a-z]*$/.test(r)||"Identifier"===e&&"of"===r||"Identifier"===e&&"await"===r;var lt={extendFixRange:f_,removeParentheses:fO,appendArgument:function(e,r,t,n){if("CallExpression"!==r.type)throw Error(`Unexpected node "${r.type}".`);let[u,a]=n.getLastTokens(r,2);return r.arguments.length>0&&(t=fR(u)?` ${t},`:`, ${t}`),e.insertTextBefore(a,t)},removeArgument:function(e,r,t){let n=r.parent,u=n.arguments.indexOf(r),a=fN(r,t),i=a[0]||r,o=a[a.length-1]||r,[s]=i.range,[,d]=o.range;if(0!==u&&(s=t.getTokenBefore(i).range[0]),1===n.arguments.length){let e=t.getTokenBefore(o);fL(e)&&(d=e[1])}return e.replaceTextRange([s,d],"")},replaceArgument:function(e,r,t,n){return e.replaceTextRange(fM(r,n),t)},switchNewExpressionToCallExpression:fH,switchCallExpressionToNewExpression:fJ,removeMemberExpressionProperty:fY,removeMethodCall:f0,replaceTemplateElement:(e,r,t)=>{let{range:[n,u],tail:a}=r;return e.replaceTextRange([n+1,u-(a?1:2)],t)},replaceReferenceIdentifier:f8,renameVariable:(e,r,t)=>f6(e).map(e=>f8(e,r,t)),replaceNodeOrTokenAndSpacesBefore:f7,removeSpacesAfter:fZ,fixSpaceAroundKeyword:function*(e,r,t){let n=le(r,t),u=t.getTokenBefore({range:n},{includeComments:!0});u&&n[0]===u.range[1]&&lr(u)&&(yield e.insertTextAfter(u," "));let a=t.getTokenAfter({range:n},{includeComments:!0});a&&n[1]===a.range[0]&&lr(a)&&(yield e.insertTextBefore(a," "))},replaceStringLiteral:function(e,r,t,n,u){let a=r.range[0]+1,i=Number.isInteger(u)?n+a:a,o=Number.isInteger(u)?u+a:r.range[1]-1;return e.replaceTextRange([i,o],t)},addParenthesizesToReturnOrThrowExpression:fV};const{isMemberExpression:ln}=fd;function lu(e,r){let{object:t,property:n,properties:u}={property:"",properties:[],...r};if(!ln(e,{property:n,properties:u,optional:!1}))return;let a=e.object;return ln(a,{object:t,property:"prototype",optional:!1})||"Array"===t&&"ArrayExpression"===a.type&&0===a.elements.length||"Object"===t&&"ObjectExpression"===a.type&&0===a.properties.length}function la(e,r){let t=r.trim().split(".");for(let r=t.length-1;r>=0;r--){let n=t[r];if(!n)return!1;if(0===r)return"Identifier"===e.type&&e.name===n||"this"===n&&"ThisExpression"===e.type;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}}var li={isNodeMatchesNameOrPath:la,isNodeMatches:function(e,r){return r.some(r=>la(e,r))}},lo=e=>e?.type==="LogicalExpression"&&("&&"===e.operator||"||"===e.operator);const ls=e=>e?.type==="UnaryExpression"&&"!"===e.operator,ld=e=>ls(e.parent)&&e.parent.argument===e,lc=e=>lf(e.parent)&&e.parent.arguments[0]===e,lf=e=>e?.type==="CallExpression"&&"Identifier"===e.callee.type&&"Boolean"===e.callee.name&&1===e.arguments.length,ll=e=>e?.type==="VExpressionContainer"&&"VAttribute"===e.parent.type&&e.parent.directive&&e.parent.value===e&&"VDirectiveKey"===e.parent.key.type&&"VIdentifier"===e.parent.key.name.type&&("if"===e.parent.key.name.rawName||"else-if"===e.parent.key.name.rawName||"show"===e.parent.key.name.rawName);var lp={},lg={};Object.defineProperty(lg,"__esModule",{value:!0}),lg.isIdentifierChar=lD,lg.isIdentifierName=function(e){let r=!0;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if((64512&n)==55296&&t+1<e.length){let r=e.charCodeAt(++t);(64512&r)==56320&&(n=65536+((1023&n)<<10)+(1023&r))}if(r){if(r=!1,!lA(n))return!1}else if(!lD(n))return!1}return!r},lg.isIdentifierStart=lA;let lm="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ly="‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const lh=RegExp("["+lm+"]"),lb=RegExp("["+lm+ly+"]");lm=ly=null;const lv=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],lx=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function lE(e,r){let t=65536;for(let n=0,u=r.length;n<u&&!((t+=r[n])>e);n+=2)if((t+=r[n+1])>=e)return!0;return!1}function lA(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&lh.test(String.fromCharCode(e)):lE(e,lv)))}function lD(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&lb.test(String.fromCharCode(e)):lE(e,lv)||lE(e,lx))))}var lC={};Object.defineProperty(lC,"__esModule",{value:!0}),lC.isKeyword=function(e){return l_.has(e)},lC.isReservedWord=lT,lC.isStrictBindOnlyReservedWord=lP,lC.isStrictBindReservedWord=function(e,r){return lk(e,r)||lP(e)},lC.isStrictReservedWord=lk;const lS={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},l_=new Set(lS.keyword),lw=new Set(lS.strict),lF=new Set(lS.strictBind);function lT(e,r){return r&&"await"===e||"enum"===e}function lk(e,r){return lT(e,r)||lw.has(e)}function lP(e){return lF.has(e)}Object.defineProperty(lp,"__esModule",{value:!0}),Object.defineProperty(lp,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(lp,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(lp,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(lp,"isKeyword",{enumerable:!0,get:function(){return u.isKeyword}}),Object.defineProperty(lp,"isReservedWord",{enumerable:!0,get:function(){return u.isReservedWord}}),Object.defineProperty(lp,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return u.isStrictBindOnlyReservedWord}}),Object.defineProperty(lp,"isStrictBindReservedWord",{enumerable:!0,get:function(){return u.isStrictBindReservedWord}}),Object.defineProperty(lp,"isStrictReservedWord",{enumerable:!0,get:function(){return u.isStrictReservedWord}}),n=lg,u=lC;const lI=e=>[e,...e.childScopes.flatMap(e=>lI(e))];var lB=e=>[...new Set(lI(e).flatMap(({references:e})=>e))];const{isIdentifierName:lj,isStrictReservedWord:lO,isKeyword:lR}=lp,lL=(e,r)=>{for(;r;){let t=r.set.get(e);if(t)return t;r=r.upper}},lN=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with","as","implements","interface","let","package","private","protected","public","static","yield","any","boolean","constructor","declare","get","module","require","number","set","string","symbol","type","from","of"]),lM=e=>"string"==typeof e&&!lR(e)&&!lO(e,!0)&&lj(e)&&"arguments"!==e&&!lN.has(e),l$=(e,r)=>lB(r).some(({identifier:r,resolved:t})=>r?.name===e&&!t),lz=(e,r)=>!r.some(r=>lL(e,r)||l$(e,r)),lU=()=>!0;var lW=(e,r,t=lU)=>{if(lM(e)||lM(e+="_")){for(;!lz(e,r)||!t(e,r);)e+="_";return e}};const lq=e=>"MemberExpression"===e.type||"CallExpression"===e.type,{findVariable:lV}=ru,lZ=(e,r)=>{let{references:t=[]}=lV(e,r)||{};return t};var lG=e=>("AssignmentExpression"===e.parent.type||"AssignmentPattern"===e.parent.type)&&e.parent.left===e||"UpdateExpression"===e.parent.type&&e.parent.argument===e||"ArrayPattern"===e.parent.type&&e.parent.elements.includes(e)||"Property"===e.parent.type&&e.parent.value===e&&"ObjectPattern"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent)||"UnaryExpression"===e.parent.type&&"delete"===e.parent.operator&&e.parent.argument===e;const{isUndefined:lH}=fd,lK=new Set(["ArrayExpression","ArrowFunctionExpression","ClassExpression","FunctionExpression","Literal","ObjectExpression","TemplateLiteral"]),{isUndefined:lJ,isCallExpression:lX,isMethodCall:lY}=fd,lQ=new Set(["ArrayExpression","BinaryExpression","ClassExpression","Literal","ObjectExpression","TemplateLiteral","UnaryExpression","UpdateExpression"]),l0=new Set(["AssignmentExpression","AwaitExpression","LogicalExpression","NewExpression","TaggedTemplateExpression","ThisExpression"]),{getStaticValue:l1}=ru;function l2(e){let r;switch(e?.type){case"MemberExpression":r=e.property;break;case"ChainExpression":return l2(e.expression);case"Property":case"MethodDefinition":r=e.key}if(r){if("Identifier"===r.type&&!e.computed)return r.name;let t=l1(r);if(!t)return;return String(t.value)}}var l3=function e(r,t){if(r.type!==t.type)return"ChainExpression"===r.type?e(r.expression,t):"ChainExpression"===t.type&&e(r,t.expression);switch(r.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return r.name===t.name;case"Literal":return r.regex||t.regex?!!(r.regex&&t.regex&&r.regex.pattern===t.regex.pattern&&r.regex.flags===t.regex.flags):r.bigint||t.bigint?r.bigint===t.bigint:r.value===t.value;case"ChainExpression":return e(r.expression,t.expression);case"MemberExpression":{let n=l2(r);if(void 0!==n)return e(r.object,t.object)&&n===l2(t);return r.computed===t.computed&&e(r.object,t.object)&&e(r.property,t.property)}default:return!1}},l4=function(e,r){let t=function(e,r){let t=e.references.filter(e=>e.identifier===r);if(1===t.length)return t[0]}(e,r);return t?.resolved&&t.resolved.defs.length>0};const{isExpressionStatement:l5}=fd,l8=new Set(["String","Null","Boolean","Numeric","RegularExpression"]),l6=new Set(["[","(","/","`","+","-","*",",","."]);var l9=function(e,r,t){if(""===t||t&&!l6.has(t.charAt(0))||!e)return!1;let{type:n,value:u,range:a}=e,i=r.getNodeByRangeIndex(a[0]);if("Punctuator"===n){if(";"===u)return!1;if("]"===u)return!0;if(")"===u){switch(i.type){case"IfStatement":if(r.getTokenBefore(i.consequent)===e)return!1;break;case"ForStatement":case"ForInStatement":case"ForOfStatement":case"WhileStatement":case"DoWhileStatement":case"WithStatement":if(i.body&&r.getTokenBefore(i.body)===e)return!1}return!0}}return!!l8.has(n)||("Template"===n?u.endsWith("`"):"ObjectExpression"===i.type||"Identifier"===n&&("of"!==u||"ForOfStatement"!==i.type)&&("await"!==u||"AwaitExpression"!==i.type))};const{isNumberLiteral:l7,isBigIntLiteral:pe}=fd,pr=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,pt=e=>pr.test(e);var pn={isDecimalIntegerNode:e=>l7(e)&&pt(e.raw),isDecimalInteger:pt,isNumeric:e=>l7(e)||pe(e),isLegacyOctal:e=>l7(e)&&/^0\d+$/.test(e.raw),getPrefix:function(e){let r="",t=e;return/^0[box]/i.test(e)&&(r=e.slice(0,2),t=e.slice(2)),{prefix:r,data:t}},parseNumber:function(e){let{number:r,mark:t="",sign:n="",power:u=""}=e.match(/^(?<number>[\d._]*?)(?:(?<mark>[Ee])(?<sign>[+-])?(?<power>[\d_]+))?$/).groups;return{number:r,mark:t,sign:n,power:u}},parseFloatNumber:function(e){let r=e.split("."),[t,n=""]=r,u=2===r.length?".":"";return{integer:t,dot:u,fractional:n}}};const{isDecimalIntegerNode:pu}=pn;var pa=function(e,r){switch(e.type){case"Identifier":case"MemberExpression":case"CallExpression":case"ChainExpression":case"TemplateLiteral":case"ThisExpression":case"ArrayExpression":case"FunctionExpression":return!1;case"NewExpression":return!fU(e,r);case"Literal":if(pu(e))return!0;return!1;default:return!0}};const pi=new Set(["CallExpression","Identifier","Literal","MemberExpression","NewExpression","TemplateLiteral","ThisExpression"]);var po=e=>!pi.has(e.type),ps={exports:{}};ps.exports=function(){var e=[],r=[],t={},n={},u={};function a(e){return"string"==typeof e?RegExp("^"+e+"$","i"):e}function i(e,r){return e===r?r:e===e.toLowerCase()?r.toLowerCase():e===e.toUpperCase()?r.toUpperCase():e[0]===e[0].toUpperCase()?r.charAt(0).toUpperCase()+r.substr(1).toLowerCase():r.toLowerCase()}function o(e,r,n){if(!e.length||t.hasOwnProperty(e))return r;for(var u=n.length;u--;){var a=n[u];if(a[0].test(r))return function(e,r){return e.replace(r[0],function(t,n){var u,a,o=(u=r[1],a=arguments,u.replace(/\$(\d{1,2})/g,function(e,r){return a[r]||""}));return""===t?i(e[n-1],o):i(t,o)})}(r,a)}return r}function s(e,r,t){return function(n){var u=n.toLowerCase();return r.hasOwnProperty(u)?i(n,u):e.hasOwnProperty(u)?i(n,e[u]):o(u,n,t)}}function d(e,r,t,n){return function(n){var u=n.toLowerCase();return!!r.hasOwnProperty(u)||!e.hasOwnProperty(u)&&o(u,u,t)===u}}function c(e,r,t){var n=1===r?c.singular(e):c.plural(e);return(t?r+" ":"")+n}return c.plural=s(u,n,e),c.isPlural=d(u,n,e),c.singular=s(n,u,r),c.isSingular=d(n,u,r),c.addPluralRule=function(r,t){e.push([a(r),t])},c.addSingularRule=function(e,t){r.push([a(e),t])},c.addUncountableRule=function(e){if("string"==typeof e){t[e.toLowerCase()]=!0;return}c.addPluralRule(e,"$0"),c.addSingularRule(e,"$0")},c.addIrregularRule=function(e,r){r=r.toLowerCase(),u[e=e.toLowerCase()]=r,n[r]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return c.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return c.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return c.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(c.addUncountableRule),c}();var pd=ps.exports;const{singular:pc}=pd;var pf=function(e,r,t=0,n=0){let[u,a]=Array.isArray(e)?e:e.range;return{start:r.getLocFromIndex(u+t),end:r.getLocFromIndex(a+n)}};const{isParenthesized:pl,getParenthesizedTimes:pp,getParentheses:pg,getParenthesizedRange:pm,getParenthesizedText:py}=fB,{isArrayPrototypeProperty:ph,isObjectPrototypeProperty:pb}={isArrayPrototypeProperty:(e,r)=>lu(e,{...r,object:"Array"}),isObjectPrototypeProperty:(e,r)=>lu(e,{...r,object:"Object"})},{isNodeMatches:pv,isNodeMatchesNameOrPath:px}=li,{isBooleanNode:pE,getBooleanAncestor:pA}={isBooleanNode:function e(r){if(ls(r)||ld(r)||lf(r)||lc(r))return!0;let{parent:t}=r;return!!ll(t)||("IfStatement"===t.type||"ConditionalExpression"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"ForStatement"===t.type)&&t.test===r||!!lo(t)&&e(t)},getBooleanAncestor:function(e){let r=!1;for(;;)if(ld(e))r=!r,e=e.parent;else if(lc(e))e=e.parent;else break;return{node:e,isNegative:r}}};var pD={avoidCapture:lW,escapeString:rj,getBooleanAncestor:pA,getParentheses:pg,getParenthesizedRange:pm,getParenthesizedText:py,getParenthesizedTimes:pp,getReferences:lB,getScopes:lI,getVariableIdentifiers:f6,hasOptionalChainElement:function e(r){return!!lq(r)&&(!!r.optional||"MemberExpression"===r.type&&e(r.object))},isArrayPrototypeProperty:ph,isBooleanNode:pE,isFunctionSelfUsedInside:function(e,r){if(r.block!==e)throw Error('"functionScope" should be the scope of "functionNode".');let{type:t,id:n}=e;return"ArrowFunctionExpression"!==t&&(!!(r.thisFound||lZ(r,"arguments").some(({from:e})=>e===r))||!!n&&lZ(r,n).length>0)},isLeftHandSide:lG,isLogicalExpression:lo,isMethodNamed:(e,r)=>"CallExpression"===e.type&&"MemberExpression"===e.callee.type&&"Identifier"===e.callee.property.type&&e.callee.property.name===r,isNodeMatches:pv,isNodeMatchesNameOrPath:px,isNodeValueNotDomNode:e=>lK.has(e.type)||lH(e),isNodeValueNotFunction:e=>lQ.has(e.type)||l0.has(e.type)||lJ(e)||lX(e)&&!lY(e,{method:"bind",optionalCall:!1,optionalMember:!1}),isObjectPrototypeProperty:pb,isOnSameLine:fW,isParenthesized:pl,isSameIdentifier:(e,r)=>"Identifier"===e.type&&"Identifier"===r.type&&e.name===r.name,isSameReference:l3,isShadowed:l4,isValueNotUsable:e=>l5(e.parent),needsSemicolon:l9,shouldAddParenthesesToMemberExpressionObject:pa,shouldAddParenthesesToSpreadElementArgument:po,singular:e=>{let r=pc(e);if(r!==e)return r},toLocation:pf};const{appendArgument:pC}=lt,{isMethodCall:pS}=fd,{isArrayPrototypeProperty:p_}=pD,pw="require-array-join-separator";var pF=Q({create:e=>({CallExpression(r){if(!(pS(r,{method:"join",argumentsLength:0,optionalCall:!1})||pS(r,{method:"call",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&p_(r.callee.object,{property:"join"})))return;let{sourceCode:t}=e,[n,u]=t.getLastTokens(r,2),a=1===r.arguments.length;return{loc:{start:n.loc[a?"end":"start"],end:u.loc.end},messageId:pw,fix:e=>pC(e,r,"','",t)}}}),meta:{type:"suggestion",docs:{description:"Enforce using the separator argument with `Array#join()`."},fixable:"code",messages:{[pw]:"Missing the separator argument."}}});const{getStaticValue:pT,getPropertyName:pk}=ru,{isMethodCall:pP}=fd,pI="no-thenable-object",pB="no-thenable-export",pj="no-thenable-class",pO=(e,r)=>pT(e,r.sourceCode.getScope(e))?.value==="then",pR=[{selector:"ObjectExpression",*getNodes(e,r){for(let t of e.properties)"Property"===t.type&&"then"===pk(t,r.sourceCode.getScope(t))&&(yield t.key)},messageId:pI},{selectors:["PropertyDefinition","MethodDefinition"],*getNodes(e,r){"then"===pk(e,r.sourceCode.getScope(e))&&(yield e.key)},messageId:pj},{selector:"MemberExpression",*getNodes(e,r){"AssignmentExpression"===e.parent.type&&e.parent.left===e&&"then"===pk(e,r.sourceCode.getScope(e))&&(yield e.property)},messageId:pI},{selector:"CallExpression",*getNodes(e,r){if(!(pP(e,{objects:["Object","Reflect"],method:"defineProperty",minimumArguments:3,optionalCall:!1,optionalMember:!1})&&"SpreadElement"!==e.arguments[0].type))return;let[,t]=e.arguments;pO(t,r)&&(yield t)},messageId:pI},{selector:"CallExpression",*getNodes(e,r){if(pP(e,{object:"Object",method:"fromEntries",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&"ArrayExpression"===e.arguments[0].type){for(let t of e.arguments[0].elements)if(t?.type==="ArrayExpression"&&t.elements[0]&&"SpreadElement"!==t.elements[0].type){let[e]=t.elements;pO(e,r)&&(yield e)}}},messageId:pI},{selector:"Identifier",*getNodes(e){"then"===e.name&&"ExportSpecifier"===e.parent.type&&e.parent.exported===e&&(yield e)},messageId:pB},{selector:"Identifier",*getNodes(e){"then"===e.name&&("FunctionDeclaration"===e.parent.type||"ClassDeclaration"===e.parent.type)&&e.parent.id===e&&"ExportNamedDeclaration"===e.parent.parent.type&&e.parent.parent.declaration===e.parent&&(yield e)},messageId:pB},{selector:"VariableDeclaration",*getNodes(e,r){if("ExportNamedDeclaration"===e.parent.type&&e.parent.declaration===e)for(let t of r.sourceCode.getDeclaredVariables(e))"then"===t.name&&(yield*t.identifiers)},messageId:pB}];var pL=Q({create:e=>{for(let{selector:r,selectors:t,messageId:n,getNodes:u}of pR)e.on(r??t,function*(r){for(let t of u(r,e))yield{node:t,messageId:n}})},meta:{type:"problem",docs:{description:"Disallow `then` property."},messages:{[pI]:"Do not add `then` to an object.",[pB]:"Do not export `then`.",[pj]:"Do not add `then` to a class."}}});const{getFunctionHeadLocation:pN}=ru,{isMethodCall:pM}=fd,p$="no-invalid-remove-event-listener";var pz=Q({create:e=>({CallExpression(r){if(!(pM(r,{method:"removeEventListener",minimumArguments:2,optionalCall:!1,optionalMember:!1})&&"SpreadElement"!==r.arguments[0].type&&("FunctionExpression"===r.arguments[1].type||"ArrowFunctionExpression"===r.arguments[1].type||pM(r.arguments[1],{method:"bind",optionalCall:!1,optionalMember:!1}))))return;let[,t]=r.arguments;return["ArrowFunctionExpression","FunctionExpression"].includes(t.type)?{node:t,loc:pN(t,e.sourceCode),messageId:p$}:{node:t.callee.property,messageId:p$}}}),meta:{type:"problem",docs:{description:"Prevent calling `EventTarget#removeEventListener()` with the result of an expression."},messages:{[p$]:"The listener argument should be a function reference."}}});const{getFunctionHeadLocation:pU,getFunctionNameWithKind:pW}=ru,{getReferences:pq,isNodeMatches:pV}=pD,{functionTypes:pZ}=fd,pG="consistent-function-scoping",pH=(e,r)=>e&&r&&(e===r||e.block===r.block),pK=["useState","useEffect","useContext","useReducer","useCallback","useMemo","useRef","useImperativeHandle","useLayoutEffect","useDebugValue"].flatMap(e=>[e,`React.${e}`]),pJ=e=>e.block?.parent?.callee&&pV(e.block.parent.callee,pK),pX=e=>"function"===e.type&&e.block?.type==="ArrowFunctionExpression"&&(e.thisFound||e.childScopes.some(e=>pX(e))),pY=new Set(["FunctionExpression","ArrowFunctionExpression"]),pQ=e=>pY.has(e.type)&&"CallExpression"===e.parent.type&&e.parent.callee===e;var p0=Q({create:e=>{let{checkArrowFunctions:r}={checkArrowFunctions:!0,...e.options[0]},{sourceCode:t}=e,{scopeManager:n}=t,u=[];e.on(pZ,()=>{u.push(!1)}),e.on("JSXElement",()=>{u.length>0&&(u[u.length-1]=!0)}),e.onExit(pZ,e=>{let a=u.pop();if(!(a||"ArrowFunctionExpression"===e.type&&!r||function(e,r){let t=r.acquire(e);if(!t||pX(t))return!0;let n=e.parent;"VariableDeclarator"===n.type&&(n=n.parent),"VariableDeclaration"===n.type&&(n=n.parent),"BlockStatement"===n.type&&(n=n.parent);let u=r.acquire(n);return!!(!u||"global"===u.type||pJ(u)||pQ(n))||function(e,r,t){let n=e=>e.some(e=>{if(pH(r,e.from))return!0;let{resolved:t}=e,[n]=t.defs;return(n?.type!=="FunctionName"||t.name!==n.name.name)&&pH(r,t.scope)}),u=e=>e.some(e=>{let n=t.acquire(e.node);return pH(r,n)}),a=n=>n.some(n=>{if(!n.parent||"FunctionDeclaration"!==n.parent.type)return!1;let u=t.acquire(n);if(u)return!1;let a=t.acquire(n.parent);return!(!a||pH(e,a))&&pH(r,a.upper)});return pq(e).map(({resolved:e})=>e).filter(Boolean).some(e=>n(e.references)||u(e.defs)||a(e.identifiers))}(t,u,r)}(e,n)))return{node:e,loc:pU(e,t),messageId:pG,data:{functionNameWithKind:pW(e,t)}}})},meta:{type:"suggestion",docs:{description:"Move function definitions to the highest possible scope."},schema:[{type:"object",additionalProperties:!1,properties:{checkArrowFunctions:{type:"boolean",default:!0}}}],messages:{[pG]:"Move {{functionNameWithKind}} to the outer scope."}}});const{getStaticValue:p1}=ru,{isNumberLiteral:p2}=fd,p3=(e,r,t)=>"MemberExpression"===e.type&&!e.computed&&!e.optional&&"Identifier"===e.object.type&&e.object.name===r&&"Identifier"===e.property.type&&t.has(e.property.name),p4=(e,r)=>"CallExpression"===e.type&&!e.optional&&"Identifier"===e.callee.type&&e.callee.name===r,p5=new Set(["E","LN2","LN10","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"]),p8=e=>p3(e,"Math",p5),p6=new Set(["abs","acos","acosh","asin","asinh","atan","atanh","atan2","cbrt","ceil","clz32","cos","cosh","exp","expm1","floor","fround","hypot","imul","log","log1p","log10","log2","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc"]),p9=e=>"CallExpression"===e.type&&!e.optional&&p3(e.callee,"Math",p6),p7=e=>p4(e,"Number"),ge=new Set(["EPSILON","MAX_SAFE_INTEGER","MAX_VALUE","MIN_SAFE_INTEGER","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]),gr=e=>p3(e,"Number",ge),gt=new Set(["parseFloat","parseInt"]),gn=e=>"CallExpression"===e.type&&!e.optional&&p3(e.callee,"Number",gt),gu=e=>p4(e,"parseInt")||p4(e,"parseFloat"),ga=(e,r)=>"number"==typeof p1(e,r)?.value,gi=e=>"MemberExpression"===e.type&&!e.computed&&!e.optional&&"Identifier"===e.property.type&&"length"===e.property.name,go=new Set(["-","*","/","%","**","<<",">>","|","^","&"]);var gs=function e(r,t){if(p2(r)||p8(r)||p9(r)||p7(r)||gr(r)||gn(r)||gu(r)||gi(r))return!0;switch(r.type){case"AssignmentExpression":{let{operator:n}=r;if("="===n&&e(r.right,t))return!0}case"BinaryExpression":{let{operator:n}=r;if("AssignmentExpression"===r.type&&(n=n.slice(0,-1)),"+"===n&&e(r.left,t)&&e(r.right,t)||">>>"===n||go.has(n)&&(e(r.left,t)||e(r.right,t)))return!0;break}case"UnaryExpression":{let{operator:n}=r;if("+"===n||("-"===n||"~"===n)&&e(r.argument,t))return!0;break}case"UpdateExpression":if(e(r.argument,t))return!0;break;case"ConditionalExpression":{let n=e(r.consequent,t),u=e(r.alternate,t);if(n&&u)return!0;let a=p1(r.test,t);if(null!==a&&(a.value&&n||!a.value&&u))return!0;break}case"SequenceExpression":if(e(r.expressions[r.expressions.length-1],t))return!0}return ga(r,t)};const{getStaticValue:gd}=ru,{switchNewExpressionToCallExpression:gc}=lt,{isNewExpression:gf}=fd,gl="error",gp="error-unknown",gg="suggestion",gm=(e,r)=>{if(1!==e.length)return"from";let[t]=e;if("SpreadElement"===t.type)return;if("ArrayExpression"===t.type||"TemplateLiteral"===t.type)return"from";if(gs(t,r))return"alloc";let n=gd(t,r);if(n){let{value:e}=n;if("string"==typeof e||Array.isArray(e))return"from"}};function gy(e,r,t){return function*(n){yield n.insertTextAfter(e.callee,`.${t}`),yield*gc(e,r,n)}}var gh=Q({create:e=>{let{sourceCode:r}=e;return{NewExpression(e){if(!gf(e,{name:"Buffer"}))return;let t=gm(e.arguments,r.getScope(e));return t?{node:e,messageId:gl,data:{method:t},fix:gy(e,r,t)}:{node:e,messageId:gp,suggest:["from","alloc"].map(t=>({messageId:gg,data:{replacement:t},fix:gy(e,r,t)}))}}}},meta:{type:"problem",docs:{description:"Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`."},fixable:"code",hasSuggestions:!0,messages:{[gl]:"`new Buffer()` is deprecated, use `Buffer.{{method}}()` instead.",[gp]:"`new Buffer()` is deprecated, use `Buffer.alloc()` or `Buffer.from()` instead.",[gg]:"Switch to `Buffer.{{replacement}}()`."}}});const{isStringLiteral:gb,isMethodCall:gv}=fd,gx="no-console-spaces",gE=e=>e.length>1&&" "===e.charAt(0)&&" "!==e.charAt(1),gA=e=>e.length>1&&" "===e.charAt(e.length-1)&&" "!==e.charAt(e.length-2);var gD=Q({create:e=>{let{sourceCode:r}=e,t=(e,t,n)=>{let u="leading"===n?e.range[0]+1:e.range[1]-2,a=[u,u+1];return{loc:pf(a,r),messageId:gx,data:{method:t,position:n},fix:e=>e.removeRange(a)}};return{*CallExpression(e){if(!gv(e,{object:"console",methods:["log","debug","info","warn","error"],minimumArguments:1,optionalCall:!1,optionalMember:!1}))return;let n=e.callee.property.name,{arguments:u}=e,{length:a}=u;for(let[e,i]of u.entries()){if(!gb(i)&&"TemplateLiteral"!==i.type)continue;let u=r.getText(i).slice(1,-1);0!==e&&gE(u)&&(yield t(i,n,"leading")),e!==a-1&&gA(u)&&(yield t(i,n,"trailing"))}}}},meta:{type:"suggestion",docs:{description:"Do not use leading/trailing space between `console.log` parameters."},fixable:"code",messages:{[gx]:"Do not use {{position}} space between `console.{{method}}` parameters."}}});const{isEmptyNode:gC}=fd,gS="no-empty-file",g_=e=>"ExpressionStatement"===e.type&&"string"==typeof e.directive,gw=e=>gC(e,g_),gF=e=>"Line"===e.type&&e.value.startsWith("/"),gT=e=>e.some(e=>gF(e));var gk=Q({create:e=>{let r=e.physicalFilename;if(/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/i.test(r))return{Program(r){if(r.body.some(e=>!gw(e)))return;let{sourceCode:t}=e,n=t.getAllComments();if(!gT(n))return{node:r,messageId:gS}}}},meta:{type:"suggestion",docs:{description:"Disallow empty files."},messages:{[gS]:"Empty files are not allowed."}}});const{isParenthesized:gP,getParenthesizedRange:gI}=fB,{removeParentheses:gB}=lt,gj="no-useless-fallback-in-spread";var gO=Q({create:e=>({ObjectExpression(r){if(0===r.properties.length&&"LogicalExpression"===r.parent.type&&r.parent.right===r&&("||"===r.parent.operator||"??"===r.parent.operator)&&"SpreadElement"===r.parent.parent.type&&r.parent.parent.argument===r.parent&&"ObjectExpression"===r.parent.parent.parent.type&&r.parent.parent.parent.properties.includes(r.parent.parent))return{node:r,messageId:gj,*fix(t){let{sourceCode:n}=e,u=r.parent,{left:a}=u,i=gP(a,n),[,o]=i?gI(a,n):a.range,[,s]=u.range;yield t.removeRange([o,s]),(i||!po(a))&&(yield*gB(u,t,n))}}}}),meta:{type:"suggestion",docs:{description:"Disallow useless fallback when spreading in object literals."},fixable:"code",messages:{[gj]:"The empty object is useless."}}});const{isMethodCall:gR,isMemberExpression:gL}=fd,{getParenthesizedRange:gN,isSameReference:gM,isLogicalExpression:g$}=pD,gz=e=>"BinaryExpression"===e.type&&"Literal"===e.right.type&&"0"===e.right.raw&&gL(e.left,{property:"length",optional:!1})&&g$(e.parent);var gU=Q({create:e=>{let r=[],t=new Set,n=new Set,u=new Set,a=new Set;return{BinaryExpression(e){if(gz(e)){let{operator:r}=e;"==="===r?t.add(e):(">"===r||"!=="===r)&&n.add(e)}},CallExpression(e){gR(e,{optionalCall:!1,optionalMember:!1,computed:!1})&&"Identifier"===e.callee.property.type&&("some"===e.callee.property.name?u.add(e):"every"===e.callee.property.name&&a.add(e))},LogicalExpression(e){g$(e)&&r.push(e)},*"Program:exit"(){let i=new Set(r.flatMap(e=>(function(e){let{operator:r}=e;return(function e(r){return[r.left,r.right].flatMap(t=>"LogicalExpression"===t.type&&t.operator===r.operator?e(t):[t])})(e).filter((e,i,o)=>(function({node:e,operator:r,siblings:i}){return"||"===r&&t.has(e)&&i.some(r=>a.has(r)&&gM(e.left.object,r.callee.object))||"&&"===r&&n.has(e)&&i.some(r=>u.has(r)&&gM(e.left.object,r.callee.object))})({node:e,operator:r,siblings:[o[i-1],o[i+1]].filter(Boolean)}))})(e)));for(let r of i)yield{loc:{start:r.left.property.loc.start,end:r.loc.end},messageId:t.has(r)?"zero":"non-zero",fix(t){let{sourceCode:n}=e,{left:u,right:a}=r.parent,i=gN(u,n),o=gN(a,n),s=[];return u===r?(s[0]=i[0],s[1]=o[0]):(s[0]=i[1],s[1]=o[1]),t.removeRange(s)}}}}},meta:{type:"suggestion",docs:{description:"Disallow useless array length check."},fixable:"code",messages:{"non-zero":"The non-empty check is useless as `Array#some()` returns `false` for an empty array.",zero:"The empty check is useless as `Array#every()` returns `true` for an empty array."}}});const{getParenthesizedRange:gW}=pD,{isFunction:gq,isMethodCall:gV}=fd;var gZ=Q({create:e=>{let{sourceCode:r}=e;return{CallExpression(e){if(!(gV(e,{object:"Promise",methods:["resolve","reject"],optionalCall:!1,optionalMember:!1})&&("ArrowFunctionExpression"===e.parent.type&&e.parent.body===e||"ReturnStatement"===e.parent.type&&e.parent.argument===e||"YieldExpression"===e.parent.type&&!e.parent.delegate&&e.parent.argument===e)))return;let{functionNode:t,isInTryStatement:n}=function(e){let r,t=!1;for(;e;e=e.parent){if(gq(e)){r=e;break}"TryStatement"===e.type&&(t=!0)}return{functionNode:r,isInTryStatement:t}}(e);if(t&&(t.async||function(e){if("CallExpression"===e.parent.type&&"MemberExpression"===e.parent.callee.type&&!e.parent.callee.computed&&"Identifier"===e.parent.callee.property.type){let{callee:{property:r},arguments:t}=e.parent;if(1===t.length&&("then"===r.name||"catch"===r.name||"finally"===r.name)&&t[0]===e||2===t.length&&"then"===r.name&&(t[0]===e||"SpreadElement"!==t[0].type&&t[1]===e))return!0}return!1}(t)))return function(e,r){let{callee:t,parent:n}=e,u=t.property.name,a="YieldExpression"===n.type?"yield":"return";return{node:t,messageId:u,data:{type:a},fix:r}}(e,function(e,r,t){if(e.arguments.length>1)return;let{callee:n,parent:u,arguments:[a]}=e;if(a?.type==="SpreadElement")return;let i="reject"===n.property.name,o="YieldExpression"===u.type;if(!i||!r&&(!o||"ExpressionStatement"===u.parent.type))return function(r){let n="ArrowFunctionExpression"===u.type,s=a?t.getText(a):"";if(a?.type==="SequenceExpression"&&(s=`(${s})`),i){if(s=s||"undefined",s=`throw ${s}`,o)return r.replaceTextRange(gW(u,t),s);if(s+=";",n)return s=`{ ${s} }`,r.replaceTextRange(gW(e,t),s)}else o?s=`yield${s?" ":""}${s}`:"ReturnStatement"===u.type?s=`return${s?" ":""}${s};`:(a?.type==="ObjectExpression"&&(s=`(${s})`),s=s||"{}");return r.replaceText(n?e:u,s)}}(e,n,r))}}},meta:{type:"suggestion",docs:{description:"Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks"},fixable:"code",messages:{resolve:"Prefer `{{type}} value` over `{{type}} Promise.resolve(value)`.",reject:"Prefer `throw error` over `{{type}} Promise.reject(error)`."}}});const{isParenthesized:gG}=ru,{isDecimalInteger:gH}=pn,{fixSpaceAroundKeyword:gK}=lt,{isNumberLiteral:gJ}=fd,gX="zero-fraction",gY="dangling-dot";var gQ=Q({create:e=>({Literal(r){if(!gJ(r))return;let{raw:t}=r,n=t.match(/^(?<before>[\d_]*)(?<dotAndFractions>\.[\d_]*)(?<after>.*)$/);if(!n)return;let{before:u,dotAndFractions:a,after:i}=n.groups,o=a.replace(/[.0_]+$/g,""),s=(u+o||"0")+i;if(s===t)return;let d=r.range[0]+u.length+a.length,c=d-(t.length-s.length),{sourceCode:f}=e;return{loc:pf([c,d],f),messageId:"."===a?gY:gX,*fix(e){let t=s;"MemberExpression"===r.parent.type&&r.parent.object===r&&gH(s)&&!gG(r,f)&&(t=`(${t})`,l9(f.getTokenBefore(r),f,t)&&(t=`;${t}`)),yield e.replaceText(r,t),yield*gK(e,r,f)}}}}),meta:{type:"suggestion",docs:{description:"Disallow number literals with zero fractions or dangling dots."},fixable:"code",messages:{[gX]:"Don't use a zero fraction in the number.",[gY]:"Don't use a dangling dot in the number."}}});const{isCommaToken:g0,isOpeningBraceToken:g1,isClosingBraceToken:g2}=ru,{isStringLiteral:g3}=fd,g4="error",g5="suggestion",g8=Symbol.for("default"),g6=Symbol("NAMESPACE_SPECIFIER_NAME"),g9=e=>{switch(e.type){case"Identifier":return Symbol.for(e.name);case"Literal":return e.value}},g7=e=>"type"===e.exportKind||"type"===e.parent.exportKind,me=e=>"type"===e.importKind||"type"===e.parent.importKind;function*mr(e,r,t){switch(e.type){case"ImportSpecifier":case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":yield*function*(e,r,t){let{parent:n}=e,{specifiers:u}=n;if(1===u.length){yield*mr(n,r,t);return}switch(e.type){case"ImportSpecifier":{let n=u.some(r=>r!==e&&r.type===e.type);if(!n){let n=t.getTokenAfter(e,g2),u=t.getTokenBefore(e,g0);yield r.replaceTextRange([u.range[0],n.range[1]],"");return}}case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ImportDefaultSpecifier":{yield r.remove(e);let n=t.getTokenAfter(e);g0(n)&&(yield r.remove(n))}}}(e,r,t);return;case"ImportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":yield r.remove(e)}}function mt(e,r){let t=r.getTokenBefore(e.source,e=>"Identifier"===e.type&&"from"===e.value),[n]=t.range,[,u]=e.range;return r.text.slice(n,u)}var mn=Q({create:function(e){let{sourceCode:r}=e,{ignoreUsedVariables:t}={ignoreUsedVariables:!1,...e.options[0]},n=new Set,u=[];return{ImportDeclaration(e){e.specifiers.length>0&&n.add(e)},ExportNamedDeclaration(e){g3(e.source)&&u.push(e)},*"Program:exit"(e){for(let a of n){let n=r.getDeclaredVariables(a);if(n.some(e=>1!==e.defs.length||e.defs[0].parent!==a)||(n=n.map(e=>{let t=function(e,r){let t=e.defs[0].node,n={node:t,declaration:t.parent,variable:e,isTypeImport:me(t)};switch(t.type){case"ImportDefaultSpecifier":return{name:g8,text:"default",...n};case"ImportSpecifier":return{name:g9(t.imported),text:r.getText(t.imported),...n};case"ImportNamespaceSpecifier":return{name:g6,text:"*",...n}}}(e,r),n=function(e,r){let t=[];for(let{identifier:n}of e.variable.references){let u=function(e,r){let{parent:t}=e;switch(t.type){case"ExportDefaultDeclaration":return{node:t,name:g8,text:"default",isTypeExport:g7(t)};case"ExportSpecifier":return{node:t,name:g9(t.exported),text:r.getText(t.exported),isTypeExport:g7(t)};case"VariableDeclarator":if(t.init===e&&"Identifier"===t.id.type&&!t.id.typeAnnotation&&"VariableDeclaration"===t.parent.type&&"const"===t.parent.kind&&1===t.parent.declarations.length&&t.parent.declarations[0]===t&&"ExportNamedDeclaration"===t.parent.parent.type&&function(e,r){let t=r.getDeclaredVariables(e);if(1!==t.length)return!1;let[{identifiers:n,references:u}]=t;return 1===n.length&&n[0]===e.id&&1===u.length&&u[0].identifier===e.id}(t,r))return{node:t.parent.parent,name:Symbol.for(t.id.name),text:r.getText(t.id)}}}(n,r);u&&(e.name!==g6||u.name!==g8)&&t.push(u)}return t}(t,r);return{variable:e,imported:t,exports:n}}),t&&n.some(({variable:e,exports:r})=>e.references.length!==r.length)))continue;let i=t&&n.some(({variable:e})=>0===e.references.length);for(let{imported:t,exports:a}of n)for(let n of a){let a={node:n.node,messageId:g4,data:{exported:n.text}},o=function({sourceCode:e,imported:r,exported:t,exportDeclarations:n,program:u}){let a;let i=r.declaration,o=i.source,s=o.value,d=r.isTypeImport||t.isTypeExport;return d&&(a=n.find(({source:e,exportKind:r})=>e.value===s&&"type"===r)),a||(a=n.find(({source:e,exportKind:r})=>e.value===s&&"type"!==r)),function*(n){if(r.name===g6)yield n.insertTextAfter(u,`
2
2
  export * as ${t.text} ${mt(i,e)}`);else{let o=t.name===r.name?t.text:`${r.text} as ${t.text}`;if(d&&(!a||"type"!==a.exportKind)&&(o=`type ${o}`),a){let r=a.specifiers[a.specifiers.length-1];if(r)yield n.insertTextAfter(r,`, ${o}`);else{let r=e.getFirstToken(a,g1);yield n.insertTextAfter(r,o)}}else yield n.insertTextAfter(u,`
3
- export {${o}} ${mt(i,e)}`)}1===r.variable.references.length&&(yield*mr(r.node,n,e)),yield*mr(t.node,n,e)}}({sourceCode:r,imported:t,exported:n,exportDeclarations:u,program:e});i?a.suggest=[{messageId:g5,fix:o}]:a.fix=o,yield a}}}}},meta:{type:"suggestion",docs:{description:"Prefer `export…from` when re-exporting."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{ignoreUsedVariables:{type:"boolean",default:!1}}}],messages:{[g4]:"Use `export…from` to re-export `{{exported}}`.",[g5]:"Switch to `export…from`."}}});const{getFunctionHeadLocation:mu,getFunctionNameWithKind:ma}=ru,{functionTypes:mi}=fd,mo="prefer-native-coercion-functions",ms=new Set(["String","Number","BigInt","Boolean","Symbol"]),md=new Set(["every","filter","find","findLast","findIndex","findLastIndex","some"]),mc=(e,r)=>e?.type==="CallExpression"&&!e.optional&&"Identifier"===e.callee.type&&ms.has(e.callee.name)&&e.arguments[0]?.type==="Identifier"&&e.arguments[0].name===r,mf=e=>"ArrowFunctionExpression"===e.type&&"Identifier"===e.body.type&&e.body.name===e.params[0].name||"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&e.body.body[0].argument?.type==="Identifier"&&e.body.body[0].argument.name===e.params[0].name,ml=e=>mf(e)&&"CallExpression"===e.parent.type&&!e.parent.optional&&e.parent.arguments[0]===e&&"MemberExpression"===e.parent.callee.type&&!e.parent.callee.computed&&!e.parent.callee.optional&&"Identifier"===e.parent.callee.property.type&&md.has(e.parent.callee.property.name);var mp=Q({create:e=>{e.on(mi,r=>{if(r.async||r.generator||0===r.params.length||"Identifier"!==r.params[0].type||("MethodDefinition"===r.parent.type&&("constructor"===r.parent.kind||"set"===r.parent.kind)||"Property"===r.parent.type&&"set"===r.parent.kind)&&r.parent.value===r)return;let t=function(e){if(ml(e))return{replacementFunction:"Boolean",fix:r=>r.replaceText(e,"Boolean")}}(r)||function(e){let r=function(e){let r=e.params[0].name;return"ArrowFunctionExpression"===e.type&&mc(e.body,r)?e.body:"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&mc(e.body.body[0].argument,r)?e.body.body[0].argument:void 0}(e);if(!r)return;let{name:t}=r.callee,n={replacementFunction:t};return"FunctionDeclaration"===e.type||1!==r.arguments.length||(n.fix=r=>{let n=t;return"Property"===e.parent.type&&e.parent.method&&e.parent.value===e?n=`: ${n}`:"MethodDefinition"===e.parent.type&&(n=` = ${n};`),r.replaceText(e,n)}),n}(r);if(!t)return;let{sourceCode:n}=e,{replacementFunction:u,fix:a}=t;return t={node:r,loc:mu(r,n),messageId:mo,data:{functionNameWithKind:ma(r,n),replacementFunction:u}},!a||1!==r.params.length||n.getCommentsInside(r).length>0||(t.fix=a),t})},meta:{type:"suggestion",docs:{description:"Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly."},fixable:"code",messages:{[mo]:"{{functionNameWithKind}} is equivalent to `{{replacementFunction}}`. Use `{{replacementFunction}}` directly."}}});const{ReferenceTracker:mg}=ru,mm=(e,r)=>{let t={[r]:!0},n=e.split(".").reverse();for(let e of n)t={[e]:t};return t};let my=class{#e={};#r;#t;constructor({object:e,objects:r=[e],filter:t,handle:n,type:u=mg.READ}){for(let e of r)Object.assign(this.#e,mm(e,u));this.#r=t,this.#t=n}*track(e){let r=new mg(e);for(let e of r.iterateGlobalReferences(this.#e)){if(this.#r&&!this.#r(e))continue;let r=this.#t(e);r&&(r[Symbol.iterator]?yield*r:yield r)}}createListeners(e){return{"Program:exit":r=>this.track(e.sourceCode.getScope(r))}}};Object.assign(my,{READ:mg.READ,CALL:mg.CALL,CONSTRUCT:mg.CONSTRUCT});var mh={GlobalReferenceTracker:my};const{GlobalReferenceTracker:mb}=mh,mv="no-document-cookie",mx=new mb({object:"document.cookie",filter:({node:e})=>"AssignmentExpression"===e.parent.type&&e.parent.left===e,handle:({node:e})=>({node:e,messageId:mv})});var mE=Q({create:e=>mx.createListeners(e),meta:{type:"problem",docs:{description:"Do not use `document.cookie` directly."},messages:{[mv]:"Do not use `document.cookie` directly."}}});const mA=e=>[`webkit${e}`,`o${e.toLowerCase()}`,e.toLowerCase()];var mD=new Set(["click","rightclick","dblclick","auxclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","mousecancel","selectionchange","selectstart","wheel","keypress","keydown","keyup","blur","focus","deactivate","focusin","focusout","change","reset","select","submit","input","propertychange","dragstart","drag","dragenter","dragover","dragleave","drop","dragend","touchstart","touchmove","touchend","touchcancel","beforeunload","consolemessage","contextmenu","devicechange","devicemotion","deviceorientation","DOMContentLoaded","error","help","load","losecapture","orientationchange","readystatechange","resize","scroll","unload","canplay","canplaythrough","durationchange","emptied","ended","loadeddata","loadedmetadata","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","sourceopen","sourceended","sourceclosed","abort","update","updatestart","updateend","hashchange","pagehide","pageshow","popstate","copy","paste","cut","beforecopy","beforecut","beforepaste","online","offline","message","connect","install","activate","fetch","foreignfetch","messageerror","statechange","updatefound","controllerchange",...mA("AnimationStart"),...mA("AnimationEnd"),...mA("AnimationIteration"),...mA("TransitionEnd"),"pointerdown","pointerup","pointercancel","pointermove","pointerover","pointerout","pointerenter","pointerleave","gotpointercapture","lostpointercapture","MSGestureChange","MSGestureEnd","MSGestureHold","MSGestureStart","MSGestureTap","MSGotPointerCapture","MSInertiaStart","MSLostPointerCapture","MSPointerCancel","MSPointerDown","MSPointerEnter","MSPointerHover","MSPointerLeave","MSPointerMove","MSPointerOut","MSPointerOver","MSPointerUp","text","textinput","textInput","compositionstart","compositionupdate","compositionend","beforeinput","exit","loadabort","loadcommit","loadredirect","loadstart","loadstop","responsive","sizechanged","unresponsive","visibilitychange","storage","DOMSubtreeModified","DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMAttrModified","DOMCharacterDataModified","beforeprint","afterprint","beforeinstallprompt","appinstalled","afterblur","beforeblur","cancel","close","dragexit","encrypted","fullscreenchange","invalid","toggle","search","open","show"]);const{isParenthesized:mC}=ru,{isUndefined:mS,isNullLiteral:m_,isStaticRequire:mw}=fd,mF="prefer-add-event-listener",mT={beforeunload:"Use `event.preventDefault(); event.returnValue = 'foo'` to trigger the prompt.",message:"Note that there is difference between `SharedWorker#onmessage` and `SharedWorker#addEventListener('message')`.",error:"Note that there is difference between `{window,element}.onerror` and `{window,element}.addEventListener('error')`."},mk=e=>e.property.name,mP=e=>e.slice(2),mI=(e,r,t,n)=>{let u=mP(mk(n)),a=r.getText(n.object);mC(n.object,r)&&(a=`(${a})`);let i=r.getText(t.right);mC(t.right,r)&&(i=`(${i})`);let o=`${a}.addEventListener('${u}', ${i})`;return e.replaceText(t,o)},mj=(e,r)=>("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type)&&"BlockStatement"===e.body.type&&!r.get(e),mB=e=>mS(e)||m_(e);var mO=Q({create:e=>{let r,t;let n=e.options[0]||{},u=new Set(n.excludedPackages||["koa","sax"]),a=new WeakMap;return{onCodePathStart(e,r){t={node:r,upper:t,returnsSomething:!1}},onCodePathEnd(){a.set(t.node,t.returnsSomething),t=t.upper},CallExpression(e){mw(e)&&!r&&u.has(e.arguments[0].value)&&(r=!0)},Literal(e){"ImportDeclaration"===e.parent.type&&!r&&u.has(e.value)&&(r=!0)},ReturnStatement(e){t.returnsSomething=t.returnsSomething||!!e.argument},"AssignmentExpression:exit"(t){let n;if(r)return;let{left:u,right:i,operator:o}=t;if("MemberExpression"!==u.type||u.computed)return;let s=mk(u);if(!s||!s.startsWith("on"))return;let d=mP(s);if(!mD.has(d))return;let c="addEventListener",f="";return mB(i)?c="removeEventListener":"beforeunload"!==d||mj(i,a)?"message"===d?f=mT.message:"error"===d?f=mT.error:"="===o&&"ExpressionStatement"===t.parent.type&&t.parent.expression===t&&(n=r=>mI(r,e.sourceCode,t,u)):f=mT.beforeunload,{node:u.property,messageId:mF,data:{replacement:c,method:s,extra:f?` ${f}`:""},fix:n}}}},meta:{type:"suggestion",docs:{description:"Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{excludedPackages:{type:"array",items:{type:"string"},uniqueItems:!0}}}],messages:{[mF]:"Prefer `{{replacement}}` over `{{method}}`.{{extra}}"}}});const{hasSideEffect:mR,isParenthesized:mN,findVariable:mL}=ru,{isMethodCall:mM}=fd,{isSameIdentifier:m$,isFunctionSelfUsedInside:mz}=pD,mU=(e,r)=>"BinaryExpression"===e.type&&"==="===e.operator&&(m$(e.left,r)||m$(e.right,r)),mW=e=>"ArrowFunctionExpression"===e.type&&!e.async&&1===e.params.length&&mU(e.body,e.params[0])||("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type)&&!e.async&&!e.generator&&1===e.params.length&&"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&mU(e.body.body[0].argument,e.params[0]),mq=({type:e,name:r},t)=>"Identifier"===e&&r===t,mV=function({method:e,replacement:r}){let t=`prefer-${r}-over-${e}/`,n=`${t}error`,u=`${t}suggestion`,a={findIndex:"Use `.indexOf()` instead of `.findIndex()` when looking for the index of an item.",findLastIndex:"Use `.lastIndexOf()` instead of `findLastIndex() when looking for the index of an item.`",some:`Use \`.${r}()\` instead of \`.${e}()\` when checking value existence.`},i={[n]:a[e],[u]:`Replace \`.${e}()\` with \`.${r}()\`.`};return{messages:i,listen:function(t){let{sourceCode:a}=t,{scopeManager:i}=a;t.on("CallExpression",t=>{let o,s;if(!mM(t,{method:e,argumentsLength:1,optionalCall:!1,optionalMember:!1})||!mW(t.arguments[0]))return;let[d]=t.arguments,c="BinaryExpression"===d.body.type?d.body:d.body.body[0].argument,[f]=d.params,{left:l,right:p}=c,{name:g}=f;if(mq(l,g))o=p,s=l;else{if(!mq(p,g))return;o=l,s=p}let m=i.acquire(d);if(mL(m,f).references.some(({identifier:e})=>e!==s)||mz(d,m))return;let y=t.callee.property,h={node:y,messageId:n,suggest:[]},b=function*(e){let t=a.getText(o);mN(o,a)&&!mN(d,a)&&(t=`(${t})`),yield e.replaceText(y,r),yield e.replaceText(d,t)};return mR(o,a)?h.suggest.push({messageId:u,fix:b}):h.fix=b,h})}}},mZ=mV({method:"findIndex",replacement:"indexOf"}),mG=mV({method:"findLastIndex",replacement:"lastIndexOf"});var mH=Q({create(e){mZ.listen(e),mG.listen(e)},meta:{type:"suggestion",docs:{description:"Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item."},fixable:"code",hasSuggestions:!0,messages:{...mZ.messages,...mG.messages}}});const{isMethodCall:mK}=fd,mJ="error";var mX=Q({create:()=>({CallExpression(e){if(!mK(e,{methods:["readAsText","readAsArrayBuffer"],argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let r=e.callee.property,t=r.name;return{node:r,messageId:mJ,data:{method:t,replacement:"readAsArrayBuffer"===t?"arrayBuffer":"text"}}}}),meta:{type:"suggestion",docs:{description:"Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`."},messages:{[mJ]:"Prefer `Blob#{{replacement}}()` over `FileReader#{{method}}(blob)`."}}});const{isMethodCall:mY,isCallExpression:mQ,isNewExpression:m0}=fd,{fixSpaceAroundKeyword:m1}=lt,m2="prefer-date",m3="prefer-date-now-over-methods",m4="prefer-date-now-over-number-data-object",m5=e=>m0(e,{name:"Date",argumentsLength:0}),m8=(e,r,t)=>({node:e,messageId:m2,*fix(r){yield r.replaceText(e,"Date.now()"),"UnaryExpression"===e.type&&(yield*m1(r,e,t))},...r});var m6=Q({create:e=>({CallExpression(e){if(mY(e,{methods:["getTime","valueOf"],argumentsLength:0,optionalCall:!1,optionalMember:!1})&&m5(e.callee.object)){let r=e.callee.property;return m8(e,{node:r,messageId:m3,data:{method:r.name}})}if(mQ(e,{names:["Number","BigInt"],argumentsLength:1,optional:!1})&&m5(e.arguments[0])){let{name:r}=e.callee;return"Number"===r?m8(e,{messageId:m4}):m8(e.arguments[0])}},UnaryExpression(r){if(("+"===r.operator||"-"===r.operator)&&m5(r.argument))return m8("-"===r.operator?r.argument:r,{},e.sourceCode)},AssignmentExpression(e){if(("-="===e.operator||"*="===e.operator||"/="===e.operator||"%="===e.operator||"**="===e.operator)&&m5(e.right))return m8(e.right)},*BinaryExpression(e){if("-"===e.operator||"*"===e.operator||"/"===e.operator||"%"===e.operator||"**"===e.operator)for(let r of[e.left,e.right])m5(r)&&(yield m8(r))}}),meta:{type:"suggestion",docs:{description:"Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch."},fixable:"code",messages:{[m2]:"Prefer `Date.now()` over `new Date()`.",[m3]:"Prefer `Date.now()` over `Date#{{method}}()`.",[m4]:"Prefer `Date.now()` over `Number(new Date())`."}}});const{isIdentifierName:m9}=lp,{escapeString:m7,hasOptionalChainElement:ye,isValueNotUsable:yr}=pD,{isMethodCall:yt,isStringLiteral:yn,isExpressionStatement:yu}=fd,ya="prefer-dom-node-dataset",yi=e=>e.replace(/-[a-z]/g,e=>e[1].toUpperCase());var yo=Q({create:e=>({CallExpression(r){if(!((yt(r,{method:"setAttribute",argumentsLength:2,optionalCall:!1,optionalMember:!1})||yt(r,{methods:["getAttribute","removeAttribute","hasAttribute"],argumentsLength:1,optionalCall:!1,optionalMember:!1}))&&yn(r.arguments[0])))return;let t=r.arguments[0].value.toLowerCase();if(t.startsWith("data-"))return{node:r,messageId:ya,data:{method:r.callee.property.name},fix:function(e,r){let t=e.callee.property.name;if(!("setAttribute"===t&&ye(e.callee))&&("setAttribute"!==t||yr(e))&&("removeAttribute"!==t||yu(e.parent)))return n=>{let[u]=e.arguments,a=yi(u.value.toLowerCase().slice(5)),{sourceCode:i}=r,o="",s=`${i.getText(e.callee.object)}.dataset`;switch(t){case"setAttribute":case"getAttribute":case"removeAttribute":o=m9(a)?`.${a}`:`[${m7(a,u.raw.charAt(0))}]`,o=`${s}${o}`,"setAttribute"===t?o+=` = ${i.getText(e.arguments[1])}`:"removeAttribute"===t&&(o=`delete ${o}`);break;case"hasAttribute":o=`Object.hasOwn(${s}, ${m7(a,u.raw.charAt(0))})`}return n.replaceText(e,o)}}(r,e)}}}),meta:{type:"suggestion",docs:{description:"Prefer using `.dataset` on DOM elements over calling attribute methods."},fixable:"code",messages:{[ya]:"Prefer `.dataset` over `{{method}}(…)`."}}});const{getParenthesizedText:ys,getParenthesizedRange:yd,isSameReference:yc}=pD,{isLiteral:yf,isMethodCall:yl}=fd,{replaceNodeOrTokenAndSpacesBefore:yp,removeParentheses:yg}=lt,ym="prefer-modern-math-apis",yy=(e,r)=>"MemberExpression"===e.type&&!e.optional&&!e.computed&&"Identifier"===e.object.type&&"Math"===e.object.name&&"Identifier"===e.property.type&&e.property.name===r,yh=(e,r)=>"CallExpression"===e.type&&!e.optional&&yy(e.callee,r)&&1===e.arguments.length&&"SpreadElement"!==e.arguments[0].type;function yb({constantName:e,replacementMethod:r}){let t=`Math.${r}(…)`;return function(n,u){let a,i;if(!("BinaryExpression"===n.type&&"*"===n.operator)||(yh(n.left,"log")&&yy(n.right,e)?(a=n.left,i=`Math.log(…) * Math.${e}`):yh(n.right,"log")&&yy(n.left,e)&&(a=n.right,i=`Math.${e} * Math.log(…)`),!a))return;let[o]=a.arguments;return{node:n,messageId:ym,data:{replacement:t,description:i},fix:e=>e.replaceText(n,`Math.${r}(${ys(o,u.sourceCode)})`)}}}function yv({constantName:e,replacementMethod:r}){let t={messageId:ym,data:{replacement:`Math.${r}(…)`,description:`Math.log(…) / Math.${e}`}};return function(n,u){if(!("BinaryExpression"===n.type&&"/"===n.operator&&yh(n.left,"log")&&yy(n.right,e)))return;let[a]=n.left.arguments;return{...t,node:n,fix:e=>e.replaceText(n,`Math.${r}(${ys(a,u.sourceCode)})`)}}}const yx=[yb({constantName:"LOG10E",replacementMethod:"log10"}),yb({constantName:"LOG2E",replacementMethod:"log2"}),yv({constantName:"LN10",replacementMethod:"log10"}),yv({constantName:"LN2",replacementMethod:"log2"})],yE=e=>"BinaryExpression"===e.type&&"+"===e.operator,yA=e=>"BinaryExpression"===e.type&&("*"===e.operator&&yc(e.left,e.right)||"**"===e.operator&&yf(e.right,2)),yD=e=>yE(e)?[e.left,e.right].flatMap(e=>yD(e)):[e];var yC=Q({create:e=>{let r=[];return{CallExpression(r){if(!yl(r,{object:"Math",method:"sqrt",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let t=yD(r.arguments[0]);if(t.some(e=>!yA(e)))return;let n=1===t.length?"abs":"hypot",u=new Set(1===t.length?[]:t.map(e=>e.parent));return{node:r.callee.property,messageId:ym,data:{replacement:`Math.${n}(…)`,description:"Math.sqrt(…)"},*fix(a){let{sourceCode:i}=e;for(let e of(yield a.replaceText(r.callee.property,n),u)){let r=i.getTokenAfter(e.left,e=>"Punctuator"===e.type&&"+"===e.value);yield*yp(r,",",a,i),yield*yg(e,a,i)}for(let e of t)yield a.removeRange([yd(e.left,i)[1],e.range[1]])}}},BinaryExpression(e){r.push(e)},*"Program:exit"(){for(let t of r)for(let r of yx){let n=r(t,e);n&&(yield n)}}}},meta:{type:"suggestion",docs:{description:"Prefer modern `Math` APIs over legacy patterns."},fixable:"code",messages:{[ym]:"Prefer `{{replacement}}` over `{{description}}`."}}}),yS=ee(p);const y_=e=>"function"==typeof e?.[Symbol.iterator];let yw=class extends Error{};const yF={abort(){throw new yw("Fix aborted.")}};function yT(e){return r=>{let t=e(r,yF);if(y_(t))try{return[...t]}catch(e){if(e instanceof yw)return;throw e}return t}}const yk=new Set;function yP(e){if(yk.has(e))return e;let r=r=>{let t={},n=(e,r)=>{t[e]??=[],t[e].push(r)},u=new Proxy(r,{get:(e,r,t)=>"on"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(e,r)}:"onExit"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(`${e}:exit`,r)}:Reflect.get(e,r,t)});for(let[r,t]of Object.entries(e(u)??{}))n(r,t);return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>{for(let n of t)!function(e,r){if(e)for(let t of(y_(e)||(e=[e]),e)){if(t.fix&&(t.fix=yT(t.fix)),Array.isArray(t.suggest))for(let e of t.suggest)e.fix&&(e.fix=yT(e.fix)),e.data={...t.data,...e.data};r.report(t)}}(n(...e),r)}]))};return yk.add(r),r}function yI(e){let r=function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../${e}`);return{meta:{schema:[],...r.meta,docs:{...r.meta.docs,url:et(e)}},create:yP(r.create)}}var yj={loadRule:yI,loadRules:function(){return Object.fromEntries(yS.readdirSync(er.join(__dirname,".."),{withFileTypes:!0}).filter(e=>e.isFile()).map(e=>{let r=er.basename(e.name,".js");return[r,yI(r)]}))},checkVueTemplate:function(e,r){let{visitScriptBlock:t}={visitScriptBlock:!0,...r};e=yP(e);let n=r=>{let n=e(r),{parserServices:u}=r.sourceCode;return u?.defineTemplateBodyVisitor?t?u.defineTemplateBodyVisitor(n,n):u.defineTemplateBodyVisitor(n):n};return yk.add(n),n}};const{checkVueTemplate:yB}=yj,{isNumberLiteral:yO,isBigIntLiteral:yR}=fd,yN="number-literal-case",yL=e=>{let r=e.toLowerCase();return r.startsWith("0x")&&(r="0x"+r.slice(2).toUpperCase()),r};var yM=Q({create:yB(()=>({Literal(e){let{raw:r}=e,t=r;if(yO(e)?t=yL(r):yR(e)&&(t=yL(r.slice(0,-1))+"n"),r!==t)return{node:e,messageId:yN,fix:r=>r.replaceText(e,t)}}})),meta:{type:"suggestion",docs:{description:"Enforce proper case for numeric literals."},fixable:"code",messages:{[yN]:"Invalid number literal casing."}}});const{GlobalReferenceTracker:y$}=mh,{replaceReferenceIdentifier:yz}=lt,{fixSpaceAroundKeyword:yU}=lt,yW="error",yq="suggestion",yV={parseInt:!0,parseFloat:!0,NaN:!0,Infinity:!0,isNaN:!1,isFinite:!1},yZ=e=>{let{parent:r}=e;return"UnaryExpression"===r.type&&"-"===r.operator&&r.argument===e};var yG=Q({create:e=>{let{checkInfinity:r}={checkInfinity:!0,...e.options[0]},{sourceCode:t}=e,n=Object.keys(yV);r||(n=n.filter(e=>"Infinity"!==e));let u=new y$({objects:n,handle:e=>(function({node:e,path:[r]},t){let{parent:n}=e,u=r;"Infinity"===r&&(u=yZ(e)?"NEGATIVE_INFINITY":"POSITIVE_INFINITY");let a={node:e,messageId:yW,data:{description:r,property:u}};if("NEGATIVE_INFINITY"===u)return a.node=n,a.data.description="-Infinity",a.fix=function*(e){yield e.replaceText(n,"Number.NEGATIVE_INFINITY"),yield*yU(e,n,t)},a;let i=r=>yz(e,`Number.${u}`,r,t),o=yV[r];return o?a.fix=i:a.suggest=[{messageId:yq,fix:i}],a})(e,t),filter:({node:e})=>!lG(e)});return u.createListeners(e)},meta:{type:"suggestion",docs:{description:"Prefer `Number` static properties over global ones."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{checkInfinity:{type:"boolean",default:!0}}}],messages:{[yW]:"Prefer `Number.{{property}}` over `{{description}}`.",[yq]:"Replace `{{description}}` with `Number.{{property}}`."}}});const{getPropertyName:yH}=ru,{isNullLiteral:yK,isMethodCall:yJ}=fd,yX="prefer-reflect-apply",yY=(e,r)=>(yK(e)||"ThisExpression"===e.type)&&("ArrayExpression"===r.type||"Identifier"===r.type&&"arguments"===r.name),yQ=(e,r,t,n)=>`Reflect.apply(${e.getText(r)}, ${e.getText(t)}, ${e.getText(n)})`,y0=(e,r)=>{if("apply"===yH(e.callee)&&2===e.arguments.length&&yY(e.arguments[0],e.arguments[1]))return t=>t.replaceText(e,yQ(r,e.callee.object,e.arguments[0],e.arguments[1]))},y1=(e,r)=>{if("call"===yH(e.callee)&&"apply"===yH(e.callee.object)&&"prototype"===yH(e.callee.object.object)&&e.callee.object.object.object?.type==="Identifier"&&"Function"===e.callee.object.object.object.name&&3===e.arguments.length&&yY(e.arguments[1],e.arguments[2]))return t=>t.replaceText(e,yQ(r,e.arguments[0],e.arguments[1],e.arguments[2]))};var y2=Q({create:e=>({CallExpression(r){if(!yJ(r,{optionalCall:!1,optionalMember:!1})||"Literal"===r.callee.object.type||"ArrayExpression"===r.callee.object.type||"ObjectExpression"===r.callee.object.type)return;let{sourceCode:t}=e,n=y0(r,t)||y1(r,t);if(n)return{node:r,messageId:yX,fix:n}}}),meta:{type:"suggestion",docs:{description:"Prefer `Reflect.apply()` over `Function#apply()`."},fixable:"code",messages:{[yX]:"Prefer `Reflect.apply()` over `Function#apply()`."}}});const{findVariable:y3}=ru,{fixSpaceAroundKeyword:y4}=lt,{isNewExpression:y5,isMemberExpression:y8}=fd,y6="prefer-set-size",y9=e=>y5(e,{name:"Set"});var y7=Q({create:e=>{let{sourceCode:r}=e;return{MemberExpression(e){if(!y8(e,{property:"length",optional:!1})||"ArrayExpression"!==e.object.type||1!==e.object.elements.length||e.object.elements[0]?.type!=="SpreadElement")return;let t=e.object.elements[0].argument;if(function(e,r){if(y9(e))return!0;if("Identifier"!==e.type)return!1;let t=y3(r,e);if(!t||1!==t.defs.length)return!1;let[n]=t.defs;if("Variable"!==n.type||"const"!==n.kind)return!1;let u=n.node;return"VariableDeclarator"===u.type&&"Identifier"===u.id.type&&y9(n.node.init)}(t,r.getScope(t)))return{node:e.property,messageId:y6,fix:function(e,r){let{object:t,property:n}=r,u=t.elements[0].argument;if(!(e.getCommentsInside(t).length>e.getCommentsInside(u).length))return function*(a){yield a.replaceText(n,"size"),yield a.replaceText(t,e.getText(u)),yield*y4(a,r,e)}}(r,e)}}}},meta:{type:"suggestion",docs:{description:"Prefer using `Set#size` instead of `Array#length`."},fixable:"code",messages:{[y6]:"Prefer using `Set#size` instead of `Array#length`."}}}),he={exports:{}};o=String.fromCodePoint||(a=String.fromCharCode,i=Math.floor,function(){var e,r,t=[],n=-1,u=arguments.length;if(!u)return"";for(var o="";++n<u;){var s=Number(arguments[n]);if(!isFinite(s)||s<0||s>1114111||i(s)!=s)throw RangeError("Invalid code point: "+s);s<=65535?t.push(s):(s-=65536,e=(s>>10)+55296,r=s%1024+56320,t.push(e,r)),(n+1==u||t.length>16384)&&(o+=a.apply(null,t),t.length=0)}return o}),s={parse:function(e,r,t){function n(r){return r.raw=e.substring(r.range[0],r.range[1]),r}function u(e,r){return e.range[0]=r,n(e)}function a(e,r){return n({type:"anchor",kind:e,range:[J-r,J]})}function i(e,r,t,u){return n({type:"value",kind:e,codePoint:r,range:[t,u]})}function s(e,r,t,n){return n=n||0,i(e,r,J-(t.length+n),J)}function d(e){var r,t=e[0],n=t.charCodeAt(0);return K&&1===t.length&&n>=55296&&n<=56319&&(r=h().charCodeAt(0))>=56320&&r<=57343?i("symbol",(n-55296)*1024+r-56320+65536,++J-2,J):i("symbol",n,J-1,J)}function c(e,r,t,u,a){return null==u&&(t=J-1,u=J),n({type:"quantifier",min:e,max:r,greedy:!0,body:null,symbol:a,range:[t,u]})}function f(e,r,t,u){return n({type:"characterClass",kind:e.kind,body:e.body,negative:r,range:[t,u]})}function l(e,r,t,u){return e.codePoint>r.codePoint&&U("invalid range in character class",e.raw+"-"+r.raw,t,u),n({type:"characterClassRange",min:e,max:r,range:[t,u]})}function p(e){return"alternative"===e.type?e.body:[e]}function g(r){r=r||1;var t=e.substring(J,J+r);return J+=r||1,t}function m(e){y(e)||U("character",e)}function y(r){if(e.indexOf(r,J)===J)return g(r.length)}function h(){return e[J]}function b(r){return e.indexOf(r,J)===J}function v(r){return e[J+1]===r}function x(r){var t=e.substring(J).match(r);return t&&(t.range=[],t.range[0]=J,g(t[0].length),t.range[1]=J),t}function E(){var e=[],r=J;for(e.push(A());y("|");)e.push(A());return 1===e.length?e[0]:n({type:"disjunction",body:e,range:[r,J]})}function A(){for(var r,o=[],s=J;r=function(){if(J>=e.length||b("|")||b(")"))return null;var r=y("^")?a("start",1):y("$")?a("end",1):y("\\b")?a("boundary",2):y("\\B")?a("not-boundary",2):D("(?=","lookahead","(?!","negativeLookahead");if(!r){var o=function(){if((r=x(/^[^^$\\.*+?()[\]{}|]/))||!K&&(r=x(/^(?:]|})/)))return d(r);if(y("."))return n({type:"dot",range:[J-1,J]});if(y("\\")){if(!(r=w())){if(!K&&"c"==h())return i("symbol",92,J-1,J);U("atomEscape")}return r}if(r=O())return r;if(t.lookbehind&&(r=D("(?<=","lookbehind","(?<!","negativeLookbehind")))return r;if(t.namedGroups&&y("(?<")){var r,u,a,o,s,c,f=I();m(">");var l=C("normal",f.range[0]-3);return l.name=f,l}else return t.modifiers&&e.indexOf("(?")==J&&":"!=e[J+2]?(a=J,g(2),o=x(/^[sim]+/),y("-")?(u=x(/^[sim]+/))||U("Invalid flags for modifiers group"):o||U("Invalid flags for modifiers group"),((s=(o=o?o[0]:"")+(u=u?u[0]:"")).length>3||function(e){for(var r=0;r<e.length;){if(-1!=e.indexOf(e[r],r+1))return!0;r++}return!1}(s))&&U("flags cannot be duplicated for modifiers group"),m(":"),(c=C("ignore",a)).modifierFlags={enabling:o,disabling:u},c):D("(?:","ignore","(","normal")}();if(!o){var s,c,f=J;(s=S()||!1)&&(J=f,U("Expected atom")),!K&&(c=x(/^{/))?o=d(c):U("Expected atom")}r=o}return(s=S()||!1)?(s.body=p(r),u(s,r.range[0]),s):r}();)o.push(r);return 1===o.length?o[0]:n({type:"alternative",body:o,range:[s,J]})}function D(e,r,t,n){var u=null,a=J;if(y(e))u=r;else{if(!y(t))return!1;u=n}return C(u,a)}function C(e,r){var t=E();t||U("Expected disjunction"),m(")");var u=n({type:"group",behavior:e,body:p(t),range:[r,J]});return"normal"==e&&V&&q++,u}function S(){var e,r,t,n,u=J;return y("*")?e=c(0,void 0,void 0,void 0,"*"):y("+")?e=c(1,void 0,void 0,void 0,"+"):y("?")?e=c(0,1,void 0,void 0,"?"):(n=x(/^\{([0-9]+)\}/))?e=c(r=parseInt(n[1],10),r,n.range[0],n.range[1]):(n=x(/^\{([0-9]+),\}/))?e=c(r=parseInt(n[1],10),void 0,n.range[0],n.range[1]):(n=x(/^\{([0-9]+),([0-9]+)\}/))&&((r=parseInt(n[1],10))>(t=parseInt(n[2],10))&&U("numbers out of order in {} quantifier","",u,J),e=c(r,t,n.range[0],n.range[1])),(r&&!Number.isSafeInteger(r)||t&&!Number.isSafeInteger(t))&&U("iterations outside JS safe integer range in quantifier","",u,J),e&&y("?")&&(e.greedy=!1,e.range[1]+=1),e}function _(e){if(K){var r,t;if("unicodeEscape"==e.kind&&(r=e.codePoint)>=55296&&r<=56319&&b("\\")&&v("u")){var u=J;J++;var a=w(!0);"unicodeEscape"==a.kind&&(t=a.codePoint)>=56320&&t<=57343?(e.range[1]=a.range[1],e.codePoint=(r-55296)*1024+t-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",n(e)):J=u}}return e}function w(e){var r,a,i=J;if(a=function(e){var r,t,a=J;if(r=x(/^(?!0)\d+/)){t=r[0];var i,o=parseInt(r[0],10);return o<=q&&!e?n({type:"reference",matchIndex:parseInt(i=r[0],10),range:[J-1-i.length,J]}):(W.push(o),V?Z=!0:F(a,J),g(-r[0].length),r=x(/^[0-7]{1,3}/))?s("octal",parseInt(r[0],8),r[0],1):u(r=d(x(/^[89]/)),r.range[0]-1)}return!!(r=x(/^[0-7]{1,3}/))&&(("0"!==(t=r[0])&&F(a,J),/^0{1,3}$/.test(t))?s("null",0,"0",t.length):s("octal",parseInt(t,8),t,1))}(e)||function(){if(t.namedGroups&&x(/^k<(?=.*?>)/)){var e=I();return m(">"),n({type:"reference",name:e,range:[e.range[0]-3,J]})}}())return a;if(e){if(y("b"))return s("singleEscape",8,"\\b");if(y("B"))U("\\B not possible inside of CharacterClass","",i);else if(!K&&(a=x(/^c([0-9])/)))return s("controlLetter",a[1]+16,a[1],2);else if(!K&&(a=x(/^c_/)))return s("controlLetter",31,"_",2);if(K&&y("-"))return s("singleEscape",45,"\\-")}return((r=x(/^[dDsSwW]/))?n({type:"characterClassEscape",value:r[0],range:[J-2,J]}):t.unicodePropertyEscape&&K&&(r=x(/^([pP])\{([^\}]+)\}/))?n({type:"unicodePropertyEscape",negative:"P"===r[1],value:r[2],range:[r.range[0]-1,r.range[1]],raw:r[0]}):!!(t.unicodeSet&&H&&y("q{"))&&function(){var e=J-3,r=[];do r.push(function(){for(var e,r=[],t=J;e=M();)r.push(e);return n({type:"classString",characters:r,range:[t,J]})}());while(y("|"));return m("}"),n({type:"classStrings",strings:r,range:[e,J]})}())||k()}function F(e,r){K&&U("Invalid decimal escape in unicode mode",null,e,r)}function T(){var e;return(e=x(/^u([0-9a-fA-F]{4})/))?_(s("unicodeEscape",parseInt(e[1],16),e[1],2)):K&&(e=x(/^u\{([0-9a-fA-F]+)\}/))?s("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):void 0}function k(){var e,r,n,u=J;if(n=x(/^[fnrtv]/)){var a=0;switch(n[0]){case"t":a=9;break;case"n":a=10;break;case"v":a=11;break;case"f":a=12;break;case"r":a=13}return s("singleEscape",a,"\\"+n[0])}return(n=x(/^c([a-zA-Z])/))?s("controlLetter",n[1].charCodeAt(0)%32,n[1],2):(n=x(/^x([0-9a-fA-F]{2})/))?s("hexadecimalEscape",parseInt(n[1],16),n[1],2):(n=T())?((!n||n.codePoint>1114111)&&U("Invalid escape sequence",null,u,J),n):(r=h(),K&&/[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/.test(r)||!K&&"c"!==r?"k"===r&&t.lookbehind?null:s("identifier",(e=g()).charCodeAt(0),e,1):null)}function P(r){var t=h(),n=J;if("\\"===t){g();var u=T();return u&&r(u.codePoint)||U("Invalid escape sequence",null,n,J),o(u.codePoint)}var a=t.charCodeAt(0);if(a>=55296&&a<=56319){var i=(t+=e[J+1]).charCodeAt(1);i>=56320&&i<=57343&&(a=(a-55296)*1024+i-56320+65536)}if(r(a))return g(),a>65535&&g(),t}function I(){var e,r=J,t=P(j);for(t||U("Invalid identifier");e=P(B);)t+=e;return n({type:"identifier",value:t,range:[r,J]})}function j(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=128&&/[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u1CF1\u1CF5\u1CF6\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-\uA7B9\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-\uAB65\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]|\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\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\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\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\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]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\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]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/.test(o(e))}function B(e){return j(e)||e>=48&&e<=57||e>=128&&/[0-9_\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDD30-\uDD39\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC66-\uDC6F\uDC7F-\uDC82\uDCB0-\uDCBA\uDCF0-\uDCF9\uDD00-\uDD02\uDD27-\uDD34\uDD36-\uDD3F\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDD0-\uDDD9\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC50-\uDC59\uDC5E\uDCB0-\uDCC3\uDCD0-\uDCD9\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDE50-\uDE59\uDEAB-\uDEB7\uDEC0-\uDEC9\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC2C-\uDC3A\uDCE0-\uDCE9\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC50-\uDC59\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD50-\uDD59\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDDA0-\uDDA9\uDEF3-\uDEF6]|\uD81A[\uDE60-\uDE69\uDEF0-\uDEF4\uDF30-\uDF36\uDF50-\uDF59]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A\uDD50-\uDD59]|\uDB40[\uDD00-\uDDEF]/.test(o(e))}function O(){var e,r=J;return(e=x(/^\[\^/))?(e=R(),m("]"),f(e,!0,r,J)):y("[")?(e=R(),m("]"),f(e,!1,r,J)):null}function R(){var e,r;return b("]")?{kind:"union",body:[]}:H?function(){var e,r=[],t=L(!0);for(r.push(t),e="classRange"===t.type?"union":b("&")?"intersection":b("-")?"subtraction":"union";!b("]");)"intersection"===e?(m("&"),m("&"),b("&")&&U("&& cannot be followed by &. Wrap it in brackets: &&[&].")):"subtraction"===e&&(m("-"),m("-")),r.push(t=L("union"===e));return{kind:e,body:r}}():((r=N())||U("classAtom"),(e=b("]")?[r]:function e(r){if(b("-")&&!v("]")){t=r.range[0],i=d(y("-")),(a=N())||U("classAtom"),n=J;var t,n,u,a,i,o,s=R();return(s||U("classRanges"),"codePoint"in r&&"codePoint"in a?u=[l(r,a,t,n)]:K?U("invalid character class"):u=[r,i,a],"empty"===s.type)?u:u.concat(s.body)}return(o=N())||U("classAtom"),(u=b("]")?o:e(o))||U("nonEmptyClassRangesNoDash"),[r].concat(u)}(r))||U("nonEmptyClassRanges"),{kind:"union",body:e})}function N(){var e;return y("-")?d("-"):(e=x(/^[^\\\]-]/))?d(e[0]):y("\\")?((e=w(!0))||U("classEscape"),_(e)):void 0}function L(e){var r,t,n=J;if(y("\\")){if(t=w(!0))r=t;else{if(t=z())return t;U("Invalid escape","\\"+h(),n)}}else if(t=$())r=t;else{if(t=O())return t;U("Invalid character",h())}if(e&&b("-")&&!v("-")){if(m("-"),t=M())return l(r,t,n,J);U("Invalid range end",h())}return r}function M(){if(y("\\")){var e,r=J;if(e=z())return e;U("Invalid escape","\\"+h(),r)}return $()}function $(){var e;if(e=x(/^[^()[\]{}/\-\\|]/))return d(e)}function z(){var e;if(y("b"))return s("singleEscape",8,"\\b");if(y("B"))U("\\B not possible inside of ClassContents","",J-2);else if(e=x(/^[&\-!#%,:;<=>@_`~]/))return s("identifier",e[0].codePointAt(0),e[0]);else if(e=k())return e;else return null}function U(r,t,n,u){n=null==n?J:n,u=null==u?n:u;var a=Math.max(0,n-10),i=Math.min(u+10,e.length),o=" "+e.substring(a,i),s=" "+Array(n-a+1).join(" ")+"^";throw SyntaxError(r+" at position "+n+(t?": "+t:"")+"\n"+o+"\n"+s)}t||(t={});var W=[],q=0,V=!0,Z=!1,G=-1!==(r||"").indexOf("u"),H=-1!==(r||"").indexOf("v"),K=G||H,J=0;if(H&&!t.unicodeSet)throw Error('The "v" flag is only supported when the .unicodeSet option is enabled.');if(G&&H)throw Error('The "u" and "v" flags are mutually exclusive.');""===(e=String(e))&&(e="(?:)");var X=E();return(X.range[1]!==e.length&&U("Could not parse entire input - got stuck","",X.range[1]),Z=Z||W.some(function(e){return e<=q}))?(J=0,V=!1,E()):X}},he.exports?he.exports=s:window.regjsparser=s;var hr=he.exports;const{getStaticValue:ht}=ru,{parse:hn}=hr,{isRegexLiteral:hu,isNewExpression:ha,isMethodCall:hi}=fd,ho="method",hs="pattern",hd=(e,r)=>{if(hu(e))return e.regex.flags.includes("g");if(ha(e,{name:"RegExp"})&&e.arguments[0]?.type!=="SpreadElement"&&e.arguments[1]?.type==="Literal"&&"string"==typeof e.arguments[1].value)return e.arguments[1].value.includes("g");let t=ht(e,r);if(!t)return!1;let{value:n}=t;return"[object RegExp]"===Object.prototype.toString.call(n)&&n.global};var hc=Q({create:e=>({CallExpression(r){if(!hi(r,{methods:["replace","replaceAll"],argumentsLength:2,optionalCall:!1,optionalMember:!1}))return;let{arguments:[t],callee:{property:n}}=r;if(!hd(t,e.sourceCode.getScope(t)))return;let u=n.name,a=function(e){let r;if(!hu(e))return;let{pattern:t,flags:n}=e.regex;if("g"!==n.replace("u",""))return;try{r=hn(t,n,{unicodePropertyEscape:!0,namedGroups:!0,lookbehind:!0})}catch{return}let u="alternative"===r.type?r.body:[r];if(u.some(e=>"value"!==e.type))return;let a=String.fromCodePoint(...u.map(e=>e.codePoint));return rB(a)}(t);if("replaceAll"===u){if(!a)return;return{node:t,messageId:hs,data:{replacement:a.length<20?a:"a string literal"},fix:e=>e.replaceText(t,a)}}return{node:n,messageId:ho,*fix(e){yield e.insertTextAfter(n,"All"),a&&(yield e.replaceText(t,a))}}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#replaceAll()` over regex searches with the global flag."},fixable:"code",messages:{[ho]:"Prefer `String#replaceAll()` over `String#replace()`.",[hs]:"This pattern can be replaced with {{replacement}}."}}});const{getStaticValue:hf}=ru,{getParenthesizedText:hl,getParenthesizedRange:hp}=fj,{replaceArgument:hg}=lt,{isNumberLiteral:hm,isMethodCall:hy}=fd,hh=e=>hm(e)?e.value:"UnaryExpression"===e.type&&"-"===e.operator?-hh(e.argument):void 0,hb=e=>e?.type==="MemberExpression"&&!1===e.computed&&"Identifier"===e.property.type&&"length"===e.property.name;var hv=Q({create:e=>({CallExpression(r){if(!hy(r,{methods:["substr","substring"]}))return;let t=r.callee.property.name;return{node:r,messageId:t,*fix(n,{abort:u}){if(yield n.replaceText(r.callee.property,"slice"),0!==r.arguments.length){if(r.arguments.length>2||r.arguments.some(e=>"SpreadElement"===e.type))return u();yield*("substr"===t?function*({node:e,fixer:r,context:t,abort:n}){let u=e.arguments,[a,i]=u;if(!i)return;let{sourceCode:o}=t,s=o.getScope(e),d=hf(a,s),c=hp(i,o),f=e=>hg(r,i,e,o);if(d?.value===0){if(hm(i)||hb(i))return;if("number"==typeof hh(i)){yield f(Math.max(0,hh(i)));return}yield r.insertTextBeforeRange(c,"Math.max(0, "),yield r.insertTextAfterRange(c,")");return}if(u.every(e=>hm(e))){yield f(a.value+i.value);return}if(u.every(e=>gs(e,s))){let e=hl(a,o);yield r.insertTextBeforeRange(c,`${e} + `);return}return n()}:function*({node:e,fixer:r,context:t,abort:n}){let{sourceCode:u}=t,[a,i]=e.arguments,o=a?hh(a):void 0,s=hl(a,u),d=e=>hg(r,a,e,u);if(!i){if(hb(a))return;if(void 0!==o){yield d(Math.max(0,o));return}let e=hp(a,u);yield r.insertTextBeforeRange(e,"Math.max(0, "),yield r.insertTextAfterRange(e,")");return}let c=hh(i),f=hl(i,u),l=e=>hg(r,i,e,u);if(void 0!==o&&void 0!==c){let e=[Math.max(0,o),Math.max(0,c)];o>c&&e.reverse(),e[0]!==o&&(yield d(e[0])),e[1]!==c&&(yield l(e[1]));return}if(0===o||0===c){yield d(0),yield l(`Math.max(0, ${0===o?f:s})`);return}return n()})({node:r,fixer:n,context:e,abort:u})}}}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#slice()` over `String#substr()` and `String#substring()`."},fixable:"code",messages:{substr:"Prefer `String#slice()` over `String#substr()`.",substring:"Prefer `String#slice()` over `String#substring()`."}}});const{isMethodCall:hx}=fd,hE="prefer-string-trim-start-end";var hA=Q({create:()=>({CallExpression(e){if(!hx(e,{methods:["trimLeft","trimRight"],argumentsLength:0,optionalCall:!1}))return;let r=e.callee.property,t=r.name,n="trimLeft"===t?"trimStart":"trimEnd";return{node:r,messageId:hE,data:{method:t,replacement:n},fix:e=>e.replaceText(r,n)}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`."},fixable:"code",messages:{[hE]:"Prefer `String#{{replacement}}()` over `String#{{method}}()`."}}});const{isParenthesized:hD,getParenthesizedRange:hC,toLocation:hS}=pD,h_="no-unreadable-iife";var hw=Q({create:e=>({CallExpression(r){let{sourceCode:t}=e;if("ArrowFunctionExpression"===r.callee.type&&"BlockStatement"!==r.callee.body.type&&hD(r.callee.body,t))return{node:r,loc:hS(hC(r.callee.body,t),t),messageId:h_}}}),meta:{type:"suggestion",docs:{description:"Disallow unreadable IIFEs."},hasSuggestions:!1,messages:{[h_]:"IIFE with parenthesized arrow function body is considered unreadable."}}});const{switchCallExpressionToNewExpression:hF}=lt,hT="throw-new-error",hk=/^(?:[A-Z][\da-z]*)*Error$/;var hP=Q({create:e=>({CallExpression(r){if(!("ThrowStatement"===r.parent.type&&r.parent.argument===r))return;let{callee:t}=r;if("Identifier"===t.type&&hk.test(t.name)||"MemberExpression"===t.type&&!t.computed&&"Identifier"===t.property.type&&hk.test(t.property.name))return{node:r,messageId:hT,fix:t=>hF(r,e.sourceCode,t)}}}),meta:{type:"suggestion",docs:{description:"Require `new` when throwing an error."},fixable:"code",messages:{[hT]:"Use `new` when throwing an error."}}}),hI=/[|\\{}()[\]^$+*?.]/g,hj=new Map([["[0-9]",{value:"\\d"}],["[^0-9]",{value:"\\D"}],["[a-zA-Z0-9_]",{value:"\\w"}],["[a-zA-Z_0-9]",{value:"\\w"}],["[a-z0-9A-Z_]",{value:"\\w"}],["[a-z0-9_A-Z]",{value:"\\w"}],["[a-z_A-Z0-9]",{value:"\\w"}],["[a-z_0-9A-Z]",{value:"\\w"}],["[A-Za-z0-9_]",{value:"\\w"}],["[A-Za-z_0-9]",{value:"\\w"}],["[A-Z0-9a-z_]",{value:"\\w"}],["[A-Z0-9_a-z]",{value:"\\w"}],["[A-Z_a-z0-9]",{value:"\\w"}],["[A-Z_0-9a-z]",{value:"\\w"}],["[0-9a-zA-Z_]",{value:"\\w"}],["[0-9a-z_A-Z]",{value:"\\w"}],["[0-9A-Za-z_]",{value:"\\w"}],["[0-9A-Z_a-z]",{value:"\\w"}],["[0-9_a-zA-Z]",{value:"\\w"}],["[0-9_A-Za-z]",{value:"\\w"}],["[_a-zA-Z0-9]",{value:"\\w"}],["[_a-z0-9A-Z]",{value:"\\w"}],["[_A-Za-z0-9]",{value:"\\w"}],["[_A-Z0-9a-z]",{value:"\\w"}],["[_0-9a-zA-Z]",{value:"\\w"}],["[_0-9A-Za-z]",{value:"\\w"}],["[a-zA-Z\\d_]",{value:"\\w"}],["[a-zA-Z_\\d]",{value:"\\w"}],["[a-z\\dA-Z_]",{value:"\\w"}],["[a-z\\d_A-Z]",{value:"\\w"}],["[a-z_A-Z\\d]",{value:"\\w"}],["[a-z_\\dA-Z]",{value:"\\w"}],["[A-Za-z\\d_]",{value:"\\w"}],["[A-Za-z_\\d]",{value:"\\w"}],["[A-Z\\da-z_]",{value:"\\w"}],["[A-Z\\d_a-z]",{value:"\\w"}],["[A-Z_a-z\\d]",{value:"\\w"}],["[A-Z_\\da-z]",{value:"\\w"}],["[\\da-zA-Z_]",{value:"\\w"}],["[\\da-z_A-Z]",{value:"\\w"}],["[\\dA-Za-z_]",{value:"\\w"}],["[\\dA-Z_a-z]",{value:"\\w"}],["[\\d_a-zA-Z]",{value:"\\w"}],["[\\d_A-Za-z]",{value:"\\w"}],["[_a-zA-Z\\d]",{value:"\\w"}],["[_a-z\\dA-Z]",{value:"\\w"}],["[_A-Za-z\\d]",{value:"\\w"}],["[_A-Z\\da-z]",{value:"\\w"}],["[_\\da-zA-Z]",{value:"\\w"}],["[_\\dA-Za-z]",{value:"\\w"}],["[^a-zA-Z0-9_]",{value:"\\W"}],["[^a-zA-Z_0-9]",{value:"\\W"}],["[^a-z0-9A-Z_]",{value:"\\W"}],["[^a-z0-9_A-Z]",{value:"\\W"}],["[^a-z_A-Z0-9]",{value:"\\W"}],["[^a-z_0-9A-Z]",{value:"\\W"}],["[^A-Za-z0-9_]",{value:"\\W"}],["[^A-Za-z_0-9]",{value:"\\W"}],["[^A-Z0-9a-z_]",{value:"\\W"}],["[^A-Z0-9_a-z]",{value:"\\W"}],["[^A-Z_a-z0-9]",{value:"\\W"}],["[^A-Z_0-9a-z]",{value:"\\W"}],["[^0-9a-zA-Z_]",{value:"\\W"}],["[^0-9a-z_A-Z]",{value:"\\W"}],["[^0-9A-Za-z_]",{value:"\\W"}],["[^0-9A-Z_a-z]",{value:"\\W"}],["[^0-9_a-zA-Z]",{value:"\\W"}],["[^0-9_A-Za-z]",{value:"\\W"}],["[^_a-zA-Z0-9]",{value:"\\W"}],["[^_a-z0-9A-Z]",{value:"\\W"}],["[^_A-Za-z0-9]",{value:"\\W"}],["[^_A-Z0-9a-z]",{value:"\\W"}],["[^_0-9a-zA-Z]",{value:"\\W"}],["[^_0-9A-Za-z]",{value:"\\W"}],["[^a-zA-Z\\d_]",{value:"\\W"}],["[^a-zA-Z_\\d]",{value:"\\W"}],["[^a-z\\dA-Z_]",{value:"\\W"}],["[^a-z\\d_A-Z]",{value:"\\W"}],["[^a-z_A-Z\\d]",{value:"\\W"}],["[^a-z_\\dA-Z]",{value:"\\W"}],["[^A-Za-z\\d_]",{value:"\\W"}],["[^A-Za-z_\\d]",{value:"\\W"}],["[^A-Z\\da-z_]",{value:"\\W"}],["[^A-Z\\d_a-z]",{value:"\\W"}],["[^A-Z_a-z\\d]",{value:"\\W"}],["[^A-Z_\\da-z]",{value:"\\W"}],["[^\\da-zA-Z_]",{value:"\\W"}],["[^\\da-z_A-Z]",{value:"\\W"}],["[^\\dA-Za-z_]",{value:"\\W"}],["[^\\dA-Z_a-z]",{value:"\\W"}],["[^\\d_a-zA-Z]",{value:"\\W"}],["[^\\d_A-Za-z]",{value:"\\W"}],["[^_a-zA-Z\\d]",{value:"\\W"}],["[^_a-z\\dA-Z]",{value:"\\W"}],["[^_A-Za-z\\d]",{value:"\\W"}],["[^_A-Z\\da-z]",{value:"\\W"}],["[^_\\da-zA-Z]",{value:"\\W"}],["[^_\\dA-Za-z]",{value:"\\W"}],["[a-z0-9_]",{value:"\\w",flags:"i"}],["[a-z_0-9]",{value:"\\w",flags:"i"}],["[0-9a-z_]",{value:"\\w",flags:"i"}],["[0-9_a-z]",{value:"\\w",flags:"i"}],["[_a-z0-9]",{value:"\\w",flags:"i"}],["[_0-9a-z]",{value:"\\w",flags:"i"}],["[^a-z0-9_]",{value:"\\W",flags:"i"}],["[a-z\\d_]",{value:"\\w",flags:"i"}],["[a-z_\\d]",{value:"\\w",flags:"i"}],["[\\da-z_]",{value:"\\w",flags:"i"}],["[\\d_a-z]",{value:"\\w",flags:"i"}],["[_a-z\\d]",{value:"\\w",flags:"i"}],["[_\\da-z]",{value:"\\w",flags:"i"}],["[^a-z0-9_]",{value:"\\W",flags:"i"}],["[^a-z_0-9]",{value:"\\W",flags:"i"}],["[^0-9a-z_]",{value:"\\W",flags:"i"}],["[^0-9_a-z]",{value:"\\W",flags:"i"}],["[^_a-z0-9]",{value:"\\W",flags:"i"}],["[^_0-9a-z]",{value:"\\W",flags:"i"}],["[^a-z\\d_]",{value:"\\W",flags:"i"}],["[^a-z_\\d]",{value:"\\W",flags:"i"}],["[^\\da-z_]",{value:"\\W",flags:"i"}],["[^\\d_a-z]",{value:"\\W",flags:"i"}],["[^_a-z\\d]",{value:"\\W",flags:"i"}],["[^_\\da-z]",{value:"\\W",flags:"i"}]]);const hB=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(hI,"\\$&")},hO=(e,r)=>!r||r.split("").every(r=>e.includes(r));function hR(e){return e?hN[e.type](e):""}var hN={RegExp:function(e){return"/"+hR(e.body)+"/"+e.flags},Alternative:function(e){return(e.expressions||[]).map(hR).join("")},Disjunction:function(e){return hR(e.left)+"|"+hR(e.right)},Group:function(e){var r=hR(e.expression);return e.capturing?e.name?"(?<"+(e.nameRaw||e.name)+">"+r+")":"("+r+")":"(?:"+r+")"},Backreference:function(e){switch(e.kind){case"number":return"\\"+e.reference;case"name":return"\\k<"+(e.referenceRaw||e.reference)+">";default:throw TypeError("Unknown Backreference kind: "+e.kind)}},Assertion:function(e){switch(e.kind){case"^":case"$":case"\\b":case"\\B":return e.kind;case"Lookahead":var r=hR(e.assertion);if(e.negative)return"(?!"+r+")";return"(?="+r+")";case"Lookbehind":var t=hR(e.assertion);if(e.negative)return"(?<!"+t+")";return"(?<="+t+")";default:throw TypeError("Unknown Assertion kind: "+e.kind)}},CharacterClass:function(e){var r=e.expressions.map(hR).join("");return e.negative?"[^"+r+"]":"["+r+"]"},ClassRange:function(e){return hR(e.from)+"-"+hR(e.to)},Repetition:function(e){return""+hR(e.expression)+hR(e.quantifier)},Quantifier:function(e){var r=void 0,t=e.greedy?"":"?";switch(e.kind){case"+":case"?":case"*":r=e.kind;break;case"Range":r=e.from===e.to?"{"+e.from+"}":e.to?"{"+e.from+","+e.to+"}":"{"+e.from+",}";break;default:throw TypeError("Unknown Quantifier kind: "+e.kind)}return""+r+t},Char:function(e){var r=e.value;switch(e.kind){case"simple":if(e.escaped)return"\\"+r;return r;case"hex":case"unicode":case"oct":case"decimal":case"control":case"meta":return r;default:throw TypeError("Unknown Char kind: "+e.kind)}},UnicodeProperty:function(e){return"\\"+(e.negative?"P":"p")+"{"+(e.shorthand||e.binary?"":e.name+"=")+e.value+"}"}},hL={generate:hR},hM={General_Category:"gc",Script:"sc",Script_Extensions:"scx"},h$=hG(hM),hz={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"},hU=hG(hz),hW={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"},hq=hG(hW),hV={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"},hZ=hG(hV);function hG(e){var r={};for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];if(Array.isArray(n))for(var u=0;u<n.length;u++)r[n[u]]=t;else r[n]=t}return r}function hH(e){return hW.hasOwnProperty(e)||hq.hasOwnProperty(e)}function hK(e){return hV.hasOwnProperty(e)||hZ.hasOwnProperty(e)}var hJ=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")};function hX(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var hY=void 0,hQ={},h0=void 0,h1=void 0;function h2(e,r){return hQ.options.captureLocations?e&&r?{startOffset:e.startOffset,endOffset:r.endOffset,startLine:e.startLine,endLine:r.endLine,startColumn:e.startColumn,endColumn:r.endColumn}:e||r:null}var h3=[[-1,1,function(e,r){h1=h2(r,r),h0=e}],[0,4,function(e,r,t,n,u,a,i,o){h1=h2(u,o),h0=bm({type:"RegExp",body:r,flags:function(e){var r=new Set,t=!0,n=!1,u=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var o=a.value;if(r.has(o)||!"gimsuxy".includes(o))throw SyntaxError("Invalid flags: "+e);r.add(o)}}catch(e){n=!0,u=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw u}}return e.split("").sort().join("")}(n)},by(u,o||i))}],[1,1,function(e,r){h1=h2(r,r),h0=e}],[1,0,function(){h1=null,h0=""}],[2,1,function(e,r){h1=h2(r,r),h0=e}],[2,2,function(e,r,t,n){h1=h2(t,n),h0=e+r}],[3,1,function(e,r){h1=h2(r,r),h0=e}],[4,1,function(e,r){h1=h2(r,r),h0=e}],[4,3,function(e,r,t,n,u,a){h1=h2(n,a);var i=null;u&&(i=by(n||u,a||u)),h0=bm({type:"Disjunction",left:e,right:t},i)}],[5,1,function(e,r){if(h1=h2(r,r),0===e.length){h0=null;return}h0=1===e.length?bm(e[0],h1):bm({type:"Alternative",expressions:e},h1)}],[6,0,function(){h1=null,h0=[]}],[6,2,function(e,r,t,n){h1=h2(t,n),h0=e.concat(r)}],[7,1,function(e,r){h1=h2(r,r),h0=bm(Object.assign({type:"Assertion"},e),h1)}],[7,2,function(e,r,t,n){h1=h2(t,n),h0=e,r&&(h0=bm({type:"Repetition",expression:e,quantifier:r},h1))}],[8,1,function(e,r){h1=h2(r,r),h0={kind:"^"}}],[8,1,function(e,r){h1=h2(r,r),h0={kind:"$"}}],[8,1,function(e,r){h1=h2(r,r),h0={kind:"\\b"}}],[8,1,function(e,r){h1=h2(r,r),h0={kind:"\\B"}}],[8,3,function(e,r,t,n,u,a){h1=h2(n,a),h0={kind:"Lookahead",assertion:r}}],[8,3,function(e,r,t,n,u,a){h1=h2(n,a),h0={kind:"Lookahead",negative:!0,assertion:r}}],[8,3,function(e,r,t,n,u,a){h1=h2(n,a),h0={kind:"Lookbehind",assertion:r}}],[8,3,function(e,r,t,n,u,a){h1=h2(n,a),h0={kind:"Lookbehind",negative:!0,assertion:r}}],[9,1,function(e,r){h1=h2(r,r),h0=e}],[9,1,function(e,r){h1=h2(r,r),h0=e}],[9,1,function(e,r){h1=h2(r,r),h0=e}],[10,1,function(e,r){h0=bs(e,"simple",h1=h2(r,r))}],[10,1,function(e,r){h1=h2(r,r),(h0=bs(e.slice(1),"simple",h1)).escaped=!0}],[10,1,function(e,r){(h0=bs(e,"unicode",h1=h2(r,r))).isSurrogatePair=!0}],[10,1,function(e,r){h0=bs(e,"unicode",h1=h2(r,r))}],[10,1,function(e,r){h0=function(e,r){var t="P"===e[1],n=e.indexOf("="),u=e.slice(3,-1!==n?n:-1),a=void 0,i=-1===n&&bo.isGeneralCategoryValue(u),o=-1===n&&bo.isBinaryPropertyName(u);if(i)a=u,u="General_Category";else if(o)a=u;else{if(!bo.isValidName(u))throw SyntaxError("Invalid unicode property name: "+u+".");if(a=e.slice(n+1,-1),!bo.isValidValue(u,a))throw SyntaxError("Invalid "+u+" unicode property value: "+a+".")}return bm({type:"UnicodeProperty",name:u,value:a,negative:t,shorthand:i,binary:o,canonicalName:bo.getCanonicalName(u)||u,canonicalValue:bo.getCanonicalValue(a)||a},r)}(e,h1=h2(r,r))}],[10,1,function(e,r){h0=bs(e,"control",h1=h2(r,r))}],[10,1,function(e,r){h0=bs(e,"hex",h1=h2(r,r))}],[10,1,function(e,r){h0=bs(e,"oct",h1=h2(r,r))}],[10,1,function(e,r){var t,n;t=h1=h2(r,r),h0=(n=Number(e.slice(1)))>0&&n<=bt?bm({type:"Backreference",kind:"number",number:n,reference:n},t):bs(e,"decimal",t)}],[10,1,function(e,r){h0=bs(e,"meta",h1=h2(r,r))}],[10,1,function(e,r){h0=bs(e,"meta",h1=h2(r,r))}],[10,1,function(e,r){h1=h2(r,r),h0=function(e,r){var t=e.slice(3,-1),n=bg(t);if(bn.hasOwnProperty(n))return bm({type:"Backreference",kind:"name",number:bn[n],reference:n,referenceRaw:t},r);var u=null,a=null,i=null,o=null;r&&(u=r.startOffset,a=r.startLine,i=r.endLine,o=r.startColumn);var s=/^[\w$<>]/,d=void 0,c=[bs(e.slice(1,2),"simple",u?{startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:u+=2,endColumn:o+=2}:null)];for(c[0].escaped=!0,e=e.slice(2);e.length>0;){var f=null;(f=e.match(bd))||(f=e.match(bc))?(u&&(d={startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:u+=f[0].length,endColumn:o+=f[0].length}),c.push(bs(f[0],"unicode",d)),e=e.slice(f[0].length)):(f=e.match(s))&&(u&&(d={startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:++u,endColumn:++o}),c.push(bs(f[0],"simple",d)),e=e.slice(1))}return c}(e,r)}],[11,1,function(e,r){h1=h2(r,r),h0=e}],[11,0],[12,1,function(e,r){h1=h2(r,r),h0=e}],[12,2,function(e,r,t,n){h1=h2(t,n),e.greedy=!1,h0=e}],[13,1,function(e,r){h0=bm({type:"Quantifier",kind:e,greedy:!0},h1=h2(r,r))}],[13,1,function(e,r){h0=bm({type:"Quantifier",kind:e,greedy:!0},h1=h2(r,r))}],[13,1,function(e,r){h0=bm({type:"Quantifier",kind:e,greedy:!0},h1=h2(r,r))}],[13,1,function(e,r){h1=h2(r,r);var t=ba(e);h0=bm({type:"Quantifier",kind:"Range",from:t[0],to:t[0],greedy:!0},h1)}],[13,1,function(e,r){h1=h2(r,r),h0=bm({type:"Quantifier",kind:"Range",from:ba(e)[0],greedy:!0},h1)}],[13,1,function(e,r){h1=h2(r,r);var t=ba(e);h0=bm({type:"Quantifier",kind:"Range",from:t[0],to:t[1],greedy:!0},h1)}],[14,1,function(e,r){h1=h2(r,r),h0=e}],[14,1,function(e,r){h1=h2(r,r),h0=e}],[15,3,function(e,r,t,n,u,a){h1=h2(n,a);var i=String(e),o=bg(i);if(!hQ.options.allowGroupNameDuplicates&&bn.hasOwnProperty(o))throw SyntaxError('Duplicate of the named group "'+o+'".');bn[o]=e.groupNumber,h0=bm({type:"Group",capturing:!0,name:o,nameRaw:i,number:e.groupNumber,expression:r},h1)}],[15,3,function(e,r,t,n,u,a){h1=h2(n,a),h0=bm({type:"Group",capturing:!0,number:e.groupNumber,expression:r},h1)}],[16,3,function(e,r,t,n,u,a){h0=bm({type:"Group",capturing:!1,expression:r},h1=h2(n,a))}],[17,3,function(e,r,t,n,u,a){h0=bm({type:"CharacterClass",negative:!0,expressions:r},h1=h2(n,a))}],[17,3,function(e,r,t,n,u,a){h0=bm({type:"CharacterClass",expressions:r},h1=h2(n,a))}],[18,0,function(){h1=null,h0=[]}],[18,1,function(e,r){h1=h2(r,r),h0=e}],[19,1,function(e,r){h1=h2(r,r),h0=[e]}],[19,2,function(e,r,t,n){h1=h2(t,n),h0=[e].concat(r)}],[19,4,function(e,r,t,n,u,a,i,o){h1=h2(u,o),bi(e,t),h0=[bm({type:"ClassRange",from:e,to:t},by(u,i))],n&&(h0=h0.concat(n))}],[20,1,function(e,r){h1=h2(r,r),h0=e}],[20,2,function(e,r,t,n){h1=h2(t,n),h0=[e].concat(r)}],[20,4,function(e,r,t,n,u,a,i,o){h1=h2(u,o),bi(e,t),h0=[bm({type:"ClassRange",from:e,to:t},by(u,i))],n&&(h0=h0.concat(n))}],[21,1,function(e,r){h0=bs(e,"simple",h1=h2(r,r))}],[21,1,function(e,r){h1=h2(r,r),h0=e}],[22,1,function(e,r){h1=h2(r,r),h0=e}],[22,1,function(e,r){h0=bs(e,"meta",h1=h2(r,r))}]],h4={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"},h5=[{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"}],h8=[],h6=void 0,h9=[[/^#[^\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 bl(hY.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&&"\\-"===hY);else if("u"===e||"xu"===e||"u_class"===e)throw SyntaxError("invalid Unicode escape "+hY);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 bl(hY=hY.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"}]],h7={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]},be={type:"$",value:""};h6={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(be);for(var e=this._string.slice(this._cursor),r=h7[this.getCurrentState()],t=0;t<r.length;t++){var n=h9[r[t]],u=this._match(e,n[0]);if(""===e&&""===u&&this._cursor++,null!==u){(hY=u).length;var a=n[1].call(this);if(!a)return this.getNextToken();if(Array.isArray(a)){var i,o=a.slice(1);a=a[0],o.length>0&&(i=this._tokensQueue).unshift.apply(i,hX(o))}return this.onToken(this._toToken(a,hY))}}if(this.isEOF())return this._cursor++,be;this.throwUnexpectedToken(e[0],this._currentLine,this._currentColumn)},throwUnexpectedToken:function(e,r,t){var n=this._string.split("\n")[r-1],u="";throw n&&(u="\n\n"+n+"\n"+" ".repeat(t)+"^\n"),SyntaxError(u+'Unexpected token: "'+e+'" '+("at "+r)+":"+t+".")},getCursor:function(){return this._cursor},getCurrentLine:function(){return this._currentLine},getCurrentColumn:function(){return this._currentColumn},_captureLocation:function(e){var r=/\n/g;this._tokenStartOffset=this._cursor,this._tokenStartLine=this._currentLine,this._tokenStartColumn=this._tokenStartOffset-this._currentLineBeginOffset;for(var t=void 0;null!==(t=r.exec(e));)this._currentLine++,this._currentLineBeginOffset=this._tokenStartOffset+t.index+1;this._tokenEndOffset=this._cursor+e.length,this._tokenEndLine=this._currentLine,this._tokenEndColumn=this._currentColumn=this._tokenEndOffset-this._currentLineBeginOffset},_toToken:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{type:e,value:r,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,r){var t=e.match(r);return t?(this._captureLocation(t[0]),this._cursor+=t[0].length,t[0]):null},onToken:function(e){return e}},hQ.lexer=h6,hQ.tokenizer=h6,hQ.options={captureLocations:!0};var br={setOptions:function(e){return hQ.options=e,this},getOptions:function(){return hQ.options},parse:function(e,r){if(!h6)throw Error("Tokenizer instance wasn't specified.");h6.initString(e);var t=hQ.options;r&&(hQ.options=Object.assign({},hQ.options,r)),br.onParseBegin(e,h6,hQ.options),h8.length=0,h8.push(0);var n=h6.getNextToken(),u=null;do{n||(hQ.options=t,bb());var a=h8[h8.length-1],i=h4[n.type];h5[a].hasOwnProperty(i)||(hQ.options=t,bh(n));var o=h5[a][i];if("s"===o[0]){var s=null;hQ.options.captureLocations&&(s={startOffset:n.startOffset,endOffset:n.endOffset,startLine:n.startLine,endLine:n.endLine,startColumn:n.startColumn,endColumn:n.endColumn}),u=this.onShift(n),h8.push({symbol:h4[u.type],semanticValue:u.value,loc:s},Number(o.slice(1))),n=h6.getNextToken()}else if("r"===o[0]){var d=h3[o.slice(1)],c="function"==typeof d[2],f=c?[]:null,l=c&&hQ.options.captureLocations?[]:null;if(0!==d[1])for(var p=d[1];p-- >0;){h8.pop();var g=h8.pop();c&&(f.unshift(g.semanticValue),l&&l.unshift(g.loc))}var m={symbol:d[0]};if(c){hY=u?u.value:null,u&&u.value.length;var y=null!==l?f.concat(l):f;d[2].apply(d,hX(y)),m.semanticValue=h0,l&&(m.loc=h1)}var h=h8[h8.length-1],b=d[0];h8.push(m,h5[h][b])}else if("acc"===o){h8.pop();var v=h8.pop();if((1!==h8.length||0!==h8[0]||h6.hasMoreTokens())&&(hQ.options=t,bh(n)),v.hasOwnProperty("semanticValue"))return hQ.options=t,br.onParseEnd(v.semanticValue),v.semanticValue;return br.onParseEnd(),hQ.options=t,!0}}while(h6.hasMoreTokens()||h8.length>1)},setTokenizer:function(e){return h6=e,br},getTokenizer:function(){return h6},onParseBegin:function(e,r,t){},onParseEnd:function(e){},onShift:function(e){return e}},bt=0,bn={},bu="";function ba(e){var r=e.match(/\d+/g).map(Number);if(Number.isFinite(r[1])&&r[1]<r[0])throw SyntaxError("Numbers out of order in "+e+" quantifier");return r}function bi(e,r){if("control"===e.kind||"control"===r.kind||!isNaN(e.codePoint)&&!isNaN(r.codePoint)&&e.codePoint>r.codePoint)throw SyntaxError("Range "+e.value+"-"+r.value+" out of order in character class")}br.onParseBegin=function(e,r){bu=e,bt=0,bn={};var t=e.lastIndexOf("/"),n=e.slice(t);n.includes("x")&&n.includes("u")?r.pushState("xu"):(n.includes("x")&&r.pushState("x"),n.includes("u")&&r.pushState("u"))},br.onShift=function(e){return("L_PAREN"===e.type||"NAMED_CAPTURE_GROUP"===e.type)&&(e.value=new String(e.value),e.value.groupNumber=++bt),e};var bo={isAlias:function(e){return h$.hasOwnProperty(e)||hU.hasOwnProperty(e)},isValidName:function(e){return hM.hasOwnProperty(e)||h$.hasOwnProperty(e)||hz.hasOwnProperty(e)||hU.hasOwnProperty(e)},isValidValue:function(e,r){return"General_Category"===e||"gc"==e?hH(r):!!("Script"===e||"Script_Extensions"===e||"sc"===e||"scx"===e)&&hK(r)},isGeneralCategoryValue:hH,isScriptCategoryValue:hK,isBinaryPropertyName:function(e){return hz.hasOwnProperty(e)||hU.hasOwnProperty(e)},getCanonicalName:function(e){return h$.hasOwnProperty(e)?h$[e]:hU.hasOwnProperty(e)?hU[e]:null},getCanonicalValue:function(e){return hq.hasOwnProperty(e)?hq[e]:hZ.hasOwnProperty(e)?hZ[e]:hU.hasOwnProperty(e)?hU[e]:null},NON_BINARY_PROP_NAMES_TO_ALIASES:hM,NON_BINARY_ALIASES_TO_PROP_NAMES:h$,BINARY_PROP_NAMES_TO_ALIASES:hz,BINARY_ALIASES_TO_PROP_NAMES:hU,GENERAL_CATEGORY_VALUE_TO_ALIASES:hW,GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES:hq,SCRIPT_VALUE_TO_ALIASES:hV,SCRIPT_VALUE_ALIASES_TO_VALUE:hZ};function bs(e,r,t){var n=void 0,u=void 0;switch(r){case"decimal":n=String.fromCodePoint(u=Number(e.slice(1)));break;case"oct":n=String.fromCodePoint(u=parseInt(e.slice(1),8));break;case"hex":case"unicode":if(e.lastIndexOf("\\u")>0){var a=hJ(e.split("\\u").slice(1),2),i=a[0],o=a[1];n=String.fromCodePoint(u=((i=parseInt(i,16))-55296)*1024+((o=parseInt(o,16))-56320)+65536)}else{if((u=parseInt(e.slice(2).replace("{",""),16))>1114111)throw SyntaxError("Bad character escape sequence: "+e);n=String.fromCodePoint(u)}break;case"meta":switch(e){case"\\t":u=(n=" ").codePointAt(0);break;case"\\n":u=(n="\n").codePointAt(0);break;case"\\r":u=(n="\r").codePointAt(0);break;case"\\v":u=(n="\v").codePointAt(0);break;case"\\f":u=(n="\f").codePointAt(0);break;case"\\b":u=(n="\b").codePointAt(0);case"\\0":n="\x00",u=0;case".":n=".",u=NaN;break;default:u=NaN}break;case"simple":u=(n=e).codePointAt(0)}return bm({type:"Char",value:e,kind:r,symbol:n,codePoint:u},t)}var bd=/^\\u[0-9a-fA-F]{4}/,bc=/^\\u\{[0-9a-fA-F]{1,}\}/,bf=/\\u\{[0-9a-fA-F]{1,}\}/;function bl(e,r){if(bf.test(e)&&!("u"===r||"xu"===r||"u_class"===r))throw SyntaxError('invalid group Unicode name "'+e+'", use `u` flag.');return e}var bp=/\\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 bg(e){return e.replace(RegExp(bp,"g"),function(e,r,t,n,u,a,i){return r?String.fromCodePoint(parseInt(r,16),parseInt(t,16)):n?String.fromCodePoint(parseInt(n,16)):u?String.fromCodePoint(parseInt(u,16)):a?String.fromCodePoint(parseInt(a,16)):i?String.fromCodePoint(parseInt(i,16)):e})}function bm(e,r){return hQ.options.captureLocations&&(e.loc={source:bu.slice(r.startOffset,r.endOffset),start:{line:r.startLine,column:r.startColumn,offset:r.startOffset},end:{line:r.endLine,column:r.endColumn,offset:r.endOffset}}),e}function by(e,r){return hQ.options.captureLocations?{startOffset:e.startOffset,endOffset:r.endOffset,startLine:e.startLine,endLine:r.endLine,startColumn:e.startColumn,endColumn:r.endColumn}:null}function bh(e){"$"===e.type&&bb(),h6.throwUnexpectedToken(e.value,e.startLine,e.startColumn)}function bb(){!function(e){throw SyntaxError(e)}("Unexpected end of input.")}var bv=br.parse.bind(br);br.parse=function(e,r){return bv(""+e,r)},br.setOptions({captureLocations:!1});var bx=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),bE="expressions",bA="expression",bD=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this.node=r,this.parentPath=t,this.parent=t?t.node:null,this.property=n,this.index=u}return bx(e,[{key:"_enforceProp",value:function(e){if(!this.node.hasOwnProperty(e))throw Error("Node of type "+this.node.type+" doesn't have \""+e+'" collection.')}},{key:"setChild",value:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=void 0;return null!=t?(n||(n=bE),this._enforceProp(n),this.node[n][t]=r,u=e.getForNode(r,this,n,t)):(n||(n=bA),this._enforceProp(n),this.node[n]=r,u=e.getForNode(r,this,n,null)),u}},{key:"appendChild",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r||(r=bE),this._enforceProp(r);var t=this.node[r].length;return this.setChild(e,t,r)}},{key:"insertChildAt",value:function(r,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bE;this._enforceProp(n),this.node[n].splice(t,0,r),t<=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){this.parent[this.property].splice(this.index,1),this.index<=e.getTraversingIndex()&&e.updateTraversingIndex(-1),this._rebuildIndex(this.parent,this.property),this.index=null,this.property=null;return}delete this.parent[this.property],this.property=null}}},{key:"_rebuildIndex",value:function(r,t){for(var n=e.getForNode(r),u=0;u<r[t].length;u++)e.getForNode(r[t][u],n,t,u).index=u}},{key:"isRemoved",value:function(){return null===this.node}},{key:"replace",value:function(r){return(e.registry.delete(this.node),this.node=r,this.parent)?(null!==this.index?this.parent[this.property][this.index]=r:this.parent[this.property]=r,e.getForNode(r,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 r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.node.expressions?e.getForNode(this.node.expressions[r],this,bE,r):this.node.expression&&0==r?e.getForNode(this.node.expression,this,bA):null}},{key:"hasEqualSource",value:function(e){return JSON.stringify(this.node,bC)===JSON.stringify(e.node,bC)}},{key:"jsonEncode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.format,t=e.useLoc;return JSON.stringify(this.node,t?null:bC,r)}},{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(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;if(!r)return null;e.registry.has(r)||e.registry.set(r,new e(r,t,n,-1==u?null:u));var a=e.registry.get(r);return null!==t&&(a.parentPath=t,a.parent=a.parentPath.node),null!==n&&(a.property=n),u>=0&&(a.index=u),a}},{key:"initRegistry",value:function(){e.registry||(e.registry=new Map),e.registry.clear()}},{key:"updateTraversingIndex",value:function(r){return e.traversingIndexStack[e.traversingIndexStack.length-1]+=r}},{key:"getTraversingIndex",value:function(){return e.traversingIndexStack[e.traversingIndexStack.length-1]}}]),e}();function bC(e,r){if("loc"!==e)return r}bD.initRegistry(),bD.traversingIndexStack=[];var bS={traverse:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{asNodes:!1};function n(e,r,t,n){var u=bD.getForNode(r);return bD.getForNode(e,u,t,n)}Array.isArray(r)||(r=[r]),r=r.filter(function(r){return"function"!=typeof r.shouldRun||r.shouldRun(e)}),bD.initRegistry(),r.forEach(function(r){"function"==typeof r.init&&r.init(e)}),function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.pre,n=r.post,u=r.skipProperty;!function e(r,a,i,o){if(r&&"string"==typeof r.type){var s=void 0;if(t&&(s=t(r,a,i,o)),!1!==s){for(var d in a&&a[i]&&(r=isNaN(o)?a[i]:a[i][o]),r)if(r.hasOwnProperty(d)){if(u?u(d,r):"$"===d[0])continue;var c=r[d];if(Array.isArray(c)){var f=0;for(bD.traversingIndexStack.push(f);f<c.length;)e(c[f],r,d,f),f=bD.updateTraversingIndex(1);bD.traversingIndexStack.pop()}else e(c,r,d)}}n&&n(r,a,i,o)}}(e,null)}(e,{pre:function(e,u,a,i){var o=void 0;t.asNodes||(o=n(e,u,a,i));var s=!0,d=!1,c=void 0;try{for(var f,l=r[Symbol.iterator]();!(s=(f=l.next()).done);s=!0){var p=f.value;if("function"==typeof p["*"]){if(o){if(!o.isRemoved()){var g=p["*"](o);if(!1===g)return!1}}else p["*"](e,u,a,i)}var m=void 0;if("function"==typeof p[e.type]?m=p[e.type]:"object"==typeof p[e.type]&&"function"==typeof p[e.type].pre&&(m=p[e.type].pre),m){if(o){if(!o.isRemoved()){var y=m.call(p,o);if(!1===y)return!1}}else m.call(p,e,u,a,i)}}}catch(e){d=!0,c=e}finally{try{!s&&l.return&&l.return()}finally{if(d)throw c}}},post:function(e,u,a,i){if(e){var o=void 0;t.asNodes||(o=n(e,u,a,i));var s=!0,d=!1,c=void 0;try{for(var f,l=r[Symbol.iterator]();!(s=(f=l.next()).done);s=!0){var p=f.value,g=void 0;if("object"==typeof p[e.type]&&"function"==typeof p[e.type].post&&(g=p[e.type].post),g){if(o){if(!o.isRemoved()){var m=g.call(p,o);if(!1===m)return!1}}else g.call(p,e,u,a,i)}}}catch(e){d=!0,c=e}finally{try{!s&&l.return&&l.return()}finally{if(d)throw c}}}},skipProperty:function(e){return"loc"===e}})}},b_=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),bw=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._ast=r,this._source=null,this._string=null,this._regexp=null,this._extra=t}return b_(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=hL.generate(this._ast.body)),this._source}},{key:"getFlags",value:function(){return this._ast.flags}},{key:"toString",value:function(){return this._string||(this._string=hL.generate(this._ast)),this._string}}]),e}(),bF={TransformResult:bw,transform:function(e,r){var t=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(t=br.parse(e,{captureLocations:!0})),bS.traverse(t,r),new bw(t)}},bT={dotAll:{_hasUFlag:!1,shouldRun:function(e){return!!e.flags.includes("s")&&(e.flags=e.flags.replace("s",""),this._hasUFlag=e.flags.includes("u"),!0)},Char:function(e){var r=e.node;if("meta"===r.kind&&"."===r.value){var t="\\uFFFF",n="￿";this._hasUFlag&&(t="\\u{10FFFF}",n="\uDBFF\uDFFF"),e.replace({type:"CharacterClass",expressions:[{type:"ClassRange",from:{type:"Char",value:"\\0",kind:"decimal",symbol:"\x00"},to:{type:"Char",value:t,kind:"unicode",symbol:n}}]})}}},namedCapturingGroups:{_groupNames:{},init:function(){this._groupNames={}},getExtra:function(){return this._groupNames},Group:function(e){var r=e.node;r.name&&(this._groupNames[r.name]=r.number,delete r.name,delete r.nameRaw)},Backreference:function(e){var r=e.node;"name"===r.kind&&(r.kind="number",r.reference=r.number,delete r.referenceRaw)}},xFlag:{RegExp:function(e){var r=e.node;r.flags.includes("x")&&(r.flags=r.flags.replace("x",""))}}},bk="A".codePointAt(0),bP="Z".codePointAt(0),bI="a".codePointAt(0),bj="z".codePointAt(0),bB="0".codePointAt(0),bO="9".codePointAt(0),bR="A".codePointAt(0),bN="Z".codePointAt(0),bL={disjunctionToList:function e(r){if("Disjunction"!==r.type)throw TypeError('Expected "Disjunction" node, got "'+r.type+'"');var t=[];return r.left&&"Disjunction"===r.left.type?t.push.apply(t,(function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t})(e(r.left)).concat([r.right])):t.push(r.left,r.right),t},listToDisjunction:function(e){return e.reduce(function(e,r){return{type:"Disjunction",left:e,right:r}})},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))}},bM=bL.increaseQuantifierByOne;function b$(e){return e.greedy&&("+"===e.kind||"*"===e.kind||"Range"===e.kind&&!e.to)}function bz(e){var r=void 0,t=void 0;return"*"===e.kind?r=0:"+"===e.kind?r=1:"?"===e.kind?(r=0,t=1):(r=e.from,e.to&&(t=e.to)),{from:r,to:t}}function bU(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var bW=[function(e){return bq(e," ")}].concat(bU(["\\f","\\n","\\r","\\t","\\v"].map(function(e){return function(r){return bV(r,e)}})),bU([160,5760,8232,8233,8239,8287,12288,65279].map(function(e){return function(r){return bZ(r,e)}})),[function(e){return"ClassRange"===e.type&&bZ(e.from,8192)&&bZ(e.to,8202)}]);function bq(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"simple";return"Char"===e.type&&e.value===r&&e.kind===t}function bV(e,r){return bq(e,r,"meta")}function bZ(e,r){return"Char"===e.type&&"unicode"===e.kind&&e.codePoint===r}function bG(e,r,t){for(var n=e,u=(t?n>=0:n<r.expressions.length)&&r.expressions[n];u&&"Char"===u.type&&"simple"===u.kind&&!u.escaped&&/\d/.test(u.value);)t?n--:n++,u=(t?n>=0:n<r.expressions.length)&&r.expressions[n];return Math.abs(e-n)}function bH(e,r){return e&&"Char"===e.type&&"simple"===e.kind&&!e.escaped&&e.value===r}function bK(e,r){var t=bJ(e),n=bJ(r);if(t===n){if("ClassRange"===e.type&&"ClassRange"!==r.type)return -1;if("ClassRange"===r.type&&"ClassRange"!==e.type)return 1;if("ClassRange"===e.type&&"ClassRange"===r.type)return bJ(e.to)-bJ(r.to);if(bX(e)&&bX(r)||bY(e)&&bY(r))return e.value<r.value?-1:1}return t-n}function bJ(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 bX(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"Char"===e.type&&"meta"===e.kind&&(r?e.value===r:/^\\[dws]$/i.test(e.value))}function bY(e){return"Char"===e.type&&"control"===e.kind}function bQ(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 b0(e){return e.codePoint>=48&&e.codePoint<=57}function b1(e,r){return b0(e)||e.codePoint>=65&&e.codePoint<=90||e.codePoint>=97&&e.codePoint<=122||"_"===e.value||r&&(383===e.codePoint||8490===e.codePoint)}function b2(e){return e&&"Char"===e.type&&!isNaN(e.codePoint)&&(b1(e,!1)||"unicode"===e.kind||"hex"===e.kind||"oct"===e.kind||"decimal"===e.kind)}var b3=bL.disjunctionToList,b4=bL.listToDisjunction,b5={RegExp:function(e,r){e.node.body=r},Group:function(e,r){var t=e.node;t.capturing?t.expression=r:e.replace(r)}};function b8(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}function b6(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var b9=bL.increaseQuantifierByOne,b7=new Map([["charSurrogatePairToSingleUnicode",{shouldRun:function(e){return e.flags.includes("u")},Char:function(e){var r=e.node;"unicode"!==r.kind||!r.isSurrogatePair||isNaN(r.codePoint)||(r.value="\\u{"+r.codePoint.toString(16)+"}",delete r.isSurrogatePair)}}],["charCodeToSimpleChar",{Char:function(e){var r=e.node,t=e.parent;if(!isNaN(r.codePoint)&&"simple"!==r.kind&&("ClassRange"!==t.type||(n=t.from,u=t.to,n.codePoint>=bB&&n.codePoint<=bO&&u.codePoint>=bB&&u.codePoint<=bO||n.codePoint>=bk&&n.codePoint<=bP&&u.codePoint>=bk&&u.codePoint<=bP||n.codePoint>=bI&&n.codePoint<=bj&&u.codePoint>=bI&&u.codePoint<=bj))&&(a=r.codePoint)>=32&&a<=126){var n,u,a,i,o=String.fromCodePoint(r.codePoint),s={type:"Char",kind:"simple",value:o,symbol:o,codePoint:r.codePoint};("ClassRange"===(i=t.type)||"CharacterClass"===i?/[\]\\^-]/.test(o):/[*[()+?^$./\\|{}]/.test(o))&&(s.escaped=!0),e.replace(s)}}}],["charCaseInsensitiveLowerCaseTransform",{_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 r,t,n=e.node,u=e.parent;if(!isNaN(n.codePoint)&&(this._hasUFlag||!(n.codePoint>=4096))){if("ClassRange"===u.type){if(!this._AZClassRanges.has(u)&&(r=u.from,t=u.to,!(r.codePoint>=bR)||!(r.codePoint<=bN)||!(t.codePoint>=bR)||!(t.codePoint<=bN)))return;this._AZClassRanges.add(u)}var a=n.symbol.toLowerCase();a!==n.symbol&&(n.value=function(e,r){var t=e.codePointAt(0);if("decimal"===r.kind)return"\\"+t;if("oct"===r.kind)return"\\0"+t.toString(8);if("hex"===r.kind)return"\\x"+t.toString(16);if("unicode"===r.kind){if(r.isSurrogatePair){var n={lead:(Math.floor((t-65536)/1024)+55296).toString(16),trail:((t-65536)%1024+56320).toString(16)},u=n.lead,a=n.trail;return"\\u"+"0".repeat(4-u.length)+u+"\\u"+"0".repeat(4-a.length)+a}if(r.value.includes("{"))return"\\u{"+t.toString(16)+"}";var i=t.toString(16);return"\\u"+"0".repeat(4-i.length)+i}return e}(a,n),n.symbol=a,n.codePoint=a.codePointAt(0))}}}],["charClassRemoveDuplicates",{CharacterClass:function(e){for(var r=e.node,t={},n=0;n<r.expressions.length;n++){var u=e.getChild(n),a=u.jsonEncode();t.hasOwnProperty(a)&&(u.remove(),n--),t[a]=!0}}}],["quantifiersMerge",{Repetition:function(e){var r=e.node;if("Alternative"===e.parent.type&&e.index){var t=e.getPreviousSibling();if(t){if("Repetition"===t.node.type){if(!t.getChild().hasEqualSource(e.getChild()))return;var n=bz(t.node.quantifier),u=n.from,a=n.to,i=bz(r.quantifier),o=i.from,s=i.to;if(t.node.quantifier.greedy!==r.quantifier.greedy&&!b$(t.node.quantifier)&&!b$(r.quantifier))return;r.quantifier.kind="Range",r.quantifier.from=u+o,a&&s?r.quantifier.to=a+s:delete r.quantifier.to,(b$(t.node.quantifier)||b$(r.quantifier))&&(r.quantifier.greedy=!0),t.remove()}else{if(!t.hasEqualSource(e.getChild()))return;bM(r.quantifier),t.remove()}}}}}],["quantifierRangeToSymbol",{Quantifier:function(e){if("Range"===e.node.kind){var r,t,n;0!==(r=e.node).from||r.to||(r.kind="*",delete r.from),1!==(t=e.node).from||t.to||(t.kind="+",delete t.from),1===(n=e.node).from&&1===n.to&&e.parentPath.replace(e.parentPath.node.expression)}}}],["charClassClassrangesToChars",{ClassRange:function(e){var r=e.node;r.from.codePoint===r.to.codePoint?e.replace(r.from):r.from.codePoint===r.to.codePoint-1&&(e.getParent().insertChildAt(r.to,e.index+1),e.replace(r.from))}}],["charClassToMeta",{_hasIFlag:!1,_hasUFlag:!1,init:function(e){this._hasIFlag=e.flags.includes("i"),this._hasUFlag=e.flags.includes("u")},CharacterClass:function(e){var r,t,n,u,a,i,o,s,d;(function(e){e.node.expressions.forEach(function(r,t){"ClassRange"===r.type&&"0"===r.from.value&&"9"===r.to.value&&e.getChild(t).replace({type:"Char",value:"\\d",kind:"meta"})})})(e),r=this._hasIFlag,t=this._hasUFlag,n=e.node,u=null,a=null,i=null,o=null,s=null,d=null,n.expressions.forEach(function(n,c){bV(n,"\\d")?u=e.getChild(c):"ClassRange"===n.type&&"a"===n.from.value&&"z"===n.to.value?a=e.getChild(c):"ClassRange"===n.type&&"A"===n.from.value&&"Z"===n.to.value?i=e.getChild(c):"Char"===n.type&&"_"===n.value&&"simple"===n.kind?o=e.getChild(c):r&&t&&bZ(n,383)?s=e.getChild(c):r&&t&&bZ(n,8490)&&(d=e.getChild(c))}),u&&(a&&i||r&&(a||i))&&o&&(!t||!r||s&&d)&&(u.replace({type:"Char",value:"\\w",kind:"meta"}),a&&a.remove(),i&&i.remove(),o.remove(),s&&s.remove(),d&&d.remove()),function(e){var r=e.node;if(!(r.expressions.length<bW.length)&&bW.every(function(e){return r.expressions.some(function(r){return e(r)})})){var t=r.expressions.find(function(e){return bV(e,"\\n")});t.value="\\s",t.symbol=void 0,t.codePoint=NaN,r.expressions.map(function(r,t){return bW.some(function(e){return e(r)})?e.getChild(t):void 0}).filter(Boolean).forEach(function(e){return e.remove()})}}(e)}}],["charClassToSingleChar",{CharacterClass:function(e){var r=e.node;if(1===r.expressions.length&&function(e){var r=e.parent,t=e.index;if("Alternative"!==r.type)return!0;var n=r.expressions[t-1];return null==n||("Backreference"!==n.type||"number"!==n.kind)&&("Char"!==n.type||"decimal"!==n.kind)}(e)&&"Char"===(t=r.expressions[0]).type&&"\\b"!==t.value){var t,n,u,a,i=r.expressions[0],o=i.value,s=i.kind,d=i.escaped;if(r.negative){if(n=o,!/^\\[dwsDWS]$/.test(n))return;u=o,o=/[dws]/.test(u)?u.toUpperCase():u.toLowerCase()}e.replace({type:"Char",value:o,kind:s,escaped:d||(a=o,/[*[()+?$./{}|]/.test(a))})}}}],["charEscapeUnescape",{_hasXFlag:!1,init:function(e){this._hasXFlag=e.flags.includes("x")},Char:function(e){var r,t,n,u,a=e.node;a.escaped&&(r=this._hasXFlag,t=e.node.value,n=e.index,("CharacterClass"!==(u=e.parent).type&&"ClassRange"!==u.type?"{"===t?function(e,r){if(null==e)return!1;var t=bG(e+1,r),n=e+t+1,u=n<r.expressions.length&&r.expressions[n];if(t){if(bH(u,"}"))return!0;if(bH(u,","))return t=bG(n+1,r),bH(u=(n=n+t+1)<r.expressions.length&&r.expressions[n],"}")}return!1}(n,u):"}"===t?function(e,r){if(null==e)return!1;var t=bG(e-1,r,!0),n=e-t-1,u=n>=0&&r.expressions[n];return!!(t&&bH(u,"{"))||!!bH(u,",")&&(t=bG(n-1,r,!0),u=(n=n-t-1)<r.expressions.length&&r.expressions[n],t&&bH(u,"{"))}(n,u):!!(r&&/[ #]/.test(t))||/[*[()+?^$./\\|]/.test(t):"^"===t?0===n&&!u.negative:"-"===t||/[\]\\]/.test(t))||delete a.escaped)}}],["charClassClassrangesMerge",{_hasIUFlags:!1,init:function(e){this._hasIUFlags=e.flags.includes("i")&&e.flags.includes("u")},CharacterClass:function(e){var r=e.node.expressions,t=[];r.forEach(function(e){bX(e)&&t.push(e.value)}),r.sort(bK);for(var n=0;n<r.length;n++){var u,a=r[n];if(function(e,r,t){for(var n=0;n<r.length;n++)if(function e(r,t,n){return"ClassRange"===r.type?e(r.from,t,n)&&e(r.to,t,n):!!("\\S"===t&&(bX(r,"\\w")||bX(r,"\\d"))||"\\D"===t&&(bX(r,"\\W")||bX(r,"\\s"))||"\\w"===t&&bX(r,"\\d")||"\\W"===t&&bX(r,"\\s"))||!("Char"!==r.type||isNaN(r.codePoint))&&("\\s"===t?bQ(r):"\\S"===t?!bQ(r):"\\d"===t?b0(r):"\\D"===t?!b0(r):"\\w"===t?b1(r,n):"\\W"===t&&!b1(r,n))}(e,r[n],t))return!0;return!1}(a,t,this._hasIUFlags)||function(e,r){if(r&&"ClassRange"===r.type){if(function e(r,t){return!("Char"===r.type&&isNaN(r.codePoint))&&("ClassRange"===r.type?e(r.from,t)&&e(r.to,t):r.codePoint>=t.from.codePoint&&r.codePoint<=t.to.codePoint)}(e,r))return!0;if(b2(e)&&r.to.codePoint===e.codePoint-1)return r.to=e,!0;if("ClassRange"===e.type&&e.from.codePoint<=r.to.codePoint+1&&e.to.codePoint>=r.from.codePoint-1)return e.from.codePoint<r.from.codePoint&&(r.from=e.from),e.to.codePoint>r.to.codePoint&&(r.to=e.to),!0}return!1}(a,r[n-1])||(u=r[n+1])&&"ClassRange"===u.type&&b2(a)&&u.from.codePoint===a.codePoint+1&&(u.from=a,1))r.splice(n,1),n--;else{var i=function(e,r,t){if(!b2(e))return 0;for(var n=0;r>0;){var u=t[r],a=t[r-1];if(b2(a)&&a.codePoint===u.codePoint-1)n++,r--;else break}return n>1?(t[r]={type:"ClassRange",from:t[r],to:e},n):0}(a,n,r);r.splice(n-i+1,i),n-=i}}}}],["disjunctionRemoveDuplicates",{Disjunction:function(e){var r=e.node,t={},n=b3(r).filter(function(e){var r=e?bD.getForNode(e).jsonEncode():"null";return!t.hasOwnProperty(r)&&(t[r]=e,!0)});e.replace(b4(n))}}],["groupSingleCharsToCharClass",{Disjunction:function(e){var r=e.node,t=e.parent;if(b5[t.type]){var n=new Map;if(function e(r,t){if(!r)return!1;var n=r.type;if("Disjunction"===n){var u=r.left,a=r.right;return e(u,t)&&e(a,t)}if("Char"===n){if("meta"===r.kind&&"."===r.symbol)return!1;var i=r.value;return t.set(i,r),!0}return"CharacterClass"===n&&!r.negative&&r.expressions.every(function(r){return e(r,t)})}(r,n)&&n.size){var u={type:"CharacterClass",expressions:Array.from(n.keys()).sort().map(function(e){return n.get(e)})};b5[t.type](e.getParent(),u)}}}}],["removeEmptyGroup",{Group:function(e){var r=e.node,t=e.parent,n=e.getChild();r.capturing||n||("Repetition"===t.type?e.getParent().replace(r):"RegExp"!==t.type&&e.remove())}}],["ungroup",{Group:function(e){var r=e.node,t=e.parent,n=e.getChild();if(!r.capturing&&n&&function(e){var r=e.parent,t=e.index;if("Alternative"!==r.type)return!0;var n=r.expressions[t-1];return null==n||("Backreference"!==n.type||"number"!==n.kind)&&("Char"!==n.type||"decimal"!==n.kind)}(e)&&("Disjunction"!==n.node.type||"RegExp"===t.type)&&("Repetition"!==t.type||"Char"===n.node.type||"CharacterClass"===n.node.type)){if("Alternative"===n.node.type){var u=e.getParent();"Alternative"===u.node.type&&u.replace({type:"Alternative",expressions:[].concat(b8(t.expressions.slice(0,e.index)),b8(n.node.expressions),b8(t.expressions.slice(e.index+1)))})}else e.replace(n.node)}}}],["combineRepeatingPatterns",{Alternative:function(e){for(var r=e.node,t=1;t<r.expressions.length;){var n=e.getChild(t);if((t=Math.max(1,function(e,r,t){for(var n=e.node,u=Math.ceil(t/2),a=0;a<u;){var i=t-2*a-1,o=void 0,s=void 0;if(0===a?(o=r,s=e.getChild(i)):(o=bD.getForNode({type:"Alternative",expressions:[].concat(b6(n.expressions.slice(t-a,t)),[r.node])}),s=bD.getForNode({type:"Alternative",expressions:[].concat(b6(n.expressions.slice(i,t-a)))})),o.hasEqualSource(s)){for(var d=0;d<2*a+1;d++)e.getChild(i).remove();return r.replace({type:"Repetition",expression:0===a&&"Repetition"!==o.node.type?o.node:{type:"Group",capturing:!1,expression:o.node},quantifier:{type:"Quantifier",kind:"Range",from:2,to:2,greedy:!0}}),i}a++}return t}(e,n,t)))>=r.expressions.length||(n=e.getChild(t),(t=Math.max(1,function(e,r,t){for(var n=e.node,u=0;u<t;){var a=e.getChild(u);if("Repetition"===a.node.type&&a.node.quantifier.greedy){var i=a.getChild(),o=void 0;if("Group"!==i.node.type||i.node.capturing||(i=i.getChild()),u+1===t?"Group"!==(o=r).node.type||o.node.capturing||(o=o.getChild()):o=bD.getForNode({type:"Alternative",expressions:[].concat(b6(n.expressions.slice(u+1,t+1)))}),i.hasEqualSource(o)){for(var s=u;s<t;s++)e.getChild(u+1).remove();return b9(a.node.quantifier),u}}u++}return t}(e,n,t)))>=r.expressions.length))break;n=e.getChild(t),t=Math.max(1,function(e,r,t){var n=e.node;if("Repetition"===r.node.type&&r.node.quantifier.greedy){var u=r.getChild(),a=void 0;"Group"!==u.node.type||u.node.capturing||(u=u.getChild());var i=void 0;if("Alternative"===u.node.type?(i=u.node.expressions.length,a=bD.getForNode({type:"Alternative",expressions:[].concat(b6(n.expressions.slice(t-i,t)))})):(i=1,"Group"!==(a=e.getChild(t-1)).node.type||a.node.capturing||(a=a.getChild())),a.hasEqualSource(u)){for(var o=t-i;o<t;o++)e.getChild(t-i).remove();return b9(r.node.quantifier),t-i}}return t}(e,n,t)),t++}}}]]),ve=function e(r){if(null===r||"object"!=typeof r)return r;var t=void 0;for(var n in t=Array.isArray(r)?[]:{},r)t[n]=e(r[n]);return t},vr={EPSILON:"ε",EPSILON_CLOSURE:"ε*"},vt=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")},vn=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vu=vr.EPSILON,va=vr.EPSILON_CLOSURE,vi=function(){function e(r,t){!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this.in=r,this.out=t}return vn(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 r in e){var t=e[r];for(var n in t)n!==va&&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,r=!1,t=void 0;try{for(var n,u=this.getAcceptingStates()[Symbol.iterator]();!(e=(n=u.next()).done);e=!0){var a=n.value;this._acceptingStateNumbers.add(a.number)}}catch(e){r=!0,t=e}finally{try{!e&&u.return&&u.return()}finally{if(r)throw t}}}return this._acceptingStateNumbers}},{key:"getTransitionTable",value:function(){var e=this;if(!this._transitionTable){this._transitionTable={},this._acceptingStates=new Set;var r=new Set,t=new Set;(function n(u){if(!r.has(u)){r.add(u),u.number=r.size,e._transitionTable[u.number]={},u.accepting&&e._acceptingStates.add(u);var a=u.getTransitions(),i=!0,o=!1,s=void 0;try{for(var d,c=a[Symbol.iterator]();!(i=(d=c.next()).done);i=!0){var f=d.value,l=vt(f,2),p=l[0],g=l[1],m=[];t.add(p);var y=!0,h=!1,b=void 0;try{for(var v,x=g[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=v.value;n(E),m.push(E.number)}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}e._transitionTable[u.number][p]=m}}catch(e){o=!0,s=e}finally{try{!i&&c.return&&c.return()}finally{if(o)throw s}}}})(this.in),r.forEach(function(r){delete e._transitionTable[r.number][vu],e._transitionTable[r.number][va]=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}(r.getEpsilonClosure())).map(function(e){return e.number})})}return this._transitionTable}}]),e}(),vo=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")};function vs(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vd=null,vc=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}();function vf(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vl={minimize:function(e){var r=e.getTransitionTable(),t=Object.keys(r),n=e.getAlphabet(),u=e.getAcceptingStateNumbers();vd={};var a=new Set;t.forEach(function(e){e=Number(e),u.has(e)?vd[e]=u:(a.add(e),vd[e]=a)});var i=[[a,u].filter(function(e){return e.size>0})],o=void 0,s=void 0;for(o=i[i.length-1],s=i[i.length-2];!function(e,r){if(!r||e.length!==r.length)return!1;for(var t=0;t<e.length;t++){var n=e[t],u=r[t];if(n.size!==u.size||[].concat(vs(n)).sort().join(",")!==[].concat(vs(u)).sort().join(","))return!1}return!0}(o,s);)!function(){var e={},t=!0,u=!1,a=void 0;try{for(var d,c=o[Symbol.iterator]();!(t=(d=c.next()).done);t=!0){var f=d.value,l={},p=Array.isArray(f)?f:Array.from(f),g=p[0],m=p.slice(1);l[g]=new Set([g]);var y=!0,h=!1,b=void 0;try{r:for(var v,x=m[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=v.value,A=!0,D=!1,C=void 0;try{for(var S,_=Object.keys(l)[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;if(function(e,r,t,n){var u=!0,a=!1,i=void 0;try{for(var o,s=n[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d=o.value;if(!function(e,r,t,n){if(!vd[e]||!vd[r])return!1;var u=t[e][n],a=t[r][n];return!u&&!a||vd[e].has(u)&&vd[r].has(a)}(e,r,t,d))return!1}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return!0}(E,w,r,n)){l[w].add(E),l[E]=l[w];continue r}}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}l[E]=new Set([E])}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}Object.assign(e,l)}}catch(e){u=!0,a=e}finally{try{!t&&c.return&&c.return()}finally{if(u)throw a}}vd=e;var F=new Set(Object.keys(e).map(function(r){return e[r]}));i.push([].concat(vs(F))),o=i[i.length-1],s=i[i.length-2]}();var d=new Map,c=1;o.forEach(function(e){return d.set(e,c++)});var f={},l=new Set,p=!0,g=!1,m=void 0;try{for(var y,h=d.entries()[Symbol.iterator]();!(p=(y=h.next()).done);p=!0){var b=y.value,v=vo(b,2),x=v[0],E=v[1];f[E]={};var A=!0,D=!1,C=void 0;try{for(var S,_=n[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;!function(e,r){var t=!0,n=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value;u.has(s)&&l.add(r)}}catch(e){n=!0,a=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw a}}}(x,E);var F=void 0,T=!0,k=!1,P=void 0;try{for(var I,j=x[Symbol.iterator]();!(T=(I=j.next()).done)&&!(F=r[I.value][w]);T=!0);}catch(e){k=!0,P=e}finally{try{!T&&j.return&&j.return()}finally{if(k)throw P}}F&&(f[E][w]=d.get(vd[F]))}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}}}catch(e){g=!0,m=e}finally{try{!p&&h.return&&h.return()}finally{if(g)throw m}}return e.setTransitionTable(f),e.setAcceptingStateNumbers(l),e}},vp=vr.EPSILON_CLOSURE,vg=function(){function e(r){!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._nfa=r}return vc(e,[{key:"minimize",value:function(){this.getTransitionTable(),this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._originalTransitionTable=this._transitionTable,vl.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 r=this._nfa.getTransitionTable(),t=Object.keys(r);this._acceptingStateNumbers=new Set;for(var n=[r[t[0]][vp]],u=this.getAlphabet(),a=this._nfa.getAcceptingStateNumbers(),i={};n.length>0;){var o=n.shift(),s=o.join(",");i[s]={};var d=!0,c=!1,f=void 0;try{for(var l,p=u[Symbol.iterator]();!(d=(l=p.next()).done);d=!0){var g=l.value,m=[];!function(r){var t=!0,n=!1,u=void 0;try{for(var i,o=a[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value;if(-1!==r.indexOf(s)){e._acceptingStateNumbers.add(r.join(","));break}}}catch(e){n=!0,u=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw u}}}(o);var y=!0,h=!1,b=void 0;try{for(var v,x=o[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=r[v.value][g];if(E){var A=!0,D=!1,C=void 0;try{for(var S,_=E[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;r[w]&&m.push.apply(m,vf(r[w][vp]))}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}}}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}var F=new Set(m),T=[].concat(vf(F));if(T.length>0){var k=T.join(",");i[s][g]=k,i.hasOwnProperty(k)||n.unshift(T)}}}catch(e){c=!0,f=e}finally{try{!d&&p.return&&p.return()}finally{if(c)throw f}}}return this._transitionTable=this._remapStateNumbers(i)}},{key:"_remapStateNumbers",value:function(e){var r={};this._originalTransitionTable=e;var t={};for(var n in Object.keys(e).forEach(function(e,t){r[e]=t+1}),e){var u=e[n],a={};for(var i in u)a[i]=r[u[i]];t[r[n]]=a}this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._acceptingStateNumbers=new Set;var o=!0,s=!1,d=void 0;try{for(var c,f=this._originalAcceptingStateNumbers[Symbol.iterator]();!(o=(c=f.next()).done);o=!0){var l=c.value;this._acceptingStateNumbers.add(r[l])}}catch(e){s=!0,d=e}finally{try{!o&&f.return&&f.return()}finally{if(s)throw d}}return t}},{key:"getOriginalTransitionTable",value:function(){return this._originalTransitionTable||this.getTransitionTable(),this._originalTransitionTable}},{key:"matches",value:function(e){for(var r=1,t=0,n=this.getTransitionTable();e[t];)if(!(r=n[r][e[t++]]))return!1;return!!this.getAcceptingStateNumbers().has(r)}}]),e}(),vm=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vy=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.accepting;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._transitions=new Map,this.accepting=void 0!==t&&t}return vm(e,[{key:"getTransitions",value:function(){return this._transitions}},{key:"addTransition",value:function(e,r){return this.getTransitionsOnSymbol(e).add(r),this}},{key:"getTransitionsOnSymbol",value:function(e){var r=this._transitions.get(e);return r||(r=new Set,this._transitions.set(e,r)),r}}]),e}(),vh=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vb=vr.EPSILON,vv=function(e){function r(){return!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,r),function(e,r){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&("object"==typeof r||"function"==typeof r)?r:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return!function(e,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}(r,e),vh(r,[{key:"matches",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(r.has(this))return!1;if(r.add(this),0===e.length){if(this.accepting)return!0;var t=!0,n=!1,u=void 0;try{for(var a,i=this.getTransitionsOnSymbol(vb)[Symbol.iterator]();!(t=(a=i.next()).done);t=!0)if(a.value.matches("",r))return!0}catch(e){n=!0,u=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw u}}return!1}var o=e[0],s=e.slice(1),d=this.getTransitionsOnSymbol(o),c=!0,f=!1,l=void 0;try{for(var p,g=d[Symbol.iterator]();!(c=(p=g.next()).done);c=!0)if(p.value.matches(s))return!0}catch(e){f=!0,l=e}finally{try{!c&&g.return&&g.return()}finally{if(f)throw l}}var m=!0,y=!1,h=void 0;try{for(var b,v=this.getTransitionsOnSymbol(vb)[Symbol.iterator]();!(m=(b=v.next()).done);m=!0)if(b.value.matches(e,r))return!0}catch(e){y=!0,h=e}finally{try{!m&&v.return&&v.return()}finally{if(y)throw h}}return!1}},{key:"getEpsilonClosure",value:function(){var e=this;return this._epsilonClosure||function(){var r=e.getTransitionsOnSymbol(vb),t=e._epsilonClosure=new Set;t.add(e);var n=!0,u=!1,a=void 0;try{for(var i,o=r[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var s=i.value;t.has(s)||(t.add(s),s.getEpsilonClosure().forEach(function(e){return t.add(e)}))}}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}}(),this._epsilonClosure}}]),r}(vy),vx=vr.EPSILON;function vE(e){var r=new vv,t=new vv({accepting:!0});return new vi(r.addTransition(e,t),t)}var vA={alt:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var u=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d,c=o.value;(d=e).out.accepting=!1,c.out.accepting=!0,d.out.addTransition(vx,c.in),e=new vi(d.in,c.out)}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return e},char:vE,e:function(){return vE(vx)},or:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var u=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d=o.value;e=function(e,r){var t=new vv,n=new vv;return t.addTransition(vx,e.in),t.addTransition(vx,r.in),n.accepting=!0,e.out.accepting=!1,r.out.accepting=!1,e.out.addTransition(vx,n),r.out.addTransition(vx,n),new vi(t,n)}(e,d)}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return e},rep:function(e){return e.in.addTransition(vx,e.out),e.out.addTransition(vx,e.in),e},repExplicit:function(e){var r=new vv,t=new vv({accepting:!0});return r.addTransition(vx,e.in),r.addTransition(vx,t),e.out.accepting=!1,e.out.addTransition(vx,t),t.addTransition(vx,e.in),new vi(r,t)},plusRep:function(e){return e.out.addTransition(vx,e.in),e},questionRep:function(e){return e.in.addTransition(vx,e.out),e}},vD=vA.alt,vC=vA.char,vS=vA.or,v_=vA.rep,vw=vA.plusRep,vF=vA.questionRep;function vT(e){if(e&&!vk[e.type])throw Error(e.type+" is not supported in NFA/DFA interpreter.");return e?vk[e.type](e):""}var vk={RegExp:function(e){if(""!==e.flags)throw Error("NFA/DFA: Flags are not supported yet.");return vT(e.body)},Alternative:function(e){var r=(e.expressions||[]).map(vT);return vD.apply(void 0,function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}(r))},Disjunction:function(e){return vS(vT(e.left),vT(e.right))},Repetition:function(e){switch(e.quantifier.kind){case"*":return v_(vT(e.expression));case"+":return vw(vT(e.expression));case"?":return vF(vT(e.expression));default:throw Error("Unknown repeatition: "+e.quantifier.kind+".")}},Char:function(e){if("simple"!==e.kind)throw Error("NFA/DFA: Only simple chars are supported yet.");return vC(e.value)},Group:function(e){return vT(e.expression)}},vP={build:function(e){var r=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(r=br.parse(e,{captureLocations:!0})),vT(r)}},vI=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vj=function(){function e(r,t){var n=t.flags,u=t.groups,a=t.source;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._re=r,this._groups=u,this.flags=n,this.source=a||r.source,this.dotAll=n.includes("s"),this.global=r.global,this.ignoreCase=r.ignoreCase,this.multiline=r.multiline,this.sticky=r.sticky,this.unicode=r.unicode}return vI(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 r=this._re.exec(e);if(!this._groups||!r)return r;for(var t in r.groups={},this._groups){var n=this._groups[t];r.groups[t]=r[n]}return r}}]),e}(),vB={transform:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=r.length>0?r:Object.keys(bT),n=void 0,u={};return t.forEach(function(r){if(!bT.hasOwnProperty(r))throw Error("Unknown compat-transform: "+r+". Available transforms are: "+Object.keys(bT).join(", "));var t=bT[r];e=(n=bF.transform(e,t)).getAST(),"function"==typeof t.getExtra&&(u[r]=t.getExtra())}),n.setExtra(u),n}},vO={optimize:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.whitelist,n=void 0===t?[]:t,u=r.blacklist,a=void 0===u?[]:u,i=(n.length>0?n:Array.from(b7.keys())).filter(function(e){return!a.includes(e)}),o=e;e instanceof RegExp&&(e=""+e),"string"==typeof e&&(o=br.parse(e));var s=new bF.TransformResult(o),d=void 0;do d=s.toString(),o=ve(s.getAST()),i.forEach(function(e){if(!b7.has(e))throw Error("Unknown optimization-transform: "+e+". Available transforms are: "+Array.from(b7.keys()).join(", "));var r=b7.get(e),t=bF.transform(o,r);t.toString()!==s.toString()&&(t.toString().length<=s.toString().length?s=t:o=ve(s.getAST()))});while(s.toString()!==d);return s}},vR={parser:br,fa:{NFA:vi,DFA:vg,builders:vA,toNFA:function(e){return vP.build(e)},toDFA:function(e){return new vg(this.toNFA(e))},test:function(e,r){return this.toDFA(e).matches(r)}},TransformResult:bF.TransformResult,parse:function(e,r){return br.parse(""+e,r)},traverse:function(e,r,t){return bS.traverse(e,r,t)},transform:function(e,r){return bF.transform(e,r)},generate:function(e){return hL.generate(e)},toRegExp:function(e){var r=this.compatTranspile(e);return new RegExp(r.getSource(),r.getFlags())},optimize:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.blacklist;return vO.optimize(e,{whitelist:r,blacklist:n})},compatTranspile:function(e,r){return vB.transform(e,r)},exec:function(e,r){if("string"==typeof e){var t=this.compatTranspile(e),n=t.getExtra();e=n.namedCapturingGroups?new vj(t.toRegExp(),{flags:t.getFlags(),source:t.getSource(),groups:n.namedCapturingGroups}):t.toRegExp()}return e.exec(r)}};const vN=(e,r)=>{if(r=r||"","string"!=typeof e)throw TypeError(`Expected regexp to be of type \`string\`, got \`${typeof e}\``);if("string"!=typeof r)throw TypeError(`Expected flags to be of type \`string\`, got \`${typeof r}\``);for(let t of hj){let n=t[0],u=t[1];hO(r,u.flags)&&(e=e.replace(RegExp(hB(n),"g"),u.value))}return e},{optimize:vL}=vR,{isStringLiteral:vM,isNewExpression:v$,isRegexLiteral:vz}=fd,vU="better-regex",vW="better-regex/parse-error";var vq=Q({create:e=>{let{sortCharacterClasses:r}=e.options[0]||{},t=[];return!1===r&&t.push("charClassClassrangesMerge"),{Literal(e){if(!vz(e))return;let{raw:r,regex:n}=e;if(n.flags.includes("u"))return;let u=r;try{u=vL(r,void 0,{blacklist:t}).toString()}catch(t){return{node:e,messageId:vW,data:{original:r,error:t.message}}}if(r===u)return;let a={node:e,messageId:vU,data:{original:r,optimized:u}};return"MemberExpression"!==e.parent.type||e.parent.object!==e||e.parent.optional||e.parent.computed||"Identifier"!==e.parent.property.type||"toString"!==e.parent.property.name&&"source"!==e.parent.property.name?Object.assign(a,{fix:r=>r.replaceText(e,u)}):a},NewExpression(e){if(!v$(e,{name:"RegExp",minimumArguments:1}))return;let[r,t]=e.arguments;if(!vM(r))return;let n=r.value,u=vM(t)?t.value:"",a=vN(n,u);if(n!==a)return{node:e,messageId:vU,data:{original:n,optimized:a},fix:e=>e.replaceText(r,rB(a,r.raw.charAt(0)))}}}},meta:{type:"suggestion",docs:{description:"Improve regexes by making them shorter, consistent, and safer."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{sortCharacterClasses:{type:"boolean",default:!0}}}],messages:{[vU]:"{{original}} can be optimized to {{optimized}}.",[vW]:"Problem parsing {{original}}: {{error}}"}}});const{replaceTemplateElement:vV}=lt,{isRegexLiteral:vZ,isStringLiteral:vG}=fd,vH="escape-case",vK=/(?<=(?:^|[^\\])(?:\\\\)*\\)(?<data>x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|u{[\dA-Fa-f]+})/g,vJ=/(?<=(?:^|[^\\])(?:\\\\)*\\)(?<data>x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|u{[\dA-Fa-f]+}|c[a-z])/g,vX=({node:e,original:r,regex:t=vK,fix:n})=>{let u=r.replace(t,e=>e.slice(0,1)+e.slice(1).toUpperCase());if(u!==r)return{node:e,messageId:vH,fix:r=>n?n(r,u):r.replaceText(e,u)}};var vY=Q({create:e=>{e.on("Literal",e=>{if(vG(e))return vX({node:e,original:e.raw})}),e.on("Literal",e=>{if(vZ(e))return vX({node:e,original:e.raw,regex:vJ})}),e.on("TemplateElement",e=>vX({node:e,original:e.value.raw,fix:(r,t)=>vV(r,e,t)}))},meta:{type:"suggestion",docs:{description:"Require escape sequences to use uppercase values."},fixable:"code",messages:{[vH]:"Use uppercase characters for the value of the escape sequence."}}});const{replaceTemplateElement:vQ}=lt,{isStringLiteral:v0,isRegexLiteral:v1}=fd,v2="no-hex-escape";function v3(e,r,t){let n=t.replace(/(?<=(?:^|[^\\])(?:\\\\)*\\)x/g,"u00");if(t!==n)return{node:r,messageId:v2,fix:e=>"TemplateElement"===r.type?vQ(e,r,n):e.replaceText(r,n)}}var v4=Q({create:e=>({Literal(r){if(v0(r)||v1(r))return v3(e,r,r.raw)},TemplateElement:r=>v3(e,r,r.value.raw)}),meta:{type:"suggestion",docs:{description:"Enforce the use of Unicode escapes instead of hexadecimal escapes."},fixable:"code",messages:{[v2]:"Use Unicode escapes instead of hexadecimal escapes."}}});const{getPropertyName:v5}=ru,{fixSpaceAroundKeyword:v8}=lt,{isMemberExpression:v6,isMethodCall:v9}=fd;var v7=Q({create:function(e){return{CallExpression(r){let t;if(v9(r,{object:"Reflect",method:"apply",minimumArguments:1,optionalCall:!1,optionalMember:!1})?t=r.arguments[0]:v9(r,{names:["apply","bind","call"],optionalCall:!1,optionalMember:!1})&&(t=r.callee.object),!t||!v6(t,{optional:!1}))return;let n=t.object;if(!("ArrayExpression"===n.type&&0===n.elements.length||"ObjectExpression"===n.type&&0===n.properties.length))return;let u="ArrayExpression"===n.type?"Array":"Object",{sourceCode:a}=e,i=v5(t,a.getScope(t));return{node:t,messageId:i?"known-method":"unknown-method",data:{constructorName:u,methodName:i},*fix(e){yield e.replaceText(n,`${u}.prototype`),("ArrayExpression"===n.type||"ObjectExpression"===n.type)&&(yield*v8(e,r,a))}}}}},meta:{type:"suggestion",docs:{description:"Prefer borrowing methods from the prototype instead of the instance."},fixable:"code",messages:{"known-method":"Prefer using `{{constructorName}}.prototype.{{methodName}}`.","unknown-method":"Prefer using method from `{{constructorName}}.prototype`."}}});const{getStaticValue:xe}=ru,{isCallOrNewExpression:xr}=fd,xt="missing-message",xn="message-is-empty-string",xu="message-is-not-a-string",xa=["Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","InternalError","AggregateError"];var xi=Q({create:e=>{e.on(["CallExpression","NewExpression"],r=>{if(!xr(r,{names:xa,optional:!1}))return;let t=e.sourceCode.getScope(r);if(l4(t,r.callee))return;let n=r.callee.name,u="AggregateError"===n?1:0,a=r.arguments;if(a.some((e,r)=>r<=u&&"SpreadElement"===e.type))return;let i=a[u];if(!i)return{node:r,messageId:xt,data:{constructorName:n}};if("ArrayExpression"===i.type||"ObjectExpression"===i.type)return{node:i,messageId:xu};let o=xe(i,t);if(!o)return;let{value:s}=o;return"string"!=typeof s?{node:i,messageId:xu}:""===s?{node:i,messageId:xn}:void 0})},meta:{type:"problem",docs:{description:"Enforce passing a `message` value when creating a built-in error."},messages:{[xt]:"Pass a message to the `{{constructorName}}` constructor.",[xn]:"Error message should not be an empty string.",[xu]:"Error message should be a string."}}});const{checkVueTemplate:xo}=yj,{getParenthesizedRange:xs}=fj,{replaceNodeOrTokenAndSpacesBefore:xd,fixSpaceAroundKeyword:xc}=lt,xf=e=>"instanceof"===e.value&&"Keyword"===e.type,xl="no-instanceof-array";var xp=Q({create:xo(e=>{let{sourceCode:r}=e;return{BinaryExpression(e){if(!("instanceof"===e.operator&&"Identifier"===e.right.type&&"Array"===e.right.name))return;let{left:t,right:n}=e,u=r,a=u.getTokenAfter(t,xf);return!a&&r.parserServices.getTemplateBodyTokenStore&&(a=(u=r.parserServices.getTemplateBodyTokenStore()).getTokenAfter(t,xf)),{node:a,messageId:xl,*fix(i){yield*xc(i,e,r);let o=xs(t,u);yield i.insertTextBeforeRange(o,"Array.isArray("),yield i.insertTextAfterRange(o,")"),yield*xd(a,"",i,r,u),yield*xd(n,"",i,r,u)}}}}}),meta:{type:"suggestion",docs:{description:"Require `Array.isArray()` instead of `instanceof Array`."},fixable:"code",messages:{[xl]:"Use `Array.isArray()` instead of `instanceof Array`."}}});const{isNewExpression:xg}=fd,xm="prefer-type-error",xy=new Set(["isArguments","isArray","isArrayBuffer","isArrayLike","isArrayLikeObject","isBigInt","isBoolean","isBuffer","isDate","isElement","isError","isFinite","isFunction","isInteger","isLength","isMap","isNaN","isNative","isNil","isNull","isNumber","isObject","isObjectLike","isPlainObject","isPrototypeOf","isRegExp","isSafeInteger","isSet","isString","isSymbol","isTypedArray","isUndefined","isView","isWeakMap","isWeakSet","isWindow","isXMLDoc"]),xh=new Set(["isNaN","isFinite"]),xb=(e,r,t)=>void 0!==r&&r.arguments.length>0&&"Identifier"===e.type&&(!0===t&&xy.has(e.name)||!1===t&&xh.has(e.name)),xv=e=>e.parent&&e.parent.body&&1===e.parent.body.length,xx=(e,r)=>!!xb(e.property,r,!0)||"MemberExpression"===e.object.type&&xx(e.object,r),xE=(e,r)=>{switch(e.type){case"Identifier":return xb(e,r,!1);case"MemberExpression":return xx(e,r);case"CallExpression":return xE(e.callee,e);case"UnaryExpression":return"typeof"===e.operator||"!"===e.operator&&xE(e.argument);case"BinaryExpression":return"instanceof"===e.operator||xE(e.left,r)||xE(e.right,r);case"LogicalExpression":return xE(e.left,r)&&xE(e.right,r);default:return!1}},xA=e=>"IfStatement"===e.type&&xE(e.test);var xD=Q({create:()=>({ThrowStatement(e){if(xg(e.argument,{name:"Error"})&&xv(e)&&e.parent.parent&&xA(e.parent.parent)){let r=e.argument.callee;return{node:r,messageId:xm,fix:e=>e.insertTextBefore(r,"Type")}}}}),meta:{type:"suggestion",docs:{description:"Enforce throwing `TypeError` in type checking conditions."},fixable:"code",messages:{[xm]:"`new Error()` is too unspecific for a type check. Use `new TypeError()` instead."}}});const{isCallOrNewExpression:xC}=fd,xS="consistentDestructuring",x_="consistentDestructuringSuggest",xw=e=>{for(;e;){if(e.computed)return!1;if("MemberExpression"!==e.type)break;e=e.object}return"Identifier"===e.type||"ThisExpression"===e.type},xF=(e,r)=>{for(;e;){if(e===r)return!0;e=e.upper}return!1};var xT=Q({create:e=>{let{sourceCode:r}=e,t=new Map;return{VariableDeclarator(e){"ObjectPattern"===e.id.type&&e.init&&"Literal"!==e.init.type&&xw(e.init)&&t.set(r.getText(e.init),{scope:r.getScope(e),variables:r.getDeclaredVariables(e),objectPattern:e.id})},MemberExpression(e){if(e.computed||xC(e.parent)&&e.parent.callee===e||lG(e))return;let n=t.get(r.getText(e.object));if(!n)return;let{scope:u,objectPattern:a}=n,i=r.getScope(e);if(!xF(i,u))return;let o=a.properties.filter(e=>"Property"===e.type&&"Identifier"===e.key.type&&"Identifier"===e.value.type),s=a.properties[a.properties.length-1],d=s&&"RestElement"===s.type,c=r.getText(e),f=r.getText(e.property),l=o.find(e=>e.key.name===f);if(!l&&(d||lW(f,[i])!==f))return;if("MemberExpression"===e.parent.type)return{node:e,messageId:xS};let p=l?l.value.name:f;return{node:e,messageId:xS,suggest:[{messageId:x_,data:{expression:c,property:p},*fix(r){let{properties:t}=a,n=t[t.length-1];yield r.replaceText(e,p),l||(yield n?r.insertTextAfter(n,`, ${p}`):r.replaceText(a,`{${p}}`))}}]}}}},meta:{type:"suggestion",docs:{description:"Use destructured variables over properties."},fixable:"code",hasSuggestions:!0,messages:{[xS]:"Use destructured variables over properties.",[x_]:"Replace `{{expression}}` with destructured property `{{property}}`."}}}),xk=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];const xP=["Object","Array","ArrayBuffer","DataView","Date","Error","Function","Map","WeakMap","Set","WeakSet","Promise","RegExp","SharedArrayBuffer","Proxy","WeakRef","FinalizationRegistry",...xk],{GlobalReferenceTracker:xI}=mh,xj={enforceNew:xP,disallowNew:["BigInt","Boolean","Number","String","Symbol"]},{switchCallExpressionToNewExpression:xB,switchNewExpressionToCallExpression:xO}=lt;var xR=Q({create:e=>{let{sourceCode:r}=e,t=new xI({objects:xj.disallowNew,type:xI.CONSTRUCT,handle:e=>(function({node:e,path:[r]},t){let n={node:e,messageId:"disallow",data:{name:r}};return"String"!==r&&"Boolean"!==r&&"Number"!==r&&(n.fix=function*(r){yield*xO(e,t,r)}),n})(e,r)}),n=new xI({objects:xj.enforceNew,type:xI.CALL,handle:e=>(function({node:e,path:[r]},t){if("Object"===r){let{parent:r}=e;if("BinaryExpression"===r.type&&("==="===r.operator||"!=="===r.operator)&&(r.left===e||r.right===e))return}return{node:e,messageId:"enforce",data:{name:r},fix:r=>xB(e,t,r)}})(e,r)});return{*"Program:exit"(e){let u=r.getScope(e);yield*t.track(u),yield*n.track(u)}}},meta:{type:"suggestion",docs:{description:"Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`."},fixable:"code",messages:{enforce:"Use `new {{name}}()` instead of `{{name}}()`.",disallow:"Use `{{name}}()` instead of `new {{name}}()`."}}});const{hasSideEffect:xN}=ru,{removeArgument:xL}=lt,{getParentheses:xM,getParenthesizedText:x$}=fj,{isNodeMatches:xz}=li,{isNodeValueNotFunction:xU}=pD,{isMethodCall:xW}=fd,xq="error",xV="suggestion-bind",xZ="suggestion-remove",xG=["lodash.every","_.every","underscore.every","lodash.filter","_.filter","underscore.filter","Vue.filter","R.filter","lodash.find","_.find","underscore.find","R.find","lodash.findLast","_.findLast","underscore.findLast","R.findLast","lodash.findIndex","_.findIndex","underscore.findIndex","R.findIndex","lodash.findLastIndex","_.findLastIndex","underscore.findLastIndex","R.findLastIndex","lodash.flatMap","_.flatMap","lodash.forEach","_.forEach","React.Children.forEach","Children.forEach","R.forEach","lodash.map","_.map","underscore.map","React.Children.map","Children.map","jQuery.map","$.map","R.map","lodash.some","_.some","underscore.some"];function xH(e,r){return t=>xL(t,e.arguments[1],r)}var xK=Q({create:e=>{let{sourceCode:r}=e;return{CallExpression(e){if(!xW(e,{methods:["every","filter","find","findLast","findIndex","findLastIndex","flatMap","forEach","map","some"],argumentsLength:2,optionalCall:!1,optionalMember:!1})||xz(e.callee,xG)||xU(e.arguments[0]))return;let{callee:t}=e,n=t.property.name,[u,a]=e.arguments,i={node:a,messageId:xq,data:{method:n}},o=xN(a,r),s="ArrowFunctionExpression"===u.type;return s?o?i.suggest=[{messageId:xZ,fix:xH(e,r)}]:i.fix=xH(e,r):i.suggest=[{messageId:xZ,fix:xH(e,r)},{messageId:xV,fix:function*(t){yield xH(e,r)(t);let[n,u]=e.arguments,a=xM(n,r),i=a.length>0,o=i?a[a.length-1]:n;!i&&pa(n,r)&&(yield t.insertTextBefore(o,"("),yield t.insertTextAfter(o,")"));let s=x$(u,r);yield t.insertTextAfter(o,`.bind(${s})`)}}],i}}},meta:{type:"suggestion",docs:{description:"Disallow using the `this` argument in array methods."},fixable:"code",hasSuggestions:!0,messages:{[xq]:"Do not use the `this` argument in `Array#{{method}}()`.",[xZ]:"Remove the second argument.",[xV]:"Use a bound function."}}});const{isOpeningParenToken:xJ}=ru,{hasSideEffect:xX,isCommaToken:xY,isSemicolonToken:xQ}=ru,x0=(e,r)=>{let t=r.getTokenAfter(e.callee,xJ),n=r.getLastToken(e);return r.text.slice(t.range[1],n.range[0])},{isNodeMatches:x1}=li,x2=function(e,r){let{parent:t}=e,n=r.visitorKeys[t.type]||Object.keys(t);for(let r of n){let n=t[r];if(n===e)return;if(Array.isArray(n)){let r=n.indexOf(e);if(-1!==r)return n[r-1]}}},{isMethodCall:x3}=fd,x4="error",x5="suggestion",x8=e=>e&&"ExpressionStatement"===e.parent.type&&e.parent.expression===e&&x3(e,{method:"push",optionalCall:!1,optionalMember:!1});var x6=Q({create:function(e){let{ignore:r}={ignore:[],...e.options[0]},t=["stream","this","this.stream","process.stdin","process.stdout","process.stderr",...r],{sourceCode:n}=e;return{CallExpression(e){if(!x8(e))return;let r=e.callee.object;if(x1(r,t))return;let u=function(e,r){let t=x2(e.parent,r)?.expression;if(x8(t))return t}(e,n);if(!u)return;let a=u.callee.object;if(!l3(a,r))return;let i=e.arguments,o={node:e.callee.property,messageId:x4},s=function*(r){if(i.length>0){let t=x0(e,n),[a,i]=n.getLastTokens(u,2);yield xY(a)?r.insertTextAfter(a,` ${t}`):r.insertTextBefore(i,u.arguments.length>0?`, ${t}`:t)}let t=u.parent,a=e.parent,o=!xQ(n.getLastToken(t))&&xQ(n.getLastToken(a));yield r.replaceTextRange([t.range[1],a.range[1]],o?";":"")};return i.some(e=>xX(e,n))?o.suggest=[{messageId:x5,fix:s}]:o.fix=s,o}}},meta:{type:"suggestion",docs:{description:"Enforce combining multiple `Array#push()` into one call."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{ignore:{type:"array",uniqueItems:!0}}}],messages:{[x4]:"Do not call `Array#push()` multiple times.",[x5]:"Merge with previous one."}}});const{isStaticRequire:x9,isMethodCall:x7,isLiteral:Ee}=fd,Er="no-process-exit",Et=e=>Ee(e,"node:worker_threads")||Ee(e,"worker_threads");var En=Q({create:e=>{let r;let t=0===e.sourceCode.lines[0].indexOf("#!");if(t)return{};let n=!1,u=[];e.on("CallExpression",e=>{x9(e)&&Et(e.arguments[0])&&(n=!0)}),e.on("ImportDeclaration",e=>{"Literal"===e.source.type&&Et(e.source)&&(n=!0)}),e.on("CallExpression",e=>{x7(e,{object:"process",methods:["on","once"],minimumArguments:1,optionalCall:!1,optionalMember:!1})&&(r=e)}),e.onExit("CallExpression",e=>{e===r&&(r=void 0)}),e.on("CallExpression",e=>{!r&&x7(e,{object:"process",method:"exit",optionalCall:!1,optionalMember:!1})&&u.push(e)}),e.onExit("Program",function*(){if(!n)for(let e of u)yield{node:e,messageId:Er}})},meta:{type:"suggestion",docs:{description:"Disallow `process.exit()`."},messages:{[Er]:"Only use `process.exit()` in CLI apps. Throw an error instead."}}}),Eu=function(e,{test:r,expected:t,ruleId:n}){if(r?.(e)||(t=(t=Array.isArray(t)?t:[t]).map(e=>"string"==typeof e?{value:e}:e),!r&&t.some(r=>Object.entries(r).every(([r,t])=>e[r]===t))))return;let u=`'${JSON.stringify({value:e.value,type:e.type})}'`;t=t.map(e=>`'${JSON.stringify(e)}'`).join(" or ");let a=`\`${n}\`: Unexpected token ${u}`,i=`https://github.com/sindresorhus/eslint-plugin-unicorn/issues/new?title=${encodeURIComponent(a)}`,o=`Expected token ${t}, got ${u}.
4
- Please open an issue at ${i}.`;throw Error(o)};const{isSemicolonToken:Ea}=ru,Ei=function(e,r){let{loc:t,body:n}=e,u=r.getTokenBefore(n),{start:a}=t,{end:i}=u.loc;return{start:a,end:i}},{removeSpacesAfter:Eo}=lt,Es="no-static-only-class",Ed=({type:e,value:r})=>"Punctuator"===e&&"="===r,Ec=e=>"ClassDeclaration"===e.type&&"ExportDefaultDeclaration"===e.parent.type&&e.parent.declaration===e,Ef=e=>"PropertyDefinition"===e.type,El=e=>"MethodDefinition"===e.type;var Ep=Q({create:function(e){e.on(["ClassDeclaration","ClassExpression"],r=>{if(r.superClass||r.decorators&&r.decorators.length>0||"ClassBody"!==r.body.type||0===r.body.body.length||r.body.body.some(e=>!function(e){let{private:r,static:t,declare:n,readonly:u,accessibility:a,decorators:i,key:o}=e;return!(!Ef(e)&&!El(e)||!t||r||"PrivateIdentifier"===o.type||n||u||void 0!==a||Array.isArray(i)&&i.length>0)}(e)))return;let{sourceCode:t}=e;return{node:r,loc:Ei(r,t),messageId:Es,fix:function(e,r){let{type:t,id:n,body:u,declare:a,abstract:i,implements:o,parent:s}=e;if(a||i||Array.isArray(o)&&o.length>0||"ClassExpression"===t&&n)return;let d=Ec(e);if(!d||!n){for(let e of u.body)if(Ef(e)&&(e.typeAnnotation||e.value&&r.getText(e.value).includes("this")))return;return function*(n){let a=r.getFirstToken(e);if(Eu(a,{expected:{type:"Keyword",value:"class"},ruleId:"no-static-only-class"}),d||"ClassExpression"===t){if("ClassExpression"===t&&"ReturnStatement"===s.type&&u.loc.start.line!==s.loc.start.line&&r.text.slice(a.range[1],u.range[0]).trim()){yield n.replaceText(a,"{");let e=r.getFirstToken(u);yield n.remove(e)}else yield n.replaceText(a,""),yield Eo(a,r,n)}else yield n.replaceText(a,"const"),yield n.insertTextBefore(u,"= "),yield n.insertTextAfter(u,";");for(let e of u.body)yield*function*(e,r,t){let n=r.getFirstToken(e);Eu(n,{expected:{type:"Keyword",value:"static"},ruleId:"no-static-only-class"}),yield t.remove(n),yield Eo(n,r,t);let u=Ef(e)?r.getLastToken(e):r.getTokenAfter(e),a=Ea(u);if(Ef(e)){let{key:n,value:i}=e;if(i){let e=r.getTokenAfter(n,Ed);yield t.replaceText(e,":")}else a?yield t.insertTextBefore(u,": undefined"):yield t.insertTextAfter(e,": undefined")}yield a?t.replaceText(u,","):t.insertTextAfter(e,",")}(e,r,n)}}}(r,t)}})},meta:{type:"suggestion",docs:{description:"Disallow classes that only have static members."},fixable:"code",messages:{[Es]:"Use an object instead of a class with only static members."}}});const{isParenthesized:Eg}=ru,{fixSpaceAroundKeyword:Em}=lt,Ey="no-unreadable-array-destructuring",Eh=(e,r,t)=>null===e&&null===t[r+1];var Eb=Q({create:e=>{let{sourceCode:r}=e;return{ArrayPattern(e){let{elements:t,parent:n}=e;if(t.length<3||!t.some((e,r,t)=>Eh(e,r,t)))return;let u={node:e,messageId:Ey},a=t.filter(e=>null!==e);if("VariableDeclarator"===n.type&&n.id===e&&null!==n.init&&1===a.length){let[i]=a;"AssignmentPattern"!==i.type&&(u.fix=function*(u){let a=t.indexOf(i),o="RestElement"===i.type,s=o?i.argument:i;yield u.replaceText(e,r.getText(s));let d=o?`.slice(${a})`:`[${a}]`,c=n.init;!Eg(c,r)&&pa(c,r)?(yield u.insertTextBefore(c,"("),yield u.insertTextAfter(n,`)${d}`)):yield u.insertTextAfter(n,d),yield*Em(u,e,r)})}return u}}},meta:{type:"suggestion",docs:{description:"Disallow unreadable array destructuring."},fixable:"code",messages:{[Ey]:"Array destructuring may not contain consecutive ignored values."}}});const{isCommaToken:Ev}=ru,{removeParentheses:Ex,fixSpaceAroundKeyword:EE,addParenthesizesToReturnOrThrowExpression:EA}=lt,{isParenthesized:ED,isOnSameLine:EC}=pD,{isNewExpression:ES,isMethodCall:E_,isCallOrNewExpression:Ew}=fd,EF="spread-in-list",ET="iterable-to-array",Ek="iterable-to-array-in-for-of",EP="iterable-to-array-in-yield-star",EI="clone-array",Ej=e=>"ArrayExpression"===e.type&&1===e.elements.length&&e.elements[0]?.type==="SpreadElement",EB={ArrayExpression:"array literal",ObjectExpression:"object literal",CallExpression:"arguments",NewExpression:"arguments"};function*EO(e,r,t){let[n,u,a]=t.getFirstTokens(r,3);yield e.remove(n),yield e.remove(u);let[i,o]=t.getLastTokens(r,2);yield e.remove(o),Ev(i)&&(yield e.remove(i));let{parent:s}=r;if(("ReturnStatement"===s.type||"ThrowStatement"===s.type)&&s.argument===r&&!EC(n,a)&&!ED(r,t)){yield*EA(e,s,t);return}yield*EE(e,r,t)}var ER=Q({create:e=>{let{sourceCode:r}=e;e.on(["ArrayExpression","ObjectExpression"],e=>{if(!("SpreadElement"===e.parent.type&&e.parent.argument===e&&("ObjectExpression"===e.type&&"ObjectExpression"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent)||"ArrayExpression"===e.type&&("ArrayExpression"===e.parent.parent.type&&e.parent.parent.elements.includes(e.parent)||Ew(e.parent.parent)&&e.parent.parent.arguments.includes(e.parent)))))return;let t=e.parent,n=r.getFirstToken(t),u=t.parent.type;return{node:n,messageId:EF,data:{argumentType:"ArrayExpression"===e.type?"array":"object",parentDescription:EB[u]},*fix(t){let a;yield t.remove(n),yield*Ex(e,t,r);let i=r.getFirstToken(e);yield t.remove(i);let[o,s]=r.getLastTokens(e,2);if(yield t.remove(s),Ev(o)&&(yield t.remove(o)),"CallExpression"!==u&&"NewExpression"!==u)return;let d=(a=r.getFirstToken(e),e.elements.map((t,n,u)=>{if(n===u.length-1){let t=r.getLastToken(e,{skip:1});return Ev(t)?t:void 0}let i=r.getTokenAfter(t||a,Ev);return a=i,i}));for(let[r,n]of d.entries())e.elements[r]||(yield t.insertTextBefore(n,"undefined"))}}}),e.on("ArrayExpression",e=>{if(!Ej(e))return;let{parent:t}=e;if(!("ForOfStatement"===t.type&&t.right===e||"YieldExpression"===t.type&&t.delegate&&t.argument===e||(ES(t,{names:["Map","WeakMap","Set","WeakSet"],argumentsLength:1})||ES(t,{names:xk,minimumArguments:1})||E_(t,{object:"Promise",methods:["all","allSettled","any","race"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||E_(t,{objects:["Array",...xk],method:"from",argumentsLength:1,optionalCall:!1,optionalMember:!1})||E_(t,{object:"Object",method:"fromEntries",argumentsLength:1,optionalCall:!1,optionalMember:!1}))&&t.arguments[0]===e))return;let n="",u=ET;switch(t.type){case"ForOfStatement":u=Ek;break;case"YieldExpression":u=EP;break;case"NewExpression":n=`new ${t.callee.name}(…)`;break;case"CallExpression":n=`${t.callee.object.name}.${t.callee.property.name}(…)`}return{node:e,messageId:u,data:{parentDescription:n},fix:t=>EO(t,e,r)}}),e.on("ArrayExpression",e=>{if(!Ej(e))return;let t=e.elements[0].argument;if(!(E_(t,{methods:["concat","copyWithin","filter","flat","flatMap","map","slice","splice","toReversed","toSorted","toSpliced","with"],optionalCall:!1,optionalMember:!1})||E_(t,{method:"split",optionalCall:!1,optionalMember:!1})||E_(t,{object:"Object",methods:["keys","values"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||"AwaitExpression"===t.type&&E_(t.argument,{object:"Promise",methods:["all","allSettled"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||E_(t,{object:"Array",methods:["from","of"],optionalCall:!1,optionalMember:!1})||ES(t,{name:"Array"})))return;let n={node:e,messageId:EI};return ES(t,{name:"Array"})||"CallExpression"===t.type&&"MemberExpression"===t.callee.type&&"Identifier"===t.callee.property.type&&"slice"===t.callee.property.name?n:Object.assign(n,{fix:t=>EO(t,e,r)})})},meta:{type:"suggestion",docs:{description:"Disallow unnecessary spread."},fixable:"code",messages:{[EF]:"Spread an {{argumentType}} literal in {{parentDescription}} is unnecessary.",[ET]:"`{{parentDescription}}` accepts iterable as argument, it's unnecessary to convert to an array.",[Ek]:"`for…of` can iterate over iterable, it's unnecessary to convert to an array.",[EP]:"`yield*` can delegate iterable, it's unnecessary to convert to an array.",[EI]:"Unnecessarily cloning an array."}}});const{isColonToken:EN}=ru,{isEmptyNode:EL}=fd,EM=function(e,r){let t=e.test||r.getFirstToken(e),n=r.getTokenAfter(t,EN);return{start:e.loc.start,end:n.loc.end}},E$="no-useless-switch-case/error",Ez="no-useless-switch-case/suggestion",EU=e=>e.consequent.every(e=>EL(e));var EW=Q({create:e=>({*SwitchStatement(r){let{cases:t}=r,n=t.filter(e=>null===e.test);if(1!==n.length)return;let[u]=n;if(u!==t[t.length-1])return;let a=[];for(let e=t.length-2;e>=0;e--){let r=t[e];if(EU(r))a.unshift(r);else break}for(let r of a)yield{node:r,loc:EM(r,e.sourceCode),messageId:E$,suggest:[{messageId:Ez,fix:e=>e.remove(r)}]}}}),meta:{type:"suggestion",docs:{description:"Disallow useless case in switch statements."},hasSuggestions:!0,messages:{[E$]:"Useless case in switch statement.",[Ez]:"Remove this case."}}});const{isCommaToken:Eq}=ru,{replaceNodeOrTokenAndSpacesBefore:EV}=lt,{isUndefined:EZ,isFunction:EG}=fd,EH="no-useless-undefined",EK=new Set(["is","equal","notEqual","strictEqual","notStrictEqual","propertyVal","notPropertyVal","not","include","property","toBe","toHaveBeenCalledWith","toContain","toContainEqual","toEqual","same","notSame","strictSame","strictNotSame"]),EJ=e=>{let r;return"Identifier"===e.type?r=e.name:"MemberExpression"===e.type&&!1===e.computed&&"Identifier"===e.property.type&&(r=e.property.name),EK.has(r)||"push"===r||"unshift"===r||"includes"===r||"add"===r||"has"===r||"set"===r||"createContext"===r||"ref"===r},EX=e=>{for(;e;e=e.upper)if("function"===e.type)return e.block},EY=e=>!e.optional&&"MemberExpression"===e.callee.type&&!e.callee.computed&&"Identifier"===e.callee.property.type&&"bind"===e.callee.property.name,EQ=e=>/\.(?:ts|mts|cts|tsx)$/i.test(e.physicalFilename);var E0=Q({create:e=>{let{sourceCode:r}=e,t=(e,t,n)=>{if(n){let t=EX(r.getScope(e));if(t?.returnType)return}return{node:e,messageId:EH,fix:t}},n={checkArguments:!0,...e.options[0]},u=(e,t)=>EV(e,"",t,r);e.on("Identifier",e=>{if(EZ(e)&&"ReturnStatement"===e.parent.type&&e.parent.argument===e)return t(e,r=>u(e,r),!0)}),e.on("Identifier",e=>{if(EZ(e)&&"YieldExpression"===e.parent.type&&!e.parent.delegate&&e.parent.argument===e)return t(e,r=>u(e,r))}),e.on("Identifier",e=>{if(EZ(e)&&"ArrowFunctionExpression"===e.parent.type&&e.parent.body===e)return t(e,t=>EV(e," {}",t,r),!0)}),e.on("Identifier",e=>{if(EZ(e)&&"VariableDeclarator"===e.parent.type&&e.parent.init===e&&"VariableDeclaration"===e.parent.parent.type&&"const"!==e.parent.parent.kind&&e.parent.parent.declarations.includes(e.parent))return t(e,r=>r.removeRange([e.parent.id.range[1],e.range[1]]),!0)}),e.on("Identifier",r=>{if(EZ(r)&&"AssignmentPattern"===r.parent.type&&r.parent.right===r)return t(r,function*(t){let n=r.parent,{left:u}=n;yield t.removeRange([u.range[1],r.range[1]]),(u.typeAnnotation||EQ(e))&&!u.optional&&EG(n.parent)&&n.parent.params.includes(n)&&(yield u.typeAnnotation?t.insertTextBefore(u.typeAnnotation,"?"):t.insertTextAfter(u,"?"))},!0)}),n.checkArguments&&e.on("CallExpression",e=>{if(EJ(e.callee))return;let t=e.arguments;if(EY(e)&&1!==t.length)return;let n=[];for(let e=t.length-1;e>=0;e--){let r=t[e];if(EZ(r))n.unshift(r);else break}if(0===n.length)return;let u=n[0],a=n[n.length-1];return{messageId:EH,loc:{start:u.loc.start,end:a.loc.end},fix(e){let i=u.range[0],o=a.range[1],s=t[t.length-n.length-1];if(s)i=s.range[1];else{let e=r.getTokenAfter(a);Eq(e)&&(o=e.range[1])}return e.removeRange([i,o])}}})},meta:{type:"suggestion",docs:{description:"Disallow useless `undefined`."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{checkArguments:{type:"boolean"}}}],messages:{[EH]:"Do not use useless `undefined`."}}});const{isBigIntLiteral:E1}=fd,E2="numeric-separators-style";function E3(e,{minimumDigits:r,groupLength:t},n){let{length:u}=e;if(u<r)return e;let a=[];if(n)for(let r=0;r<u;r+=t){let n=Math.min(r+t,u);a.push(e.slice(r,n))}else for(let r=u;r>0;r-=t){let n=Math.max(r-t,0);a.unshift(e.slice(n,r))}return a.join("_")}const E4={binary:{minimumDigits:0,groupLength:4},octal:{minimumDigits:0,groupLength:4},hexadecimal:{minimumDigits:0,groupLength:2},number:{minimumDigits:5,groupLength:3}},E5=({minimumDigits:e,groupLength:r})=>({type:"object",additionalProperties:!1,properties:{onlyIfContainsSeparator:{type:"boolean"},minimumDigits:{type:"integer",minimum:0,default:e},groupLength:{type:"integer",minimum:1,default:r}}}),E8=[{type:"object",additionalProperties:!1,properties:{...Object.fromEntries(Object.entries(E4).map(([e,r])=>[e,E5(r)])),onlyIfContainsSeparator:{type:"boolean",default:!1}}}];var E6=Q({create:e=>{let{onlyIfContainsSeparator:r,binary:t,octal:n,hexadecimal:u,number:a}={onlyIfContainsSeparator:!1,...e.options[0]},i={"0b":{onlyIfContainsSeparator:r,...E4.binary,...t},"0o":{onlyIfContainsSeparator:r,...E4.octal,...n},"0x":{onlyIfContainsSeparator:r,...E4.hexadecimal,...u},"":{onlyIfContainsSeparator:r,...E4.number,...a}};return{Literal(e){if(!pn.isNumeric(e)||pn.isLegacyOctal(e))return;let{raw:r}=e,t=r,n="";E1(e)&&(t=r.slice(0,-1),n="n");let u=t.replace(/_/g,""),{prefix:a,data:o}=pn.getPrefix(u),{onlyIfContainsSeparator:s}=i[a.toLowerCase()];if(s&&!r.includes("_"))return;let d=function(e,{prefix:r,data:t},n){let u=n[r.toLowerCase()];if(r)return r+E3(t,u);let{number:a,mark:i,sign:o,power:s}=pn.parseNumber(e);return function(e,r){let{integer:t,dot:n,fractional:u}=pn.parseFloatNumber(e);return E3(t,r)+n+E3(u,r,!0)}(a,u)+i+o+E3(s,n[""])}(u,{prefix:a,data:o},i)+n;if(r!==d)return{node:e,messageId:E2,fix:r=>r.replaceText(e,d)}}}},meta:{type:"suggestion",docs:{description:"Enforce the style of numeric separators by correctly grouping digits."},fixable:"code",schema:E8,messages:{[E2]:"Invalid group length in numeric value."}}});const{isParenthesized:E9,findVariable:E7}=ru,{extendFixRange:Ae,removeMemberExpressionProperty:Ar,removeMethodCall:At,renameVariable:An}=lt,{isLeftHandSide:Au,singular:Aa,getScopes:Ai,avoidCapture:Ao,getVariableIdentifiers:As}=pD,{isMethodCall:Ad}=fd,Ac="error-zero-index",Af="error-shift",Al="error-pop",Ap="error-at-minus-one",Ag="error-destructuring-declaration",Am="error-destructuring-assignment",Ay="error-variable",Ah="suggest-nullish-coalescing-operator",Ab="suggest-logical-or-operator",Av=e=>Ad(e,{method:"filter",minimumArguments:1,maximumArguments:2,optionalCall:!1,optionalMember:!1}),Ax=(e,r)=>{let t="AssignmentExpression"===e.type;if(!t||E9(e,r))return!1;let{left:n}=AA(e),[u]=n.elements,{type:a}="AssignmentPattern"===u.type?u.left:u;return"ObjectExpression"===a||"ObjectPattern"===a},AE=(e,r)=>"LogicalExpression"===e.type&&(e.operator===r||"||"===r&&"??"===e.operator||"??"===r&&("||"===e.operator||"&&"===e.operator))||"ConditionalExpression"===e.type||"AssignmentExpression"===e.type||"YieldExpression"===e.type||"SequenceExpression"===e.type,AA=e=>e?"AssignmentExpression"===e.type?e:"VariableDeclarator"===e.type?{left:e.id,right:e.init}:{}:{};function*AD(e,r,t){let{left:n}=AA(e),[u]=n.elements,a=r.getText("AssignmentPattern"===u.type?u.left:u);yield t.replaceText(n,a),Ax(e,r)&&(yield t.insertTextBefore(e,"("),yield t.insertTextAfter(e,")"))}const AC=e=>"AssignmentPattern"===AA(e).left.elements[0].type,AS=(e,r,t,n)=>{let{left:u,right:a}=AA(e),[i]=u.elements,o=i.right,s=r.getText(o);return(E9(o,r)||AE(o,n))&&(s=`(${s})`),t.insertTextAfter(a,` ${n} ${s}`)},A_=(e,r)=>{let t,n;let{property:u}=AA(r).right.callee;return AC(r)?t=[{operator:"??",messageId:Ah},{operator:"||",messageId:Ab}].map(({messageId:t,operator:n})=>({messageId:t,*fix(t){yield t.replaceText(u,"find"),yield AS(r,e,t,n),yield*AD(r,e,t)}})):n=function*(t){yield t.replaceText(u,"find"),yield*AD(r,e,t)},{fix:n,suggest:t}},Aw=e=>"MemberExpression"===e.parent.type&&!0===e.parent.computed&&e.parent.object===e&&"Literal"===e.parent.property.type&&"0"===e.parent.property.raw,AF=e=>{let{left:r,right:t}=AA(e.parent);return r&&t&&t===e&&"ArrayPattern"===r.type&&1===r.elements.length&&r.elements[0]&&"RestElement"!==r.elements[0].type};var AT=Q({create:e=>{let{sourceCode:r}=e,{checkFromLast:t}={checkFromLast:!1,...e.options[0]};e.on("MemberExpression",e=>{if(e.computed&&"Literal"===e.property.type&&"0"===e.property.raw&&Av(e.object)&&!Au(e))return{node:e.object.callee.property,messageId:Ac,fix:t=>[t.replaceText(e.object.callee.property,"find"),Ar(t,e,r)]}}),e.on("CallExpression",e=>{if(Ad(e,{method:"shift",argumentsLength:0,optionalCall:!1,optionalMember:!1})&&Av(e.callee.object))return{node:e.callee.object.callee.property,messageId:Af,fix:t=>[t.replaceText(e.callee.object.callee.property,"find"),...At(t,e,r)]}}),e.on("VariableDeclarator",e=>{if("ArrayPattern"===e.id.type&&1===e.id.elements.length&&e.id.elements[0]&&"RestElement"!==e.id.elements[0].type&&Av(e.init))return{node:e.init.callee.property,messageId:Ag,...A_(r,e)}}),e.on("AssignmentExpression",e=>{if("ArrayPattern"===e.left.type&&1===e.left.elements.length&&e.left.elements[0]&&"RestElement"!==e.left.elements[0].type&&Av(e.right))return{node:e.right.callee.property,messageId:Am,...A_(r,e)}}),e.on("VariableDeclarator",e=>{if(!("Identifier"===e.id.type&&Av(e.init)&&"VariableDeclaration"===e.parent.type&&e.parent.declarations.includes(e)&&!("ExportNamedDeclaration"===e.parent.parent.type&&e.parent.parent.declaration===e.parent)))return;let t=r.getScope(e),n=E7(t,e.id),u=As(n).filter(r=>r!==e.id);if(0===u.length)return;let a=[],i=[];for(let e of u)if(Aw(e))a.push(e.parent);else{if(!AF(e))return;i.push(e.parent)}let o={node:e.init.callee.property,messageId:Ay};return i.some(e=>AC(e))||(o.fix=function*(u){yield u.replaceText(e.init.callee.property,"find");let o=Aa(e.id.name);if(o){let e=Ao(o,Ai(t));yield*An(n,e,u),yield*Ae(u,r.ast.range)}for(let e of a)yield Ar(u,e,r);for(let e of i)yield*AD(e,r,u)}),o}),t&&(e.on("CallExpression",e=>{if(Ad(e,{method:"pop",argumentsLength:0,optionalCall:!1,optionalMember:!1})&&Av(e.callee.object))return{node:e.callee.object.callee.property,messageId:Al,fix:t=>[t.replaceText(e.callee.object.callee.property,"findLast"),...At(t,e,r)]}}),e.on("CallExpression",e=>{if(Ad(e,{method:"at",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&"UnaryExpression"===e.arguments[0].type&&"-"===e.arguments[0].operator&&e.arguments[0].prefix&&"Literal"===e.arguments[0].argument.type&&"1"===e.arguments[0].argument.raw&&Av(e.callee.object))return{node:e.callee.object.callee.property,messageId:Ap,fix:t=>[t.replaceText(e.callee.object.callee.property,"findLast"),...At(t,e,r)]}}))},meta:{type:"suggestion",docs:{description:"Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{checkFromLast:{type:"boolean",default:!1}}}],messages:{[Ay]:"Prefer `.find(…)` over `.filter(…)`.",[Ac]:"Prefer `.find(…)` over `.filter(…)[0]`.",[Af]:"Prefer `.find(…)` over `.filter(…).shift()`.",[Al]:"Prefer `.findLast(…)` over `.filter(…).pop()`.",[Ap]:"Prefer `.findLast(…)` over `.filter(…).at(-1)`.",[Ag]:"Prefer `.find(…)` over destructuring `.filter(…)`.",[Am]:"Prefer `.find(…)` over destructuring `.filter(…)`.",[Ah]:"Replace `.filter(…)` with `.find(…) ?? …`.",[Ab]:"Replace `.filter(…)` with `.find(…) || …`."}}});const{isNodeMatches:Ak}=li,{isMethodCall:AP}=fd,{removeMethodCall:AI}=lt,Aj="prefer-array-flat-map",AB=["React.Children","Children"];var AO=Q({create:e=>({CallExpression(r){if(!(AP(r,{method:"flat",optionalCall:!1,optionalMember:!1})&&(0===r.arguments.length||1===r.arguments.length&&"Literal"===r.arguments[0].type&&"1"===r.arguments[0].raw)&&AP(r.callee.object,{method:"map",optionalCall:!1,optionalMember:!1})))return;let t=r.callee.object;if(Ak(t.callee.object,AB))return;let{sourceCode:n}=e,u=t.callee.property;return{node:r,loc:{start:u.loc.start,end:r.loc.end},messageId:Aj,*fix(e){yield*AI(e,r,n),yield e.replaceText(u,"flatMap")}}}}),meta:{type:"suggestion",docs:{description:"Prefer `.flatMap(…)` over `.map(…).flat()`."},fixable:"code",messages:{[Aj]:"Prefer `.flatMap(…)` over `.map(…).flat()`."}}});const{getParenthesizedText:AR,isArrayPrototypeProperty:AN,isNodeMatches:AL,isNodeMatchesNameOrPath:AM,isParenthesized:A$,isSameIdentifier:Az,needsSemicolon:AU,shouldAddParenthesesToMemberExpressionObject:AW}=pD,{fixSpaceAroundKeyword:Aq}=lt,{isMethodCall:AV,isCallExpression:AZ}=fd,AG="prefer-array-flat",AH=e=>"ArrayExpression"===e.type&&0===e.elements.length,AK={testFunction(e){if(!AV(e,{method:"flatMap",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return!1;let[r]=e.arguments;return"ArrowFunctionExpression"===r.type&&!r.async&&1===r.params.length&&Az(r.params[0],r.body)},getArrayNode:e=>e.callee.object,description:"Array#flatMap()"},AJ={testFunction(e){if(!AV(e,{method:"reduce",argumentsLength:2,optionalCall:!1,optionalMember:!1}))return!1;let[r,t]=e.arguments;if(!("ArrowFunctionExpression"===r.type&&!r.async&&2===r.params.length&&AH(t)))return!1;let n=r.body,[u,a]=r.params;return AV(n,{method:"concat",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&Az(u,n.callee.object)&&Az(a,n.arguments[0])||"ArrayExpression"===n.type&&2===n.elements.length&&n.elements.every((e,t)=>e?.type==="SpreadElement"&&"Identifier"===e.argument.type&&Az(r.params[t],e.argument))},getArrayNode:e=>e.callee.object,description:"Array#reduce()"},AX={testFunction:e=>AV(e,{method:"concat",argumentsLength:1,allowSpreadElement:!0,optionalCall:!1,optionalMember:!1})&&AH(e.callee.object),getArrayNode(e){let r=e.arguments[0];return"SpreadElement"===r.type?r.argument:r},description:"[].concat()",shouldSwitchToArray:e=>"SpreadElement"!==e.arguments[0].type},AY={testFunction(e){if(!(AV(e,{methods:["apply","call"],argumentsLength:2,allowSpreadElement:!0,optionalCall:!1,optionalMember:!1})&&AN(e.callee.object,{property:"concat"})))return!1;let[r,t]=e.arguments;return AH(r)&&("call"===e.callee.property.name||"SpreadElement"!==t.type)},getArrayNode(e){let r=e.arguments[1];return"SpreadElement"===r.type?r.argument:r},description:"Array.prototype.concat()",shouldSwitchToArray:e=>"SpreadElement"!==e.arguments[1].type&&"call"===e.callee.property.name},AQ=["_.flatten","lodash.flatten","underscore.flatten"];var A0=Q({create:function(e){let{functions:r}={functions:[],...e.options[0]},t=[...r,...AQ],n=[AK,AJ,AX,AY,{testFunction:e=>AZ(e,{argumentsLength:1,optional:!1})&&AL(e.callee,t),getArrayNode:e=>e.arguments[0],description:e=>`${t.find(r=>AM(e.callee,r)).trim()}()`}];return{*CallExpression(r){for(let{testFunction:t,description:u,getArrayNode:a,shouldSwitchToArray:i}of n){if(!t(r))continue;let n=a(r),o={description:"string"==typeof u?u:u(r)},s={node:r,messageId:AG,data:o},{sourceCode:d}=e;d.getCommentsInside(r).length===d.getCommentsInside(n).length&&(s.fix=function(e,r,t,n){return"function"==typeof n&&(n=n(e)),function*(u){let a=AR(r,t);n?a=`[${a}]`:!A$(r,t)&&AW(r,t)&&(a=`(${a})`),a=`${a}.flat()`;let i=t.getTokenBefore(e);AU(i,t,a)&&(a=`;${a}`),yield u.replaceText(e,a),yield*Aq(u,e,t)}}(r,n,d,i)),yield s}}}},meta:{type:"suggestion",docs:{description:"Prefer `Array#flat()` over legacy techniques to flatten arrays."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{functions:{type:"array",uniqueItems:!0}}}],messages:{[AG]:"Prefer `Array#flat()` over `{{description}}` to flatten an array."}}});const{checkVueTemplate:A1}=yj,{isBooleanNode:A2,getParenthesizedRange:A3,isNodeValueNotFunction:A4}=pD,{removeMemberExpressionProperty:A5}=lt,{isLiteral:A8,isUndefined:A6,isMethodCall:A9,isMemberExpression:A7}=fd,De="some",Dr="some-suggestion",Dt="filter",Dn=e=>"BinaryExpression"===e.parent.type&&e.parent.left===e&&(("!="===e.parent.operator||"=="===e.parent.operator||"==="===e.parent.operator||"!=="===e.parent.operator)&&A6(e.parent.right)||("!="===e.parent.operator||"=="===e.parent.operator)&&A8(e.parent.right,null));var Du=Q({create:A1(e=>({CallExpression(r){if(!A9(r,{methods:["find","findLast"],minimumArguments:1,maximumArguments:2,optionalCall:!1,optionalMember:!1}))return;let t=Dn(r);if(!t&&!A2(r))return;let n=r.callee.property;return{node:n,messageId:De,data:{method:n.name},suggest:[{messageId:Dr,*fix(u){if(yield u.replaceText(n,"some"),!t)return;let a=A3(r,e.sourceCode);yield u.replaceTextRange([a[1],r.parent.range[1]],""),"!="!==r.parent.operator&&"!=="!==r.parent.operator&&(yield u.insertTextBeforeRange(a,"!"))}}]}},BinaryExpression(r){if(!((">"===r.operator||"!=="===r.operator)&&"Literal"===r.right.type&&"0"===r.right.raw&&A7(r.left,{property:"length",optional:!1})&&A9(r.left.object,{method:"filter",optionalCall:!1,optionalMember:!1})))return;let t=r.left.object,[n]=t.arguments;if(!n||A4(n))return;let u=t.callee.property;return{node:u,messageId:Dt,*fix(t){yield t.replaceText(u,"some");let{sourceCode:n}=e,a=r.left;yield A5(t,a,n),yield t.removeRange([A3(a,n)[1],r.range[1]])}}}})),meta:{type:"suggestion",docs:{description:"Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`."},fixable:"code",messages:{[De]:"Prefer `.some(…)` over `.{{method}}(…)`.",[Dr]:"Replace `.{{method}}(…)` with `.some(…)`.",[Dt]:"Prefer `.some(…)` over non-zero length check from `.filter(…)`."},hasSuggestions:!0}});const{isMethodCall:Da}=fd,Di=e=>Da(e,{method:"charCodeAt",optionalCall:!1,optionalMember:!1})?"codePointAt":Da(e,{object:"String",method:"fromCharCode",optionalCall:!1,optionalMember:!1})?"fromCodePoint":void 0;var Do=Q({create:()=>({CallExpression(e){let r=Di(e);if(!r)return;let t=e.callee.property,n=t.name;return{node:t,messageId:`error/${n}`,suggest:[{messageId:`suggestion/${r}`,fix:e=>e.replaceText(t,r)}]}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`."},hasSuggestions:!0,messages:{"error/charCodeAt":"Prefer `String#codePointAt()` over `String#charCodeAt()`.","error/fromCharCode":"Prefer `String.fromCodePoint()` over `String.fromCharCode()`.","suggestion/codePointAt":"Use `String#codePointAt()`.","suggestion/fromCodePoint":"Use `String.fromCodePoint()`."}}});const{findVariable:Ds}=ru,{functionTypes:Dd}=fd,Dc="preferDefaultParameters",Df="preferDefaultParametersSuggest",Dl=(e,r)=>e&&r&&"Identifier"===e.type&&"LogicalExpression"===r.type&&("||"===r.operator||"??"===r.operator)&&"Identifier"===r.left.type&&"Literal"===r.right.type,Dp=(e,r)=>{if(!r)return!1;if("CallExpression"===r.type)return!0;let t=e.visitorKeys[r.type];for(let n of t){let t=r[n];if(Array.isArray(t)){for(let r of t)if(Dp(e,r))return!0}else if(Dp(e,t))return!0}return!1},Dg=(e,r,t)=>{for(let n of r.body.body){if(n===t)break;if(Dp(e,n))return!0}return!1},Dm=(e,r,t)=>!!e&&r[0].identifier!==t||!e&&r.length>1,Dy=(e,r)=>{let t=e[e.length-1];return r&&r===t},Dh=(e,r)=>{if("ArrowFunctionExpression"!==r.type||r.params.length>1)return!1;let[t]=r.params,n=e.getTokenBefore(t),u=e.getTokenAfter(t);return!u||!n||"("!==n.value||")"!==u.value},Db=(e,r,t)=>{let{line:n}=t.loc.start,{column:u}=t.loc.end,a=r.getText(t),i=r.lines[n-1],o=i.trim()===a,s=" "===i[u];return o?e.removeRange([r.getIndexFromLoc({line:n,column:0}),r.getIndexFromLoc({line:n+1,column:0})]):s?e.removeRange([t.range[0],t.range[1]+1]):e.remove(t)};var Dv=Q({create:e=>{let{sourceCode:r}=e,t=[],n=(e,n,u,a)=>{let i=t[t.length-1];if(!i||!Dl(n,u))return;let{name:o}=n,{left:{name:s},right:{raw:d}}=u;if(a&&o!==s)return;let c=Ds(r.getScope(e),s);if(!c)return;let{references:f}=c,{params:l}=i,p=l.find(e=>"Identifier"===e.type&&e.name===s);if(Dg(r,i,e)||Dm(a,f,n)||!Dy(l,p))return;let g=Dh(r,i)?`(${o} = ${d})`:`${o} = ${d}`;return{node:e,messageId:Dc,suggest:[{messageId:Df,fix:t=>[t.replaceText(p,g),Db(t,r,e)]}]}};e.on(Dd,e=>{t.push(e)}),e.onExit(Dd,()=>{t.pop()}),e.on("AssignmentExpression",e=>{if("ExpressionStatement"===e.parent.type&&e.parent.expression===e)return n(e.parent,e.left,e.right,!0)}),e.on("VariableDeclarator",e=>{if("VariableDeclaration"===e.parent.type&&e.parent.declarations[0]===e)return n(e.parent,e.id,e.init,!1)})},meta:{type:"suggestion",docs:{description:"Prefer default parameters over reassignment."},fixable:"code",hasSuggestions:!0,messages:{[Dc]:"Prefer default parameters over reassignment.",[Df]:"Replace reassignment with default parameter."}}});const{findVariable:Dx,getStaticValue:DE,getPropertyName:DA}=ru,{isMethodCall:DD}=fd,{removeArgument:DC}=lt,DS="prefer-json-parse-buffer",D_=e=>{for(;"AwaitExpression"===e.type;)e=e.argument;return e},Dw=(e,r)=>DF(DE(e,r)?.value),DF=e=>"string"==typeof e&&("utf8"===(e=e.toLowerCase())||"utf-8"===e);var DT=Q({create:e=>({CallExpression(r){if(!DD(r,{object:"JSON",method:"parse",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let[t]=r.arguments,{sourceCode:n}=e,u=n.getScope(t);if(!((t=function e(r,t){if(!r)return;if(!(r=D_(r))||"Identifier"!==r.type)return r;let n=Dx(t,r);if(!n)return;let{identifiers:u,references:a}=n;if(1!==u.length||2!==a.length)return;let[i]=u;if("VariableDeclarator"===i.parent.type&&i.parent.id===i)return e(i.parent.init,n.scope)}(t,u))&&"CallExpression"===t.type&&!t.optional&&2===t.arguments.length&&!t.arguments.some(e=>"SpreadElement"===e.type)&&"MemberExpression"===t.callee.type&&!t.callee.optional))return;let a=DA(t.callee,u);if("readFile"!==a&&"readFileSync"!==a)return;let[,i]=t.arguments;if(function(e,r){if("ObjectExpression"===e.type&&1===e.properties.length&&"Property"===e.properties[0].type&&"encoding"===DA(e.properties[0],r)&&Dw(e.properties[0].value,r)||Dw(e,r))return!0;let t=DE(e,r);if(!t)return!1;let{value:n}=t;return!!("object"==typeof n&&1===Object.keys(n).length&&DF(n.encoding))}(i,u))return{node:i,messageId:DS,fix:e=>DC(e,i,n)}}}),meta:{type:"suggestion",docs:{description:"Prefer reading a JSON file as a buffer."},fixable:"code",messages:{[DS]:"Prefer reading the JSON file as a buffer."}}});const{isParenthesized:Dk,getParenthesizedText:DP}=fj,DI=function(e,{operator:r,property:t}){if(!t)throw Error("`property` is required.");return("LogicalExpression"!==e.type||e.operator!==r)&&("AwaitExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"ConditionalExpression"===e.type||"AssignmentExpression"===e.type||"ArrowFunctionExpression"===e.type||"YieldExpression"===e.type||"SequenceExpression"===e.type)},Dj="prefer-logical-operator-over-ternary/error",DB="prefer-logical-operator-over-ternary/suggestion";function DO(e,r,t){if(l3(e,r))return!0;if(e.type!==r.type)return!1;switch(e.type){case"AwaitExpression":return DO(e.argument,r.argument,t);case"LogicalExpression":return e.operator===r.operator&&DO(e.left,r.left,t)&&DO(e.right,r.right,t);case"UnaryExpression":return e.operator===r.operator&&e.prefix===r.prefix&&DO(e.argument,r.argument,t);case"UpdateExpression":return!1}return t.getText(e)===t.getText(r)}function DR({sourceCode:e,conditionalExpression:r,left:t,right:n}){return{node:r,messageId:Dj,suggest:["??","||"].map(u=>({messageId:DB,data:{operator:u},fix:a=>(function({fixer:e,sourceCode:r,conditionalExpression:t,left:n,right:u,operator:a}){let i=[n,u].map((e,t)=>{let n=Dk(e,r),u=n?DP(e,r):r.getText(e);return!n&&DI(e,{operator:a,property:0===t?"left":"right"})&&(u=`(${u})`),u}).join(` ${a} `);return l9(r.getTokenBefore(t),r,i)&&(i=`;${i}`),e.replaceText(t,i)})({fixer:a,sourceCode:e,conditionalExpression:r,left:t,right:n,operator:u})}))}}var DN=Q({create:e=>{let{sourceCode:r}=e;return{ConditionalExpression(e){let{test:t,consequent:n,alternate:u}=e;return DO(t,n,r)?DR({sourceCode:r,conditionalExpression:e,left:t,right:u}):"UnaryExpression"===t.type&&"!"===t.operator&&t.prefix&&DO(t.argument,u,r)?DR({sourceCode:r,conditionalExpression:e,left:t.argument,right:n}):void 0}}},meta:{type:"suggestion",docs:{description:"Prefer using a logical operator over a ternary."},hasSuggestions:!0,messages:{[Dj]:"Prefer using a logical operator over a ternary.",[DB]:"Switch to `{{operator}}` operator."}}});const{isOpeningParenToken:DL,isClosingParenToken:DM}=ru,D$="with-name",Dz="without-name";var DU=Q({create:e=>({CatchClause(r){let t=r.param;if(!t)return;let{sourceCode:n}=e,u=n.getDeclaredVariables(t.parent);if(u.some(e=>e.references.length>0))return;let{type:a,name:i,parent:o}=t;return{node:t,messageId:"Identifier"===a?D$:Dz,data:{name:i},*fix(e){let r=n.getTokenBefore(t);Eu(r,{test:DL,expected:"(",ruleId:"prefer-optional-catch-binding"});let u=n.getTokenAfter(t);Eu(u,{test:DM,expected:")",ruleId:"prefer-optional-catch-binding"}),yield e.remove(r),yield e.remove(t),yield e.remove(u);let[,a]=u.range,[i]=o.body.range,s=n.text.slice(a,i),d=s.length-s.trimStart().length;0!==d&&(yield e.removeRange([a,a+d]))}}}}),meta:{type:"suggestion",docs:{description:"Prefer omitting the `catch` binding parameter."},fixable:"code",messages:{[D$]:"Remove unused catch binding `{{name}}`.",[Dz]:"Remove unused catch binding."}}});const{isParenthesized:DW,getStaticValue:Dq}=ru,{checkVueTemplate:DV}=yj,{isRegexLiteral:DZ,isNewExpression:DG,isMethodCall:DH}=fd,{isBooleanNode:DK,shouldAddParenthesesToMemberExpressionObject:DJ}=pD,DX="regexp-exec",DY="string-match",DQ="suggestion",D0=[{type:DX,test:e=>DH(e,{method:"exec",argumentsLength:1,optionalCall:!1,optionalMember:!1}),getNodes:e=>({stringNode:e.arguments[0],methodNode:e.callee.property,regexpNode:e.callee.object}),fix:(e,{methodNode:r})=>e.replaceText(r,"test")},{type:DY,test:e=>DH(e,{method:"match",argumentsLength:1,optionalCall:!1,optionalMember:!1}),getNodes:e=>({stringNode:e.callee.object,methodNode:e.callee.property,regexpNode:e.arguments[0]}),*fix(e,{stringNode:r,methodNode:t,regexpNode:n},u){yield e.replaceText(t,"test");let a=u.getText(r);DW(n,u)||"SequenceExpression"!==r.type||(a=`(${a})`),yield e.replaceText(n,a);let i=u.getText(n);!DW(r,u)&&DJ(n,u)&&(i=`(${i})`),yield e.replaceText(r,i)}}],D1=e=>DZ(e)||DG(e,{name:"RegExp"}),D2=(e,r)=>{let t=Dq(e,r);if(!t)return!1;let{value:n}=t;return"[object RegExp]"===Object.prototype.toString.call(n)&&!n.global};var D3=Q({create:DV(e=>({*CallExpression(r){if(DK(r))for(let{type:t,test:n,getNodes:u,fix:a}of D0){if(!n(r))continue;let i=u(r),{methodNode:o,regexpNode:s}=i;if("Literal"===s.type&&!s.regex)continue;let d={node:t===DX?o:r,messageId:t},{sourceCode:c}=e,f=e=>a(e,i,c);D1(s)||D2(s,c.getScope(s))?d.fix=f:d.suggest=[{messageId:DQ,fix:f}],yield d}}})),meta:{type:"suggestion",docs:{description:"Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`."},fixable:"code",hasSuggestions:!0,messages:{[DX]:"Prefer `.test(…)` over `.exec(…)`.",[DY]:"Prefer `RegExp#test(…)` over `String#match(…)`.",[DQ]:"Switch to `RegExp#test(…)`."}}});const{findVariable:D4}=ru,{getVariableIdentifiers:D5}=pD,{isCallOrNewExpression:D8,isMethodCall:D6}=fd,D9="error",D7="suggestion",Ce=["concat","copyWithin","fill","filter","flat","flatMap","map","reverse","slice","sort","splice","toReversed","toSorted","toSpliced","with"],Cr=e=>{let{type:r,optional:t,callee:n,arguments:u}=e.parent.parent??{};return"CallExpression"===r&&!t&&"MemberExpression"===n.type&&!n.computed&&!n.optional&&n.object===e&&"Identifier"===n.property.type&&"includes"===n.property.name&&1===u.length&&"SpreadElement"!==u[0].type},Ct=new Set(["ForOfStatement","ForStatement","ForInStatement","WhileStatement","DoWhileStatement","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]),Cn=(e,r)=>{let t=r.parent.parent.parent,{parent:n}=e.parent;for(;n&&n!==t;){if(Ct.has(n.type))return!0;n=n.parent}return!1};var Cu=Q({create:e=>({Identifier(r){let{parent:t}=r;if(!("VariableDeclarator"===t.type&&t.id===r&&t.init&&"VariableDeclaration"===t.parent.type&&t.parent.declarations.includes(t)&&!("ExportNamedDeclaration"===t.parent.parent.type&&t.parent.parent.declaration===t.parent)&&("ArrayExpression"===t.init.type||D8(t.init,{name:"Array",optional:!1})||D6(t.init,{object:"Array",methods:["from","of"],optionalCall:!1,optionalMember:!1})||D6(t.init,{methods:Ce,optionalCall:!1,optionalMember:!1}))))return;let n=D4(e.sourceCode.getScope(r),r);if(!n)return;let u=D5(n).filter(e=>e!==r);if(0===u.length||u.some(e=>!Cr(e))||1===u.length&&u.every(e=>!Cn(e,r)))return;let a={node:r,messageId:D9,data:{name:r.name}},i=function*(e){for(let t of(yield e.insertTextBefore(r.parent.init,"new Set("),yield e.insertTextAfter(r.parent.init,")"),u))yield e.replaceText(t.parent.property,"has")};return r.typeAnnotation?a.suggest=[{messageId:D7,fix:i}]:a.fix=i,a}}),meta:{type:"suggestion",docs:{description:"Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence."},fixable:"code",hasSuggestions:!0,messages:{[D9]:"`{{name}}` should be a `Set`, and use `{{name}}.has()` to check existence or non-existence.",[D7]:"Switch `{{name}}` to `Set`."}}});const{hasSideEffect:Ca}=ru,Ci=function(e,r){let{line:t,column:n}=r.getLocFromIndex(e.range[0]),u=r.getLines(),a=u[t-1].slice(0,n);return a.match(/\s*$/)[0]},Co="prefer-switch",Cs=(e,r)=>e===r||l3(e,r),Cd=new Set(["WhileStatement","DoWhileStatement","ForStatement","ForOfStatement","ForInStatement","SwitchStatement"]),Cc=e=>{for(;e.parent;e=e.parent)if(Cd.has(e.type))return e},Cf=(e,r)=>e.range[0]>=r.range[0]&&e.range[1]<=r.range[1];var Cl=Q({create:e=>{let r={minimumCases:3,emptyDefaultCase:"no-default-comment",insertBreakInDefaultCase:!1,...e.options[0]},{sourceCode:t}=e,n=new Set,u=[],a=new Set;return{IfStatement(e){n.add(e)},BreakStatement(e){e.label||u.push(e)},*"Program:exit"(){for(let e of n){if(a.has(e))continue;let{discriminant:n,ifStatements:i}=function(e){let r;let t=[];for(;e&&"IfStatement"===e.type;e=e.alternate){let{test:n}=e,u=function(e){let r=[e],t=[];for(;r.length>0;){if("LogicalExpression"===(e=r.pop()).type&&"||"===e.operator){r.push(e.right,e.left);continue}if("BinaryExpression"!==e.type||"==="!==e.operator)return[];t.push(e)}return t}(n);if(0===u.length)break;if(!r){let[{left:e,right:t}]=u;r=[e,t]}let a=function(e,r){for(let{left:t,right:n}of e)if(0===(r=r.filter(e=>Cs(e,t)||Cs(e,n))).length)break;return r}(u,r);if(0===a.length)break;r=a,t.push({statement:e,compareExpressions:u})}return{ifStatements:t,discriminant:r&&r[0]}}(e);if(!n||i.length<r.minimumCases)continue;for(let{statement:e}of i)a.add(e);let o={loc:{start:e.loc.start,end:e.consequent.loc.start},messageId:Co};Ca(n,t)||i.some(({statement:e})=>(function(e,r){for(let t of e){if(!Cf(t,r))continue;let e=Cc(t);if(!e||Cf(r,e))return!0}return!1})(u,e))||(o.fix=function({discriminant:e,ifStatements:r},t,n){let u=t.getText(e);return function*(a){let i=r[0].statement,o=Ci(i,t);yield a.insertTextBefore(i,`switch (${u}) {`);let s=r[r.length-1].statement;if(s.alternate){let{alternate:e}=s;yield a.insertTextBefore(e,`
3
+ export {${o}} ${mt(i,e)}`)}1===r.variable.references.length&&(yield*mr(r.node,n,e)),yield*mr(t.node,n,e)}}({sourceCode:r,imported:t,exported:n,exportDeclarations:u,program:e});i?a.suggest=[{messageId:g5,fix:o}]:a.fix=o,yield a}}}}},meta:{type:"suggestion",docs:{description:"Prefer `export…from` when re-exporting."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{ignoreUsedVariables:{type:"boolean",default:!1}}}],messages:{[g4]:"Use `export…from` to re-export `{{exported}}`.",[g5]:"Switch to `export…from`."}}});const{getFunctionHeadLocation:mu,getFunctionNameWithKind:ma}=ru,{functionTypes:mi}=fd,mo="prefer-native-coercion-functions",ms=new Set(["String","Number","BigInt","Boolean","Symbol"]),md=new Set(["every","filter","find","findLast","findIndex","findLastIndex","some"]),mc=(e,r)=>e?.type==="CallExpression"&&!e.optional&&"Identifier"===e.callee.type&&ms.has(e.callee.name)&&e.arguments[0]?.type==="Identifier"&&e.arguments[0].name===r,mf=e=>"ArrowFunctionExpression"===e.type&&"Identifier"===e.body.type&&e.body.name===e.params[0].name||"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&e.body.body[0].argument?.type==="Identifier"&&e.body.body[0].argument.name===e.params[0].name,ml=e=>mf(e)&&"CallExpression"===e.parent.type&&!e.parent.optional&&e.parent.arguments[0]===e&&"MemberExpression"===e.parent.callee.type&&!e.parent.callee.computed&&!e.parent.callee.optional&&"Identifier"===e.parent.callee.property.type&&md.has(e.parent.callee.property.name);var mp=Q({create:e=>{e.on(mi,r=>{if(r.async||r.generator||0===r.params.length||"Identifier"!==r.params[0].type||("MethodDefinition"===r.parent.type&&("constructor"===r.parent.kind||"set"===r.parent.kind)||"Property"===r.parent.type&&"set"===r.parent.kind)&&r.parent.value===r)return;let t=function(e){if(ml(e))return{replacementFunction:"Boolean",fix:r=>r.replaceText(e,"Boolean")}}(r)||function(e){let r=function(e){let r=e.params[0].name;return"ArrowFunctionExpression"===e.type&&mc(e.body,r)?e.body:"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&mc(e.body.body[0].argument,r)?e.body.body[0].argument:void 0}(e);if(!r)return;let{name:t}=r.callee,n={replacementFunction:t};return"FunctionDeclaration"===e.type||1!==r.arguments.length||(n.fix=r=>{let n=t;return"Property"===e.parent.type&&e.parent.method&&e.parent.value===e?n=`: ${n}`:"MethodDefinition"===e.parent.type&&(n=` = ${n};`),r.replaceText(e,n)}),n}(r);if(!t)return;let{sourceCode:n}=e,{replacementFunction:u,fix:a}=t;return t={node:r,loc:mu(r,n),messageId:mo,data:{functionNameWithKind:ma(r,n),replacementFunction:u}},!a||1!==r.params.length||n.getCommentsInside(r).length>0||(t.fix=a),t})},meta:{type:"suggestion",docs:{description:"Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly."},fixable:"code",messages:{[mo]:"{{functionNameWithKind}} is equivalent to `{{replacementFunction}}`. Use `{{replacementFunction}}` directly."}}});const{ReferenceTracker:mg}=ru,mm=(e,r)=>{let t={[r]:!0},n=e.split(".").reverse();for(let e of n)t={[e]:t};return t};let my=class{#e={};#r;#t;constructor({object:e,objects:r=[e],filter:t,handle:n,type:u=mg.READ}){for(let e of r)Object.assign(this.#e,mm(e,u));this.#r=t,this.#t=n}*track(e){let r=new mg(e);for(let e of r.iterateGlobalReferences(this.#e)){if(this.#r&&!this.#r(e))continue;let r=this.#t(e);r&&(r[Symbol.iterator]?yield*r:yield r)}}createListeners(e){return{"Program:exit":r=>this.track(e.sourceCode.getScope(r))}}};Object.assign(my,{READ:mg.READ,CALL:mg.CALL,CONSTRUCT:mg.CONSTRUCT});var mh={GlobalReferenceTracker:my};const{GlobalReferenceTracker:mb}=mh,mv="no-document-cookie",mx=new mb({object:"document.cookie",filter:({node:e})=>"AssignmentExpression"===e.parent.type&&e.parent.left===e,handle:({node:e})=>({node:e,messageId:mv})});var mE=Q({create:e=>mx.createListeners(e),meta:{type:"problem",docs:{description:"Do not use `document.cookie` directly."},messages:{[mv]:"Do not use `document.cookie` directly."}}});const mA=e=>[`webkit${e}`,`o${e.toLowerCase()}`,e.toLowerCase()];var mD=new Set(["click","rightclick","dblclick","auxclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","mousecancel","selectionchange","selectstart","wheel","keypress","keydown","keyup","blur","focus","deactivate","focusin","focusout","change","reset","select","submit","input","propertychange","dragstart","drag","dragenter","dragover","dragleave","drop","dragend","touchstart","touchmove","touchend","touchcancel","beforeunload","consolemessage","contextmenu","devicechange","devicemotion","deviceorientation","DOMContentLoaded","error","help","load","losecapture","orientationchange","readystatechange","resize","scroll","unload","canplay","canplaythrough","durationchange","emptied","ended","loadeddata","loadedmetadata","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","sourceopen","sourceended","sourceclosed","abort","update","updatestart","updateend","hashchange","pagehide","pageshow","popstate","copy","paste","cut","beforecopy","beforecut","beforepaste","online","offline","message","connect","install","activate","fetch","foreignfetch","messageerror","statechange","updatefound","controllerchange",...mA("AnimationStart"),...mA("AnimationEnd"),...mA("AnimationIteration"),...mA("TransitionEnd"),"pointerdown","pointerup","pointercancel","pointermove","pointerover","pointerout","pointerenter","pointerleave","gotpointercapture","lostpointercapture","MSGestureChange","MSGestureEnd","MSGestureHold","MSGestureStart","MSGestureTap","MSGotPointerCapture","MSInertiaStart","MSLostPointerCapture","MSPointerCancel","MSPointerDown","MSPointerEnter","MSPointerHover","MSPointerLeave","MSPointerMove","MSPointerOut","MSPointerOver","MSPointerUp","text","textinput","textInput","compositionstart","compositionupdate","compositionend","beforeinput","exit","loadabort","loadcommit","loadredirect","loadstart","loadstop","responsive","sizechanged","unresponsive","visibilitychange","storage","DOMSubtreeModified","DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMAttrModified","DOMCharacterDataModified","beforeprint","afterprint","beforeinstallprompt","appinstalled","afterblur","beforeblur","cancel","close","dragexit","encrypted","fullscreenchange","invalid","toggle","search","open","show"]);const{isParenthesized:mC}=ru,{isUndefined:mS,isNullLiteral:m_,isStaticRequire:mw}=fd,mF="prefer-add-event-listener",mT={beforeunload:"Use `event.preventDefault(); event.returnValue = 'foo'` to trigger the prompt.",message:"Note that there is difference between `SharedWorker#onmessage` and `SharedWorker#addEventListener('message')`.",error:"Note that there is difference between `{window,element}.onerror` and `{window,element}.addEventListener('error')`."},mk=e=>e.property.name,mP=e=>e.slice(2),mI=(e,r,t,n)=>{let u=mP(mk(n)),a=r.getText(n.object);mC(n.object,r)&&(a=`(${a})`);let i=r.getText(t.right);mC(t.right,r)&&(i=`(${i})`);let o=`${a}.addEventListener('${u}', ${i})`;return e.replaceText(t,o)},mB=(e,r)=>("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type)&&"BlockStatement"===e.body.type&&!r.get(e),mj=e=>mS(e)||m_(e);var mO=Q({create:e=>{let r,t;let n=e.options[0]||{},u=new Set(n.excludedPackages||["koa","sax"]),a=new WeakMap;return{onCodePathStart(e,r){t={node:r,upper:t,returnsSomething:!1}},onCodePathEnd(){a.set(t.node,t.returnsSomething),t=t.upper},CallExpression(e){mw(e)&&!r&&u.has(e.arguments[0].value)&&(r=!0)},Literal(e){"ImportDeclaration"===e.parent.type&&!r&&u.has(e.value)&&(r=!0)},ReturnStatement(e){t.returnsSomething=t.returnsSomething||!!e.argument},"AssignmentExpression:exit"(t){let n;if(r)return;let{left:u,right:i,operator:o}=t;if("MemberExpression"!==u.type||u.computed)return;let s=mk(u);if(!s||!s.startsWith("on"))return;let d=mP(s);if(!mD.has(d))return;let c="addEventListener",f="";return mj(i)?c="removeEventListener":"beforeunload"!==d||mB(i,a)?"message"===d?f=mT.message:"error"===d?f=mT.error:"="===o&&"ExpressionStatement"===t.parent.type&&t.parent.expression===t&&(n=r=>mI(r,e.sourceCode,t,u)):f=mT.beforeunload,{node:u.property,messageId:mF,data:{replacement:c,method:s,extra:f?` ${f}`:""},fix:n}}}},meta:{type:"suggestion",docs:{description:"Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{excludedPackages:{type:"array",items:{type:"string"},uniqueItems:!0}}}],messages:{[mF]:"Prefer `{{replacement}}` over `{{method}}`.{{extra}}"}}});const{hasSideEffect:mR,isParenthesized:mL,findVariable:mN}=ru,{isMethodCall:mM}=fd,{isSameIdentifier:m$,isFunctionSelfUsedInside:mz}=pD,mU=(e,r)=>"BinaryExpression"===e.type&&"==="===e.operator&&(m$(e.left,r)||m$(e.right,r)),mW=e=>"ArrowFunctionExpression"===e.type&&!e.async&&1===e.params.length&&mU(e.body,e.params[0])||("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type)&&!e.async&&!e.generator&&1===e.params.length&&"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&mU(e.body.body[0].argument,e.params[0]),mq=({type:e,name:r},t)=>"Identifier"===e&&r===t,mV=function({method:e,replacement:r}){let t=`prefer-${r}-over-${e}/`,n=`${t}error`,u=`${t}suggestion`,a={findIndex:"Use `.indexOf()` instead of `.findIndex()` when looking for the index of an item.",findLastIndex:"Use `.lastIndexOf()` instead of `findLastIndex() when looking for the index of an item.`",some:`Use \`.${r}()\` instead of \`.${e}()\` when checking value existence.`},i={[n]:a[e],[u]:`Replace \`.${e}()\` with \`.${r}()\`.`};return{messages:i,listen:function(t){let{sourceCode:a}=t,{scopeManager:i}=a;t.on("CallExpression",t=>{let o,s;if(!mM(t,{method:e,argumentsLength:1,optionalCall:!1,optionalMember:!1})||!mW(t.arguments[0]))return;let[d]=t.arguments,c="BinaryExpression"===d.body.type?d.body:d.body.body[0].argument,[f]=d.params,{left:l,right:p}=c,{name:g}=f;if(mq(l,g))o=p,s=l;else{if(!mq(p,g))return;o=l,s=p}let m=i.acquire(d);if(mN(m,f).references.some(({identifier:e})=>e!==s)||mz(d,m))return;let y=t.callee.property,h={node:y,messageId:n,suggest:[]},b=function*(e){let t=a.getText(o);mL(o,a)&&!mL(d,a)&&(t=`(${t})`),yield e.replaceText(y,r),yield e.replaceText(d,t)};return mR(o,a)?h.suggest.push({messageId:u,fix:b}):h.fix=b,h})}}},mZ=mV({method:"findIndex",replacement:"indexOf"}),mG=mV({method:"findLastIndex",replacement:"lastIndexOf"});var mH=Q({create(e){mZ.listen(e),mG.listen(e)},meta:{type:"suggestion",docs:{description:"Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item."},fixable:"code",hasSuggestions:!0,messages:{...mZ.messages,...mG.messages}}});const{isMethodCall:mK}=fd,mJ="error";var mX=Q({create:()=>({CallExpression(e){if(!mK(e,{methods:["readAsText","readAsArrayBuffer"],argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let r=e.callee.property,t=r.name;return{node:r,messageId:mJ,data:{method:t,replacement:"readAsArrayBuffer"===t?"arrayBuffer":"text"}}}}),meta:{type:"suggestion",docs:{description:"Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`."},messages:{[mJ]:"Prefer `Blob#{{replacement}}()` over `FileReader#{{method}}(blob)`."}}});const{isMethodCall:mY,isCallExpression:mQ,isNewExpression:m0}=fd,{fixSpaceAroundKeyword:m1}=lt,m2="prefer-date",m3="prefer-date-now-over-methods",m4="prefer-date-now-over-number-data-object",m5=e=>m0(e,{name:"Date",argumentsLength:0}),m8=(e,r,t)=>({node:e,messageId:m2,*fix(r){yield r.replaceText(e,"Date.now()"),"UnaryExpression"===e.type&&(yield*m1(r,e,t))},...r});var m6=Q({create:e=>({CallExpression(e){if(mY(e,{methods:["getTime","valueOf"],argumentsLength:0,optionalCall:!1,optionalMember:!1})&&m5(e.callee.object)){let r=e.callee.property;return m8(e,{node:r,messageId:m3,data:{method:r.name}})}if(mQ(e,{names:["Number","BigInt"],argumentsLength:1,optional:!1})&&m5(e.arguments[0])){let{name:r}=e.callee;return"Number"===r?m8(e,{messageId:m4}):m8(e.arguments[0])}},UnaryExpression(r){if(("+"===r.operator||"-"===r.operator)&&m5(r.argument))return m8("-"===r.operator?r.argument:r,{},e.sourceCode)},AssignmentExpression(e){if(("-="===e.operator||"*="===e.operator||"/="===e.operator||"%="===e.operator||"**="===e.operator)&&m5(e.right))return m8(e.right)},*BinaryExpression(e){if("-"===e.operator||"*"===e.operator||"/"===e.operator||"%"===e.operator||"**"===e.operator)for(let r of[e.left,e.right])m5(r)&&(yield m8(r))}}),meta:{type:"suggestion",docs:{description:"Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch."},fixable:"code",messages:{[m2]:"Prefer `Date.now()` over `new Date()`.",[m3]:"Prefer `Date.now()` over `Date#{{method}}()`.",[m4]:"Prefer `Date.now()` over `Number(new Date())`."}}});const{isIdentifierName:m9}=lp,{escapeString:m7,hasOptionalChainElement:ye,isValueNotUsable:yr}=pD,{isMethodCall:yt,isStringLiteral:yn,isExpressionStatement:yu}=fd,ya="prefer-dom-node-dataset",yi=e=>e.replace(/-[a-z]/g,e=>e[1].toUpperCase());var yo=Q({create:e=>({CallExpression(r){if(!((yt(r,{method:"setAttribute",argumentsLength:2,optionalCall:!1,optionalMember:!1})||yt(r,{methods:["getAttribute","removeAttribute","hasAttribute"],argumentsLength:1,optionalCall:!1,optionalMember:!1}))&&yn(r.arguments[0])))return;let t=r.arguments[0].value.toLowerCase();if(t.startsWith("data-"))return{node:r,messageId:ya,data:{method:r.callee.property.name},fix:function(e,r){let t=e.callee.property.name;if(!("setAttribute"===t&&ye(e.callee))&&("setAttribute"!==t||yr(e))&&("removeAttribute"!==t||yu(e.parent)))return n=>{let[u]=e.arguments,a=yi(u.value.toLowerCase().slice(5)),{sourceCode:i}=r,o="",s=`${i.getText(e.callee.object)}.dataset`;switch(t){case"setAttribute":case"getAttribute":case"removeAttribute":o=m9(a)?`.${a}`:`[${m7(a,u.raw.charAt(0))}]`,o=`${s}${o}`,"setAttribute"===t?o+=` = ${i.getText(e.arguments[1])}`:"removeAttribute"===t&&(o=`delete ${o}`);break;case"hasAttribute":o=`Object.hasOwn(${s}, ${m7(a,u.raw.charAt(0))})`}return n.replaceText(e,o)}}(r,e)}}}),meta:{type:"suggestion",docs:{description:"Prefer using `.dataset` on DOM elements over calling attribute methods."},fixable:"code",messages:{[ya]:"Prefer `.dataset` over `{{method}}(…)`."}}});const{getParenthesizedText:ys,getParenthesizedRange:yd,isSameReference:yc}=pD,{isLiteral:yf,isMethodCall:yl}=fd,{replaceNodeOrTokenAndSpacesBefore:yp,removeParentheses:yg}=lt,ym="prefer-modern-math-apis",yy=(e,r)=>"MemberExpression"===e.type&&!e.optional&&!e.computed&&"Identifier"===e.object.type&&"Math"===e.object.name&&"Identifier"===e.property.type&&e.property.name===r,yh=(e,r)=>"CallExpression"===e.type&&!e.optional&&yy(e.callee,r)&&1===e.arguments.length&&"SpreadElement"!==e.arguments[0].type;function yb({constantName:e,replacementMethod:r}){let t=`Math.${r}(…)`;return function(n,u){let a,i;if(!("BinaryExpression"===n.type&&"*"===n.operator)||(yh(n.left,"log")&&yy(n.right,e)?(a=n.left,i=`Math.log(…) * Math.${e}`):yh(n.right,"log")&&yy(n.left,e)&&(a=n.right,i=`Math.${e} * Math.log(…)`),!a))return;let[o]=a.arguments;return{node:n,messageId:ym,data:{replacement:t,description:i},fix:e=>e.replaceText(n,`Math.${r}(${ys(o,u.sourceCode)})`)}}}function yv({constantName:e,replacementMethod:r}){let t={messageId:ym,data:{replacement:`Math.${r}(…)`,description:`Math.log(…) / Math.${e}`}};return function(n,u){if(!("BinaryExpression"===n.type&&"/"===n.operator&&yh(n.left,"log")&&yy(n.right,e)))return;let[a]=n.left.arguments;return{...t,node:n,fix:e=>e.replaceText(n,`Math.${r}(${ys(a,u.sourceCode)})`)}}}const yx=[yb({constantName:"LOG10E",replacementMethod:"log10"}),yb({constantName:"LOG2E",replacementMethod:"log2"}),yv({constantName:"LN10",replacementMethod:"log10"}),yv({constantName:"LN2",replacementMethod:"log2"})],yE=e=>"BinaryExpression"===e.type&&"+"===e.operator,yA=e=>"BinaryExpression"===e.type&&("*"===e.operator&&yc(e.left,e.right)||"**"===e.operator&&yf(e.right,2)),yD=e=>yE(e)?[e.left,e.right].flatMap(e=>yD(e)):[e];var yC=Q({create:e=>{let r=[];return{CallExpression(r){if(!yl(r,{object:"Math",method:"sqrt",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let t=yD(r.arguments[0]);if(t.some(e=>!yA(e)))return;let n=1===t.length?"abs":"hypot",u=new Set(1===t.length?[]:t.map(e=>e.parent));return{node:r.callee.property,messageId:ym,data:{replacement:`Math.${n}(…)`,description:"Math.sqrt(…)"},*fix(a){let{sourceCode:i}=e;for(let e of(yield a.replaceText(r.callee.property,n),u)){let r=i.getTokenAfter(e.left,e=>"Punctuator"===e.type&&"+"===e.value);yield*yp(r,",",a,i),yield*yg(e,a,i)}for(let e of t)yield a.removeRange([yd(e.left,i)[1],e.range[1]])}}},BinaryExpression(e){r.push(e)},*"Program:exit"(){for(let t of r)for(let r of yx){let n=r(t,e);n&&(yield n)}}}},meta:{type:"suggestion",docs:{description:"Prefer modern `Math` APIs over legacy patterns."},fixable:"code",messages:{[ym]:"Prefer `{{replacement}}` over `{{description}}`."}}}),yS=ee(p);const y_=e=>"function"==typeof e?.[Symbol.iterator];let yw=class extends Error{};const yF={abort(){throw new yw("Fix aborted.")}};function yT(e){return r=>{let t=e(r,yF);if(y_(t))try{return[...t]}catch(e){if(e instanceof yw)return;throw e}return t}}const yk=new Set;function yP(e){if(yk.has(e))return e;let r=r=>{let t={},n=(e,r)=>{t[e]??=[],t[e].push(r)},u=new Proxy(r,{get:(e,r,t)=>"on"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(e,r)}:"onExit"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(`${e}:exit`,r)}:Reflect.get(e,r,t)});for(let[r,t]of Object.entries(e(u)??{}))n(r,t);return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>{for(let n of t)!function(e,r){if(e)for(let t of(y_(e)||(e=[e]),e)){if(t.fix&&(t.fix=yT(t.fix)),Array.isArray(t.suggest))for(let e of t.suggest)e.fix&&(e.fix=yT(e.fix)),e.data={...t.data,...e.data};r.report(t)}}(n(...e),r)}]))};return yk.add(r),r}function yI(e){let r=function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../${e}`);return{meta:{schema:[],...r.meta,docs:{...r.meta.docs,url:et(e)}},create:yP(r.create)}}var yB={loadRule:yI,loadRules:function(){return Object.fromEntries(yS.readdirSync(er.join(__dirname,".."),{withFileTypes:!0}).filter(e=>e.isFile()).map(e=>{let r=er.basename(e.name,".js");return[r,yI(r)]}))},checkVueTemplate:function(e,r){let{visitScriptBlock:t}={visitScriptBlock:!0,...r};e=yP(e);let n=r=>{let n=e(r),{parserServices:u}=r.sourceCode;return u?.defineTemplateBodyVisitor?t?u.defineTemplateBodyVisitor(n,n):u.defineTemplateBodyVisitor(n):n};return yk.add(n),n}};const{checkVueTemplate:yj}=yB,{isNumberLiteral:yO,isBigIntLiteral:yR}=fd,yL="number-literal-case",yN=e=>{let r=e.toLowerCase();return r.startsWith("0x")&&(r="0x"+r.slice(2).toUpperCase()),r};var yM=Q({create:yj(()=>({Literal(e){let{raw:r}=e,t=r;if(yO(e)?t=yN(r):yR(e)&&(t=yN(r.slice(0,-1))+"n"),r!==t)return{node:e,messageId:yL,fix:r=>r.replaceText(e,t)}}})),meta:{type:"suggestion",docs:{description:"Enforce proper case for numeric literals."},fixable:"code",messages:{[yL]:"Invalid number literal casing."}}});const{GlobalReferenceTracker:y$}=mh,{replaceReferenceIdentifier:yz}=lt,{fixSpaceAroundKeyword:yU}=lt,yW="error",yq="suggestion",yV={parseInt:!0,parseFloat:!0,NaN:!0,Infinity:!0,isNaN:!1,isFinite:!1},yZ=e=>{let{parent:r}=e;return"UnaryExpression"===r.type&&"-"===r.operator&&r.argument===e};var yG=Q({create:e=>{let{checkInfinity:r}={checkInfinity:!0,...e.options[0]},{sourceCode:t}=e,n=Object.keys(yV);r||(n=n.filter(e=>"Infinity"!==e));let u=new y$({objects:n,handle:e=>(function({node:e,path:[r]},t){let{parent:n}=e,u=r;"Infinity"===r&&(u=yZ(e)?"NEGATIVE_INFINITY":"POSITIVE_INFINITY");let a={node:e,messageId:yW,data:{description:r,property:u}};if("NEGATIVE_INFINITY"===u)return a.node=n,a.data.description="-Infinity",a.fix=function*(e){yield e.replaceText(n,"Number.NEGATIVE_INFINITY"),yield*yU(e,n,t)},a;let i=r=>yz(e,`Number.${u}`,r,t),o=yV[r];return o?a.fix=i:a.suggest=[{messageId:yq,fix:i}],a})(e,t),filter:({node:e})=>!lG(e)});return u.createListeners(e)},meta:{type:"suggestion",docs:{description:"Prefer `Number` static properties over global ones."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{checkInfinity:{type:"boolean",default:!0}}}],messages:{[yW]:"Prefer `Number.{{property}}` over `{{description}}`.",[yq]:"Replace `{{description}}` with `Number.{{property}}`."}}});const{getPropertyName:yH}=ru,{isNullLiteral:yK,isMethodCall:yJ}=fd,yX="prefer-reflect-apply",yY=(e,r)=>(yK(e)||"ThisExpression"===e.type)&&("ArrayExpression"===r.type||"Identifier"===r.type&&"arguments"===r.name),yQ=(e,r,t,n)=>`Reflect.apply(${e.getText(r)}, ${e.getText(t)}, ${e.getText(n)})`,y0=(e,r)=>{if("apply"===yH(e.callee)&&2===e.arguments.length&&yY(e.arguments[0],e.arguments[1]))return t=>t.replaceText(e,yQ(r,e.callee.object,e.arguments[0],e.arguments[1]))},y1=(e,r)=>{if("call"===yH(e.callee)&&"apply"===yH(e.callee.object)&&"prototype"===yH(e.callee.object.object)&&e.callee.object.object.object?.type==="Identifier"&&"Function"===e.callee.object.object.object.name&&3===e.arguments.length&&yY(e.arguments[1],e.arguments[2]))return t=>t.replaceText(e,yQ(r,e.arguments[0],e.arguments[1],e.arguments[2]))};var y2=Q({create:e=>({CallExpression(r){if(!yJ(r,{optionalCall:!1,optionalMember:!1})||"Literal"===r.callee.object.type||"ArrayExpression"===r.callee.object.type||"ObjectExpression"===r.callee.object.type)return;let{sourceCode:t}=e,n=y0(r,t)||y1(r,t);if(n)return{node:r,messageId:yX,fix:n}}}),meta:{type:"suggestion",docs:{description:"Prefer `Reflect.apply()` over `Function#apply()`."},fixable:"code",messages:{[yX]:"Prefer `Reflect.apply()` over `Function#apply()`."}}});const{findVariable:y3}=ru,{fixSpaceAroundKeyword:y4}=lt,{isNewExpression:y5,isMemberExpression:y8}=fd,y6="prefer-set-size",y9=e=>y5(e,{name:"Set"});var y7=Q({create:e=>{let{sourceCode:r}=e;return{MemberExpression(e){if(!y8(e,{property:"length",optional:!1})||"ArrayExpression"!==e.object.type||1!==e.object.elements.length||e.object.elements[0]?.type!=="SpreadElement")return;let t=e.object.elements[0].argument;if(function(e,r){if(y9(e))return!0;if("Identifier"!==e.type)return!1;let t=y3(r,e);if(!t||1!==t.defs.length)return!1;let[n]=t.defs;if("Variable"!==n.type||"const"!==n.kind)return!1;let u=n.node;return"VariableDeclarator"===u.type&&"Identifier"===u.id.type&&y9(n.node.init)}(t,r.getScope(t)))return{node:e.property,messageId:y6,fix:function(e,r){let{object:t,property:n}=r,u=t.elements[0].argument;if(!(e.getCommentsInside(t).length>e.getCommentsInside(u).length))return function*(a){yield a.replaceText(n,"size"),yield a.replaceText(t,e.getText(u)),yield*y4(a,r,e)}}(r,e)}}}},meta:{type:"suggestion",docs:{description:"Prefer using `Set#size` instead of `Array#length`."},fixable:"code",messages:{[y6]:"Prefer using `Set#size` instead of `Array#length`."}}}),he={exports:{}};o=String.fromCodePoint||(a=String.fromCharCode,i=Math.floor,function(){var e,r,t=[],n=-1,u=arguments.length;if(!u)return"";for(var o="";++n<u;){var s=Number(arguments[n]);if(!isFinite(s)||s<0||s>1114111||i(s)!=s)throw RangeError("Invalid code point: "+s);s<=65535?t.push(s):(s-=65536,e=(s>>10)+55296,r=s%1024+56320,t.push(e,r)),(n+1==u||t.length>16384)&&(o+=a.apply(null,t),t.length=0)}return o}),s={parse:function(e,r,t){function n(r){return r.raw=e.substring(r.range[0],r.range[1]),r}function u(e,r){return e.range[0]=r,n(e)}function a(e,r){return n({type:"anchor",kind:e,range:[J-r,J]})}function i(e,r,t,u){return n({type:"value",kind:e,codePoint:r,range:[t,u]})}function s(e,r,t,n){return n=n||0,i(e,r,J-(t.length+n),J)}function d(e){var r,t=e[0],n=t.charCodeAt(0);return K&&1===t.length&&n>=55296&&n<=56319&&(r=h().charCodeAt(0))>=56320&&r<=57343?i("symbol",(n-55296)*1024+r-56320+65536,++J-2,J):i("symbol",n,J-1,J)}function c(e,r,t,u,a){return null==u&&(t=J-1,u=J),n({type:"quantifier",min:e,max:r,greedy:!0,body:null,symbol:a,range:[t,u]})}function f(e,r,t,u){return n({type:"characterClass",kind:e.kind,body:e.body,negative:r,range:[t,u]})}function l(e,r,t,u){return e.codePoint>r.codePoint&&U("invalid range in character class",e.raw+"-"+r.raw,t,u),n({type:"characterClassRange",min:e,max:r,range:[t,u]})}function p(e){return"alternative"===e.type?e.body:[e]}function g(r){r=r||1;var t=e.substring(J,J+r);return J+=r||1,t}function m(e){y(e)||U("character",e)}function y(r){if(e.indexOf(r,J)===J)return g(r.length)}function h(){return e[J]}function b(r){return e.indexOf(r,J)===J}function v(r){return e[J+1]===r}function x(r){var t=e.substring(J).match(r);return t&&(t.range=[],t.range[0]=J,g(t[0].length),t.range[1]=J),t}function E(){var e=[],r=J;for(e.push(A());y("|");)e.push(A());return 1===e.length?e[0]:n({type:"disjunction",body:e,range:[r,J]})}function A(){for(var r,o=[],s=J;r=function(){if(J>=e.length||b("|")||b(")"))return null;var r=y("^")?a("start",1):y("$")?a("end",1):y("\\b")?a("boundary",2):y("\\B")?a("not-boundary",2):D("(?=","lookahead","(?!","negativeLookahead");if(!r){var o=function(){if((r=x(/^[^^$\\.*+?()[\]{}|]/))||!K&&(r=x(/^(?:]|})/)))return d(r);if(y("."))return n({type:"dot",range:[J-1,J]});if(y("\\")){if(!(r=w())){if(!K&&"c"==h())return i("symbol",92,J-1,J);U("atomEscape")}return r}if(r=O())return r;if(t.lookbehind&&(r=D("(?<=","lookbehind","(?<!","negativeLookbehind")))return r;if(t.namedGroups&&y("(?<")){var r,u,a,o,s,c,f=I();m(">");var l=C("normal",f.range[0]-3);return l.name=f,l}else return t.modifiers&&e.indexOf("(?")==J&&":"!=e[J+2]?(a=J,g(2),o=x(/^[sim]+/),y("-")?(u=x(/^[sim]+/))||U("Invalid flags for modifiers group"):o||U("Invalid flags for modifiers group"),((s=(o=o?o[0]:"")+(u=u?u[0]:"")).length>3||function(e){for(var r=0;r<e.length;){if(-1!=e.indexOf(e[r],r+1))return!0;r++}return!1}(s))&&U("flags cannot be duplicated for modifiers group"),m(":"),(c=C("ignore",a)).modifierFlags={enabling:o,disabling:u},c):D("(?:","ignore","(","normal")}();if(!o){var s,c,f=J;(s=S()||!1)&&(J=f,U("Expected atom")),!K&&(c=x(/^{/))?o=d(c):U("Expected atom")}r=o}return(s=S()||!1)?(s.body=p(r),u(s,r.range[0]),s):r}();)o.push(r);return 1===o.length?o[0]:n({type:"alternative",body:o,range:[s,J]})}function D(e,r,t,n){var u=null,a=J;if(y(e))u=r;else{if(!y(t))return!1;u=n}return C(u,a)}function C(e,r){var t=E();t||U("Expected disjunction"),m(")");var u=n({type:"group",behavior:e,body:p(t),range:[r,J]});return"normal"==e&&V&&q++,u}function S(){var e,r,t,n,u=J;return y("*")?e=c(0,void 0,void 0,void 0,"*"):y("+")?e=c(1,void 0,void 0,void 0,"+"):y("?")?e=c(0,1,void 0,void 0,"?"):(n=x(/^\{([0-9]+)\}/))?e=c(r=parseInt(n[1],10),r,n.range[0],n.range[1]):(n=x(/^\{([0-9]+),\}/))?e=c(r=parseInt(n[1],10),void 0,n.range[0],n.range[1]):(n=x(/^\{([0-9]+),([0-9]+)\}/))&&((r=parseInt(n[1],10))>(t=parseInt(n[2],10))&&U("numbers out of order in {} quantifier","",u,J),e=c(r,t,n.range[0],n.range[1])),(r&&!Number.isSafeInteger(r)||t&&!Number.isSafeInteger(t))&&U("iterations outside JS safe integer range in quantifier","",u,J),e&&y("?")&&(e.greedy=!1,e.range[1]+=1),e}function _(e){if(K){var r,t;if("unicodeEscape"==e.kind&&(r=e.codePoint)>=55296&&r<=56319&&b("\\")&&v("u")){var u=J;J++;var a=w(!0);"unicodeEscape"==a.kind&&(t=a.codePoint)>=56320&&t<=57343?(e.range[1]=a.range[1],e.codePoint=(r-55296)*1024+t-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",n(e)):J=u}}return e}function w(e){var r,a,i=J;if(a=function(e){var r,t,a=J;if(r=x(/^(?!0)\d+/)){t=r[0];var i,o=parseInt(r[0],10);return o<=q&&!e?n({type:"reference",matchIndex:parseInt(i=r[0],10),range:[J-1-i.length,J]}):(W.push(o),V?Z=!0:F(a,J),g(-r[0].length),r=x(/^[0-7]{1,3}/))?s("octal",parseInt(r[0],8),r[0],1):u(r=d(x(/^[89]/)),r.range[0]-1)}return!!(r=x(/^[0-7]{1,3}/))&&(("0"!==(t=r[0])&&F(a,J),/^0{1,3}$/.test(t))?s("null",0,"0",t.length):s("octal",parseInt(t,8),t,1))}(e)||function(){if(t.namedGroups&&x(/^k<(?=.*?>)/)){var e=I();return m(">"),n({type:"reference",name:e,range:[e.range[0]-3,J]})}}())return a;if(e){if(y("b"))return s("singleEscape",8,"\\b");if(y("B"))U("\\B not possible inside of CharacterClass","",i);else if(!K&&(a=x(/^c([0-9])/)))return s("controlLetter",a[1]+16,a[1],2);else if(!K&&(a=x(/^c_/)))return s("controlLetter",31,"_",2);if(K&&y("-"))return s("singleEscape",45,"\\-")}return((r=x(/^[dDsSwW]/))?n({type:"characterClassEscape",value:r[0],range:[J-2,J]}):t.unicodePropertyEscape&&K&&(r=x(/^([pP])\{([^\}]+)\}/))?n({type:"unicodePropertyEscape",negative:"P"===r[1],value:r[2],range:[r.range[0]-1,r.range[1]],raw:r[0]}):!!(t.unicodeSet&&H&&y("q{"))&&function(){var e=J-3,r=[];do r.push(function(){for(var e,r=[],t=J;e=M();)r.push(e);return n({type:"classString",characters:r,range:[t,J]})}());while(y("|"));return m("}"),n({type:"classStrings",strings:r,range:[e,J]})}())||k()}function F(e,r){K&&U("Invalid decimal escape in unicode mode",null,e,r)}function T(){var e;return(e=x(/^u([0-9a-fA-F]{4})/))?_(s("unicodeEscape",parseInt(e[1],16),e[1],2)):K&&(e=x(/^u\{([0-9a-fA-F]+)\}/))?s("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):void 0}function k(){var e,r,n,u=J;if(n=x(/^[fnrtv]/)){var a=0;switch(n[0]){case"t":a=9;break;case"n":a=10;break;case"v":a=11;break;case"f":a=12;break;case"r":a=13}return s("singleEscape",a,"\\"+n[0])}return(n=x(/^c([a-zA-Z])/))?s("controlLetter",n[1].charCodeAt(0)%32,n[1],2):(n=x(/^x([0-9a-fA-F]{2})/))?s("hexadecimalEscape",parseInt(n[1],16),n[1],2):(n=T())?((!n||n.codePoint>1114111)&&U("Invalid escape sequence",null,u,J),n):(r=h(),K&&/[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/.test(r)||!K&&"c"!==r?"k"===r&&t.lookbehind?null:s("identifier",(e=g()).charCodeAt(0),e,1):null)}function P(r){var t=h(),n=J;if("\\"===t){g();var u=T();return u&&r(u.codePoint)||U("Invalid escape sequence",null,n,J),o(u.codePoint)}var a=t.charCodeAt(0);if(a>=55296&&a<=56319){var i=(t+=e[J+1]).charCodeAt(1);i>=56320&&i<=57343&&(a=(a-55296)*1024+i-56320+65536)}if(r(a))return g(),a>65535&&g(),t}function I(){var e,r=J,t=P(B);for(t||U("Invalid identifier");e=P(j);)t+=e;return n({type:"identifier",value:t,range:[r,J]})}function B(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=128&&/[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u1CF1\u1CF5\u1CF6\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-\uA7B9\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-\uAB65\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]|\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\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\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\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\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]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\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]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/.test(o(e))}function j(e){return B(e)||e>=48&&e<=57||e>=128&&/[0-9_\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDD30-\uDD39\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC66-\uDC6F\uDC7F-\uDC82\uDCB0-\uDCBA\uDCF0-\uDCF9\uDD00-\uDD02\uDD27-\uDD34\uDD36-\uDD3F\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDD0-\uDDD9\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC50-\uDC59\uDC5E\uDCB0-\uDCC3\uDCD0-\uDCD9\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDE50-\uDE59\uDEAB-\uDEB7\uDEC0-\uDEC9\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC2C-\uDC3A\uDCE0-\uDCE9\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC50-\uDC59\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD50-\uDD59\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDDA0-\uDDA9\uDEF3-\uDEF6]|\uD81A[\uDE60-\uDE69\uDEF0-\uDEF4\uDF30-\uDF36\uDF50-\uDF59]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A\uDD50-\uDD59]|\uDB40[\uDD00-\uDDEF]/.test(o(e))}function O(){var e,r=J;return(e=x(/^\[\^/))?(e=R(),m("]"),f(e,!0,r,J)):y("[")?(e=R(),m("]"),f(e,!1,r,J)):null}function R(){var e,r;return b("]")?{kind:"union",body:[]}:H?function(){var e,r=[],t=N(!0);for(r.push(t),e="classRange"===t.type?"union":b("&")?"intersection":b("-")?"subtraction":"union";!b("]");)"intersection"===e?(m("&"),m("&"),b("&")&&U("&& cannot be followed by &. Wrap it in brackets: &&[&].")):"subtraction"===e&&(m("-"),m("-")),r.push(t=N("union"===e));return{kind:e,body:r}}():((r=L())||U("classAtom"),(e=b("]")?[r]:function e(r){if(b("-")&&!v("]")){t=r.range[0],i=d(y("-")),(a=L())||U("classAtom"),n=J;var t,n,u,a,i,o,s=R();return(s||U("classRanges"),"codePoint"in r&&"codePoint"in a?u=[l(r,a,t,n)]:K?U("invalid character class"):u=[r,i,a],"empty"===s.type)?u:u.concat(s.body)}return(o=L())||U("classAtom"),(u=b("]")?o:e(o))||U("nonEmptyClassRangesNoDash"),[r].concat(u)}(r))||U("nonEmptyClassRanges"),{kind:"union",body:e})}function L(){var e;return y("-")?d("-"):(e=x(/^[^\\\]-]/))?d(e[0]):y("\\")?((e=w(!0))||U("classEscape"),_(e)):void 0}function N(e){var r,t,n=J;if(y("\\")){if(t=w(!0))r=t;else{if(t=z())return t;U("Invalid escape","\\"+h(),n)}}else if(t=$())r=t;else{if(t=O())return t;U("Invalid character",h())}if(e&&b("-")&&!v("-")){if(m("-"),t=M())return l(r,t,n,J);U("Invalid range end",h())}return r}function M(){if(y("\\")){var e,r=J;if(e=z())return e;U("Invalid escape","\\"+h(),r)}return $()}function $(){var e;if(e=x(/^[^()[\]{}/\-\\|]/))return d(e)}function z(){var e;if(y("b"))return s("singleEscape",8,"\\b");if(y("B"))U("\\B not possible inside of ClassContents","",J-2);else if(e=x(/^[&\-!#%,:;<=>@_`~]/))return s("identifier",e[0].codePointAt(0),e[0]);else if(e=k())return e;else return null}function U(r,t,n,u){n=null==n?J:n,u=null==u?n:u;var a=Math.max(0,n-10),i=Math.min(u+10,e.length),o=" "+e.substring(a,i),s=" "+Array(n-a+1).join(" ")+"^";throw SyntaxError(r+" at position "+n+(t?": "+t:"")+"\n"+o+"\n"+s)}t||(t={});var W=[],q=0,V=!0,Z=!1,G=-1!==(r||"").indexOf("u"),H=-1!==(r||"").indexOf("v"),K=G||H,J=0;if(H&&!t.unicodeSet)throw Error('The "v" flag is only supported when the .unicodeSet option is enabled.');if(G&&H)throw Error('The "u" and "v" flags are mutually exclusive.');""===(e=String(e))&&(e="(?:)");var X=E();return(X.range[1]!==e.length&&U("Could not parse entire input - got stuck","",X.range[1]),Z=Z||W.some(function(e){return e<=q}))?(J=0,V=!1,E()):X}},he.exports?he.exports=s:window.regjsparser=s;var hr=he.exports;const{getStaticValue:ht}=ru,{parse:hn}=hr,{isRegexLiteral:hu,isNewExpression:ha,isMethodCall:hi}=fd,ho="method",hs="pattern",hd=(e,r)=>{if(hu(e))return e.regex.flags.includes("g");if(ha(e,{name:"RegExp"})&&e.arguments[0]?.type!=="SpreadElement"&&e.arguments[1]?.type==="Literal"&&"string"==typeof e.arguments[1].value)return e.arguments[1].value.includes("g");let t=ht(e,r);if(!t)return!1;let{value:n}=t;return"[object RegExp]"===Object.prototype.toString.call(n)&&n.global};var hc=Q({create:e=>({CallExpression(r){if(!hi(r,{methods:["replace","replaceAll"],argumentsLength:2,optionalCall:!1,optionalMember:!1}))return;let{arguments:[t],callee:{property:n}}=r;if(!hd(t,e.sourceCode.getScope(t)))return;let u=n.name,a=function(e){let r;if(!hu(e))return;let{pattern:t,flags:n}=e.regex;if("g"!==n.replace("u",""))return;try{r=hn(t,n,{unicodePropertyEscape:!0,namedGroups:!0,lookbehind:!0})}catch{return}let u="alternative"===r.type?r.body:[r];if(u.some(e=>"value"!==e.type))return;let a=String.fromCodePoint(...u.map(e=>e.codePoint));return rj(a)}(t);if("replaceAll"===u){if(!a)return;return{node:t,messageId:hs,data:{replacement:a.length<20?a:"a string literal"},fix:e=>e.replaceText(t,a)}}return{node:n,messageId:ho,*fix(e){yield e.insertTextAfter(n,"All"),a&&(yield e.replaceText(t,a))}}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#replaceAll()` over regex searches with the global flag."},fixable:"code",messages:{[ho]:"Prefer `String#replaceAll()` over `String#replace()`.",[hs]:"This pattern can be replaced with {{replacement}}."}}});const{getStaticValue:hf}=ru,{getParenthesizedText:hl,getParenthesizedRange:hp}=fB,{replaceArgument:hg}=lt,{isNumberLiteral:hm,isMethodCall:hy}=fd,hh=e=>hm(e)?e.value:"UnaryExpression"===e.type&&"-"===e.operator?-hh(e.argument):void 0,hb=e=>e?.type==="MemberExpression"&&!1===e.computed&&"Identifier"===e.property.type&&"length"===e.property.name;var hv=Q({create:e=>({CallExpression(r){if(!hy(r,{methods:["substr","substring"]}))return;let t=r.callee.property.name;return{node:r,messageId:t,*fix(n,{abort:u}){if(yield n.replaceText(r.callee.property,"slice"),0!==r.arguments.length){if(r.arguments.length>2||r.arguments.some(e=>"SpreadElement"===e.type))return u();yield*("substr"===t?function*({node:e,fixer:r,context:t,abort:n}){let u=e.arguments,[a,i]=u;if(!i)return;let{sourceCode:o}=t,s=o.getScope(e),d=hf(a,s),c=hp(i,o),f=e=>hg(r,i,e,o);if(d?.value===0){if(hm(i)||hb(i))return;if("number"==typeof hh(i)){yield f(Math.max(0,hh(i)));return}yield r.insertTextBeforeRange(c,"Math.max(0, "),yield r.insertTextAfterRange(c,")");return}if(u.every(e=>hm(e))){yield f(a.value+i.value);return}if(u.every(e=>gs(e,s))){let e=hl(a,o);yield r.insertTextBeforeRange(c,`${e} + `);return}return n()}:function*({node:e,fixer:r,context:t,abort:n}){let{sourceCode:u}=t,[a,i]=e.arguments,o=a?hh(a):void 0,s=hl(a,u),d=e=>hg(r,a,e,u);if(!i){if(hb(a))return;if(void 0!==o){yield d(Math.max(0,o));return}let e=hp(a,u);yield r.insertTextBeforeRange(e,"Math.max(0, "),yield r.insertTextAfterRange(e,")");return}let c=hh(i),f=hl(i,u),l=e=>hg(r,i,e,u);if(void 0!==o&&void 0!==c){let e=[Math.max(0,o),Math.max(0,c)];o>c&&e.reverse(),e[0]!==o&&(yield d(e[0])),e[1]!==c&&(yield l(e[1]));return}if(0===o||0===c){yield d(0),yield l(`Math.max(0, ${0===o?f:s})`);return}return n()})({node:r,fixer:n,context:e,abort:u})}}}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#slice()` over `String#substr()` and `String#substring()`."},fixable:"code",messages:{substr:"Prefer `String#slice()` over `String#substr()`.",substring:"Prefer `String#slice()` over `String#substring()`."}}});const{isMethodCall:hx}=fd,hE="prefer-string-trim-start-end";var hA=Q({create:()=>({CallExpression(e){if(!hx(e,{methods:["trimLeft","trimRight"],argumentsLength:0,optionalCall:!1}))return;let r=e.callee.property,t=r.name,n="trimLeft"===t?"trimStart":"trimEnd";return{node:r,messageId:hE,data:{method:t,replacement:n},fix:e=>e.replaceText(r,n)}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`."},fixable:"code",messages:{[hE]:"Prefer `String#{{replacement}}()` over `String#{{method}}()`."}}});const{isParenthesized:hD,getParenthesizedRange:hC,toLocation:hS}=pD,h_="no-unreadable-iife";var hw=Q({create:e=>({CallExpression(r){let{sourceCode:t}=e;if("ArrowFunctionExpression"===r.callee.type&&"BlockStatement"!==r.callee.body.type&&hD(r.callee.body,t))return{node:r,loc:hS(hC(r.callee.body,t),t),messageId:h_}}}),meta:{type:"suggestion",docs:{description:"Disallow unreadable IIFEs."},hasSuggestions:!1,messages:{[h_]:"IIFE with parenthesized arrow function body is considered unreadable."}}});const{switchCallExpressionToNewExpression:hF}=lt,hT="throw-new-error",hk=/^(?:[A-Z][\da-z]*)*Error$/;var hP=Q({create:e=>({CallExpression(r){if(!("ThrowStatement"===r.parent.type&&r.parent.argument===r))return;let{callee:t}=r;if("Identifier"===t.type&&hk.test(t.name)||"MemberExpression"===t.type&&!t.computed&&"Identifier"===t.property.type&&hk.test(t.property.name))return{node:r,messageId:hT,fix:t=>hF(r,e.sourceCode,t)}}}),meta:{type:"suggestion",docs:{description:"Require `new` when throwing an error."},fixable:"code",messages:{[hT]:"Use `new` when throwing an error."}}}),hI=/[|\\{}()[\]^$+*?.]/g,hB=new Map([["[0-9]",{value:"\\d"}],["[^0-9]",{value:"\\D"}],["[a-zA-Z0-9_]",{value:"\\w"}],["[a-zA-Z_0-9]",{value:"\\w"}],["[a-z0-9A-Z_]",{value:"\\w"}],["[a-z0-9_A-Z]",{value:"\\w"}],["[a-z_A-Z0-9]",{value:"\\w"}],["[a-z_0-9A-Z]",{value:"\\w"}],["[A-Za-z0-9_]",{value:"\\w"}],["[A-Za-z_0-9]",{value:"\\w"}],["[A-Z0-9a-z_]",{value:"\\w"}],["[A-Z0-9_a-z]",{value:"\\w"}],["[A-Z_a-z0-9]",{value:"\\w"}],["[A-Z_0-9a-z]",{value:"\\w"}],["[0-9a-zA-Z_]",{value:"\\w"}],["[0-9a-z_A-Z]",{value:"\\w"}],["[0-9A-Za-z_]",{value:"\\w"}],["[0-9A-Z_a-z]",{value:"\\w"}],["[0-9_a-zA-Z]",{value:"\\w"}],["[0-9_A-Za-z]",{value:"\\w"}],["[_a-zA-Z0-9]",{value:"\\w"}],["[_a-z0-9A-Z]",{value:"\\w"}],["[_A-Za-z0-9]",{value:"\\w"}],["[_A-Z0-9a-z]",{value:"\\w"}],["[_0-9a-zA-Z]",{value:"\\w"}],["[_0-9A-Za-z]",{value:"\\w"}],["[a-zA-Z\\d_]",{value:"\\w"}],["[a-zA-Z_\\d]",{value:"\\w"}],["[a-z\\dA-Z_]",{value:"\\w"}],["[a-z\\d_A-Z]",{value:"\\w"}],["[a-z_A-Z\\d]",{value:"\\w"}],["[a-z_\\dA-Z]",{value:"\\w"}],["[A-Za-z\\d_]",{value:"\\w"}],["[A-Za-z_\\d]",{value:"\\w"}],["[A-Z\\da-z_]",{value:"\\w"}],["[A-Z\\d_a-z]",{value:"\\w"}],["[A-Z_a-z\\d]",{value:"\\w"}],["[A-Z_\\da-z]",{value:"\\w"}],["[\\da-zA-Z_]",{value:"\\w"}],["[\\da-z_A-Z]",{value:"\\w"}],["[\\dA-Za-z_]",{value:"\\w"}],["[\\dA-Z_a-z]",{value:"\\w"}],["[\\d_a-zA-Z]",{value:"\\w"}],["[\\d_A-Za-z]",{value:"\\w"}],["[_a-zA-Z\\d]",{value:"\\w"}],["[_a-z\\dA-Z]",{value:"\\w"}],["[_A-Za-z\\d]",{value:"\\w"}],["[_A-Z\\da-z]",{value:"\\w"}],["[_\\da-zA-Z]",{value:"\\w"}],["[_\\dA-Za-z]",{value:"\\w"}],["[^a-zA-Z0-9_]",{value:"\\W"}],["[^a-zA-Z_0-9]",{value:"\\W"}],["[^a-z0-9A-Z_]",{value:"\\W"}],["[^a-z0-9_A-Z]",{value:"\\W"}],["[^a-z_A-Z0-9]",{value:"\\W"}],["[^a-z_0-9A-Z]",{value:"\\W"}],["[^A-Za-z0-9_]",{value:"\\W"}],["[^A-Za-z_0-9]",{value:"\\W"}],["[^A-Z0-9a-z_]",{value:"\\W"}],["[^A-Z0-9_a-z]",{value:"\\W"}],["[^A-Z_a-z0-9]",{value:"\\W"}],["[^A-Z_0-9a-z]",{value:"\\W"}],["[^0-9a-zA-Z_]",{value:"\\W"}],["[^0-9a-z_A-Z]",{value:"\\W"}],["[^0-9A-Za-z_]",{value:"\\W"}],["[^0-9A-Z_a-z]",{value:"\\W"}],["[^0-9_a-zA-Z]",{value:"\\W"}],["[^0-9_A-Za-z]",{value:"\\W"}],["[^_a-zA-Z0-9]",{value:"\\W"}],["[^_a-z0-9A-Z]",{value:"\\W"}],["[^_A-Za-z0-9]",{value:"\\W"}],["[^_A-Z0-9a-z]",{value:"\\W"}],["[^_0-9a-zA-Z]",{value:"\\W"}],["[^_0-9A-Za-z]",{value:"\\W"}],["[^a-zA-Z\\d_]",{value:"\\W"}],["[^a-zA-Z_\\d]",{value:"\\W"}],["[^a-z\\dA-Z_]",{value:"\\W"}],["[^a-z\\d_A-Z]",{value:"\\W"}],["[^a-z_A-Z\\d]",{value:"\\W"}],["[^a-z_\\dA-Z]",{value:"\\W"}],["[^A-Za-z\\d_]",{value:"\\W"}],["[^A-Za-z_\\d]",{value:"\\W"}],["[^A-Z\\da-z_]",{value:"\\W"}],["[^A-Z\\d_a-z]",{value:"\\W"}],["[^A-Z_a-z\\d]",{value:"\\W"}],["[^A-Z_\\da-z]",{value:"\\W"}],["[^\\da-zA-Z_]",{value:"\\W"}],["[^\\da-z_A-Z]",{value:"\\W"}],["[^\\dA-Za-z_]",{value:"\\W"}],["[^\\dA-Z_a-z]",{value:"\\W"}],["[^\\d_a-zA-Z]",{value:"\\W"}],["[^\\d_A-Za-z]",{value:"\\W"}],["[^_a-zA-Z\\d]",{value:"\\W"}],["[^_a-z\\dA-Z]",{value:"\\W"}],["[^_A-Za-z\\d]",{value:"\\W"}],["[^_A-Z\\da-z]",{value:"\\W"}],["[^_\\da-zA-Z]",{value:"\\W"}],["[^_\\dA-Za-z]",{value:"\\W"}],["[a-z0-9_]",{value:"\\w",flags:"i"}],["[a-z_0-9]",{value:"\\w",flags:"i"}],["[0-9a-z_]",{value:"\\w",flags:"i"}],["[0-9_a-z]",{value:"\\w",flags:"i"}],["[_a-z0-9]",{value:"\\w",flags:"i"}],["[_0-9a-z]",{value:"\\w",flags:"i"}],["[^a-z0-9_]",{value:"\\W",flags:"i"}],["[a-z\\d_]",{value:"\\w",flags:"i"}],["[a-z_\\d]",{value:"\\w",flags:"i"}],["[\\da-z_]",{value:"\\w",flags:"i"}],["[\\d_a-z]",{value:"\\w",flags:"i"}],["[_a-z\\d]",{value:"\\w",flags:"i"}],["[_\\da-z]",{value:"\\w",flags:"i"}],["[^a-z0-9_]",{value:"\\W",flags:"i"}],["[^a-z_0-9]",{value:"\\W",flags:"i"}],["[^0-9a-z_]",{value:"\\W",flags:"i"}],["[^0-9_a-z]",{value:"\\W",flags:"i"}],["[^_a-z0-9]",{value:"\\W",flags:"i"}],["[^_0-9a-z]",{value:"\\W",flags:"i"}],["[^a-z\\d_]",{value:"\\W",flags:"i"}],["[^a-z_\\d]",{value:"\\W",flags:"i"}],["[^\\da-z_]",{value:"\\W",flags:"i"}],["[^\\d_a-z]",{value:"\\W",flags:"i"}],["[^_a-z\\d]",{value:"\\W",flags:"i"}],["[^_\\da-z]",{value:"\\W",flags:"i"}]]);const hj=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(hI,"\\$&")},hO=(e,r)=>!r||r.split("").every(r=>e.includes(r));function hR(e){return e?hL[e.type](e):""}var hL={RegExp:function(e){return"/"+hR(e.body)+"/"+e.flags},Alternative:function(e){return(e.expressions||[]).map(hR).join("")},Disjunction:function(e){return hR(e.left)+"|"+hR(e.right)},Group:function(e){var r=hR(e.expression);return e.capturing?e.name?"(?<"+(e.nameRaw||e.name)+">"+r+")":"("+r+")":"(?:"+r+")"},Backreference:function(e){switch(e.kind){case"number":return"\\"+e.reference;case"name":return"\\k<"+(e.referenceRaw||e.reference)+">";default:throw TypeError("Unknown Backreference kind: "+e.kind)}},Assertion:function(e){switch(e.kind){case"^":case"$":case"\\b":case"\\B":return e.kind;case"Lookahead":var r=hR(e.assertion);if(e.negative)return"(?!"+r+")";return"(?="+r+")";case"Lookbehind":var t=hR(e.assertion);if(e.negative)return"(?<!"+t+")";return"(?<="+t+")";default:throw TypeError("Unknown Assertion kind: "+e.kind)}},CharacterClass:function(e){var r=e.expressions.map(hR).join("");return e.negative?"[^"+r+"]":"["+r+"]"},ClassRange:function(e){return hR(e.from)+"-"+hR(e.to)},Repetition:function(e){return""+hR(e.expression)+hR(e.quantifier)},Quantifier:function(e){var r=void 0,t=e.greedy?"":"?";switch(e.kind){case"+":case"?":case"*":r=e.kind;break;case"Range":r=e.from===e.to?"{"+e.from+"}":e.to?"{"+e.from+","+e.to+"}":"{"+e.from+",}";break;default:throw TypeError("Unknown Quantifier kind: "+e.kind)}return""+r+t},Char:function(e){var r=e.value;switch(e.kind){case"simple":if(e.escaped)return"\\"+r;return r;case"hex":case"unicode":case"oct":case"decimal":case"control":case"meta":return r;default:throw TypeError("Unknown Char kind: "+e.kind)}},UnicodeProperty:function(e){return"\\"+(e.negative?"P":"p")+"{"+(e.shorthand||e.binary?"":e.name+"=")+e.value+"}"}},hN={generate:hR},hM={General_Category:"gc",Script:"sc",Script_Extensions:"scx"},h$=hG(hM),hz={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"},hU=hG(hz),hW={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"},hq=hG(hW),hV={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"},hZ=hG(hV);function hG(e){var r={};for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];if(Array.isArray(n))for(var u=0;u<n.length;u++)r[n[u]]=t;else r[n]=t}return r}function hH(e){return hW.hasOwnProperty(e)||hq.hasOwnProperty(e)}function hK(e){return hV.hasOwnProperty(e)||hZ.hasOwnProperty(e)}var hJ=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")};function hX(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var hY=void 0,hQ={},h0=void 0,h1=void 0;function h2(e,r){return hQ.options.captureLocations?e&&r?{startOffset:e.startOffset,endOffset:r.endOffset,startLine:e.startLine,endLine:r.endLine,startColumn:e.startColumn,endColumn:r.endColumn}:e||r:null}var h3=[[-1,1,function(e,r){h1=h2(r,r),h0=e}],[0,4,function(e,r,t,n,u,a,i,o){h1=h2(u,o),h0=bm({type:"RegExp",body:r,flags:function(e){var r=new Set,t=!0,n=!1,u=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var o=a.value;if(r.has(o)||!"gimsuxy".includes(o))throw SyntaxError("Invalid flags: "+e);r.add(o)}}catch(e){n=!0,u=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw u}}return e.split("").sort().join("")}(n)},by(u,o||i))}],[1,1,function(e,r){h1=h2(r,r),h0=e}],[1,0,function(){h1=null,h0=""}],[2,1,function(e,r){h1=h2(r,r),h0=e}],[2,2,function(e,r,t,n){h1=h2(t,n),h0=e+r}],[3,1,function(e,r){h1=h2(r,r),h0=e}],[4,1,function(e,r){h1=h2(r,r),h0=e}],[4,3,function(e,r,t,n,u,a){h1=h2(n,a);var i=null;u&&(i=by(n||u,a||u)),h0=bm({type:"Disjunction",left:e,right:t},i)}],[5,1,function(e,r){if(h1=h2(r,r),0===e.length){h0=null;return}h0=1===e.length?bm(e[0],h1):bm({type:"Alternative",expressions:e},h1)}],[6,0,function(){h1=null,h0=[]}],[6,2,function(e,r,t,n){h1=h2(t,n),h0=e.concat(r)}],[7,1,function(e,r){h1=h2(r,r),h0=bm(Object.assign({type:"Assertion"},e),h1)}],[7,2,function(e,r,t,n){h1=h2(t,n),h0=e,r&&(h0=bm({type:"Repetition",expression:e,quantifier:r},h1))}],[8,1,function(e,r){h1=h2(r,r),h0={kind:"^"}}],[8,1,function(e,r){h1=h2(r,r),h0={kind:"$"}}],[8,1,function(e,r){h1=h2(r,r),h0={kind:"\\b"}}],[8,1,function(e,r){h1=h2(r,r),h0={kind:"\\B"}}],[8,3,function(e,r,t,n,u,a){h1=h2(n,a),h0={kind:"Lookahead",assertion:r}}],[8,3,function(e,r,t,n,u,a){h1=h2(n,a),h0={kind:"Lookahead",negative:!0,assertion:r}}],[8,3,function(e,r,t,n,u,a){h1=h2(n,a),h0={kind:"Lookbehind",assertion:r}}],[8,3,function(e,r,t,n,u,a){h1=h2(n,a),h0={kind:"Lookbehind",negative:!0,assertion:r}}],[9,1,function(e,r){h1=h2(r,r),h0=e}],[9,1,function(e,r){h1=h2(r,r),h0=e}],[9,1,function(e,r){h1=h2(r,r),h0=e}],[10,1,function(e,r){h0=bs(e,"simple",h1=h2(r,r))}],[10,1,function(e,r){h1=h2(r,r),(h0=bs(e.slice(1),"simple",h1)).escaped=!0}],[10,1,function(e,r){(h0=bs(e,"unicode",h1=h2(r,r))).isSurrogatePair=!0}],[10,1,function(e,r){h0=bs(e,"unicode",h1=h2(r,r))}],[10,1,function(e,r){h0=function(e,r){var t="P"===e[1],n=e.indexOf("="),u=e.slice(3,-1!==n?n:-1),a=void 0,i=-1===n&&bo.isGeneralCategoryValue(u),o=-1===n&&bo.isBinaryPropertyName(u);if(i)a=u,u="General_Category";else if(o)a=u;else{if(!bo.isValidName(u))throw SyntaxError("Invalid unicode property name: "+u+".");if(a=e.slice(n+1,-1),!bo.isValidValue(u,a))throw SyntaxError("Invalid "+u+" unicode property value: "+a+".")}return bm({type:"UnicodeProperty",name:u,value:a,negative:t,shorthand:i,binary:o,canonicalName:bo.getCanonicalName(u)||u,canonicalValue:bo.getCanonicalValue(a)||a},r)}(e,h1=h2(r,r))}],[10,1,function(e,r){h0=bs(e,"control",h1=h2(r,r))}],[10,1,function(e,r){h0=bs(e,"hex",h1=h2(r,r))}],[10,1,function(e,r){h0=bs(e,"oct",h1=h2(r,r))}],[10,1,function(e,r){var t,n;t=h1=h2(r,r),h0=(n=Number(e.slice(1)))>0&&n<=bt?bm({type:"Backreference",kind:"number",number:n,reference:n},t):bs(e,"decimal",t)}],[10,1,function(e,r){h0=bs(e,"meta",h1=h2(r,r))}],[10,1,function(e,r){h0=bs(e,"meta",h1=h2(r,r))}],[10,1,function(e,r){h1=h2(r,r),h0=function(e,r){var t=e.slice(3,-1),n=bg(t);if(bn.hasOwnProperty(n))return bm({type:"Backreference",kind:"name",number:bn[n],reference:n,referenceRaw:t},r);var u=null,a=null,i=null,o=null;r&&(u=r.startOffset,a=r.startLine,i=r.endLine,o=r.startColumn);var s=/^[\w$<>]/,d=void 0,c=[bs(e.slice(1,2),"simple",u?{startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:u+=2,endColumn:o+=2}:null)];for(c[0].escaped=!0,e=e.slice(2);e.length>0;){var f=null;(f=e.match(bd))||(f=e.match(bc))?(u&&(d={startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:u+=f[0].length,endColumn:o+=f[0].length}),c.push(bs(f[0],"unicode",d)),e=e.slice(f[0].length)):(f=e.match(s))&&(u&&(d={startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:++u,endColumn:++o}),c.push(bs(f[0],"simple",d)),e=e.slice(1))}return c}(e,r)}],[11,1,function(e,r){h1=h2(r,r),h0=e}],[11,0],[12,1,function(e,r){h1=h2(r,r),h0=e}],[12,2,function(e,r,t,n){h1=h2(t,n),e.greedy=!1,h0=e}],[13,1,function(e,r){h0=bm({type:"Quantifier",kind:e,greedy:!0},h1=h2(r,r))}],[13,1,function(e,r){h0=bm({type:"Quantifier",kind:e,greedy:!0},h1=h2(r,r))}],[13,1,function(e,r){h0=bm({type:"Quantifier",kind:e,greedy:!0},h1=h2(r,r))}],[13,1,function(e,r){h1=h2(r,r);var t=ba(e);h0=bm({type:"Quantifier",kind:"Range",from:t[0],to:t[0],greedy:!0},h1)}],[13,1,function(e,r){h1=h2(r,r),h0=bm({type:"Quantifier",kind:"Range",from:ba(e)[0],greedy:!0},h1)}],[13,1,function(e,r){h1=h2(r,r);var t=ba(e);h0=bm({type:"Quantifier",kind:"Range",from:t[0],to:t[1],greedy:!0},h1)}],[14,1,function(e,r){h1=h2(r,r),h0=e}],[14,1,function(e,r){h1=h2(r,r),h0=e}],[15,3,function(e,r,t,n,u,a){h1=h2(n,a);var i=String(e),o=bg(i);if(!hQ.options.allowGroupNameDuplicates&&bn.hasOwnProperty(o))throw SyntaxError('Duplicate of the named group "'+o+'".');bn[o]=e.groupNumber,h0=bm({type:"Group",capturing:!0,name:o,nameRaw:i,number:e.groupNumber,expression:r},h1)}],[15,3,function(e,r,t,n,u,a){h1=h2(n,a),h0=bm({type:"Group",capturing:!0,number:e.groupNumber,expression:r},h1)}],[16,3,function(e,r,t,n,u,a){h0=bm({type:"Group",capturing:!1,expression:r},h1=h2(n,a))}],[17,3,function(e,r,t,n,u,a){h0=bm({type:"CharacterClass",negative:!0,expressions:r},h1=h2(n,a))}],[17,3,function(e,r,t,n,u,a){h0=bm({type:"CharacterClass",expressions:r},h1=h2(n,a))}],[18,0,function(){h1=null,h0=[]}],[18,1,function(e,r){h1=h2(r,r),h0=e}],[19,1,function(e,r){h1=h2(r,r),h0=[e]}],[19,2,function(e,r,t,n){h1=h2(t,n),h0=[e].concat(r)}],[19,4,function(e,r,t,n,u,a,i,o){h1=h2(u,o),bi(e,t),h0=[bm({type:"ClassRange",from:e,to:t},by(u,i))],n&&(h0=h0.concat(n))}],[20,1,function(e,r){h1=h2(r,r),h0=e}],[20,2,function(e,r,t,n){h1=h2(t,n),h0=[e].concat(r)}],[20,4,function(e,r,t,n,u,a,i,o){h1=h2(u,o),bi(e,t),h0=[bm({type:"ClassRange",from:e,to:t},by(u,i))],n&&(h0=h0.concat(n))}],[21,1,function(e,r){h0=bs(e,"simple",h1=h2(r,r))}],[21,1,function(e,r){h1=h2(r,r),h0=e}],[22,1,function(e,r){h1=h2(r,r),h0=e}],[22,1,function(e,r){h0=bs(e,"meta",h1=h2(r,r))}]],h4={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"},h5=[{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"}],h8=[],h6=void 0,h9=[[/^#[^\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 bl(hY.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&&"\\-"===hY);else if("u"===e||"xu"===e||"u_class"===e)throw SyntaxError("invalid Unicode escape "+hY);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 bl(hY=hY.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"}]],h7={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]},be={type:"$",value:""};h6={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(be);for(var e=this._string.slice(this._cursor),r=h7[this.getCurrentState()],t=0;t<r.length;t++){var n=h9[r[t]],u=this._match(e,n[0]);if(""===e&&""===u&&this._cursor++,null!==u){(hY=u).length;var a=n[1].call(this);if(!a)return this.getNextToken();if(Array.isArray(a)){var i,o=a.slice(1);a=a[0],o.length>0&&(i=this._tokensQueue).unshift.apply(i,hX(o))}return this.onToken(this._toToken(a,hY))}}if(this.isEOF())return this._cursor++,be;this.throwUnexpectedToken(e[0],this._currentLine,this._currentColumn)},throwUnexpectedToken:function(e,r,t){var n=this._string.split("\n")[r-1],u="";throw n&&(u="\n\n"+n+"\n"+" ".repeat(t)+"^\n"),SyntaxError(u+'Unexpected token: "'+e+'" '+("at "+r)+":"+t+".")},getCursor:function(){return this._cursor},getCurrentLine:function(){return this._currentLine},getCurrentColumn:function(){return this._currentColumn},_captureLocation:function(e){var r=/\n/g;this._tokenStartOffset=this._cursor,this._tokenStartLine=this._currentLine,this._tokenStartColumn=this._tokenStartOffset-this._currentLineBeginOffset;for(var t=void 0;null!==(t=r.exec(e));)this._currentLine++,this._currentLineBeginOffset=this._tokenStartOffset+t.index+1;this._tokenEndOffset=this._cursor+e.length,this._tokenEndLine=this._currentLine,this._tokenEndColumn=this._currentColumn=this._tokenEndOffset-this._currentLineBeginOffset},_toToken:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{type:e,value:r,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,r){var t=e.match(r);return t?(this._captureLocation(t[0]),this._cursor+=t[0].length,t[0]):null},onToken:function(e){return e}},hQ.lexer=h6,hQ.tokenizer=h6,hQ.options={captureLocations:!0};var br={setOptions:function(e){return hQ.options=e,this},getOptions:function(){return hQ.options},parse:function(e,r){if(!h6)throw Error("Tokenizer instance wasn't specified.");h6.initString(e);var t=hQ.options;r&&(hQ.options=Object.assign({},hQ.options,r)),br.onParseBegin(e,h6,hQ.options),h8.length=0,h8.push(0);var n=h6.getNextToken(),u=null;do{n||(hQ.options=t,bb());var a=h8[h8.length-1],i=h4[n.type];h5[a].hasOwnProperty(i)||(hQ.options=t,bh(n));var o=h5[a][i];if("s"===o[0]){var s=null;hQ.options.captureLocations&&(s={startOffset:n.startOffset,endOffset:n.endOffset,startLine:n.startLine,endLine:n.endLine,startColumn:n.startColumn,endColumn:n.endColumn}),u=this.onShift(n),h8.push({symbol:h4[u.type],semanticValue:u.value,loc:s},Number(o.slice(1))),n=h6.getNextToken()}else if("r"===o[0]){var d=h3[o.slice(1)],c="function"==typeof d[2],f=c?[]:null,l=c&&hQ.options.captureLocations?[]:null;if(0!==d[1])for(var p=d[1];p-- >0;){h8.pop();var g=h8.pop();c&&(f.unshift(g.semanticValue),l&&l.unshift(g.loc))}var m={symbol:d[0]};if(c){hY=u?u.value:null,u&&u.value.length;var y=null!==l?f.concat(l):f;d[2].apply(d,hX(y)),m.semanticValue=h0,l&&(m.loc=h1)}var h=h8[h8.length-1],b=d[0];h8.push(m,h5[h][b])}else if("acc"===o){h8.pop();var v=h8.pop();if((1!==h8.length||0!==h8[0]||h6.hasMoreTokens())&&(hQ.options=t,bh(n)),v.hasOwnProperty("semanticValue"))return hQ.options=t,br.onParseEnd(v.semanticValue),v.semanticValue;return br.onParseEnd(),hQ.options=t,!0}}while(h6.hasMoreTokens()||h8.length>1)},setTokenizer:function(e){return h6=e,br},getTokenizer:function(){return h6},onParseBegin:function(e,r,t){},onParseEnd:function(e){},onShift:function(e){return e}},bt=0,bn={},bu="";function ba(e){var r=e.match(/\d+/g).map(Number);if(Number.isFinite(r[1])&&r[1]<r[0])throw SyntaxError("Numbers out of order in "+e+" quantifier");return r}function bi(e,r){if("control"===e.kind||"control"===r.kind||!isNaN(e.codePoint)&&!isNaN(r.codePoint)&&e.codePoint>r.codePoint)throw SyntaxError("Range "+e.value+"-"+r.value+" out of order in character class")}br.onParseBegin=function(e,r){bu=e,bt=0,bn={};var t=e.lastIndexOf("/"),n=e.slice(t);n.includes("x")&&n.includes("u")?r.pushState("xu"):(n.includes("x")&&r.pushState("x"),n.includes("u")&&r.pushState("u"))},br.onShift=function(e){return("L_PAREN"===e.type||"NAMED_CAPTURE_GROUP"===e.type)&&(e.value=new String(e.value),e.value.groupNumber=++bt),e};var bo={isAlias:function(e){return h$.hasOwnProperty(e)||hU.hasOwnProperty(e)},isValidName:function(e){return hM.hasOwnProperty(e)||h$.hasOwnProperty(e)||hz.hasOwnProperty(e)||hU.hasOwnProperty(e)},isValidValue:function(e,r){return"General_Category"===e||"gc"==e?hH(r):!!("Script"===e||"Script_Extensions"===e||"sc"===e||"scx"===e)&&hK(r)},isGeneralCategoryValue:hH,isScriptCategoryValue:hK,isBinaryPropertyName:function(e){return hz.hasOwnProperty(e)||hU.hasOwnProperty(e)},getCanonicalName:function(e){return h$.hasOwnProperty(e)?h$[e]:hU.hasOwnProperty(e)?hU[e]:null},getCanonicalValue:function(e){return hq.hasOwnProperty(e)?hq[e]:hZ.hasOwnProperty(e)?hZ[e]:hU.hasOwnProperty(e)?hU[e]:null},NON_BINARY_PROP_NAMES_TO_ALIASES:hM,NON_BINARY_ALIASES_TO_PROP_NAMES:h$,BINARY_PROP_NAMES_TO_ALIASES:hz,BINARY_ALIASES_TO_PROP_NAMES:hU,GENERAL_CATEGORY_VALUE_TO_ALIASES:hW,GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES:hq,SCRIPT_VALUE_TO_ALIASES:hV,SCRIPT_VALUE_ALIASES_TO_VALUE:hZ};function bs(e,r,t){var n=void 0,u=void 0;switch(r){case"decimal":n=String.fromCodePoint(u=Number(e.slice(1)));break;case"oct":n=String.fromCodePoint(u=parseInt(e.slice(1),8));break;case"hex":case"unicode":if(e.lastIndexOf("\\u")>0){var a=hJ(e.split("\\u").slice(1),2),i=a[0],o=a[1];n=String.fromCodePoint(u=((i=parseInt(i,16))-55296)*1024+((o=parseInt(o,16))-56320)+65536)}else{if((u=parseInt(e.slice(2).replace("{",""),16))>1114111)throw SyntaxError("Bad character escape sequence: "+e);n=String.fromCodePoint(u)}break;case"meta":switch(e){case"\\t":u=(n=" ").codePointAt(0);break;case"\\n":u=(n="\n").codePointAt(0);break;case"\\r":u=(n="\r").codePointAt(0);break;case"\\v":u=(n="\v").codePointAt(0);break;case"\\f":u=(n="\f").codePointAt(0);break;case"\\b":u=(n="\b").codePointAt(0);case"\\0":n="\x00",u=0;case".":n=".",u=NaN;break;default:u=NaN}break;case"simple":u=(n=e).codePointAt(0)}return bm({type:"Char",value:e,kind:r,symbol:n,codePoint:u},t)}var bd=/^\\u[0-9a-fA-F]{4}/,bc=/^\\u\{[0-9a-fA-F]{1,}\}/,bf=/\\u\{[0-9a-fA-F]{1,}\}/;function bl(e,r){if(bf.test(e)&&!("u"===r||"xu"===r||"u_class"===r))throw SyntaxError('invalid group Unicode name "'+e+'", use `u` flag.');return e}var bp=/\\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 bg(e){return e.replace(RegExp(bp,"g"),function(e,r,t,n,u,a,i){return r?String.fromCodePoint(parseInt(r,16),parseInt(t,16)):n?String.fromCodePoint(parseInt(n,16)):u?String.fromCodePoint(parseInt(u,16)):a?String.fromCodePoint(parseInt(a,16)):i?String.fromCodePoint(parseInt(i,16)):e})}function bm(e,r){return hQ.options.captureLocations&&(e.loc={source:bu.slice(r.startOffset,r.endOffset),start:{line:r.startLine,column:r.startColumn,offset:r.startOffset},end:{line:r.endLine,column:r.endColumn,offset:r.endOffset}}),e}function by(e,r){return hQ.options.captureLocations?{startOffset:e.startOffset,endOffset:r.endOffset,startLine:e.startLine,endLine:r.endLine,startColumn:e.startColumn,endColumn:r.endColumn}:null}function bh(e){"$"===e.type&&bb(),h6.throwUnexpectedToken(e.value,e.startLine,e.startColumn)}function bb(){!function(e){throw SyntaxError(e)}("Unexpected end of input.")}var bv=br.parse.bind(br);br.parse=function(e,r){return bv(""+e,r)},br.setOptions({captureLocations:!1});var bx=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),bE="expressions",bA="expression",bD=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this.node=r,this.parentPath=t,this.parent=t?t.node:null,this.property=n,this.index=u}return bx(e,[{key:"_enforceProp",value:function(e){if(!this.node.hasOwnProperty(e))throw Error("Node of type "+this.node.type+" doesn't have \""+e+'" collection.')}},{key:"setChild",value:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=void 0;return null!=t?(n||(n=bE),this._enforceProp(n),this.node[n][t]=r,u=e.getForNode(r,this,n,t)):(n||(n=bA),this._enforceProp(n),this.node[n]=r,u=e.getForNode(r,this,n,null)),u}},{key:"appendChild",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r||(r=bE),this._enforceProp(r);var t=this.node[r].length;return this.setChild(e,t,r)}},{key:"insertChildAt",value:function(r,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bE;this._enforceProp(n),this.node[n].splice(t,0,r),t<=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){this.parent[this.property].splice(this.index,1),this.index<=e.getTraversingIndex()&&e.updateTraversingIndex(-1),this._rebuildIndex(this.parent,this.property),this.index=null,this.property=null;return}delete this.parent[this.property],this.property=null}}},{key:"_rebuildIndex",value:function(r,t){for(var n=e.getForNode(r),u=0;u<r[t].length;u++)e.getForNode(r[t][u],n,t,u).index=u}},{key:"isRemoved",value:function(){return null===this.node}},{key:"replace",value:function(r){return(e.registry.delete(this.node),this.node=r,this.parent)?(null!==this.index?this.parent[this.property][this.index]=r:this.parent[this.property]=r,e.getForNode(r,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 r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.node.expressions?e.getForNode(this.node.expressions[r],this,bE,r):this.node.expression&&0==r?e.getForNode(this.node.expression,this,bA):null}},{key:"hasEqualSource",value:function(e){return JSON.stringify(this.node,bC)===JSON.stringify(e.node,bC)}},{key:"jsonEncode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.format,t=e.useLoc;return JSON.stringify(this.node,t?null:bC,r)}},{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(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;if(!r)return null;e.registry.has(r)||e.registry.set(r,new e(r,t,n,-1==u?null:u));var a=e.registry.get(r);return null!==t&&(a.parentPath=t,a.parent=a.parentPath.node),null!==n&&(a.property=n),u>=0&&(a.index=u),a}},{key:"initRegistry",value:function(){e.registry||(e.registry=new Map),e.registry.clear()}},{key:"updateTraversingIndex",value:function(r){return e.traversingIndexStack[e.traversingIndexStack.length-1]+=r}},{key:"getTraversingIndex",value:function(){return e.traversingIndexStack[e.traversingIndexStack.length-1]}}]),e}();function bC(e,r){if("loc"!==e)return r}bD.initRegistry(),bD.traversingIndexStack=[];var bS={traverse:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{asNodes:!1};function n(e,r,t,n){var u=bD.getForNode(r);return bD.getForNode(e,u,t,n)}Array.isArray(r)||(r=[r]),r=r.filter(function(r){return"function"!=typeof r.shouldRun||r.shouldRun(e)}),bD.initRegistry(),r.forEach(function(r){"function"==typeof r.init&&r.init(e)}),function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.pre,n=r.post,u=r.skipProperty;!function e(r,a,i,o){if(r&&"string"==typeof r.type){var s=void 0;if(t&&(s=t(r,a,i,o)),!1!==s){for(var d in a&&a[i]&&(r=isNaN(o)?a[i]:a[i][o]),r)if(r.hasOwnProperty(d)){if(u?u(d,r):"$"===d[0])continue;var c=r[d];if(Array.isArray(c)){var f=0;for(bD.traversingIndexStack.push(f);f<c.length;)e(c[f],r,d,f),f=bD.updateTraversingIndex(1);bD.traversingIndexStack.pop()}else e(c,r,d)}}n&&n(r,a,i,o)}}(e,null)}(e,{pre:function(e,u,a,i){var o=void 0;t.asNodes||(o=n(e,u,a,i));var s=!0,d=!1,c=void 0;try{for(var f,l=r[Symbol.iterator]();!(s=(f=l.next()).done);s=!0){var p=f.value;if("function"==typeof p["*"]){if(o){if(!o.isRemoved()){var g=p["*"](o);if(!1===g)return!1}}else p["*"](e,u,a,i)}var m=void 0;if("function"==typeof p[e.type]?m=p[e.type]:"object"==typeof p[e.type]&&"function"==typeof p[e.type].pre&&(m=p[e.type].pre),m){if(o){if(!o.isRemoved()){var y=m.call(p,o);if(!1===y)return!1}}else m.call(p,e,u,a,i)}}}catch(e){d=!0,c=e}finally{try{!s&&l.return&&l.return()}finally{if(d)throw c}}},post:function(e,u,a,i){if(e){var o=void 0;t.asNodes||(o=n(e,u,a,i));var s=!0,d=!1,c=void 0;try{for(var f,l=r[Symbol.iterator]();!(s=(f=l.next()).done);s=!0){var p=f.value,g=void 0;if("object"==typeof p[e.type]&&"function"==typeof p[e.type].post&&(g=p[e.type].post),g){if(o){if(!o.isRemoved()){var m=g.call(p,o);if(!1===m)return!1}}else g.call(p,e,u,a,i)}}}catch(e){d=!0,c=e}finally{try{!s&&l.return&&l.return()}finally{if(d)throw c}}}},skipProperty:function(e){return"loc"===e}})}},b_=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),bw=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._ast=r,this._source=null,this._string=null,this._regexp=null,this._extra=t}return b_(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=hN.generate(this._ast.body)),this._source}},{key:"getFlags",value:function(){return this._ast.flags}},{key:"toString",value:function(){return this._string||(this._string=hN.generate(this._ast)),this._string}}]),e}(),bF={TransformResult:bw,transform:function(e,r){var t=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(t=br.parse(e,{captureLocations:!0})),bS.traverse(t,r),new bw(t)}},bT={dotAll:{_hasUFlag:!1,shouldRun:function(e){return!!e.flags.includes("s")&&(e.flags=e.flags.replace("s",""),this._hasUFlag=e.flags.includes("u"),!0)},Char:function(e){var r=e.node;if("meta"===r.kind&&"."===r.value){var t="\\uFFFF",n="￿";this._hasUFlag&&(t="\\u{10FFFF}",n="\uDBFF\uDFFF"),e.replace({type:"CharacterClass",expressions:[{type:"ClassRange",from:{type:"Char",value:"\\0",kind:"decimal",symbol:"\x00"},to:{type:"Char",value:t,kind:"unicode",symbol:n}}]})}}},namedCapturingGroups:{_groupNames:{},init:function(){this._groupNames={}},getExtra:function(){return this._groupNames},Group:function(e){var r=e.node;r.name&&(this._groupNames[r.name]=r.number,delete r.name,delete r.nameRaw)},Backreference:function(e){var r=e.node;"name"===r.kind&&(r.kind="number",r.reference=r.number,delete r.referenceRaw)}},xFlag:{RegExp:function(e){var r=e.node;r.flags.includes("x")&&(r.flags=r.flags.replace("x",""))}}},bk="A".codePointAt(0),bP="Z".codePointAt(0),bI="a".codePointAt(0),bB="z".codePointAt(0),bj="0".codePointAt(0),bO="9".codePointAt(0),bR="A".codePointAt(0),bL="Z".codePointAt(0),bN={disjunctionToList:function e(r){if("Disjunction"!==r.type)throw TypeError('Expected "Disjunction" node, got "'+r.type+'"');var t=[];return r.left&&"Disjunction"===r.left.type?t.push.apply(t,(function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t})(e(r.left)).concat([r.right])):t.push(r.left,r.right),t},listToDisjunction:function(e){return e.reduce(function(e,r){return{type:"Disjunction",left:e,right:r}})},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))}},bM=bN.increaseQuantifierByOne;function b$(e){return e.greedy&&("+"===e.kind||"*"===e.kind||"Range"===e.kind&&!e.to)}function bz(e){var r=void 0,t=void 0;return"*"===e.kind?r=0:"+"===e.kind?r=1:"?"===e.kind?(r=0,t=1):(r=e.from,e.to&&(t=e.to)),{from:r,to:t}}function bU(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var bW=[function(e){return bq(e," ")}].concat(bU(["\\f","\\n","\\r","\\t","\\v"].map(function(e){return function(r){return bV(r,e)}})),bU([160,5760,8232,8233,8239,8287,12288,65279].map(function(e){return function(r){return bZ(r,e)}})),[function(e){return"ClassRange"===e.type&&bZ(e.from,8192)&&bZ(e.to,8202)}]);function bq(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"simple";return"Char"===e.type&&e.value===r&&e.kind===t}function bV(e,r){return bq(e,r,"meta")}function bZ(e,r){return"Char"===e.type&&"unicode"===e.kind&&e.codePoint===r}function bG(e,r,t){for(var n=e,u=(t?n>=0:n<r.expressions.length)&&r.expressions[n];u&&"Char"===u.type&&"simple"===u.kind&&!u.escaped&&/\d/.test(u.value);)t?n--:n++,u=(t?n>=0:n<r.expressions.length)&&r.expressions[n];return Math.abs(e-n)}function bH(e,r){return e&&"Char"===e.type&&"simple"===e.kind&&!e.escaped&&e.value===r}function bK(e,r){var t=bJ(e),n=bJ(r);if(t===n){if("ClassRange"===e.type&&"ClassRange"!==r.type)return -1;if("ClassRange"===r.type&&"ClassRange"!==e.type)return 1;if("ClassRange"===e.type&&"ClassRange"===r.type)return bJ(e.to)-bJ(r.to);if(bX(e)&&bX(r)||bY(e)&&bY(r))return e.value<r.value?-1:1}return t-n}function bJ(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 bX(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"Char"===e.type&&"meta"===e.kind&&(r?e.value===r:/^\\[dws]$/i.test(e.value))}function bY(e){return"Char"===e.type&&"control"===e.kind}function bQ(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 b0(e){return e.codePoint>=48&&e.codePoint<=57}function b1(e,r){return b0(e)||e.codePoint>=65&&e.codePoint<=90||e.codePoint>=97&&e.codePoint<=122||"_"===e.value||r&&(383===e.codePoint||8490===e.codePoint)}function b2(e){return e&&"Char"===e.type&&!isNaN(e.codePoint)&&(b1(e,!1)||"unicode"===e.kind||"hex"===e.kind||"oct"===e.kind||"decimal"===e.kind)}var b3=bN.disjunctionToList,b4=bN.listToDisjunction,b5={RegExp:function(e,r){e.node.body=r},Group:function(e,r){var t=e.node;t.capturing?t.expression=r:e.replace(r)}};function b8(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}function b6(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var b9=bN.increaseQuantifierByOne,b7=new Map([["charSurrogatePairToSingleUnicode",{shouldRun:function(e){return e.flags.includes("u")},Char:function(e){var r=e.node;"unicode"!==r.kind||!r.isSurrogatePair||isNaN(r.codePoint)||(r.value="\\u{"+r.codePoint.toString(16)+"}",delete r.isSurrogatePair)}}],["charCodeToSimpleChar",{Char:function(e){var r=e.node,t=e.parent;if(!isNaN(r.codePoint)&&"simple"!==r.kind&&("ClassRange"!==t.type||(n=t.from,u=t.to,n.codePoint>=bj&&n.codePoint<=bO&&u.codePoint>=bj&&u.codePoint<=bO||n.codePoint>=bk&&n.codePoint<=bP&&u.codePoint>=bk&&u.codePoint<=bP||n.codePoint>=bI&&n.codePoint<=bB&&u.codePoint>=bI&&u.codePoint<=bB))&&(a=r.codePoint)>=32&&a<=126){var n,u,a,i,o=String.fromCodePoint(r.codePoint),s={type:"Char",kind:"simple",value:o,symbol:o,codePoint:r.codePoint};("ClassRange"===(i=t.type)||"CharacterClass"===i?/[\]\\^-]/.test(o):/[*[()+?^$./\\|{}]/.test(o))&&(s.escaped=!0),e.replace(s)}}}],["charCaseInsensitiveLowerCaseTransform",{_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 r,t,n=e.node,u=e.parent;if(!isNaN(n.codePoint)&&(this._hasUFlag||!(n.codePoint>=4096))){if("ClassRange"===u.type){if(!this._AZClassRanges.has(u)&&(r=u.from,t=u.to,!(r.codePoint>=bR)||!(r.codePoint<=bL)||!(t.codePoint>=bR)||!(t.codePoint<=bL)))return;this._AZClassRanges.add(u)}var a=n.symbol.toLowerCase();a!==n.symbol&&(n.value=function(e,r){var t=e.codePointAt(0);if("decimal"===r.kind)return"\\"+t;if("oct"===r.kind)return"\\0"+t.toString(8);if("hex"===r.kind)return"\\x"+t.toString(16);if("unicode"===r.kind){if(r.isSurrogatePair){var n={lead:(Math.floor((t-65536)/1024)+55296).toString(16),trail:((t-65536)%1024+56320).toString(16)},u=n.lead,a=n.trail;return"\\u"+"0".repeat(4-u.length)+u+"\\u"+"0".repeat(4-a.length)+a}if(r.value.includes("{"))return"\\u{"+t.toString(16)+"}";var i=t.toString(16);return"\\u"+"0".repeat(4-i.length)+i}return e}(a,n),n.symbol=a,n.codePoint=a.codePointAt(0))}}}],["charClassRemoveDuplicates",{CharacterClass:function(e){for(var r=e.node,t={},n=0;n<r.expressions.length;n++){var u=e.getChild(n),a=u.jsonEncode();t.hasOwnProperty(a)&&(u.remove(),n--),t[a]=!0}}}],["quantifiersMerge",{Repetition:function(e){var r=e.node;if("Alternative"===e.parent.type&&e.index){var t=e.getPreviousSibling();if(t){if("Repetition"===t.node.type){if(!t.getChild().hasEqualSource(e.getChild()))return;var n=bz(t.node.quantifier),u=n.from,a=n.to,i=bz(r.quantifier),o=i.from,s=i.to;if(t.node.quantifier.greedy!==r.quantifier.greedy&&!b$(t.node.quantifier)&&!b$(r.quantifier))return;r.quantifier.kind="Range",r.quantifier.from=u+o,a&&s?r.quantifier.to=a+s:delete r.quantifier.to,(b$(t.node.quantifier)||b$(r.quantifier))&&(r.quantifier.greedy=!0),t.remove()}else{if(!t.hasEqualSource(e.getChild()))return;bM(r.quantifier),t.remove()}}}}}],["quantifierRangeToSymbol",{Quantifier:function(e){if("Range"===e.node.kind){var r,t,n;0!==(r=e.node).from||r.to||(r.kind="*",delete r.from),1!==(t=e.node).from||t.to||(t.kind="+",delete t.from),1===(n=e.node).from&&1===n.to&&e.parentPath.replace(e.parentPath.node.expression)}}}],["charClassClassrangesToChars",{ClassRange:function(e){var r=e.node;r.from.codePoint===r.to.codePoint?e.replace(r.from):r.from.codePoint===r.to.codePoint-1&&(e.getParent().insertChildAt(r.to,e.index+1),e.replace(r.from))}}],["charClassToMeta",{_hasIFlag:!1,_hasUFlag:!1,init:function(e){this._hasIFlag=e.flags.includes("i"),this._hasUFlag=e.flags.includes("u")},CharacterClass:function(e){var r,t,n,u,a,i,o,s,d;(function(e){e.node.expressions.forEach(function(r,t){"ClassRange"===r.type&&"0"===r.from.value&&"9"===r.to.value&&e.getChild(t).replace({type:"Char",value:"\\d",kind:"meta"})})})(e),r=this._hasIFlag,t=this._hasUFlag,n=e.node,u=null,a=null,i=null,o=null,s=null,d=null,n.expressions.forEach(function(n,c){bV(n,"\\d")?u=e.getChild(c):"ClassRange"===n.type&&"a"===n.from.value&&"z"===n.to.value?a=e.getChild(c):"ClassRange"===n.type&&"A"===n.from.value&&"Z"===n.to.value?i=e.getChild(c):"Char"===n.type&&"_"===n.value&&"simple"===n.kind?o=e.getChild(c):r&&t&&bZ(n,383)?s=e.getChild(c):r&&t&&bZ(n,8490)&&(d=e.getChild(c))}),u&&(a&&i||r&&(a||i))&&o&&(!t||!r||s&&d)&&(u.replace({type:"Char",value:"\\w",kind:"meta"}),a&&a.remove(),i&&i.remove(),o.remove(),s&&s.remove(),d&&d.remove()),function(e){var r=e.node;if(!(r.expressions.length<bW.length)&&bW.every(function(e){return r.expressions.some(function(r){return e(r)})})){var t=r.expressions.find(function(e){return bV(e,"\\n")});t.value="\\s",t.symbol=void 0,t.codePoint=NaN,r.expressions.map(function(r,t){return bW.some(function(e){return e(r)})?e.getChild(t):void 0}).filter(Boolean).forEach(function(e){return e.remove()})}}(e)}}],["charClassToSingleChar",{CharacterClass:function(e){var r=e.node;if(1===r.expressions.length&&function(e){var r=e.parent,t=e.index;if("Alternative"!==r.type)return!0;var n=r.expressions[t-1];return null==n||("Backreference"!==n.type||"number"!==n.kind)&&("Char"!==n.type||"decimal"!==n.kind)}(e)&&"Char"===(t=r.expressions[0]).type&&"\\b"!==t.value){var t,n,u,a,i=r.expressions[0],o=i.value,s=i.kind,d=i.escaped;if(r.negative){if(n=o,!/^\\[dwsDWS]$/.test(n))return;u=o,o=/[dws]/.test(u)?u.toUpperCase():u.toLowerCase()}e.replace({type:"Char",value:o,kind:s,escaped:d||(a=o,/[*[()+?$./{}|]/.test(a))})}}}],["charEscapeUnescape",{_hasXFlag:!1,init:function(e){this._hasXFlag=e.flags.includes("x")},Char:function(e){var r,t,n,u,a=e.node;a.escaped&&(r=this._hasXFlag,t=e.node.value,n=e.index,("CharacterClass"!==(u=e.parent).type&&"ClassRange"!==u.type?"{"===t?function(e,r){if(null==e)return!1;var t=bG(e+1,r),n=e+t+1,u=n<r.expressions.length&&r.expressions[n];if(t){if(bH(u,"}"))return!0;if(bH(u,","))return t=bG(n+1,r),bH(u=(n=n+t+1)<r.expressions.length&&r.expressions[n],"}")}return!1}(n,u):"}"===t?function(e,r){if(null==e)return!1;var t=bG(e-1,r,!0),n=e-t-1,u=n>=0&&r.expressions[n];return!!(t&&bH(u,"{"))||!!bH(u,",")&&(t=bG(n-1,r,!0),u=(n=n-t-1)<r.expressions.length&&r.expressions[n],t&&bH(u,"{"))}(n,u):!!(r&&/[ #]/.test(t))||/[*[()+?^$./\\|]/.test(t):"^"===t?0===n&&!u.negative:"-"===t||/[\]\\]/.test(t))||delete a.escaped)}}],["charClassClassrangesMerge",{_hasIUFlags:!1,init:function(e){this._hasIUFlags=e.flags.includes("i")&&e.flags.includes("u")},CharacterClass:function(e){var r=e.node.expressions,t=[];r.forEach(function(e){bX(e)&&t.push(e.value)}),r.sort(bK);for(var n=0;n<r.length;n++){var u,a=r[n];if(function(e,r,t){for(var n=0;n<r.length;n++)if(function e(r,t,n){return"ClassRange"===r.type?e(r.from,t,n)&&e(r.to,t,n):!!("\\S"===t&&(bX(r,"\\w")||bX(r,"\\d"))||"\\D"===t&&(bX(r,"\\W")||bX(r,"\\s"))||"\\w"===t&&bX(r,"\\d")||"\\W"===t&&bX(r,"\\s"))||!("Char"!==r.type||isNaN(r.codePoint))&&("\\s"===t?bQ(r):"\\S"===t?!bQ(r):"\\d"===t?b0(r):"\\D"===t?!b0(r):"\\w"===t?b1(r,n):"\\W"===t&&!b1(r,n))}(e,r[n],t))return!0;return!1}(a,t,this._hasIUFlags)||function(e,r){if(r&&"ClassRange"===r.type){if(function e(r,t){return!("Char"===r.type&&isNaN(r.codePoint))&&("ClassRange"===r.type?e(r.from,t)&&e(r.to,t):r.codePoint>=t.from.codePoint&&r.codePoint<=t.to.codePoint)}(e,r))return!0;if(b2(e)&&r.to.codePoint===e.codePoint-1)return r.to=e,!0;if("ClassRange"===e.type&&e.from.codePoint<=r.to.codePoint+1&&e.to.codePoint>=r.from.codePoint-1)return e.from.codePoint<r.from.codePoint&&(r.from=e.from),e.to.codePoint>r.to.codePoint&&(r.to=e.to),!0}return!1}(a,r[n-1])||(u=r[n+1])&&"ClassRange"===u.type&&b2(a)&&u.from.codePoint===a.codePoint+1&&(u.from=a,1))r.splice(n,1),n--;else{var i=function(e,r,t){if(!b2(e))return 0;for(var n=0;r>0;){var u=t[r],a=t[r-1];if(b2(a)&&a.codePoint===u.codePoint-1)n++,r--;else break}return n>1?(t[r]={type:"ClassRange",from:t[r],to:e},n):0}(a,n,r);r.splice(n-i+1,i),n-=i}}}}],["disjunctionRemoveDuplicates",{Disjunction:function(e){var r=e.node,t={},n=b3(r).filter(function(e){var r=e?bD.getForNode(e).jsonEncode():"null";return!t.hasOwnProperty(r)&&(t[r]=e,!0)});e.replace(b4(n))}}],["groupSingleCharsToCharClass",{Disjunction:function(e){var r=e.node,t=e.parent;if(b5[t.type]){var n=new Map;if(function e(r,t){if(!r)return!1;var n=r.type;if("Disjunction"===n){var u=r.left,a=r.right;return e(u,t)&&e(a,t)}if("Char"===n){if("meta"===r.kind&&"."===r.symbol)return!1;var i=r.value;return t.set(i,r),!0}return"CharacterClass"===n&&!r.negative&&r.expressions.every(function(r){return e(r,t)})}(r,n)&&n.size){var u={type:"CharacterClass",expressions:Array.from(n.keys()).sort().map(function(e){return n.get(e)})};b5[t.type](e.getParent(),u)}}}}],["removeEmptyGroup",{Group:function(e){var r=e.node,t=e.parent,n=e.getChild();r.capturing||n||("Repetition"===t.type?e.getParent().replace(r):"RegExp"!==t.type&&e.remove())}}],["ungroup",{Group:function(e){var r=e.node,t=e.parent,n=e.getChild();if(!r.capturing&&n&&function(e){var r=e.parent,t=e.index;if("Alternative"!==r.type)return!0;var n=r.expressions[t-1];return null==n||("Backreference"!==n.type||"number"!==n.kind)&&("Char"!==n.type||"decimal"!==n.kind)}(e)&&("Disjunction"!==n.node.type||"RegExp"===t.type)&&("Repetition"!==t.type||"Char"===n.node.type||"CharacterClass"===n.node.type)){if("Alternative"===n.node.type){var u=e.getParent();"Alternative"===u.node.type&&u.replace({type:"Alternative",expressions:[].concat(b8(t.expressions.slice(0,e.index)),b8(n.node.expressions),b8(t.expressions.slice(e.index+1)))})}else e.replace(n.node)}}}],["combineRepeatingPatterns",{Alternative:function(e){for(var r=e.node,t=1;t<r.expressions.length;){var n=e.getChild(t);if((t=Math.max(1,function(e,r,t){for(var n=e.node,u=Math.ceil(t/2),a=0;a<u;){var i=t-2*a-1,o=void 0,s=void 0;if(0===a?(o=r,s=e.getChild(i)):(o=bD.getForNode({type:"Alternative",expressions:[].concat(b6(n.expressions.slice(t-a,t)),[r.node])}),s=bD.getForNode({type:"Alternative",expressions:[].concat(b6(n.expressions.slice(i,t-a)))})),o.hasEqualSource(s)){for(var d=0;d<2*a+1;d++)e.getChild(i).remove();return r.replace({type:"Repetition",expression:0===a&&"Repetition"!==o.node.type?o.node:{type:"Group",capturing:!1,expression:o.node},quantifier:{type:"Quantifier",kind:"Range",from:2,to:2,greedy:!0}}),i}a++}return t}(e,n,t)))>=r.expressions.length||(n=e.getChild(t),(t=Math.max(1,function(e,r,t){for(var n=e.node,u=0;u<t;){var a=e.getChild(u);if("Repetition"===a.node.type&&a.node.quantifier.greedy){var i=a.getChild(),o=void 0;if("Group"!==i.node.type||i.node.capturing||(i=i.getChild()),u+1===t?"Group"!==(o=r).node.type||o.node.capturing||(o=o.getChild()):o=bD.getForNode({type:"Alternative",expressions:[].concat(b6(n.expressions.slice(u+1,t+1)))}),i.hasEqualSource(o)){for(var s=u;s<t;s++)e.getChild(u+1).remove();return b9(a.node.quantifier),u}}u++}return t}(e,n,t)))>=r.expressions.length))break;n=e.getChild(t),t=Math.max(1,function(e,r,t){var n=e.node;if("Repetition"===r.node.type&&r.node.quantifier.greedy){var u=r.getChild(),a=void 0;"Group"!==u.node.type||u.node.capturing||(u=u.getChild());var i=void 0;if("Alternative"===u.node.type?(i=u.node.expressions.length,a=bD.getForNode({type:"Alternative",expressions:[].concat(b6(n.expressions.slice(t-i,t)))})):(i=1,"Group"!==(a=e.getChild(t-1)).node.type||a.node.capturing||(a=a.getChild())),a.hasEqualSource(u)){for(var o=t-i;o<t;o++)e.getChild(t-i).remove();return b9(r.node.quantifier),t-i}}return t}(e,n,t)),t++}}}]]),ve=function e(r){if(null===r||"object"!=typeof r)return r;var t=void 0;for(var n in t=Array.isArray(r)?[]:{},r)t[n]=e(r[n]);return t},vr={EPSILON:"ε",EPSILON_CLOSURE:"ε*"},vt=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")},vn=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vu=vr.EPSILON,va=vr.EPSILON_CLOSURE,vi=function(){function e(r,t){!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this.in=r,this.out=t}return vn(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 r in e){var t=e[r];for(var n in t)n!==va&&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,r=!1,t=void 0;try{for(var n,u=this.getAcceptingStates()[Symbol.iterator]();!(e=(n=u.next()).done);e=!0){var a=n.value;this._acceptingStateNumbers.add(a.number)}}catch(e){r=!0,t=e}finally{try{!e&&u.return&&u.return()}finally{if(r)throw t}}}return this._acceptingStateNumbers}},{key:"getTransitionTable",value:function(){var e=this;if(!this._transitionTable){this._transitionTable={},this._acceptingStates=new Set;var r=new Set,t=new Set;(function n(u){if(!r.has(u)){r.add(u),u.number=r.size,e._transitionTable[u.number]={},u.accepting&&e._acceptingStates.add(u);var a=u.getTransitions(),i=!0,o=!1,s=void 0;try{for(var d,c=a[Symbol.iterator]();!(i=(d=c.next()).done);i=!0){var f=d.value,l=vt(f,2),p=l[0],g=l[1],m=[];t.add(p);var y=!0,h=!1,b=void 0;try{for(var v,x=g[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=v.value;n(E),m.push(E.number)}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}e._transitionTable[u.number][p]=m}}catch(e){o=!0,s=e}finally{try{!i&&c.return&&c.return()}finally{if(o)throw s}}}})(this.in),r.forEach(function(r){delete e._transitionTable[r.number][vu],e._transitionTable[r.number][va]=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}(r.getEpsilonClosure())).map(function(e){return e.number})})}return this._transitionTable}}]),e}(),vo=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")};function vs(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vd=null,vc=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}();function vf(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vl={minimize:function(e){var r=e.getTransitionTable(),t=Object.keys(r),n=e.getAlphabet(),u=e.getAcceptingStateNumbers();vd={};var a=new Set;t.forEach(function(e){e=Number(e),u.has(e)?vd[e]=u:(a.add(e),vd[e]=a)});var i=[[a,u].filter(function(e){return e.size>0})],o=void 0,s=void 0;for(o=i[i.length-1],s=i[i.length-2];!function(e,r){if(!r||e.length!==r.length)return!1;for(var t=0;t<e.length;t++){var n=e[t],u=r[t];if(n.size!==u.size||[].concat(vs(n)).sort().join(",")!==[].concat(vs(u)).sort().join(","))return!1}return!0}(o,s);)!function(){var e={},t=!0,u=!1,a=void 0;try{for(var d,c=o[Symbol.iterator]();!(t=(d=c.next()).done);t=!0){var f=d.value,l={},p=Array.isArray(f)?f:Array.from(f),g=p[0],m=p.slice(1);l[g]=new Set([g]);var y=!0,h=!1,b=void 0;try{r:for(var v,x=m[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=v.value,A=!0,D=!1,C=void 0;try{for(var S,_=Object.keys(l)[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;if(function(e,r,t,n){var u=!0,a=!1,i=void 0;try{for(var o,s=n[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d=o.value;if(!function(e,r,t,n){if(!vd[e]||!vd[r])return!1;var u=t[e][n],a=t[r][n];return!u&&!a||vd[e].has(u)&&vd[r].has(a)}(e,r,t,d))return!1}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return!0}(E,w,r,n)){l[w].add(E),l[E]=l[w];continue r}}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}l[E]=new Set([E])}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}Object.assign(e,l)}}catch(e){u=!0,a=e}finally{try{!t&&c.return&&c.return()}finally{if(u)throw a}}vd=e;var F=new Set(Object.keys(e).map(function(r){return e[r]}));i.push([].concat(vs(F))),o=i[i.length-1],s=i[i.length-2]}();var d=new Map,c=1;o.forEach(function(e){return d.set(e,c++)});var f={},l=new Set,p=!0,g=!1,m=void 0;try{for(var y,h=d.entries()[Symbol.iterator]();!(p=(y=h.next()).done);p=!0){var b=y.value,v=vo(b,2),x=v[0],E=v[1];f[E]={};var A=!0,D=!1,C=void 0;try{for(var S,_=n[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;!function(e,r){var t=!0,n=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value;u.has(s)&&l.add(r)}}catch(e){n=!0,a=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw a}}}(x,E);var F=void 0,T=!0,k=!1,P=void 0;try{for(var I,B=x[Symbol.iterator]();!(T=(I=B.next()).done)&&!(F=r[I.value][w]);T=!0);}catch(e){k=!0,P=e}finally{try{!T&&B.return&&B.return()}finally{if(k)throw P}}F&&(f[E][w]=d.get(vd[F]))}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}}}catch(e){g=!0,m=e}finally{try{!p&&h.return&&h.return()}finally{if(g)throw m}}return e.setTransitionTable(f),e.setAcceptingStateNumbers(l),e}},vp=vr.EPSILON_CLOSURE,vg=function(){function e(r){!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._nfa=r}return vc(e,[{key:"minimize",value:function(){this.getTransitionTable(),this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._originalTransitionTable=this._transitionTable,vl.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 r=this._nfa.getTransitionTable(),t=Object.keys(r);this._acceptingStateNumbers=new Set;for(var n=[r[t[0]][vp]],u=this.getAlphabet(),a=this._nfa.getAcceptingStateNumbers(),i={};n.length>0;){var o=n.shift(),s=o.join(",");i[s]={};var d=!0,c=!1,f=void 0;try{for(var l,p=u[Symbol.iterator]();!(d=(l=p.next()).done);d=!0){var g=l.value,m=[];!function(r){var t=!0,n=!1,u=void 0;try{for(var i,o=a[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value;if(-1!==r.indexOf(s)){e._acceptingStateNumbers.add(r.join(","));break}}}catch(e){n=!0,u=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw u}}}(o);var y=!0,h=!1,b=void 0;try{for(var v,x=o[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=r[v.value][g];if(E){var A=!0,D=!1,C=void 0;try{for(var S,_=E[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;r[w]&&m.push.apply(m,vf(r[w][vp]))}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}}}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}var F=new Set(m),T=[].concat(vf(F));if(T.length>0){var k=T.join(",");i[s][g]=k,i.hasOwnProperty(k)||n.unshift(T)}}}catch(e){c=!0,f=e}finally{try{!d&&p.return&&p.return()}finally{if(c)throw f}}}return this._transitionTable=this._remapStateNumbers(i)}},{key:"_remapStateNumbers",value:function(e){var r={};this._originalTransitionTable=e;var t={};for(var n in Object.keys(e).forEach(function(e,t){r[e]=t+1}),e){var u=e[n],a={};for(var i in u)a[i]=r[u[i]];t[r[n]]=a}this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._acceptingStateNumbers=new Set;var o=!0,s=!1,d=void 0;try{for(var c,f=this._originalAcceptingStateNumbers[Symbol.iterator]();!(o=(c=f.next()).done);o=!0){var l=c.value;this._acceptingStateNumbers.add(r[l])}}catch(e){s=!0,d=e}finally{try{!o&&f.return&&f.return()}finally{if(s)throw d}}return t}},{key:"getOriginalTransitionTable",value:function(){return this._originalTransitionTable||this.getTransitionTable(),this._originalTransitionTable}},{key:"matches",value:function(e){for(var r=1,t=0,n=this.getTransitionTable();e[t];)if(!(r=n[r][e[t++]]))return!1;return!!this.getAcceptingStateNumbers().has(r)}}]),e}(),vm=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vy=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.accepting;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._transitions=new Map,this.accepting=void 0!==t&&t}return vm(e,[{key:"getTransitions",value:function(){return this._transitions}},{key:"addTransition",value:function(e,r){return this.getTransitionsOnSymbol(e).add(r),this}},{key:"getTransitionsOnSymbol",value:function(e){var r=this._transitions.get(e);return r||(r=new Set,this._transitions.set(e,r)),r}}]),e}(),vh=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vb=vr.EPSILON,vv=function(e){function r(){return!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,r),function(e,r){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&("object"==typeof r||"function"==typeof r)?r:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return!function(e,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}(r,e),vh(r,[{key:"matches",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(r.has(this))return!1;if(r.add(this),0===e.length){if(this.accepting)return!0;var t=!0,n=!1,u=void 0;try{for(var a,i=this.getTransitionsOnSymbol(vb)[Symbol.iterator]();!(t=(a=i.next()).done);t=!0)if(a.value.matches("",r))return!0}catch(e){n=!0,u=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw u}}return!1}var o=e[0],s=e.slice(1),d=this.getTransitionsOnSymbol(o),c=!0,f=!1,l=void 0;try{for(var p,g=d[Symbol.iterator]();!(c=(p=g.next()).done);c=!0)if(p.value.matches(s))return!0}catch(e){f=!0,l=e}finally{try{!c&&g.return&&g.return()}finally{if(f)throw l}}var m=!0,y=!1,h=void 0;try{for(var b,v=this.getTransitionsOnSymbol(vb)[Symbol.iterator]();!(m=(b=v.next()).done);m=!0)if(b.value.matches(e,r))return!0}catch(e){y=!0,h=e}finally{try{!m&&v.return&&v.return()}finally{if(y)throw h}}return!1}},{key:"getEpsilonClosure",value:function(){var e=this;return this._epsilonClosure||function(){var r=e.getTransitionsOnSymbol(vb),t=e._epsilonClosure=new Set;t.add(e);var n=!0,u=!1,a=void 0;try{for(var i,o=r[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var s=i.value;t.has(s)||(t.add(s),s.getEpsilonClosure().forEach(function(e){return t.add(e)}))}}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}}(),this._epsilonClosure}}]),r}(vy),vx=vr.EPSILON;function vE(e){var r=new vv,t=new vv({accepting:!0});return new vi(r.addTransition(e,t),t)}var vA={alt:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var u=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d,c=o.value;(d=e).out.accepting=!1,c.out.accepting=!0,d.out.addTransition(vx,c.in),e=new vi(d.in,c.out)}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return e},char:vE,e:function(){return vE(vx)},or:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var u=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d=o.value;e=function(e,r){var t=new vv,n=new vv;return t.addTransition(vx,e.in),t.addTransition(vx,r.in),n.accepting=!0,e.out.accepting=!1,r.out.accepting=!1,e.out.addTransition(vx,n),r.out.addTransition(vx,n),new vi(t,n)}(e,d)}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return e},rep:function(e){return e.in.addTransition(vx,e.out),e.out.addTransition(vx,e.in),e},repExplicit:function(e){var r=new vv,t=new vv({accepting:!0});return r.addTransition(vx,e.in),r.addTransition(vx,t),e.out.accepting=!1,e.out.addTransition(vx,t),t.addTransition(vx,e.in),new vi(r,t)},plusRep:function(e){return e.out.addTransition(vx,e.in),e},questionRep:function(e){return e.in.addTransition(vx,e.out),e}},vD=vA.alt,vC=vA.char,vS=vA.or,v_=vA.rep,vw=vA.plusRep,vF=vA.questionRep;function vT(e){if(e&&!vk[e.type])throw Error(e.type+" is not supported in NFA/DFA interpreter.");return e?vk[e.type](e):""}var vk={RegExp:function(e){if(""!==e.flags)throw Error("NFA/DFA: Flags are not supported yet.");return vT(e.body)},Alternative:function(e){var r=(e.expressions||[]).map(vT);return vD.apply(void 0,function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}(r))},Disjunction:function(e){return vS(vT(e.left),vT(e.right))},Repetition:function(e){switch(e.quantifier.kind){case"*":return v_(vT(e.expression));case"+":return vw(vT(e.expression));case"?":return vF(vT(e.expression));default:throw Error("Unknown repeatition: "+e.quantifier.kind+".")}},Char:function(e){if("simple"!==e.kind)throw Error("NFA/DFA: Only simple chars are supported yet.");return vC(e.value)},Group:function(e){return vT(e.expression)}},vP={build:function(e){var r=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(r=br.parse(e,{captureLocations:!0})),vT(r)}},vI=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vB=function(){function e(r,t){var n=t.flags,u=t.groups,a=t.source;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._re=r,this._groups=u,this.flags=n,this.source=a||r.source,this.dotAll=n.includes("s"),this.global=r.global,this.ignoreCase=r.ignoreCase,this.multiline=r.multiline,this.sticky=r.sticky,this.unicode=r.unicode}return vI(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 r=this._re.exec(e);if(!this._groups||!r)return r;for(var t in r.groups={},this._groups){var n=this._groups[t];r.groups[t]=r[n]}return r}}]),e}(),vj={transform:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=r.length>0?r:Object.keys(bT),n=void 0,u={};return t.forEach(function(r){if(!bT.hasOwnProperty(r))throw Error("Unknown compat-transform: "+r+". Available transforms are: "+Object.keys(bT).join(", "));var t=bT[r];e=(n=bF.transform(e,t)).getAST(),"function"==typeof t.getExtra&&(u[r]=t.getExtra())}),n.setExtra(u),n}},vO={optimize:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.whitelist,n=void 0===t?[]:t,u=r.blacklist,a=void 0===u?[]:u,i=(n.length>0?n:Array.from(b7.keys())).filter(function(e){return!a.includes(e)}),o=e;e instanceof RegExp&&(e=""+e),"string"==typeof e&&(o=br.parse(e));var s=new bF.TransformResult(o),d=void 0;do d=s.toString(),o=ve(s.getAST()),i.forEach(function(e){if(!b7.has(e))throw Error("Unknown optimization-transform: "+e+". Available transforms are: "+Array.from(b7.keys()).join(", "));var r=b7.get(e),t=bF.transform(o,r);t.toString()!==s.toString()&&(t.toString().length<=s.toString().length?s=t:o=ve(s.getAST()))});while(s.toString()!==d);return s}},vR={parser:br,fa:{NFA:vi,DFA:vg,builders:vA,toNFA:function(e){return vP.build(e)},toDFA:function(e){return new vg(this.toNFA(e))},test:function(e,r){return this.toDFA(e).matches(r)}},TransformResult:bF.TransformResult,parse:function(e,r){return br.parse(""+e,r)},traverse:function(e,r,t){return bS.traverse(e,r,t)},transform:function(e,r){return bF.transform(e,r)},generate:function(e){return hN.generate(e)},toRegExp:function(e){var r=this.compatTranspile(e);return new RegExp(r.getSource(),r.getFlags())},optimize:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.blacklist;return vO.optimize(e,{whitelist:r,blacklist:n})},compatTranspile:function(e,r){return vj.transform(e,r)},exec:function(e,r){if("string"==typeof e){var t=this.compatTranspile(e),n=t.getExtra();e=n.namedCapturingGroups?new vB(t.toRegExp(),{flags:t.getFlags(),source:t.getSource(),groups:n.namedCapturingGroups}):t.toRegExp()}return e.exec(r)}};const vL=(e,r)=>{if(r=r||"","string"!=typeof e)throw TypeError(`Expected regexp to be of type \`string\`, got \`${typeof e}\``);if("string"!=typeof r)throw TypeError(`Expected flags to be of type \`string\`, got \`${typeof r}\``);for(let t of hB){let n=t[0],u=t[1];hO(r,u.flags)&&(e=e.replace(RegExp(hj(n),"g"),u.value))}return e},{optimize:vN}=vR,{isStringLiteral:vM,isNewExpression:v$,isRegexLiteral:vz}=fd,vU="better-regex",vW="better-regex/parse-error";var vq=Q({create:e=>{let{sortCharacterClasses:r}=e.options[0]||{},t=[];return!1===r&&t.push("charClassClassrangesMerge"),{Literal(e){if(!vz(e))return;let{raw:r,regex:n}=e;if(n.flags.includes("u"))return;let u=r;try{u=vN(r,void 0,{blacklist:t}).toString()}catch(t){return{node:e,messageId:vW,data:{original:r,error:t.message}}}if(r===u)return;let a={node:e,messageId:vU,data:{original:r,optimized:u}};return"MemberExpression"!==e.parent.type||e.parent.object!==e||e.parent.optional||e.parent.computed||"Identifier"!==e.parent.property.type||"toString"!==e.parent.property.name&&"source"!==e.parent.property.name?Object.assign(a,{fix:r=>r.replaceText(e,u)}):a},NewExpression(e){if(!v$(e,{name:"RegExp",minimumArguments:1}))return;let[r,t]=e.arguments;if(!vM(r))return;let n=r.value,u=vM(t)?t.value:"",a=vL(n,u);if(n!==a)return{node:e,messageId:vU,data:{original:n,optimized:a},fix:e=>e.replaceText(r,rj(a,r.raw.charAt(0)))}}}},meta:{type:"suggestion",docs:{description:"Improve regexes by making them shorter, consistent, and safer."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{sortCharacterClasses:{type:"boolean",default:!0}}}],messages:{[vU]:"{{original}} can be optimized to {{optimized}}.",[vW]:"Problem parsing {{original}}: {{error}}"}}});const{replaceTemplateElement:vV}=lt,{isRegexLiteral:vZ,isStringLiteral:vG}=fd,vH="escape-case",vK=/(?<=(?:^|[^\\])(?:\\\\)*\\)(?<data>x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|u{[\dA-Fa-f]+})/g,vJ=/(?<=(?:^|[^\\])(?:\\\\)*\\)(?<data>x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|u{[\dA-Fa-f]+}|c[a-z])/g,vX=({node:e,original:r,regex:t=vK,fix:n})=>{let u=r.replace(t,e=>e.slice(0,1)+e.slice(1).toUpperCase());if(u!==r)return{node:e,messageId:vH,fix:r=>n?n(r,u):r.replaceText(e,u)}};var vY=Q({create:e=>{e.on("Literal",e=>{if(vG(e))return vX({node:e,original:e.raw})}),e.on("Literal",e=>{if(vZ(e))return vX({node:e,original:e.raw,regex:vJ})}),e.on("TemplateElement",e=>vX({node:e,original:e.value.raw,fix:(r,t)=>vV(r,e,t)}))},meta:{type:"suggestion",docs:{description:"Require escape sequences to use uppercase values."},fixable:"code",messages:{[vH]:"Use uppercase characters for the value of the escape sequence."}}});const{replaceTemplateElement:vQ}=lt,{isStringLiteral:v0,isRegexLiteral:v1}=fd,v2="no-hex-escape";function v3(e,r,t){let n=t.replace(/(?<=(?:^|[^\\])(?:\\\\)*\\)x/g,"u00");if(t!==n)return{node:r,messageId:v2,fix:e=>"TemplateElement"===r.type?vQ(e,r,n):e.replaceText(r,n)}}var v4=Q({create:e=>({Literal(r){if(v0(r)||v1(r))return v3(e,r,r.raw)},TemplateElement:r=>v3(e,r,r.value.raw)}),meta:{type:"suggestion",docs:{description:"Enforce the use of Unicode escapes instead of hexadecimal escapes."},fixable:"code",messages:{[v2]:"Use Unicode escapes instead of hexadecimal escapes."}}});const{getPropertyName:v5}=ru,{fixSpaceAroundKeyword:v8}=lt,{isMemberExpression:v6,isMethodCall:v9}=fd;var v7=Q({create:function(e){return{CallExpression(r){let t;if(v9(r,{object:"Reflect",method:"apply",minimumArguments:1,optionalCall:!1,optionalMember:!1})?t=r.arguments[0]:v9(r,{names:["apply","bind","call"],optionalCall:!1,optionalMember:!1})&&(t=r.callee.object),!t||!v6(t,{optional:!1}))return;let n=t.object;if(!("ArrayExpression"===n.type&&0===n.elements.length||"ObjectExpression"===n.type&&0===n.properties.length))return;let u="ArrayExpression"===n.type?"Array":"Object",{sourceCode:a}=e,i=v5(t,a.getScope(t));return{node:t,messageId:i?"known-method":"unknown-method",data:{constructorName:u,methodName:i},*fix(e){yield e.replaceText(n,`${u}.prototype`),("ArrayExpression"===n.type||"ObjectExpression"===n.type)&&(yield*v8(e,r,a))}}}}},meta:{type:"suggestion",docs:{description:"Prefer borrowing methods from the prototype instead of the instance."},fixable:"code",messages:{"known-method":"Prefer using `{{constructorName}}.prototype.{{methodName}}`.","unknown-method":"Prefer using method from `{{constructorName}}.prototype`."}}});const{getStaticValue:xe}=ru,{isCallOrNewExpression:xr}=fd,xt="missing-message",xn="message-is-empty-string",xu="message-is-not-a-string",xa=["Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","InternalError","AggregateError"];var xi=Q({create:e=>{e.on(["CallExpression","NewExpression"],r=>{if(!xr(r,{names:xa,optional:!1}))return;let t=e.sourceCode.getScope(r);if(l4(t,r.callee))return;let n=r.callee.name,u="AggregateError"===n?1:0,a=r.arguments;if(a.some((e,r)=>r<=u&&"SpreadElement"===e.type))return;let i=a[u];if(!i)return{node:r,messageId:xt,data:{constructorName:n}};if("ArrayExpression"===i.type||"ObjectExpression"===i.type)return{node:i,messageId:xu};let o=xe(i,t);if(!o)return;let{value:s}=o;return"string"!=typeof s?{node:i,messageId:xu}:""===s?{node:i,messageId:xn}:void 0})},meta:{type:"problem",docs:{description:"Enforce passing a `message` value when creating a built-in error."},messages:{[xt]:"Pass a message to the `{{constructorName}}` constructor.",[xn]:"Error message should not be an empty string.",[xu]:"Error message should be a string."}}});const{checkVueTemplate:xo}=yB,{getParenthesizedRange:xs}=fB,{replaceNodeOrTokenAndSpacesBefore:xd,fixSpaceAroundKeyword:xc}=lt,xf=e=>"instanceof"===e.value&&"Keyword"===e.type,xl="no-instanceof-array";var xp=Q({create:xo(e=>{let{sourceCode:r}=e;return{BinaryExpression(e){if(!("instanceof"===e.operator&&"Identifier"===e.right.type&&"Array"===e.right.name))return;let{left:t,right:n}=e,u=r,a=u.getTokenAfter(t,xf);return!a&&r.parserServices.getTemplateBodyTokenStore&&(a=(u=r.parserServices.getTemplateBodyTokenStore()).getTokenAfter(t,xf)),{node:a,messageId:xl,*fix(i){yield*xc(i,e,r);let o=xs(t,u);yield i.insertTextBeforeRange(o,"Array.isArray("),yield i.insertTextAfterRange(o,")"),yield*xd(a,"",i,r,u),yield*xd(n,"",i,r,u)}}}}}),meta:{type:"suggestion",docs:{description:"Require `Array.isArray()` instead of `instanceof Array`."},fixable:"code",messages:{[xl]:"Use `Array.isArray()` instead of `instanceof Array`."}}});const{isNewExpression:xg}=fd,xm="prefer-type-error",xy=new Set(["isArguments","isArray","isArrayBuffer","isArrayLike","isArrayLikeObject","isBigInt","isBoolean","isBuffer","isDate","isElement","isError","isFinite","isFunction","isInteger","isLength","isMap","isNaN","isNative","isNil","isNull","isNumber","isObject","isObjectLike","isPlainObject","isPrototypeOf","isRegExp","isSafeInteger","isSet","isString","isSymbol","isTypedArray","isUndefined","isView","isWeakMap","isWeakSet","isWindow","isXMLDoc"]),xh=new Set(["isNaN","isFinite"]),xb=(e,r,t)=>void 0!==r&&r.arguments.length>0&&"Identifier"===e.type&&(!0===t&&xy.has(e.name)||!1===t&&xh.has(e.name)),xv=e=>e.parent&&e.parent.body&&1===e.parent.body.length,xx=(e,r)=>!!xb(e.property,r,!0)||"MemberExpression"===e.object.type&&xx(e.object,r),xE=(e,r)=>{switch(e.type){case"Identifier":return xb(e,r,!1);case"MemberExpression":return xx(e,r);case"CallExpression":return xE(e.callee,e);case"UnaryExpression":return"typeof"===e.operator||"!"===e.operator&&xE(e.argument);case"BinaryExpression":return"instanceof"===e.operator||xE(e.left,r)||xE(e.right,r);case"LogicalExpression":return xE(e.left,r)&&xE(e.right,r);default:return!1}},xA=e=>"IfStatement"===e.type&&xE(e.test);var xD=Q({create:()=>({ThrowStatement(e){if(xg(e.argument,{name:"Error"})&&xv(e)&&e.parent.parent&&xA(e.parent.parent)){let r=e.argument.callee;return{node:r,messageId:xm,fix:e=>e.insertTextBefore(r,"Type")}}}}),meta:{type:"suggestion",docs:{description:"Enforce throwing `TypeError` in type checking conditions."},fixable:"code",messages:{[xm]:"`new Error()` is too unspecific for a type check. Use `new TypeError()` instead."}}});const{isCallOrNewExpression:xC}=fd,xS="consistentDestructuring",x_="consistentDestructuringSuggest",xw=e=>{for(;e;){if(e.computed)return!1;if("MemberExpression"!==e.type)break;e=e.object}return"Identifier"===e.type||"ThisExpression"===e.type},xF=(e,r)=>{for(;e;){if(e===r)return!0;e=e.upper}return!1};var xT=Q({create:e=>{let{sourceCode:r}=e,t=new Map;return{VariableDeclarator(e){"ObjectPattern"===e.id.type&&e.init&&"Literal"!==e.init.type&&xw(e.init)&&t.set(r.getText(e.init),{scope:r.getScope(e),variables:r.getDeclaredVariables(e),objectPattern:e.id})},MemberExpression(e){if(e.computed||xC(e.parent)&&e.parent.callee===e||lG(e))return;let n=t.get(r.getText(e.object));if(!n)return;let{scope:u,objectPattern:a}=n,i=r.getScope(e);if(!xF(i,u))return;let o=a.properties.filter(e=>"Property"===e.type&&"Identifier"===e.key.type&&"Identifier"===e.value.type),s=a.properties[a.properties.length-1],d=s&&"RestElement"===s.type,c=r.getText(e),f=r.getText(e.property),l=o.find(e=>e.key.name===f);if(!l&&(d||lW(f,[i])!==f))return;if("MemberExpression"===e.parent.type)return{node:e,messageId:xS};let p=l?l.value.name:f;return{node:e,messageId:xS,suggest:[{messageId:x_,data:{expression:c,property:p},*fix(r){let{properties:t}=a,n=t[t.length-1];yield r.replaceText(e,p),l||(yield n?r.insertTextAfter(n,`, ${p}`):r.replaceText(a,`{${p}}`))}}]}}}},meta:{type:"suggestion",docs:{description:"Use destructured variables over properties."},fixable:"code",hasSuggestions:!0,messages:{[xS]:"Use destructured variables over properties.",[x_]:"Replace `{{expression}}` with destructured property `{{property}}`."}}}),xk=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];const xP=["Object","Array","ArrayBuffer","DataView","Date","Error","Function","Map","WeakMap","Set","WeakSet","Promise","RegExp","SharedArrayBuffer","Proxy","WeakRef","FinalizationRegistry",...xk],{GlobalReferenceTracker:xI}=mh,xB={enforceNew:xP,disallowNew:["BigInt","Boolean","Number","String","Symbol"]},{switchCallExpressionToNewExpression:xj,switchNewExpressionToCallExpression:xO}=lt;var xR=Q({create:e=>{let{sourceCode:r}=e,t=new xI({objects:xB.disallowNew,type:xI.CONSTRUCT,handle:e=>(function({node:e,path:[r]},t){let n={node:e,messageId:"disallow",data:{name:r}};return"String"!==r&&"Boolean"!==r&&"Number"!==r&&(n.fix=function*(r){yield*xO(e,t,r)}),n})(e,r)}),n=new xI({objects:xB.enforceNew,type:xI.CALL,handle:e=>(function({node:e,path:[r]},t){if("Object"===r){let{parent:r}=e;if("BinaryExpression"===r.type&&("==="===r.operator||"!=="===r.operator)&&(r.left===e||r.right===e))return}return{node:e,messageId:"enforce",data:{name:r},fix:r=>xj(e,t,r)}})(e,r)});return{*"Program:exit"(e){let u=r.getScope(e);yield*t.track(u),yield*n.track(u)}}},meta:{type:"suggestion",docs:{description:"Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`."},fixable:"code",messages:{enforce:"Use `new {{name}}()` instead of `{{name}}()`.",disallow:"Use `{{name}}()` instead of `new {{name}}()`."}}});const{hasSideEffect:xL}=ru,{removeArgument:xN}=lt,{getParentheses:xM,getParenthesizedText:x$}=fB,{isNodeMatches:xz}=li,{isNodeValueNotFunction:xU}=pD,{isMethodCall:xW}=fd,xq="error",xV="suggestion-bind",xZ="suggestion-remove",xG=["lodash.every","_.every","underscore.every","lodash.filter","_.filter","underscore.filter","Vue.filter","R.filter","lodash.find","_.find","underscore.find","R.find","lodash.findLast","_.findLast","underscore.findLast","R.findLast","lodash.findIndex","_.findIndex","underscore.findIndex","R.findIndex","lodash.findLastIndex","_.findLastIndex","underscore.findLastIndex","R.findLastIndex","lodash.flatMap","_.flatMap","lodash.forEach","_.forEach","React.Children.forEach","Children.forEach","R.forEach","lodash.map","_.map","underscore.map","React.Children.map","Children.map","jQuery.map","$.map","R.map","lodash.some","_.some","underscore.some"];function xH(e,r){return t=>xN(t,e.arguments[1],r)}var xK=Q({create:e=>{let{sourceCode:r}=e;return{CallExpression(e){if(!xW(e,{methods:["every","filter","find","findLast","findIndex","findLastIndex","flatMap","forEach","map","some"],argumentsLength:2,optionalCall:!1,optionalMember:!1})||xz(e.callee,xG)||xU(e.arguments[0]))return;let{callee:t}=e,n=t.property.name,[u,a]=e.arguments,i={node:a,messageId:xq,data:{method:n}},o=xL(a,r),s="ArrowFunctionExpression"===u.type;return s?o?i.suggest=[{messageId:xZ,fix:xH(e,r)}]:i.fix=xH(e,r):i.suggest=[{messageId:xZ,fix:xH(e,r)},{messageId:xV,fix:function*(t){yield xH(e,r)(t);let[n,u]=e.arguments,a=xM(n,r),i=a.length>0,o=i?a[a.length-1]:n;!i&&pa(n,r)&&(yield t.insertTextBefore(o,"("),yield t.insertTextAfter(o,")"));let s=x$(u,r);yield t.insertTextAfter(o,`.bind(${s})`)}}],i}}},meta:{type:"suggestion",docs:{description:"Disallow using the `this` argument in array methods."},fixable:"code",hasSuggestions:!0,messages:{[xq]:"Do not use the `this` argument in `Array#{{method}}()`.",[xZ]:"Remove the second argument.",[xV]:"Use a bound function."}}});const{isOpeningParenToken:xJ}=ru,{hasSideEffect:xX,isCommaToken:xY,isSemicolonToken:xQ}=ru,x0=(e,r)=>{let t=r.getTokenAfter(e.callee,xJ),n=r.getLastToken(e);return r.text.slice(t.range[1],n.range[0])},{isNodeMatches:x1}=li,x2=function(e,r){let{parent:t}=e,n=r.visitorKeys[t.type]||Object.keys(t);for(let r of n){let n=t[r];if(n===e)return;if(Array.isArray(n)){let r=n.indexOf(e);if(-1!==r)return n[r-1]}}},{isMethodCall:x3}=fd,x4="error",x5="suggestion",x8=e=>e&&"ExpressionStatement"===e.parent.type&&e.parent.expression===e&&x3(e,{method:"push",optionalCall:!1,optionalMember:!1});var x6=Q({create:function(e){let{ignore:r}={ignore:[],...e.options[0]},t=["stream","this","this.stream","process.stdin","process.stdout","process.stderr",...r],{sourceCode:n}=e;return{CallExpression(e){if(!x8(e))return;let r=e.callee.object;if(x1(r,t))return;let u=function(e,r){let t=x2(e.parent,r)?.expression;if(x8(t))return t}(e,n);if(!u)return;let a=u.callee.object;if(!l3(a,r))return;let i=e.arguments,o={node:e.callee.property,messageId:x4},s=function*(r){if(i.length>0){let t=x0(e,n),[a,i]=n.getLastTokens(u,2);yield xY(a)?r.insertTextAfter(a,` ${t}`):r.insertTextBefore(i,u.arguments.length>0?`, ${t}`:t)}let t=u.parent,a=e.parent,o=!xQ(n.getLastToken(t))&&xQ(n.getLastToken(a));yield r.replaceTextRange([t.range[1],a.range[1]],o?";":"")};return i.some(e=>xX(e,n))?o.suggest=[{messageId:x5,fix:s}]:o.fix=s,o}}},meta:{type:"suggestion",docs:{description:"Enforce combining multiple `Array#push()` into one call."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{ignore:{type:"array",uniqueItems:!0}}}],messages:{[x4]:"Do not call `Array#push()` multiple times.",[x5]:"Merge with previous one."}}});const{isStaticRequire:x9,isMethodCall:x7,isLiteral:Ee}=fd,Er="no-process-exit",Et=e=>Ee(e,"node:worker_threads")||Ee(e,"worker_threads");var En=Q({create:e=>{let r;let t=0===e.sourceCode.lines[0].indexOf("#!");if(t)return{};let n=!1,u=[];e.on("CallExpression",e=>{x9(e)&&Et(e.arguments[0])&&(n=!0)}),e.on("ImportDeclaration",e=>{"Literal"===e.source.type&&Et(e.source)&&(n=!0)}),e.on("CallExpression",e=>{x7(e,{object:"process",methods:["on","once"],minimumArguments:1,optionalCall:!1,optionalMember:!1})&&(r=e)}),e.onExit("CallExpression",e=>{e===r&&(r=void 0)}),e.on("CallExpression",e=>{!r&&x7(e,{object:"process",method:"exit",optionalCall:!1,optionalMember:!1})&&u.push(e)}),e.onExit("Program",function*(){if(!n)for(let e of u)yield{node:e,messageId:Er}})},meta:{type:"suggestion",docs:{description:"Disallow `process.exit()`."},messages:{[Er]:"Only use `process.exit()` in CLI apps. Throw an error instead."}}}),Eu=function(e,{test:r,expected:t,ruleId:n}){if(r?.(e)||(t=(t=Array.isArray(t)?t:[t]).map(e=>"string"==typeof e?{value:e}:e),!r&&t.some(r=>Object.entries(r).every(([r,t])=>e[r]===t))))return;let u=`'${JSON.stringify({value:e.value,type:e.type})}'`;t=t.map(e=>`'${JSON.stringify(e)}'`).join(" or ");let a=`\`${n}\`: Unexpected token ${u}`,i=`https://github.com/sindresorhus/eslint-plugin-unicorn/issues/new?title=${encodeURIComponent(a)}`,o=`Expected token ${t}, got ${u}.
4
+ Please open an issue at ${i}.`;throw Error(o)};const{isSemicolonToken:Ea}=ru,Ei=function(e,r){let{loc:t,body:n}=e,u=r.getTokenBefore(n),{start:a}=t,{end:i}=u.loc;return{start:a,end:i}},{removeSpacesAfter:Eo}=lt,Es="no-static-only-class",Ed=({type:e,value:r})=>"Punctuator"===e&&"="===r,Ec=e=>"ClassDeclaration"===e.type&&"ExportDefaultDeclaration"===e.parent.type&&e.parent.declaration===e,Ef=e=>"PropertyDefinition"===e.type,El=e=>"MethodDefinition"===e.type;var Ep=Q({create:function(e){e.on(["ClassDeclaration","ClassExpression"],r=>{if(r.superClass||r.decorators&&r.decorators.length>0||"ClassBody"!==r.body.type||0===r.body.body.length||r.body.body.some(e=>!function(e){let{private:r,static:t,declare:n,readonly:u,accessibility:a,decorators:i,key:o}=e;return!(!Ef(e)&&!El(e)||!t||r||"PrivateIdentifier"===o.type||n||u||void 0!==a||Array.isArray(i)&&i.length>0)}(e)))return;let{sourceCode:t}=e;return{node:r,loc:Ei(r,t),messageId:Es,fix:function(e,r){let{type:t,id:n,body:u,declare:a,abstract:i,implements:o,parent:s}=e;if(a||i||Array.isArray(o)&&o.length>0||"ClassExpression"===t&&n)return;let d=Ec(e);if(!d||!n){for(let e of u.body)if(Ef(e)&&(e.typeAnnotation||e.value&&r.getText(e.value).includes("this")))return;return function*(n){let a=r.getFirstToken(e);if(Eu(a,{expected:{type:"Keyword",value:"class"},ruleId:"no-static-only-class"}),d||"ClassExpression"===t){if("ClassExpression"===t&&"ReturnStatement"===s.type&&u.loc.start.line!==s.loc.start.line&&r.text.slice(a.range[1],u.range[0]).trim()){yield n.replaceText(a,"{");let e=r.getFirstToken(u);yield n.remove(e)}else yield n.replaceText(a,""),yield Eo(a,r,n)}else yield n.replaceText(a,"const"),yield n.insertTextBefore(u,"= "),yield n.insertTextAfter(u,";");for(let e of u.body)yield*function*(e,r,t){let n=r.getFirstToken(e);Eu(n,{expected:{type:"Keyword",value:"static"},ruleId:"no-static-only-class"}),yield t.remove(n),yield Eo(n,r,t);let u=Ef(e)?r.getLastToken(e):r.getTokenAfter(e),a=Ea(u);if(Ef(e)){let{key:n,value:i}=e;if(i){let e=r.getTokenAfter(n,Ed);yield t.replaceText(e,":")}else a?yield t.insertTextBefore(u,": undefined"):yield t.insertTextAfter(e,": undefined")}yield a?t.replaceText(u,","):t.insertTextAfter(e,",")}(e,r,n)}}}(r,t)}})},meta:{type:"suggestion",docs:{description:"Disallow classes that only have static members."},fixable:"code",messages:{[Es]:"Use an object instead of a class with only static members."}}});const{isParenthesized:Eg}=ru,{fixSpaceAroundKeyword:Em}=lt,Ey="no-unreadable-array-destructuring",Eh=(e,r,t)=>null===e&&null===t[r+1];var Eb=Q({create:e=>{let{sourceCode:r}=e;return{ArrayPattern(e){let{elements:t,parent:n}=e;if(t.length<3||!t.some((e,r,t)=>Eh(e,r,t)))return;let u={node:e,messageId:Ey},a=t.filter(e=>null!==e);if("VariableDeclarator"===n.type&&n.id===e&&null!==n.init&&1===a.length){let[i]=a;"AssignmentPattern"!==i.type&&(u.fix=function*(u){let a=t.indexOf(i),o="RestElement"===i.type,s=o?i.argument:i;yield u.replaceText(e,r.getText(s));let d=o?`.slice(${a})`:`[${a}]`,c=n.init;!Eg(c,r)&&pa(c,r)?(yield u.insertTextBefore(c,"("),yield u.insertTextAfter(n,`)${d}`)):yield u.insertTextAfter(n,d),yield*Em(u,e,r)})}return u}}},meta:{type:"suggestion",docs:{description:"Disallow unreadable array destructuring."},fixable:"code",messages:{[Ey]:"Array destructuring may not contain consecutive ignored values."}}});const{isCommaToken:Ev}=ru,{removeParentheses:Ex,fixSpaceAroundKeyword:EE,addParenthesizesToReturnOrThrowExpression:EA}=lt,{isParenthesized:ED,isOnSameLine:EC}=pD,{isNewExpression:ES,isMethodCall:E_,isCallOrNewExpression:Ew}=fd,EF="spread-in-list",ET="iterable-to-array",Ek="iterable-to-array-in-for-of",EP="iterable-to-array-in-yield-star",EI="clone-array",EB=e=>"ArrayExpression"===e.type&&1===e.elements.length&&e.elements[0]?.type==="SpreadElement",Ej={ArrayExpression:"array literal",ObjectExpression:"object literal",CallExpression:"arguments",NewExpression:"arguments"};function*EO(e,r,t){let[n,u,a]=t.getFirstTokens(r,3);yield e.remove(n),yield e.remove(u);let[i,o]=t.getLastTokens(r,2);yield e.remove(o),Ev(i)&&(yield e.remove(i));let{parent:s}=r;if(("ReturnStatement"===s.type||"ThrowStatement"===s.type)&&s.argument===r&&!EC(n,a)&&!ED(r,t)){yield*EA(e,s,t);return}yield*EE(e,r,t)}var ER=Q({create:e=>{let{sourceCode:r}=e;e.on(["ArrayExpression","ObjectExpression"],e=>{if(!("SpreadElement"===e.parent.type&&e.parent.argument===e&&("ObjectExpression"===e.type&&"ObjectExpression"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent)||"ArrayExpression"===e.type&&("ArrayExpression"===e.parent.parent.type&&e.parent.parent.elements.includes(e.parent)||Ew(e.parent.parent)&&e.parent.parent.arguments.includes(e.parent)))))return;let t=e.parent,n=r.getFirstToken(t),u=t.parent.type;return{node:n,messageId:EF,data:{argumentType:"ArrayExpression"===e.type?"array":"object",parentDescription:Ej[u]},*fix(t){let a;yield t.remove(n),yield*Ex(e,t,r);let i=r.getFirstToken(e);yield t.remove(i);let[o,s]=r.getLastTokens(e,2);if(yield t.remove(s),Ev(o)&&(yield t.remove(o)),"CallExpression"!==u&&"NewExpression"!==u)return;let d=(a=r.getFirstToken(e),e.elements.map((t,n,u)=>{if(n===u.length-1){let t=r.getLastToken(e,{skip:1});return Ev(t)?t:void 0}let i=r.getTokenAfter(t||a,Ev);return a=i,i}));for(let[r,n]of d.entries())e.elements[r]||(yield t.insertTextBefore(n,"undefined"))}}}),e.on("ArrayExpression",e=>{if(!EB(e))return;let{parent:t}=e;if(!("ForOfStatement"===t.type&&t.right===e||"YieldExpression"===t.type&&t.delegate&&t.argument===e||(ES(t,{names:["Map","WeakMap","Set","WeakSet"],argumentsLength:1})||ES(t,{names:xk,minimumArguments:1})||E_(t,{object:"Promise",methods:["all","allSettled","any","race"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||E_(t,{objects:["Array",...xk],method:"from",argumentsLength:1,optionalCall:!1,optionalMember:!1})||E_(t,{object:"Object",method:"fromEntries",argumentsLength:1,optionalCall:!1,optionalMember:!1}))&&t.arguments[0]===e))return;let n="",u=ET;switch(t.type){case"ForOfStatement":u=Ek;break;case"YieldExpression":u=EP;break;case"NewExpression":n=`new ${t.callee.name}(…)`;break;case"CallExpression":n=`${t.callee.object.name}.${t.callee.property.name}(…)`}return{node:e,messageId:u,data:{parentDescription:n},fix:t=>EO(t,e,r)}}),e.on("ArrayExpression",e=>{if(!EB(e))return;let t=e.elements[0].argument;if(!(E_(t,{methods:["concat","copyWithin","filter","flat","flatMap","map","slice","splice","toReversed","toSorted","toSpliced","with"],optionalCall:!1,optionalMember:!1})||E_(t,{method:"split",optionalCall:!1,optionalMember:!1})||E_(t,{object:"Object",methods:["keys","values"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||"AwaitExpression"===t.type&&E_(t.argument,{object:"Promise",methods:["all","allSettled"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||E_(t,{object:"Array",methods:["from","of"],optionalCall:!1,optionalMember:!1})||ES(t,{name:"Array"})))return;let n={node:e,messageId:EI};return ES(t,{name:"Array"})||"CallExpression"===t.type&&"MemberExpression"===t.callee.type&&"Identifier"===t.callee.property.type&&"slice"===t.callee.property.name?n:Object.assign(n,{fix:t=>EO(t,e,r)})})},meta:{type:"suggestion",docs:{description:"Disallow unnecessary spread."},fixable:"code",messages:{[EF]:"Spread an {{argumentType}} literal in {{parentDescription}} is unnecessary.",[ET]:"`{{parentDescription}}` accepts iterable as argument, it's unnecessary to convert to an array.",[Ek]:"`for…of` can iterate over iterable, it's unnecessary to convert to an array.",[EP]:"`yield*` can delegate iterable, it's unnecessary to convert to an array.",[EI]:"Unnecessarily cloning an array."}}});const{isColonToken:EL}=ru,{isEmptyNode:EN}=fd,EM=function(e,r){let t=e.test||r.getFirstToken(e),n=r.getTokenAfter(t,EL);return{start:e.loc.start,end:n.loc.end}},E$="no-useless-switch-case/error",Ez="no-useless-switch-case/suggestion",EU=e=>e.consequent.every(e=>EN(e));var EW=Q({create:e=>({*SwitchStatement(r){let{cases:t}=r,n=t.filter(e=>null===e.test);if(1!==n.length)return;let[u]=n;if(u!==t[t.length-1])return;let a=[];for(let e=t.length-2;e>=0;e--){let r=t[e];if(EU(r))a.unshift(r);else break}for(let r of a)yield{node:r,loc:EM(r,e.sourceCode),messageId:E$,suggest:[{messageId:Ez,fix:e=>e.remove(r)}]}}}),meta:{type:"suggestion",docs:{description:"Disallow useless case in switch statements."},hasSuggestions:!0,messages:{[E$]:"Useless case in switch statement.",[Ez]:"Remove this case."}}});const{isCommaToken:Eq}=ru,{replaceNodeOrTokenAndSpacesBefore:EV}=lt,{isUndefined:EZ,isFunction:EG}=fd,EH="no-useless-undefined",EK=new Set(["is","equal","notEqual","strictEqual","notStrictEqual","propertyVal","notPropertyVal","not","include","property","toBe","toHaveBeenCalledWith","toContain","toContainEqual","toEqual","same","notSame","strictSame","strictNotSame"]),EJ=e=>{let r;return"Identifier"===e.type?r=e.name:"MemberExpression"===e.type&&!1===e.computed&&"Identifier"===e.property.type&&(r=e.property.name),EK.has(r)||"push"===r||"unshift"===r||"includes"===r||"add"===r||"has"===r||"set"===r||"createContext"===r||"ref"===r},EX=e=>{for(;e;e=e.upper)if("function"===e.type)return e.block},EY=e=>!e.optional&&"MemberExpression"===e.callee.type&&!e.callee.computed&&"Identifier"===e.callee.property.type&&"bind"===e.callee.property.name,EQ=e=>/\.(?:ts|mts|cts|tsx)$/i.test(e.physicalFilename);var E0=Q({create:e=>{let{sourceCode:r}=e,t=(e,t,n)=>{if(n){let t=EX(r.getScope(e));if(t?.returnType)return}return{node:e,messageId:EH,fix:t}},n={checkArguments:!0,...e.options[0]},u=(e,t)=>EV(e,"",t,r);e.on("Identifier",e=>{if(EZ(e)&&"ReturnStatement"===e.parent.type&&e.parent.argument===e)return t(e,r=>u(e,r),!0)}),e.on("Identifier",e=>{if(EZ(e)&&"YieldExpression"===e.parent.type&&!e.parent.delegate&&e.parent.argument===e)return t(e,r=>u(e,r))}),e.on("Identifier",e=>{if(EZ(e)&&"ArrowFunctionExpression"===e.parent.type&&e.parent.body===e)return t(e,t=>EV(e," {}",t,r),!0)}),e.on("Identifier",e=>{if(EZ(e)&&"VariableDeclarator"===e.parent.type&&e.parent.init===e&&"VariableDeclaration"===e.parent.parent.type&&"const"!==e.parent.parent.kind&&e.parent.parent.declarations.includes(e.parent))return t(e,r=>r.removeRange([e.parent.id.range[1],e.range[1]]),!0)}),e.on("Identifier",r=>{if(EZ(r)&&"AssignmentPattern"===r.parent.type&&r.parent.right===r)return t(r,function*(t){let n=r.parent,{left:u}=n;yield t.removeRange([u.range[1],r.range[1]]),(u.typeAnnotation||EQ(e))&&!u.optional&&EG(n.parent)&&n.parent.params.includes(n)&&(yield u.typeAnnotation?t.insertTextBefore(u.typeAnnotation,"?"):t.insertTextAfter(u,"?"))},!0)}),n.checkArguments&&e.on("CallExpression",e=>{if(EJ(e.callee))return;let t=e.arguments;if(EY(e)&&1!==t.length)return;let n=[];for(let e=t.length-1;e>=0;e--){let r=t[e];if(EZ(r))n.unshift(r);else break}if(0===n.length)return;let u=n[0],a=n[n.length-1];return{messageId:EH,loc:{start:u.loc.start,end:a.loc.end},fix(e){let i=u.range[0],o=a.range[1],s=t[t.length-n.length-1];if(s)i=s.range[1];else{let e=r.getTokenAfter(a);Eq(e)&&(o=e.range[1])}return e.removeRange([i,o])}}})},meta:{type:"suggestion",docs:{description:"Disallow useless `undefined`."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{checkArguments:{type:"boolean"}}}],messages:{[EH]:"Do not use useless `undefined`."}}});const{isBigIntLiteral:E1}=fd,E2="numeric-separators-style";function E3(e,{minimumDigits:r,groupLength:t},n){let{length:u}=e;if(u<r)return e;let a=[];if(n)for(let r=0;r<u;r+=t){let n=Math.min(r+t,u);a.push(e.slice(r,n))}else for(let r=u;r>0;r-=t){let n=Math.max(r-t,0);a.unshift(e.slice(n,r))}return a.join("_")}const E4={binary:{minimumDigits:0,groupLength:4},octal:{minimumDigits:0,groupLength:4},hexadecimal:{minimumDigits:0,groupLength:2},number:{minimumDigits:5,groupLength:3}},E5=({minimumDigits:e,groupLength:r})=>({type:"object",additionalProperties:!1,properties:{onlyIfContainsSeparator:{type:"boolean"},minimumDigits:{type:"integer",minimum:0,default:e},groupLength:{type:"integer",minimum:1,default:r}}}),E8=[{type:"object",additionalProperties:!1,properties:{...Object.fromEntries(Object.entries(E4).map(([e,r])=>[e,E5(r)])),onlyIfContainsSeparator:{type:"boolean",default:!1}}}];var E6=Q({create:e=>{let{onlyIfContainsSeparator:r,binary:t,octal:n,hexadecimal:u,number:a}={onlyIfContainsSeparator:!1,...e.options[0]},i={"0b":{onlyIfContainsSeparator:r,...E4.binary,...t},"0o":{onlyIfContainsSeparator:r,...E4.octal,...n},"0x":{onlyIfContainsSeparator:r,...E4.hexadecimal,...u},"":{onlyIfContainsSeparator:r,...E4.number,...a}};return{Literal(e){if(!pn.isNumeric(e)||pn.isLegacyOctal(e))return;let{raw:r}=e,t=r,n="";E1(e)&&(t=r.slice(0,-1),n="n");let u=t.replace(/_/g,""),{prefix:a,data:o}=pn.getPrefix(u),{onlyIfContainsSeparator:s}=i[a.toLowerCase()];if(s&&!r.includes("_"))return;let d=function(e,{prefix:r,data:t},n){let u=n[r.toLowerCase()];if(r)return r+E3(t,u);let{number:a,mark:i,sign:o,power:s}=pn.parseNumber(e);return function(e,r){let{integer:t,dot:n,fractional:u}=pn.parseFloatNumber(e);return E3(t,r)+n+E3(u,r,!0)}(a,u)+i+o+E3(s,n[""])}(u,{prefix:a,data:o},i)+n;if(r!==d)return{node:e,messageId:E2,fix:r=>r.replaceText(e,d)}}}},meta:{type:"suggestion",docs:{description:"Enforce the style of numeric separators by correctly grouping digits."},fixable:"code",schema:E8,messages:{[E2]:"Invalid group length in numeric value."}}});const{isParenthesized:E9,findVariable:E7}=ru,{extendFixRange:Ae,removeMemberExpressionProperty:Ar,removeMethodCall:At,renameVariable:An}=lt,{isLeftHandSide:Au,singular:Aa,getScopes:Ai,avoidCapture:Ao,getVariableIdentifiers:As}=pD,{isMethodCall:Ad}=fd,Ac="error-zero-index",Af="error-shift",Al="error-pop",Ap="error-at-minus-one",Ag="error-destructuring-declaration",Am="error-destructuring-assignment",Ay="error-variable",Ah="suggest-nullish-coalescing-operator",Ab="suggest-logical-or-operator",Av=e=>Ad(e,{method:"filter",minimumArguments:1,maximumArguments:2,optionalCall:!1,optionalMember:!1}),Ax=(e,r)=>{let t="AssignmentExpression"===e.type;if(!t||E9(e,r))return!1;let{left:n}=AA(e),[u]=n.elements,{type:a}="AssignmentPattern"===u.type?u.left:u;return"ObjectExpression"===a||"ObjectPattern"===a},AE=(e,r)=>"LogicalExpression"===e.type&&(e.operator===r||"||"===r&&"??"===e.operator||"??"===r&&("||"===e.operator||"&&"===e.operator))||"ConditionalExpression"===e.type||"AssignmentExpression"===e.type||"YieldExpression"===e.type||"SequenceExpression"===e.type,AA=e=>e?"AssignmentExpression"===e.type?e:"VariableDeclarator"===e.type?{left:e.id,right:e.init}:{}:{};function*AD(e,r,t){let{left:n}=AA(e),[u]=n.elements,a=r.getText("AssignmentPattern"===u.type?u.left:u);yield t.replaceText(n,a),Ax(e,r)&&(yield t.insertTextBefore(e,"("),yield t.insertTextAfter(e,")"))}const AC=e=>"AssignmentPattern"===AA(e).left.elements[0].type,AS=(e,r,t,n)=>{let{left:u,right:a}=AA(e),[i]=u.elements,o=i.right,s=r.getText(o);return(E9(o,r)||AE(o,n))&&(s=`(${s})`),t.insertTextAfter(a,` ${n} ${s}`)},A_=(e,r)=>{let t,n;let{property:u}=AA(r).right.callee;return AC(r)?t=[{operator:"??",messageId:Ah},{operator:"||",messageId:Ab}].map(({messageId:t,operator:n})=>({messageId:t,*fix(t){yield t.replaceText(u,"find"),yield AS(r,e,t,n),yield*AD(r,e,t)}})):n=function*(t){yield t.replaceText(u,"find"),yield*AD(r,e,t)},{fix:n,suggest:t}},Aw=e=>"MemberExpression"===e.parent.type&&!0===e.parent.computed&&e.parent.object===e&&"Literal"===e.parent.property.type&&"0"===e.parent.property.raw,AF=e=>{let{left:r,right:t}=AA(e.parent);return r&&t&&t===e&&"ArrayPattern"===r.type&&1===r.elements.length&&r.elements[0]&&"RestElement"!==r.elements[0].type};var AT=Q({create:e=>{let{sourceCode:r}=e,{checkFromLast:t}={checkFromLast:!1,...e.options[0]};e.on("MemberExpression",e=>{if(e.computed&&"Literal"===e.property.type&&"0"===e.property.raw&&Av(e.object)&&!Au(e))return{node:e.object.callee.property,messageId:Ac,fix:t=>[t.replaceText(e.object.callee.property,"find"),Ar(t,e,r)]}}),e.on("CallExpression",e=>{if(Ad(e,{method:"shift",argumentsLength:0,optionalCall:!1,optionalMember:!1})&&Av(e.callee.object))return{node:e.callee.object.callee.property,messageId:Af,fix:t=>[t.replaceText(e.callee.object.callee.property,"find"),...At(t,e,r)]}}),e.on("VariableDeclarator",e=>{if("ArrayPattern"===e.id.type&&1===e.id.elements.length&&e.id.elements[0]&&"RestElement"!==e.id.elements[0].type&&Av(e.init))return{node:e.init.callee.property,messageId:Ag,...A_(r,e)}}),e.on("AssignmentExpression",e=>{if("ArrayPattern"===e.left.type&&1===e.left.elements.length&&e.left.elements[0]&&"RestElement"!==e.left.elements[0].type&&Av(e.right))return{node:e.right.callee.property,messageId:Am,...A_(r,e)}}),e.on("VariableDeclarator",e=>{if(!("Identifier"===e.id.type&&Av(e.init)&&"VariableDeclaration"===e.parent.type&&e.parent.declarations.includes(e)&&!("ExportNamedDeclaration"===e.parent.parent.type&&e.parent.parent.declaration===e.parent)))return;let t=r.getScope(e),n=E7(t,e.id),u=As(n).filter(r=>r!==e.id);if(0===u.length)return;let a=[],i=[];for(let e of u)if(Aw(e))a.push(e.parent);else{if(!AF(e))return;i.push(e.parent)}let o={node:e.init.callee.property,messageId:Ay};return i.some(e=>AC(e))||(o.fix=function*(u){yield u.replaceText(e.init.callee.property,"find");let o=Aa(e.id.name);if(o){let e=Ao(o,Ai(t));yield*An(n,e,u),yield*Ae(u,r.ast.range)}for(let e of a)yield Ar(u,e,r);for(let e of i)yield*AD(e,r,u)}),o}),t&&(e.on("CallExpression",e=>{if(Ad(e,{method:"pop",argumentsLength:0,optionalCall:!1,optionalMember:!1})&&Av(e.callee.object))return{node:e.callee.object.callee.property,messageId:Al,fix:t=>[t.replaceText(e.callee.object.callee.property,"findLast"),...At(t,e,r)]}}),e.on("CallExpression",e=>{if(Ad(e,{method:"at",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&"UnaryExpression"===e.arguments[0].type&&"-"===e.arguments[0].operator&&e.arguments[0].prefix&&"Literal"===e.arguments[0].argument.type&&"1"===e.arguments[0].argument.raw&&Av(e.callee.object))return{node:e.callee.object.callee.property,messageId:Ap,fix:t=>[t.replaceText(e.callee.object.callee.property,"findLast"),...At(t,e,r)]}}))},meta:{type:"suggestion",docs:{description:"Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{checkFromLast:{type:"boolean",default:!1}}}],messages:{[Ay]:"Prefer `.find(…)` over `.filter(…)`.",[Ac]:"Prefer `.find(…)` over `.filter(…)[0]`.",[Af]:"Prefer `.find(…)` over `.filter(…).shift()`.",[Al]:"Prefer `.findLast(…)` over `.filter(…).pop()`.",[Ap]:"Prefer `.findLast(…)` over `.filter(…).at(-1)`.",[Ag]:"Prefer `.find(…)` over destructuring `.filter(…)`.",[Am]:"Prefer `.find(…)` over destructuring `.filter(…)`.",[Ah]:"Replace `.filter(…)` with `.find(…) ?? …`.",[Ab]:"Replace `.filter(…)` with `.find(…) || …`."}}});const{isNodeMatches:Ak}=li,{isMethodCall:AP}=fd,{removeMethodCall:AI}=lt,AB="prefer-array-flat-map",Aj=["React.Children","Children"];var AO=Q({create:e=>({CallExpression(r){if(!(AP(r,{method:"flat",optionalCall:!1,optionalMember:!1})&&(0===r.arguments.length||1===r.arguments.length&&"Literal"===r.arguments[0].type&&"1"===r.arguments[0].raw)&&AP(r.callee.object,{method:"map",optionalCall:!1,optionalMember:!1})))return;let t=r.callee.object;if(Ak(t.callee.object,Aj))return;let{sourceCode:n}=e,u=t.callee.property;return{node:r,loc:{start:u.loc.start,end:r.loc.end},messageId:AB,*fix(e){yield*AI(e,r,n),yield e.replaceText(u,"flatMap")}}}}),meta:{type:"suggestion",docs:{description:"Prefer `.flatMap(…)` over `.map(…).flat()`."},fixable:"code",messages:{[AB]:"Prefer `.flatMap(…)` over `.map(…).flat()`."}}});const{getParenthesizedText:AR,isArrayPrototypeProperty:AL,isNodeMatches:AN,isNodeMatchesNameOrPath:AM,isParenthesized:A$,isSameIdentifier:Az,needsSemicolon:AU,shouldAddParenthesesToMemberExpressionObject:AW}=pD,{fixSpaceAroundKeyword:Aq}=lt,{isMethodCall:AV,isCallExpression:AZ}=fd,AG="prefer-array-flat",AH=e=>"ArrayExpression"===e.type&&0===e.elements.length,AK={testFunction(e){if(!AV(e,{method:"flatMap",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return!1;let[r]=e.arguments;return"ArrowFunctionExpression"===r.type&&!r.async&&1===r.params.length&&Az(r.params[0],r.body)},getArrayNode:e=>e.callee.object,description:"Array#flatMap()"},AJ={testFunction(e){if(!AV(e,{method:"reduce",argumentsLength:2,optionalCall:!1,optionalMember:!1}))return!1;let[r,t]=e.arguments;if(!("ArrowFunctionExpression"===r.type&&!r.async&&2===r.params.length&&AH(t)))return!1;let n=r.body,[u,a]=r.params;return AV(n,{method:"concat",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&Az(u,n.callee.object)&&Az(a,n.arguments[0])||"ArrayExpression"===n.type&&2===n.elements.length&&n.elements.every((e,t)=>e?.type==="SpreadElement"&&"Identifier"===e.argument.type&&Az(r.params[t],e.argument))},getArrayNode:e=>e.callee.object,description:"Array#reduce()"},AX={testFunction:e=>AV(e,{method:"concat",argumentsLength:1,allowSpreadElement:!0,optionalCall:!1,optionalMember:!1})&&AH(e.callee.object),getArrayNode(e){let r=e.arguments[0];return"SpreadElement"===r.type?r.argument:r},description:"[].concat()",shouldSwitchToArray:e=>"SpreadElement"!==e.arguments[0].type},AY={testFunction(e){if(!(AV(e,{methods:["apply","call"],argumentsLength:2,allowSpreadElement:!0,optionalCall:!1,optionalMember:!1})&&AL(e.callee.object,{property:"concat"})))return!1;let[r,t]=e.arguments;return AH(r)&&("call"===e.callee.property.name||"SpreadElement"!==t.type)},getArrayNode(e){let r=e.arguments[1];return"SpreadElement"===r.type?r.argument:r},description:"Array.prototype.concat()",shouldSwitchToArray:e=>"SpreadElement"!==e.arguments[1].type&&"call"===e.callee.property.name},AQ=["_.flatten","lodash.flatten","underscore.flatten"];var A0=Q({create:function(e){let{functions:r}={functions:[],...e.options[0]},t=[...r,...AQ],n=[AK,AJ,AX,AY,{testFunction:e=>AZ(e,{argumentsLength:1,optional:!1})&&AN(e.callee,t),getArrayNode:e=>e.arguments[0],description:e=>`${t.find(r=>AM(e.callee,r)).trim()}()`}];return{*CallExpression(r){for(let{testFunction:t,description:u,getArrayNode:a,shouldSwitchToArray:i}of n){if(!t(r))continue;let n=a(r),o={description:"string"==typeof u?u:u(r)},s={node:r,messageId:AG,data:o},{sourceCode:d}=e;d.getCommentsInside(r).length===d.getCommentsInside(n).length&&(s.fix=function(e,r,t,n){return"function"==typeof n&&(n=n(e)),function*(u){let a=AR(r,t);n?a=`[${a}]`:!A$(r,t)&&AW(r,t)&&(a=`(${a})`),a=`${a}.flat()`;let i=t.getTokenBefore(e);AU(i,t,a)&&(a=`;${a}`),yield u.replaceText(e,a),yield*Aq(u,e,t)}}(r,n,d,i)),yield s}}}},meta:{type:"suggestion",docs:{description:"Prefer `Array#flat()` over legacy techniques to flatten arrays."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{functions:{type:"array",uniqueItems:!0}}}],messages:{[AG]:"Prefer `Array#flat()` over `{{description}}` to flatten an array."}}});const{checkVueTemplate:A1}=yB,{isBooleanNode:A2,getParenthesizedRange:A3,isNodeValueNotFunction:A4}=pD,{removeMemberExpressionProperty:A5}=lt,{isLiteral:A8,isUndefined:A6,isMethodCall:A9,isMemberExpression:A7}=fd,De="some",Dr="some-suggestion",Dt="filter",Dn=e=>"BinaryExpression"===e.parent.type&&e.parent.left===e&&(("!="===e.parent.operator||"=="===e.parent.operator||"==="===e.parent.operator||"!=="===e.parent.operator)&&A6(e.parent.right)||("!="===e.parent.operator||"=="===e.parent.operator)&&A8(e.parent.right,null));var Du=Q({create:A1(e=>({CallExpression(r){if(!A9(r,{methods:["find","findLast"],minimumArguments:1,maximumArguments:2,optionalCall:!1,optionalMember:!1}))return;let t=Dn(r);if(!t&&!A2(r))return;let n=r.callee.property;return{node:n,messageId:De,data:{method:n.name},suggest:[{messageId:Dr,*fix(u){if(yield u.replaceText(n,"some"),!t)return;let a=A3(r,e.sourceCode);yield u.replaceTextRange([a[1],r.parent.range[1]],""),"!="!==r.parent.operator&&"!=="!==r.parent.operator&&(yield u.insertTextBeforeRange(a,"!"))}}]}},BinaryExpression(r){if(!((">"===r.operator||"!=="===r.operator)&&"Literal"===r.right.type&&"0"===r.right.raw&&A7(r.left,{property:"length",optional:!1})&&A9(r.left.object,{method:"filter",optionalCall:!1,optionalMember:!1})))return;let t=r.left.object,[n]=t.arguments;if(!n||A4(n))return;let u=t.callee.property;return{node:u,messageId:Dt,*fix(t){yield t.replaceText(u,"some");let{sourceCode:n}=e,a=r.left;yield A5(t,a,n),yield t.removeRange([A3(a,n)[1],r.range[1]])}}}})),meta:{type:"suggestion",docs:{description:"Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`."},fixable:"code",messages:{[De]:"Prefer `.some(…)` over `.{{method}}(…)`.",[Dr]:"Replace `.{{method}}(…)` with `.some(…)`.",[Dt]:"Prefer `.some(…)` over non-zero length check from `.filter(…)`."},hasSuggestions:!0}});const{isMethodCall:Da}=fd,Di=e=>Da(e,{method:"charCodeAt",optionalCall:!1,optionalMember:!1})?"codePointAt":Da(e,{object:"String",method:"fromCharCode",optionalCall:!1,optionalMember:!1})?"fromCodePoint":void 0;var Do=Q({create:()=>({CallExpression(e){let r=Di(e);if(!r)return;let t=e.callee.property,n=t.name;return{node:t,messageId:`error/${n}`,suggest:[{messageId:`suggestion/${r}`,fix:e=>e.replaceText(t,r)}]}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`."},hasSuggestions:!0,messages:{"error/charCodeAt":"Prefer `String#codePointAt()` over `String#charCodeAt()`.","error/fromCharCode":"Prefer `String.fromCodePoint()` over `String.fromCharCode()`.","suggestion/codePointAt":"Use `String#codePointAt()`.","suggestion/fromCodePoint":"Use `String.fromCodePoint()`."}}});const{findVariable:Ds}=ru,{functionTypes:Dd}=fd,Dc="preferDefaultParameters",Df="preferDefaultParametersSuggest",Dl=(e,r)=>e&&r&&"Identifier"===e.type&&"LogicalExpression"===r.type&&("||"===r.operator||"??"===r.operator)&&"Identifier"===r.left.type&&"Literal"===r.right.type,Dp=(e,r)=>{if(!r)return!1;if("CallExpression"===r.type)return!0;let t=e.visitorKeys[r.type];for(let n of t){let t=r[n];if(Array.isArray(t)){for(let r of t)if(Dp(e,r))return!0}else if(Dp(e,t))return!0}return!1},Dg=(e,r,t)=>{for(let n of r.body.body){if(n===t)break;if(Dp(e,n))return!0}return!1},Dm=(e,r,t)=>!!e&&r[0].identifier!==t||!e&&r.length>1,Dy=(e,r)=>{let t=e[e.length-1];return r&&r===t},Dh=(e,r)=>{if("ArrowFunctionExpression"!==r.type||r.params.length>1)return!1;let[t]=r.params,n=e.getTokenBefore(t),u=e.getTokenAfter(t);return!u||!n||"("!==n.value||")"!==u.value},Db=(e,r,t)=>{let{line:n}=t.loc.start,{column:u}=t.loc.end,a=r.getText(t),i=r.lines[n-1],o=i.trim()===a,s=" "===i[u];return o?e.removeRange([r.getIndexFromLoc({line:n,column:0}),r.getIndexFromLoc({line:n+1,column:0})]):s?e.removeRange([t.range[0],t.range[1]+1]):e.remove(t)};var Dv=Q({create:e=>{let{sourceCode:r}=e,t=[],n=(e,n,u,a)=>{let i=t[t.length-1];if(!i||!Dl(n,u))return;let{name:o}=n,{left:{name:s},right:{raw:d}}=u;if(a&&o!==s)return;let c=Ds(r.getScope(e),s);if(!c)return;let{references:f}=c,{params:l}=i,p=l.find(e=>"Identifier"===e.type&&e.name===s);if(Dg(r,i,e)||Dm(a,f,n)||!Dy(l,p))return;let g=Dh(r,i)?`(${o} = ${d})`:`${o} = ${d}`;return{node:e,messageId:Dc,suggest:[{messageId:Df,fix:t=>[t.replaceText(p,g),Db(t,r,e)]}]}};e.on(Dd,e=>{t.push(e)}),e.onExit(Dd,()=>{t.pop()}),e.on("AssignmentExpression",e=>{if("ExpressionStatement"===e.parent.type&&e.parent.expression===e)return n(e.parent,e.left,e.right,!0)}),e.on("VariableDeclarator",e=>{if("VariableDeclaration"===e.parent.type&&e.parent.declarations[0]===e)return n(e.parent,e.id,e.init,!1)})},meta:{type:"suggestion",docs:{description:"Prefer default parameters over reassignment."},fixable:"code",hasSuggestions:!0,messages:{[Dc]:"Prefer default parameters over reassignment.",[Df]:"Replace reassignment with default parameter."}}});const{isParenthesized:Dx,getParenthesizedText:DE}=fB,DA=function(e,{operator:r,property:t}){if(!t)throw Error("`property` is required.");return("LogicalExpression"!==e.type||e.operator!==r)&&("AwaitExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"ConditionalExpression"===e.type||"AssignmentExpression"===e.type||"ArrowFunctionExpression"===e.type||"YieldExpression"===e.type||"SequenceExpression"===e.type)},DD="prefer-logical-operator-over-ternary/error",DC="prefer-logical-operator-over-ternary/suggestion";function DS(e,r,t){if(l3(e,r))return!0;if(e.type!==r.type)return!1;switch(e.type){case"AwaitExpression":return DS(e.argument,r.argument,t);case"LogicalExpression":return e.operator===r.operator&&DS(e.left,r.left,t)&&DS(e.right,r.right,t);case"UnaryExpression":return e.operator===r.operator&&e.prefix===r.prefix&&DS(e.argument,r.argument,t);case"UpdateExpression":return!1}return t.getText(e)===t.getText(r)}function D_({sourceCode:e,conditionalExpression:r,left:t,right:n}){return{node:r,messageId:DD,suggest:["??","||"].map(u=>({messageId:DC,data:{operator:u},fix:a=>(function({fixer:e,sourceCode:r,conditionalExpression:t,left:n,right:u,operator:a}){let i=[n,u].map((e,t)=>{let n=Dx(e,r),u=n?DE(e,r):r.getText(e);return!n&&DA(e,{operator:a,property:0===t?"left":"right"})&&(u=`(${u})`),u}).join(` ${a} `);return l9(r.getTokenBefore(t),r,i)&&(i=`;${i}`),e.replaceText(t,i)})({fixer:a,sourceCode:e,conditionalExpression:r,left:t,right:n,operator:u})}))}}var Dw=Q({create:e=>{let{sourceCode:r}=e;return{ConditionalExpression(e){let{test:t,consequent:n,alternate:u}=e;return DS(t,n,r)?D_({sourceCode:r,conditionalExpression:e,left:t,right:u}):"UnaryExpression"===t.type&&"!"===t.operator&&t.prefix&&DS(t.argument,u,r)?D_({sourceCode:r,conditionalExpression:e,left:t.argument,right:n}):void 0}}},meta:{type:"suggestion",docs:{description:"Prefer using a logical operator over a ternary."},hasSuggestions:!0,messages:{[DD]:"Prefer using a logical operator over a ternary.",[DC]:"Switch to `{{operator}}` operator."}}});const{isOpeningParenToken:DF,isClosingParenToken:DT}=ru,Dk="with-name",DP="without-name";var DI=Q({create:e=>({CatchClause(r){let t=r.param;if(!t)return;let{sourceCode:n}=e,u=n.getDeclaredVariables(t.parent);if(u.some(e=>e.references.length>0))return;let{type:a,name:i,parent:o}=t;return{node:t,messageId:"Identifier"===a?Dk:DP,data:{name:i},*fix(e){let r=n.getTokenBefore(t);Eu(r,{test:DF,expected:"(",ruleId:"prefer-optional-catch-binding"});let u=n.getTokenAfter(t);Eu(u,{test:DT,expected:")",ruleId:"prefer-optional-catch-binding"}),yield e.remove(r),yield e.remove(t),yield e.remove(u);let[,a]=u.range,[i]=o.body.range,s=n.text.slice(a,i),d=s.length-s.trimStart().length;0!==d&&(yield e.removeRange([a,a+d]))}}}}),meta:{type:"suggestion",docs:{description:"Prefer omitting the `catch` binding parameter."},fixable:"code",messages:{[Dk]:"Remove unused catch binding `{{name}}`.",[DP]:"Remove unused catch binding."}}});const{isParenthesized:DB,getStaticValue:Dj}=ru,{checkVueTemplate:DO}=yB,{isRegexLiteral:DR,isNewExpression:DL,isMethodCall:DN}=fd,{isBooleanNode:DM,shouldAddParenthesesToMemberExpressionObject:D$}=pD,Dz="regexp-exec",DU="string-match",DW="suggestion",Dq=[{type:Dz,test:e=>DN(e,{method:"exec",argumentsLength:1,optionalCall:!1,optionalMember:!1}),getNodes:e=>({stringNode:e.arguments[0],methodNode:e.callee.property,regexpNode:e.callee.object}),fix:(e,{methodNode:r})=>e.replaceText(r,"test")},{type:DU,test:e=>DN(e,{method:"match",argumentsLength:1,optionalCall:!1,optionalMember:!1}),getNodes:e=>({stringNode:e.callee.object,methodNode:e.callee.property,regexpNode:e.arguments[0]}),*fix(e,{stringNode:r,methodNode:t,regexpNode:n},u){yield e.replaceText(t,"test");let a=u.getText(r);DB(n,u)||"SequenceExpression"!==r.type||(a=`(${a})`),yield e.replaceText(n,a);let i=u.getText(n);!DB(r,u)&&D$(n,u)&&(i=`(${i})`),yield e.replaceText(r,i)}}],DV=e=>DR(e)||DL(e,{name:"RegExp"}),DZ=(e,r)=>{let t=Dj(e,r);if(!t)return!1;let{value:n}=t;return"[object RegExp]"===Object.prototype.toString.call(n)&&!n.global};var DG=Q({create:DO(e=>({*CallExpression(r){if(DM(r))for(let{type:t,test:n,getNodes:u,fix:a}of Dq){if(!n(r))continue;let i=u(r),{methodNode:o,regexpNode:s}=i;if("Literal"===s.type&&!s.regex)continue;let d={node:t===Dz?o:r,messageId:t},{sourceCode:c}=e,f=e=>a(e,i,c);DV(s)||DZ(s,c.getScope(s))?d.fix=f:d.suggest=[{messageId:DW,fix:f}],yield d}}})),meta:{type:"suggestion",docs:{description:"Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`."},fixable:"code",hasSuggestions:!0,messages:{[Dz]:"Prefer `.test(…)` over `.exec(…)`.",[DU]:"Prefer `RegExp#test(…)` over `String#match(…)`.",[DW]:"Switch to `RegExp#test(…)`."}}});const{findVariable:DH}=ru,{getVariableIdentifiers:DK}=pD,{isCallOrNewExpression:DJ,isMethodCall:DX}=fd,DY="error",DQ="suggestion",D0=["concat","copyWithin","fill","filter","flat","flatMap","map","reverse","slice","sort","splice","toReversed","toSorted","toSpliced","with"],D1=e=>{let{type:r,optional:t,callee:n,arguments:u}=e.parent.parent??{};return"CallExpression"===r&&!t&&"MemberExpression"===n.type&&!n.computed&&!n.optional&&n.object===e&&"Identifier"===n.property.type&&"includes"===n.property.name&&1===u.length&&"SpreadElement"!==u[0].type},D2=new Set(["ForOfStatement","ForStatement","ForInStatement","WhileStatement","DoWhileStatement","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]),D3=(e,r)=>{let t=r.parent.parent.parent,{parent:n}=e.parent;for(;n&&n!==t;){if(D2.has(n.type))return!0;n=n.parent}return!1};var D4=Q({create:e=>({Identifier(r){let{parent:t}=r;if(!("VariableDeclarator"===t.type&&t.id===r&&t.init&&"VariableDeclaration"===t.parent.type&&t.parent.declarations.includes(t)&&!("ExportNamedDeclaration"===t.parent.parent.type&&t.parent.parent.declaration===t.parent)&&("ArrayExpression"===t.init.type||DJ(t.init,{name:"Array",optional:!1})||DX(t.init,{object:"Array",methods:["from","of"],optionalCall:!1,optionalMember:!1})||DX(t.init,{methods:D0,optionalCall:!1,optionalMember:!1}))))return;let n=DH(e.sourceCode.getScope(r),r);if(!n)return;let u=DK(n).filter(e=>e!==r);if(0===u.length||u.some(e=>!D1(e))||1===u.length&&u.every(e=>!D3(e,r)))return;let a={node:r,messageId:DY,data:{name:r.name}},i=function*(e){for(let t of(yield e.insertTextBefore(r.parent.init,"new Set("),yield e.insertTextAfter(r.parent.init,")"),u))yield e.replaceText(t.parent.property,"has")};return r.typeAnnotation?a.suggest=[{messageId:DQ,fix:i}]:a.fix=i,a}}),meta:{type:"suggestion",docs:{description:"Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence."},fixable:"code",hasSuggestions:!0,messages:{[DY]:"`{{name}}` should be a `Set`, and use `{{name}}.has()` to check existence or non-existence.",[DQ]:"Switch `{{name}}` to `Set`."}}});const{hasSideEffect:D5}=ru,D8=function(e,r){let{line:t,column:n}=r.getLocFromIndex(e.range[0]),u=r.getLines(),a=u[t-1].slice(0,n);return a.match(/\s*$/)[0]},D6="prefer-switch",D9=(e,r)=>e===r||l3(e,r),D7=new Set(["WhileStatement","DoWhileStatement","ForStatement","ForOfStatement","ForInStatement","SwitchStatement"]),Ce=e=>{for(;e.parent;e=e.parent)if(D7.has(e.type))return e},Cr=(e,r)=>e.range[0]>=r.range[0]&&e.range[1]<=r.range[1];var Ct=Q({create:e=>{let r={minimumCases:3,emptyDefaultCase:"no-default-comment",insertBreakInDefaultCase:!1,...e.options[0]},{sourceCode:t}=e,n=new Set,u=[],a=new Set;return{IfStatement(e){n.add(e)},BreakStatement(e){e.label||u.push(e)},*"Program:exit"(){for(let e of n){if(a.has(e))continue;let{discriminant:n,ifStatements:i}=function(e){let r;let t=[];for(;e&&"IfStatement"===e.type;e=e.alternate){let{test:n}=e,u=function(e){let r=[e],t=[];for(;r.length>0;){if("LogicalExpression"===(e=r.pop()).type&&"||"===e.operator){r.push(e.right,e.left);continue}if("BinaryExpression"!==e.type||"==="!==e.operator)return[];t.push(e)}return t}(n);if(0===u.length)break;if(!r){let[{left:e,right:t}]=u;r=[e,t]}let a=function(e,r){for(let{left:t,right:n}of e)if(0===(r=r.filter(e=>D9(e,t)||D9(e,n))).length)break;return r}(u,r);if(0===a.length)break;r=a,t.push({statement:e,compareExpressions:u})}return{ifStatements:t,discriminant:r&&r[0]}}(e);if(!n||i.length<r.minimumCases)continue;for(let{statement:e}of i)a.add(e);let o={loc:{start:e.loc.start,end:e.consequent.loc.start},messageId:D6};D5(n,t)||i.some(({statement:e})=>(function(e,r){for(let t of e){if(!Cr(t,r))continue;let e=Ce(t);if(!e||Cr(r,e))return!0}return!1})(u,e))||(o.fix=function({discriminant:e,ifStatements:r},t,n){let u=t.getText(e);return function*(a){let i=r[0].statement,o=D8(i,t);yield a.insertTextBefore(i,`switch (${u}) {`);let s=r[r.length-1].statement;if(s.alternate){let{alternate:e}=s;yield a.insertTextBefore(e,`
5
5
  ${o}default: `)}else switch(n.emptyDefaultCase){case"no-default-comment":yield a.insertTextAfter(i,`
6
6
  ${o}// No default`);break;case"do-nothing-comment":yield a.insertTextAfter(i,`
7
7
  ${o}default:
8
8
  ${o}// Do nothing`)}for(let{statement:n,compareExpressions:u}of(yield a.insertTextAfter(i,`
9
- ${o}}`),r)){let{consequent:r,alternate:i,range:s}=n,d=[s[0],r.range[0]];if(i){let[,e]=r.range,[t]=i.range;yield a.replaceTextRange([e,t],"")}for(let{left:n,right:i}of(yield a.replaceTextRange(d,""),u)){let u=Cs(n,e)?i:n,s=t.getText(u);yield a.insertTextBefore(r,`
9
+ ${o}}`),r)){let{consequent:r,alternate:i,range:s}=n,d=[s[0],r.range[0]];if(i){let[,e]=r.range,[t]=i.range;yield a.replaceTextRange([e,t],"")}for(let{left:n,right:i}of(yield a.replaceTextRange(d,""),u)){let u=D9(n,e)?i:n,s=t.getText(u);yield a.insertTextBefore(r,`
10
10
  ${o}case ${s}: `)}(function e(r){switch(r.type){case"ReturnStatement":case"ThrowStatement":return!1;case"IfStatement":return!r.alternate||e(r.consequent)||e(r.alternate);case"BlockStatement":{let t=function e(r){let{body:t}=r;for(let r=t.length-1;r>=0;r--){let n=t[r];if("FunctionDeclaration"!==n.type&&"EmptyStatement"!==n.type){if("BlockStatement"===n.type){let r=e(n);if(r)return r;continue}return n}}}(r);return!t||e(t)}default:return!0}})(r)&&(yield*function*(e,r,t,n){if("BlockStatement"===e.type){let u=t.getLastToken(e);yield r.insertTextBefore(u,`
11
11
  ${n}break;
12
12
  ${n}`)}else yield r.insertTextAfter(e,`
13
13
  ${n}break;`)}(r,a,t,o),yield*function*(e,r,t){e&&"BlockStatement"!==e.type&&(yield r.insertTextBefore(e,`{
14
14
  ${t}`),yield r.insertTextAfter(e,`
15
- ${t}}`))}(r,a,o))}}}({discriminant:n,ifStatements:i},t,r)),yield o}}}},meta:{type:"suggestion",docs:{description:"Prefer `switch` over multiple `else-if`."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{minimumCases:{type:"integer",minimum:2,default:3},emptyDefaultCase:{enum:["no-default-comment","do-nothing-comment","no-default-case"],default:"no-default-comment"}}}],messages:{[Co]:"Use `switch` instead of multiple `else-if`."}}});const{appendArgument:Cp}=lt,{isMethodCall:Cg}=fd,Cm="require-number-to-fixed-digits-argument";var Cy=Q({create:e=>({CallExpression(r){if(!Cg(r,{method:"toFixed",argumentsLength:0,optionalCall:!1,optionalMember:!1})||"NewExpression"===r.callee.object.type)return;let{sourceCode:t}=e,[n,u]=t.getLastTokens(r,2);return{loc:{start:n.loc.start,end:u.loc.end},messageId:Cm,fix:e=>Cp(e,r,"0",t)}}}),meta:{type:"suggestion",docs:{description:"Enforce using the digits argument with `Number#toFixed()`."},fixable:"code",messages:{[Cm]:"Missing the digits argument."}}});function Ch({name:e,meta:r,create:t,resolveOptions:n}){if(r.docs){var u;(u=r.docs).url??(u.url=new URL(e,"https://eslint-plugin.skk.moe/src/rules/").toString())}return Object.freeze({name:e,meta:r,create(e){let r=n?.(...e.options)??e.options[0],u=Object.entries(t(e,r));return Object.fromEntries(u.filter(e=>e[1]))}})}const Cb=RegExp("^\\s*(?<directive>eslint-disable(?:-(?:next-)?line)?)"),Cv=RegExp("^eslint-disable(?:-next-line|-line)?(?<ruleId>$|(?:\\s+(?:@(?:[\\w-]+\\/){1,2})?[\\w-]+)?)"),Cx=Symbol("rule-id-no-match");var CE={rules:{"array/no-unneeded-flat-map":D,"browser/prefer-location-assign":S,"jsx/no-template-literal":w,"jsx/no-unneeded-nested":F,"string/no-locale-case":k,"string/no-simple-template-literal":I,"type/no-instanceof-wrapper":B,"unicode/no-bidi":z,"unicode/no-invisible":W,"ban-eslint-disable":Ch({name:"ban-eslint-disable",meta:{type:"problem",docs:{description:"Ban `eslint-disable` comment directive"},schema:[{oneOf:[{type:"boolean"},{type:"string",enum:["allow-with-description"]}]}],messages:{"do-not-use":"Do not use `{{directive}}`","require-description":"Include a description after the `{{directive}}` directive to explain why the `{{directive}}` is necessary.","require-specific-rule":"Enforce specifying rules to disable in `eslint-disable` comments. If you want to disable ESLint on a file altogether, you should ignore it through ESLint configuration."}},create:(e,r="allow-with-description")=>!1===r?{}:{Program(t){if(t.comments&&0!==t.comments.length)for(let n of t.comments){let t=function(e){let r=Cb.exec(e);return r?.groups?.directive}(n.value);if(t&&!("allow-with-description"===r&&n.value.includes("--"))){let u="allow-with-description"===r?"require-description":"do-not-use";e.report({node:n,data:{directive:t},messageId:u})}let u=function(e){let r=Cv.exec(e.trim());return r?r.groups?.ruleId:Cx}(n.value);u===Cx||u||e.report({node:n,messageId:"require-specific-rule"})}}}}),"no-redundant-variable":q,"no-single-return":Z,"prefer-early-return":H,"prefer-fetch":K,"prefer-timer-id":Y,"import-dedupe":Ch({name:"import-dedupe",meta:{type:"problem",docs:{description:"Fix duplication in imports"},fixable:"code",schema:[],messages:{"import-dedupe":"Expect no duplication in imports"}},create:e=>({ImportDeclaration(r){if(r.specifiers.length<=1)return;let t=new Set;r.specifiers.forEach(n=>{let u=n.local.name;t.has(u)&&e.report({node:r,loc:{start:n.loc.end,end:n.loc.start},messageId:"import-dedupe",fix(r){let t=n.range[0],u=n.range[1];return","===e.getSourceCode().text[u]&&(u+=1),r.removeRange([t,u])}}),t.add(u)})}})}),"unicorn/better-regex":CA(vq,"unicorn/better-regex"),"unicorn/no-nested-ternary":CA(rs,"unicorn/no-nested-ternary"),"unicorn/prefer-event-target":CA(rc,"unicorn/prefer-event-target"),"unicorn/prefer-keyboard-event-key":CA(fE,"unicorn/prefer-keyboard-event-key"),"unicorn/prefer-text-content":CA(fS,"unicorn/prefer-text-content"),"unicorn/require-array-join-separator":CA(pF,"unicorn/require-array-join-separator"),"unicorn/no-thenable":CA(pN,"unicorn/no-thenable"),"unicorn/no-invalid-remove-event-listener":CA(pz,"unicorn/no-invalid-remove-event-listener"),"unicorn/consistent-function-scoping":CA(p0,"unicorn/consistent-function-scoping"),"unicorn/no-new-buffer":CA(gh,"unicorn/no-new-buffer"),"unicorn/no-console-spaces":CA(gD,"unicorn/no-console-spaces"),"unicorn/no-empty-file":CA(gk,"unicorn/no-empty-file"),"unicorn/no-useless-fallback-in-spread":CA(gO,"unicorn/no-useless-fallback-in-spread"),"unicorn/no-useless-length-check":CA(gU,"unicorn/no-useless-length-check"),"unicorn/no-useless-promise-resolve-reject":CA(gZ,"unicorn/no-useless-promise-resolve-reject"),"unicorn/no-zero-fractions":CA(gQ,"unicorn/no-zero-fractions"),"unicorn/prefer-export-from":CA(mn,"unicorn/prefer-export-from"),"unicorn/prefer-native-coercion-functions":CA(mp,"unicorn/prefer-native-coercion-functions"),"unicorn/no-document-cookie":CA(mE,"unicorn/no-document-cookie"),"unicorn/prefer-add-event-listener":CA(mO,"unicorn/prefer-add-event-listener"),"unicorn/prefer-array-index-of":CA(mH,"unicorn/prefer-array-index-of"),"unicorn/prefer-blob-reading-methods":CA(mX,"unicorn/prefer-blob-reading-methods"),"unicorn/prefer-date-now":CA(m6,"unicorn/prefer-date-now"),"unicorn/prefer-dom-node-dataset":CA(yo,"unicorn/prefer-dom-node-dataset"),"unicorn/prefer-modern-math-apis":CA(yC,"unicorn/prefer-modern-math-apis"),"unicorn/number-literal-case":CA(yM,"unicorn/number-literal-case"),"unicorn/prefer-number-properties":CA(yG,"unicorn/prefer-number-properties"),"unicorn/prefer-reflect-apply":CA(y2,"unicorn/prefer-reflect-apply"),"unicorn/prefer-set-size":CA(y7,"unicorn/prefer-set-size"),"unicorn/prefer-string-replace-all":CA(hc,"unicorn/prefer-string-replace-all"),"unicorn/prefer-string-slice":CA(hv,"unicorn/prefer-string-slice"),"unicorn/prefer-string-trim-start-end":CA(hA,"unicorn/prefer-string-trim-start-end"),"unicorn/no-unreadable-iife":CA(hw,"unicorn/no-unreadable-iife"),"unicorn/throw-new-error":CA(hP,"unicorn/throw-new-error"),"unicorn/escape-case":CA(vY,"unicorn/escape-case"),"unicorn/no-hex-escape":CA(v4,"unicorn/no-hex-escape"),"unicorn/prefer-prototype-methods":CA(v7,"unicorn/prefer-prototype-methods"),"unicorn/error-message":CA(xi,"unicorn/error-message"),"unicorn/no-instanceof-array":CA(xp,"unicorn/no-instanceof-array"),"unicorn/prefer-type-error":CA(xD,"unicorn/prefer-type-error"),"unicorn/consistent-destructuring":CA(xT,"unicorn/consistent-destructuring"),"unicorn/new-for-builtins":CA(xR,"unicorn/new-for-builtins"),"unicorn/no-array-method-this-argument":CA(xK,"unicorn/no-array-method-this-argument"),"unicorn/no-array-push-push":CA(x6,"unicorn/no-array-push-push"),"unicorn/no-process-exit":CA(En,"unicorn/no-process-exit"),"unicorn/no-static-only-class":CA(Ep,"unicorn/no-static-only-class"),"unicorn/no-unreadable-array-destructuring":CA(Eb,"unicorn/no-unreadable-array-destructuring"),"unicorn/no-useless-spread":CA(ER,"unicorn/no-useless-spread"),"unicorn/no-useless-switch-case":CA(EW,"unicorn/no-useless-switch-case"),"unicorn/no-useless-undefined":CA(E0,"unicorn/no-useless-undefined"),"unicorn/numeric-separators-style":CA(E6,"unicorn/numeric-separators-style"),"unicorn/prefer-array-find":CA(AT,"unicorn/prefer-array-find"),"unicorn/prefer-array-flat-map":CA(AO,"unicorn/prefer-array-flat-map"),"unicorn/prefer-array-flat":CA(A0,"unicorn/prefer-array-flat"),"unicorn/prefer-array-some":CA(Du,"unicorn/prefer-array-some"),"unicorn/prefer-code-point":CA(Do,"unicorn/prefer-code-point"),"unicorn/prefer-default-parameters":CA(Dv,"unicorn/prefer-default-parameters"),"unicorn/prefer-json-parse-buffer":CA(DT,"unicorn/prefer-json-parse-buffer"),"unicorn/prefer-logical-operator-over-ternary":CA(DN,"unicorn/prefer-logical-operator-over-ternary"),"unicorn/prefer-optional-catch-binding":CA(DU,"unicorn/prefer-optional-catch-binding"),"unicorn/prefer-prototype-methods":CA(v7,"unicorn/prefer-prototype-methods"),"unicorn/prefer-regexp-test":CA(D3,"unicorn/prefer-regexp-test"),"unicorn/prefer-set-has":CA(Cu,"unicorn/prefer-set-has"),"unicorn/prefer-switch":CA(Cl,"unicorn/prefer-switch"),"unicorn/require-number-to-fixed-digits-argument":CA(Cy,"unicorn/require-number-to-fixed-digits-argument")}};function CA(e,r){var t;return{meta:{schema:[],...e.meta,docs:{...e.meta.docs,url:en(r)}},create:(t=e.create,e=>{let r={},n=(e,t)=>{r[e]??(r[e]=[]),r[e].push(t)},u=new Proxy(e,{get:(e,r,t)=>"on"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(e,r)}:"onExit"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(`${e}:exit`,r)}:Reflect.get(e,r,t)});for(let[e,r]of Object.entries(t(u)??{}))n(e,r);return Object.fromEntries(Object.entries(r).map(([r,t])=>[r,(...r)=>{for(let n of t)!function(e,r){if(e)for(let t of(CD(e)||(e=[e]),e)){if(t.fix&&(t.fix=C_(t.fix)),CD(t.suggest))for(let e of t.suggest)e.fix&&(e.fix=C_(e.fix)),e.data={...t.data,...e.data};r.report(t)}}(n(...r),e)}]))})}}const CD=e=>"function"==typeof e?.[Symbol.iterator];class CC extends Error{}const CS={abort(){throw new CC("Fix aborted.")}};function C_(e){return r=>{let t=e(r,CS);if(CD(t))try{return[...t]}catch(e){if(e instanceof CC)return;throw e}return t}}module.exports=CE;
15
+ ${t}}`))}(r,a,o))}}}({discriminant:n,ifStatements:i},t,r)),yield o}}}},meta:{type:"suggestion",docs:{description:"Prefer `switch` over multiple `else-if`."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{minimumCases:{type:"integer",minimum:2,default:3},emptyDefaultCase:{enum:["no-default-comment","do-nothing-comment","no-default-case"],default:"no-default-comment"}}}],messages:{[D6]:"Use `switch` instead of multiple `else-if`."}}});const{appendArgument:Cn}=lt,{isMethodCall:Cu}=fd,Ca="require-number-to-fixed-digits-argument";var Ci=Q({create:e=>({CallExpression(r){if(!Cu(r,{method:"toFixed",argumentsLength:0,optionalCall:!1,optionalMember:!1})||"NewExpression"===r.callee.object.type)return;let{sourceCode:t}=e,[n,u]=t.getLastTokens(r,2);return{loc:{start:n.loc.start,end:u.loc.end},messageId:Ca,fix:e=>Cn(e,r,"0",t)}}}),meta:{type:"suggestion",docs:{description:"Enforce using the digits argument with `Number#toFixed()`."},fixable:"code",messages:{[Ca]:"Missing the digits argument."}}});function Co({name:e,meta:r,create:t,resolveOptions:n}){if(r.docs){var u;(u=r.docs).url??(u.url=new URL(e,"https://eslint-plugin.skk.moe/src/rules/").toString())}return Object.freeze({name:e,meta:r,create(e){let r=n?.(...e.options)??e.options[0],u=Object.entries(t(e,r));return Object.fromEntries(u.filter(e=>e[1]))}})}const Cs=RegExp("^\\s*(?<directive>eslint-disable(?:-(?:next-)?line)?)"),Cd=RegExp("^eslint-disable(?:-next-line|-line)?(?<ruleId>$|(?:\\s+(?:@(?:[\\w-]+\\/){1,2})?[\\w-]+)?)"),Cc=Symbol("rule-id-no-match");var Cf={rules:{"array/no-unneeded-flat-map":D,"browser/prefer-location-assign":S,"jsx/no-template-literal":w,"jsx/no-unneeded-nested":F,"string/no-locale-case":k,"string/no-simple-template-literal":I,"type/no-instanceof-wrapper":j,"unicode/no-bidi":z,"unicode/no-invisible":W,"ban-eslint-disable":Co({name:"ban-eslint-disable",meta:{type:"problem",docs:{description:"Ban `eslint-disable` comment directive"},schema:[{oneOf:[{type:"boolean"},{type:"string",enum:["allow-with-description"]}]}],messages:{"do-not-use":"Do not use `{{directive}}`","require-description":"Include a description after the `{{directive}}` directive to explain why the `{{directive}}` is necessary.","require-specific-rule":"Enforce specifying rules to disable in `eslint-disable` comments. If you want to disable ESLint on a file altogether, you should ignore it through ESLint configuration."}},create:(e,r="allow-with-description")=>!1===r?{}:{Program(t){if(t.comments&&0!==t.comments.length)for(let n of t.comments){let t=function(e){let r=Cs.exec(e);return r?.groups?.directive}(n.value);if(t&&!("allow-with-description"===r&&n.value.includes("--"))){let u="allow-with-description"===r?"require-description":"do-not-use";e.report({node:n,data:{directive:t},messageId:u})}let u=function(e){let r=Cd.exec(e.trim());return r?r.groups?.ruleId:Cc}(n.value);u===Cc||u||e.report({node:n,messageId:"require-specific-rule"})}}}}),"no-redundant-variable":q,"no-single-return":Z,"prefer-early-return":H,"prefer-fetch":K,"prefer-timer-id":Y,"import-dedupe":Co({name:"import-dedupe",meta:{type:"problem",docs:{description:"Fix duplication in imports"},fixable:"code",schema:[],messages:{"import-dedupe":"Expect no duplication in imports"}},create:e=>({ImportDeclaration(r){if(r.specifiers.length<=1)return;let t=new Set;r.specifiers.forEach(n=>{let u=n.local.name;t.has(u)&&e.report({node:r,loc:{start:n.loc.end,end:n.loc.start},messageId:"import-dedupe",fix(r){let t=n.range[0],u=n.range[1];return","===e.getSourceCode().text[u]&&(u+=1),r.removeRange([t,u])}}),t.add(u)})}})}),"unicorn/better-regex":Cl(vq,"unicorn/better-regex"),"unicorn/no-nested-ternary":Cl(rs,"unicorn/no-nested-ternary"),"unicorn/prefer-event-target":Cl(rc,"unicorn/prefer-event-target"),"unicorn/prefer-keyboard-event-key":Cl(fE,"unicorn/prefer-keyboard-event-key"),"unicorn/prefer-text-content":Cl(fS,"unicorn/prefer-text-content"),"unicorn/require-array-join-separator":Cl(pF,"unicorn/require-array-join-separator"),"unicorn/no-thenable":Cl(pL,"unicorn/no-thenable"),"unicorn/no-invalid-remove-event-listener":Cl(pz,"unicorn/no-invalid-remove-event-listener"),"unicorn/consistent-function-scoping":Cl(p0,"unicorn/consistent-function-scoping"),"unicorn/no-new-buffer":Cl(gh,"unicorn/no-new-buffer"),"unicorn/no-console-spaces":Cl(gD,"unicorn/no-console-spaces"),"unicorn/no-empty-file":Cl(gk,"unicorn/no-empty-file"),"unicorn/no-useless-fallback-in-spread":Cl(gO,"unicorn/no-useless-fallback-in-spread"),"unicorn/no-useless-length-check":Cl(gU,"unicorn/no-useless-length-check"),"unicorn/no-useless-promise-resolve-reject":Cl(gZ,"unicorn/no-useless-promise-resolve-reject"),"unicorn/no-zero-fractions":Cl(gQ,"unicorn/no-zero-fractions"),"unicorn/prefer-export-from":Cl(mn,"unicorn/prefer-export-from"),"unicorn/prefer-native-coercion-functions":Cl(mp,"unicorn/prefer-native-coercion-functions"),"unicorn/no-document-cookie":Cl(mE,"unicorn/no-document-cookie"),"unicorn/prefer-add-event-listener":Cl(mO,"unicorn/prefer-add-event-listener"),"unicorn/prefer-array-index-of":Cl(mH,"unicorn/prefer-array-index-of"),"unicorn/prefer-blob-reading-methods":Cl(mX,"unicorn/prefer-blob-reading-methods"),"unicorn/prefer-date-now":Cl(m6,"unicorn/prefer-date-now"),"unicorn/prefer-dom-node-dataset":Cl(yo,"unicorn/prefer-dom-node-dataset"),"unicorn/prefer-modern-math-apis":Cl(yC,"unicorn/prefer-modern-math-apis"),"unicorn/number-literal-case":Cl(yM,"unicorn/number-literal-case"),"unicorn/prefer-number-properties":Cl(yG,"unicorn/prefer-number-properties"),"unicorn/prefer-reflect-apply":Cl(y2,"unicorn/prefer-reflect-apply"),"unicorn/prefer-set-size":Cl(y7,"unicorn/prefer-set-size"),"unicorn/prefer-string-replace-all":Cl(hc,"unicorn/prefer-string-replace-all"),"unicorn/prefer-string-slice":Cl(hv,"unicorn/prefer-string-slice"),"unicorn/prefer-string-trim-start-end":Cl(hA,"unicorn/prefer-string-trim-start-end"),"unicorn/no-unreadable-iife":Cl(hw,"unicorn/no-unreadable-iife"),"unicorn/throw-new-error":Cl(hP,"unicorn/throw-new-error"),"unicorn/escape-case":Cl(vY,"unicorn/escape-case"),"unicorn/no-hex-escape":Cl(v4,"unicorn/no-hex-escape"),"unicorn/prefer-prototype-methods":Cl(v7,"unicorn/prefer-prototype-methods"),"unicorn/error-message":Cl(xi,"unicorn/error-message"),"unicorn/no-instanceof-array":Cl(xp,"unicorn/no-instanceof-array"),"unicorn/prefer-type-error":Cl(xD,"unicorn/prefer-type-error"),"unicorn/consistent-destructuring":Cl(xT,"unicorn/consistent-destructuring"),"unicorn/new-for-builtins":Cl(xR,"unicorn/new-for-builtins"),"unicorn/no-array-method-this-argument":Cl(xK,"unicorn/no-array-method-this-argument"),"unicorn/no-array-push-push":Cl(x6,"unicorn/no-array-push-push"),"unicorn/no-process-exit":Cl(En,"unicorn/no-process-exit"),"unicorn/no-static-only-class":Cl(Ep,"unicorn/no-static-only-class"),"unicorn/no-unreadable-array-destructuring":Cl(Eb,"unicorn/no-unreadable-array-destructuring"),"unicorn/no-useless-spread":Cl(ER,"unicorn/no-useless-spread"),"unicorn/no-useless-switch-case":Cl(EW,"unicorn/no-useless-switch-case"),"unicorn/no-useless-undefined":Cl(E0,"unicorn/no-useless-undefined"),"unicorn/numeric-separators-style":Cl(E6,"unicorn/numeric-separators-style"),"unicorn/prefer-array-find":Cl(AT,"unicorn/prefer-array-find"),"unicorn/prefer-array-flat-map":Cl(AO,"unicorn/prefer-array-flat-map"),"unicorn/prefer-array-flat":Cl(A0,"unicorn/prefer-array-flat"),"unicorn/prefer-array-some":Cl(Du,"unicorn/prefer-array-some"),"unicorn/prefer-code-point":Cl(Do,"unicorn/prefer-code-point"),"unicorn/prefer-default-parameters":Cl(Dv,"unicorn/prefer-default-parameters"),"unicorn/prefer-logical-operator-over-ternary":Cl(Dw,"unicorn/prefer-logical-operator-over-ternary"),"unicorn/prefer-optional-catch-binding":Cl(DI,"unicorn/prefer-optional-catch-binding"),"unicorn/prefer-prototype-methods":Cl(v7,"unicorn/prefer-prototype-methods"),"unicorn/prefer-regexp-test":Cl(DG,"unicorn/prefer-regexp-test"),"unicorn/prefer-set-has":Cl(D4,"unicorn/prefer-set-has"),"unicorn/prefer-switch":Cl(Ct,"unicorn/prefer-switch"),"unicorn/require-number-to-fixed-digits-argument":Cl(Ci,"unicorn/require-number-to-fixed-digits-argument")}};function Cl(e,r){var t;return{meta:{schema:[],...e.meta,docs:{...e.meta.docs,url:en(r)}},create:(t=e.create,e=>{let r={},n=(e,t)=>{r[e]??(r[e]=[]),r[e].push(t)},u=new Proxy(e,{get:(e,r,t)=>"on"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(e,r)}:"onExit"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(`${e}:exit`,r)}:Reflect.get(e,r,t)});for(let[e,r]of Object.entries(t(u)??{}))n(e,r);return Object.fromEntries(Object.entries(r).map(([r,t])=>[r,(...r)=>{for(let n of t)!function(e,r){if(e)for(let t of(Cp(e)||(e=[e]),e)){if(t.fix&&(t.fix=Cy(t.fix)),Cp(t.suggest))for(let e of t.suggest)e.fix&&(e.fix=Cy(e.fix)),e.data={...t.data,...e.data};r.report(t)}}(n(...r),e)}]))})}}const Cp=e=>"function"==typeof e?.[Symbol.iterator];class Cg extends Error{}const Cm={abort(){throw new Cg("Fix aborted.")}};function Cy(e){return r=>{let t=e(r,Cm);if(Cp(t))try{return[...t]}catch(e){if(e instanceof Cg)return;throw e}return t}}module.exports=Cf;